Firmware update, lost a hotend... Newbie config problem.
-
Hi Guys,
I thought the configs for my heater and hotends were contained in the "machine_ktana_tools.g" file.
However I now only see a single extruder in the Settings tool section, I am sure I have just missed something but this has worked well on older firmware. Any help would be appreciated. Thanks.; machine_ktana_tools
; K'tana Tools
; Left Nozzle T0
M563 P0 D0 H1 F2 S"Ktana Single Left" ; Define tool 0, left side tool (single extruder)
G10 P0 X0.0 Y0 Z0 ; Tool 0, set axis offsets
G10 P0 S0 R0 ; Tool 0, set active (S0) and standy temp (R) of 0; Right Nozzle T1
M563 P1 D1 H2 F2 S"Ktana Single Right" ; Define tool 0, right side tool (single extruder)
G10 P1 X12 Y0 Z0 ; Tool 0, set axis offsets
G10 P1 S0 R0 ; Tool 0, set active (S0) & standy temp (R) of 0. -
You're going to have to give us a lot more information to work with.
https://forum.duet3d.com/topic/5909/guide-for-posting-requests-for-help
What board, what firmware were you running before, what firmware are you using now? What is the printer? Post your entire config file set from before and after.
We're not psychic magicians.
-
Hi,
Thanks for taking the time to look into this
Duet 2 Maestro.
Old firmware 2.02
New Firmware Release 3.01-RC12
Duet Web Control 2.1.0
Printer M3D Promega
Core XY
Nozzles Dual K'Tana.I know some of these will not be compatible with the latest firmware but I would like to start by identifying why both extrudes are not identified.
Config.g
; CONFIGURATION FILE for Duet Maestro
; K'Tana Nozzle
; Last modified October 1, 2018; Executed by the firmware on start-up
; Headers within parenthesis are headings in Duet3D documentation=https://duet3d.com/wiki/Configuring_RepRapFirmware_for_a_Cartesian_printer
; Visit https://reprap.org/wiki/G-code for an explanation of G-code commands; --- SECTION: GENERAL PREFERENCES ( ) ---
M564 S1 H1 ; Enables Homing Requirement For Motor Activation and set axes limits
; --- SECTION: Z-PROBE & MESH COMPENSATION ---
M98 Pmachine_zprobe.g ; configure the z probe
M98 Pmachine_bedmesh.g ; configure the bed mesh
G29 S1 ; Load heightmap after power cycle
; --- SECTION: DRIVES (MOVEMENT SECTION) & ENDSTOPS ---
M667 S1 ; Enable coreXY mode
M569 P0 S0 ; Drive 0 goes forwards, CoreXY_1
M569 P1 S1 ; Drive 1 goes forwards, CoreXY_2
M569 P2 S1 ; Drive 2 goes forwards, Z Motor
M569 P3 S0 ; Drive 3 goes forwards, Left Extruder
M569 P4 S1 ; Drive 4 goes forwards, Right Extruder
M98 Pmachine_endstoptypes.g ; set endstop types
M98 Pmachine_steppercurrent.g ; set stepper currents
M98 Pmachine_stepperspeed.g ; set stepper speeds
M98 Pmachine_axisdimension.g ; configure the axes dimensions
M98 Pmachine_axissteps.g ; configure the axes steps per mm
M98 Pmachine_extruderstep.g ; configure the extruder steps
G21 ; Work in millimetres
G90 ; Set to absolute coordinates...
M84 S1 ; Set idle timeout; --- SECTION: HEATERS, BED & THERMISTOR ---
; H0 is bed
; H1 is left heater
; H2 is right heaterM570 H0 P25 T30 ; Allow heater to be off by as much as 30C for 25 seconds
M570 H1 P15 T30 ; Allow heater to be off by as much as 30C for 15 seconds
M570 H2 P15 T30 ; Allow heater to be off by as much as 30C for 15 seconds
M305 P0 T100000 B4138 C0 R2200 ; Set thermistor + ADC parameters for heater 0, For heated Bed thermistor
M305 P1 X501 R2200 ; Define left side extruder PT1000
M305 P2 X502 R2200 ; Define right side extruder PT1000
M307 H0 A78.9 C265.2 D9.5 S1.00 V24.0 B0 ; Forcing heated bed PID control after power-cycle. Basic bed heating auto-tune
M307 H1 A309 C96 D5.2 S0.75 V24.1 B0 ; Set PID values use M303 auto-tune calibration settings
M307 H2 A309 C96 D5.2 S0.75 V24.1 B0 ; Set PID values use M303 auto-tune calibration settings
M302 P1 ; Allow Cold extrudes
M98 Pmachine_maxtemp.g ; set bed and extruder max temperatures; --- SECTION: FANS ( ) ---
M106 P0 S0 I0 F4 H-1 L0.3 ; Filter fan. Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
M106 P1 S0 I0 F4 H-1 L0.3 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
M106 P2 S0 I0 F4 H-1 L0.3 ; Nozzle fan. Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%; --- SECTION: TOOLS ( ) ---
; Comment: Remember! H0 is the heated bed!
; Comment: D0 is the first driver after movement (X, Y and Z) drives, which is left extruder
; D1 is right extruderM98 Pmachine_ktana_tools.g ; Define ktana tools
T0 ; Automatic tool select
; --- SECTION: NETWORKS (PROLOGUE & COMMUNCATIONS SECTION) ---
M98 Pmachine_access.g ; set machine name and IP
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; --- SECTION: MISCELLANEOUS ---
M572 D0:1 S0.07 ; Extruder Pressure Advance
machine_ktana_tools
; K'tana Tools
; Left Nozzle T0
M563 P0 D0 H1 F2 S"Ktana Single Left" ; Define tool 0, left side tool (single extruder)
G10 P0 X0.0 Y0 Z0 ; Tool 0, set axis offsets
G10 P0 S0 R0 ; Tool 0, set active (S0) and standy temp (R) of 0; Right Nozzle T1
M563 P1 D1 H2 F2 S"Ktana Single Right" ; Define tool 0, right side tool (single extruder)
G10 P1 X12 Y0 Z0 ; Tool 0, set axis offsets
G10 P1 S0 R0 ; Tool 0, set active (S0) & standy temp (R) of 0. -
@Qwelldrin_765 said in Firmware update, lost a hotend... Newbie config problem.:
M98 Pmachine_endstoptypes.g ; set endstop types
M98 Pmachine_steppercurrent.g ; set stepper currents
M98 Pmachine_stepperspeed.g ; set stepper speeds
M98 Pmachine_axisdimension.g ; configure the axes dimensions
M98 Pmachine_axissteps.g ; configure the axes steps per mm
M98 Pmachine_extruderstep.g ; configure the extruder stepsMost of your configuration is in those macros.
You've upgraded to RRF3, which requires quite a bit of reworking of the config syntax to work. I would suggest that you go back to firmware 2.05.1 for the time being to get your printer back up and running and then start reading up on what's required to go to RRF3. If you want to keep the existing config style from M3d with multiple nested macros, you'll have to gain a good understanding of what they are doing and then figure out what you need to change. Alternatively, you can use the online configurator and get a config.g that would work with RRF3 provided you give it the right info about your printer. Even then you may need to do some manual configuration depending on how your printer is setup.
-
Hi,
So I had some time at home and wanted to get a working version of RRF3.
Nows a good time to delv into the RepRap firmware being much more used to Marlin.
I appreciate there are lots of Macros and I will remove some where possible, but do they really prevent the detection of the second hot end if I define the bed size or stepper currents incorrectly.Or is it a case that it would need to bug check the whole config before it will use the new config.
As the definition of the tools is in the "Pmachine_ktana_tools" then this is where I would look for an issue of not defining the 2nd Tool.M98 Pmachine_endstoptypes.g ; set endstop types
Defines the Endstop type mechanical or IR.M98 Pmachine_steppercurrent.g ; set stepper currents
Defines current to the steppersM98 Pmachine_stepperspeed.g ; set stepper speeds
Defines speeds Jerk and accelerationM98 Pmachine_axisdimension.g ; configure the axes dimensions
Sets the Min and Max axis DimensionsM98 Pmachine_axissteps.g ; configure the axes steps per mm
Defines the number of steps per 1mmM98 Pmachine_extruderstep.g ; configure the extruder steps
Defines the extruder stepsI believe there can only be 2 places where there is a problem.
Config.g- ; --- SECTION: HEATERS, BED & THERMISTOR ---
- ; H0 is bed
- ; H1 is left heater
- ; H2 is right heater
- M570 H0 P25 T30 ; Allow heater to be off by as much as 30C for 25 seconds
- M570 H1 P15 T30 ; Allow heater to be off by as much as 30C for 15 seconds
- M570 H2 P15 T30 ; Allow heater to be off by as much as 30C for 15 seconds
- M305 P0 T100000 B4138 C0 R2200 ; Set thermistor + ADC parameters for heater 0, For heated Bed thermistor
- M305 P1 X501 R2200 ; Define left side extruder PT1000
- M305 P2 X502 R2200 ; Define right side extruder PT1000
- M307 H0 A78.9 C265.2 D9.5 S1.00 V24.0 B0 ; Forcing heated bed PID control after power-cycle. Basic bed heating auto-tune
- M307 H1 A309 C96 D5.2 S0.75 V24.1 B0 ; Set PID values use M303 auto-tune calibration settings
- M307 H2 A309 C96 D5.2 S0.75 V24.1 B0 ; Set PID values use M303 auto-tune calibration settings
- M302 P1 ; Allow Cold extrudes
- M98 Pmachine_maxtemp.g ; set bed and extruder max temperatures
Or
Pmachine_ktana_tools.g- ; machine_ktana_tools
- ; July 9, 2018
- ; Comment: Left nozzle has a -12.0 mm offset, considering right nozzle as origin
- ; K'tana Tools
- ; Left Nozzle T0
- M563 P0 D0 H1 F2 S"Ktana Single Left" ; Define tool 0, left side tool (single extruder)
- G10 P0 X0.0 Y0 Z0 ; Tool 0, set axis offsets
- G10 P0 S0 R0 ; Tool 0, set active (S0) and standy temp (R) of 0
- ; Right Nozzle T1
- M563 P1 D1 H2 F2 S"Ktana Single Right" ; Define tool 0, right side tool (single extruder)
- G10 P1 X12 Y0 Z0 ; Tool 0, set axis offsets
- G10 P1 S0 R0 ; Tool 0, set active (S0) & standy temp (R) of 0.
-
Send M98 Pconfig.g in the gcode console. It will run config.g and you can see if any error messages are generated.
Having the config files split to multiple macros is fine, but the syntax of the individual commands will need to satisfy RRF3 formatting.
-
@Phaedrux Thanks mate, I am on the right track now, I can see clearly that the old M305 commands need changing to M308 and a few other changes.
The only thing that really concerns me and maybe you can advise is the last.
M98 PCONFIG.G
Error: Invalid Z probe type 4
Error: Invalid Z probe index
Error: endstop type 0 is no longer supported. Use type 1 and invert the input pin instead.Ok so this is covered in the M574 command on the RepRapFirmware 3 overview.
My question is, is that a physical change or just a firmware assignment change to invert the pin?. Thanks. -
Should just be a firmware change I think, but I can't see the offending gcode because you haven't posted it yet, so I'm not exactly sure what it is complaining about.
For M574 S0 isn't a think anymore. To invert the pin you need to use ! in your M950 command that defines the pin.