Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Andy Cohen
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 23
    • Posts 127
    • Best 8
    • Controversial 1
    • Groups 0

    Posts made by Andy Cohen

    • RE: Can't configure End stops

      @rushmere3d The heart of my problem was that I simply edited the S labels to H in all my Homing scripts. Bad idea. I should have simply swapped out the old files for e3d’s new homing files. My old files used the M574 command which reset the end stops incorrectly for the update. I have no idea why the m574 command was in the original homing scripts…

      The second problem was because I had not read the ALL of the docs on the pin out labels. As such I had assumed the exclamation mark was on all pinout names. I went back and ready the whole thing and found the ! Sets the polarity of the connections.

      Heaters all tuned. Almost ready to print. Again thanks to all for the help.
      And… yeah I’ll talk about the update in the 3d Printing Today podcast.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Can't configure End stops

      @andy-cohen DOH!!! The "!" in the zstop label! AH!

      Thank you to all here who replied to my post I appreciate the help.

      Chances are though I'm not ready to print just yet and may have more things like this.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Can't configure End stops

      @phaedrux On this machine the Z switch is on the tool coupling carriage which rides on the X axis rail. When no tool is on it it acts as the Z end stop and the mesh compensation probe.

      I was getting the error right after the first homing move which tells me it was in the homez script. I changed that to the sample E3D script on their website and now I get the message:
      "Error: Probe already triggered at start of probing move"

      here's the output per your request:
      8/28/2022, 11:36:16 AM HTTP is enabled on port 80
      FTP is disabled
      TELNET is disabled
      Warning: Heater 1 predicted maximum temperature at full power is 496°C
      Warning: Heater 2 predicted maximum temperature at full power is 512°C
      Warning: Heater 3 predicted maximum temperature at full power is 547°C
      Error: Heater 5 not found
      Error: Heater 6 not found
      Error: Heater 7 not found
      8/28/2022, 11:36:15 AM M98 P"config.g"
      HTTP is enabled on port 80
      FTP is disabled
      TELNET is disabled

      Note I have yet to run PID control routines on my heaters.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Can't configure End stops

      @rushmere3d Yeah... the end stop def was before. I switched it and it still returned the same error.

      So next I swapped out the homing scripts from mine to those from the E3D sample files. My older files had M574 commands in them which could easily have fired off the error. Now I get something quite different:
      "Error: Probe already triggered at start of probing move"
      Which to me indicates it's expecting a closed switch not an open one.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Can't configure End stops

      @norder My first sentence is its a Toolchanger.
      I tried ...
      M574 Z1 S1
      M574 C1 S3

      C is the tool coupler and it uses amps from motor stall as well as Y axis for end stop on my machine.
      It did not work either.
      I also switched out the zhome script with another written by E3D... no difference. It keeps saying the same error. Weird.
      I need help from the RRF gods!

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Can't configure End stops

      @norder yes… if this were a typical machine which has a z end stop switch activated when the bed is drawn up to 0.
      This is the E3d Toolchanger. The end stop gcode is from E3d. The end stop switch also acts as the z probe and it is mounted on the coupler carriage.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Can't configure End stops

      Yes... I see the missing "!" in the zstop label. Made no diff.
      I assume the problem is related to the "C0". These lines were taken from the E3D sample files.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • Can't configure End stops

      This is a toolchanger. X is fine, Y is fine. Z? Nope!
      Console returns:
      Error: Failed to enable endstops
      Error: endstop type 0 is no longer supported. Use type 1 and invert the input pin instead.

      Here's the config.sys:
      ; Configurat; Configuration file for Duet WiFi / Ethernet
      ; executed by the firmware on start-up
      ; For Toolchanger and RRF 3.4.1

      ; General preferences
      M111 S0 ; Debugging off
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves
      M555 P2 ; Set firmware compatibility to look like Marlin

      ; Network
      M550 P"ToolChanger" ; Set machine name
      ;M587 S"ssid" P"password" ; WiFi Settings
      ;M552 S1 P"ssid" ; Enable WiFi Networking
      M587 S"ATT642" P"x" ; Configure access point. You can delete this line once connected
      M552 S1 ; Enable Networking
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet

      M575 P1 B57600 S1 ;Paneldue
      M667 S1 ; Select CoreXY mode

      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; set axis minima
      M208 X-35:328.5 Y-49:243 Z0:300 C0:500 S0 ; Set axis maxima & minima

      ; Endstops
      M574 X1 S1 P"!xstop" ; configure active high endstop switch for low end on X (Duet 3)
      M574 Y1 S3 ; Set Y endstop stall detection
      M574 C0 Z0 ; No C Z endstop

      ; Z probe
      M558 P8 C"zstop" H3 F360 I0 T20000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
      G31 P200 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
      M557 X10:290 Y20:180 S40 ; Define mesh grid

      ; Drive direction
      M569 P0 S0 ; Drive 0 X
      M569 P1 S0 ; Drive 1 Y
      M569 P2 S1 ; Drive 2 Z
      M569 P3 S0 ; Drive 3 E0
      M569 P4 S0 ; Drive 4 E1
      M569 P5 S0 ; Drive 5 E2
      M569 P6 S0 ; Drive 6 E3
      M569 P7 S0 ; Drive 7 COUPLER
      M569 P8 S0 ; Drive 8 UNUSED
      M569 P9 S0 ; Drive 9 UNUSED
      M584 X0 Y1 Z2 C7 E3:4:5:6 ; Apply custom drive mapping

      M350 E16:16:16:16 I1 ; Configure microstepping with interpolation for Orbitors
      M350 X16 Y16 Z16 I1 ; Configure microstepping with interpolation for X,Y,Z steppers
      M350 C8 I0 ; Configure microstepping with interpolation for C stepper

      M92 X100 Y100 Z1600 C100 E679.21:679.21:679.21:679.21 ; Steps per mm for the Orbitors V2

      M566 X400 Y400 Z8 C2 E300:300:300:300 ; Set maximum instantaneous speed changes (mm/min) Orbitors
      M203 X35000 Y35000 Z1200 C5000 E 7200:7200:7200:7200 ; Set maximum speeds (mm/min)
      M201 X6000 Y6000 Z400 C500 E 10000:10000: 10000:10000 ; Set accelerations (mm/s^2) for Orbitors

      M906 X2000 Y2000 Z1330 C400 E900:900:900:900 I10 ; Set motor currents for the Orbitors
      M84 S120 ; Set idle timeout

      M207 S1.75 F7200 Z0.4 ; Set FW Retraction

      ;Stall Detection
      M915 C S5 F0 H200 R4700 ; Coupler

      ;Stall Detection
      M915 X Y S5 F0 H400 R4700 ; X / Y Axes

      ; Heaters
      M308 S0 P"Bedtemp" Y"thermistor" T100000 B4138 C0 ; Set thermistor
      M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
      M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
      M140 H0 ; map heated bed to heater 0
      M143 H0 S225 ; Set temperature limit for heater 0 to 225C

      M308 S1 P"e0temp" Y"thermistor" T100000 B4388 ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H1 B0 R2.422 S1 ;From Auto tune
      M143 H1 S280 ; Set temperature limit for heater 1 to 300C

      M308 S2 P"e1temp" Y"thermistor" T100000 B4388 ; configure sensor 2 as thermistor on pin e0temp
      M950 H2 C"e1heat" T2 ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H2 B0 S1 ;From Auto tune
      M143 H2 S280 ; Set temperature limit for heater 2 to 300C

      M308 S3 P"duex.e2temp" Y"thermistor" T100000 B4388 ; configure sensor 3 as thermistor on pin e0temp
      M950 H3 C"duex.e2heat" T3 ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H3 B0 S1 ;From Auto tune
      M143 H3 S280 ; Set temperature limit for heater 3 to 300C

      M308 S4 P"duex.e3temp" Y"thermistor" T100000 B4388 ; configure sensor 3 as thermistor on pin e0temp
      M950 H4 C"duex.e3heat" T4 ; create nozzle heater output on e0heat and map it to sensor 1
      M307 H4 B0 S1 ;From Auto tune
      M143 H4 S280 ; Set temperature limit for heater 3 to 300C

      ; Tools
      M563 P0 D0 H1 F0 ; Define tool 0
      G10 P0 X0 Y0 Z0 ; Reset tool 0 axis offsets
      G10 P0 R0 S0 ; Reset initial tool 0 active and standby temperatures to 0C

      M563 P1 D1 H2 F2 ; Define tool 1
      G10 P1 X0 Y0 Z0 ; Reset tool 1 axis offsets
      G10 P1 R0 S0 ; Reset initial tool 1 active and standby temperatures to 0C

      M563 P2 D2 H3 F4 ; Define tool 2
      G10 P2 X0 Y0 Z0 ; Reset tool 2 axis offsets
      G10 P2 R0 S0 ; Reset initial tool 2 active and standby temperatures to 0C

      M563 P3 D3 H4 F6 ; Define tool 3
      G10 P3 X0 Y0 Z0 ; Reset tool 3 axis offsets
      G10 P3 R0 S0 ; Reset initial tool 3 active and standby temperatures to 0C

      ; Fans
      ;M106 P0 S0 ; UNUSED
      ;M106 P1 S255 H1 T70 ; T0 HE

      ;M106 P2 S0 ; T0 PCF

      ;M106 P3 S255 H2 T70 ; T1 HE
      ;M106 P4 S0 ; T1 PCF
      ;M106 P5 S255 H3 T70 ; T2 HE
      ;M106 P6 S0 ; T2 PCF
      ;M106 P7 S255 H4 T70 ; T3 HE
      ;M106 P8 S0 ; T3 PCF

      M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 ; UNUSED
      M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
      M106 P1 S255 H1 T70 ; set fan 1 value.
      M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
      M106 P2 S0 ; set fan 2 value. Thermostatic control is turned on
      M950 F3 C"duex.fan3" Q500 ; create fan 3 on pin duex.fan3 and set its frequency
      M106 P3 S255 H2 T70 ; set fan 3 value.
      M950 F4 C"duex.fan4" Q500 ; create fan 4 on pin duex.fan4 and set its frequency
      M106 P4 S0 ; set fan 4 value. Thermostatic control is turned on
      M950 F5 C"duex.fan5" Q500 ; create fan 5 on pin duex.fan4 and set its frequency
      M106 P5 S255 H2 T70 ; set fan 5 value.
      M950 F6 C"duex.fan6" Q500 ; create fan 6 on pin duex.fan4 and set its frequency
      M106 P6 S0 ; set fan 6 value. Thermostatic control is turned on
      M950 F7 C"duex.fan7" Q500 ; create fan 7 on pin duex.fan4 and set its frequency
      M106 P7 S255 H2 T70 ; set fan 7 value.
      M950 F8 C"duex.fan8" Q500 ; create fan 8 on pin duex.fan4 and set its frequency
      M106 P8 S0 ; set fan 8 value. Thermostatic control is turned on

      M593 F50 ; cancel ringing at 50Hz
      ;M376 H15 ; bed compensation taper

      ;tool offset
      G10 P0 X-9 Y39 Z-4.55 ; T0 Positive moves closer negative away
      G10 P1 X-8.8 Y38.8 Z-4.55 ; T1
      G10 P2 X-9 Y38.8 Z-4.55 ; T2
      G10 P3 X-8.8 Y38.8 Z-4.55 ; T3

      M501 ;Use the config-overide.g file

      ;deselect tools
      T-1

      M572 D0 S0.02 ; pressure advance T0
      M572 D1 S0.02 ; pressure advance T1
      M572 D2 S0.02 ; pressure advance T2
      M572 D3 S0.02 ; pressure advance T3

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @andy-cohen Updates to 3.4.1 went OK... I updated the Homing scripts(S to H for G1)...
      Now the config file. Could you please take a look and let me know what I have to change???

      ; Configurat; Configuration file for Duet WiFi / Ethernet
      ; executed by the firmware on start-up
      ; For Toolchanger and RRF 3.3+

      ; General preferences
      M111 S0 ; Debugging off
      G21 ; Work in millimetres
      G90 ; Send absolute coordinates...
      M83 ; ...but relative extruder moves
      M555 P2 ; Set firmware compatibility to look like Marlin

      ; Network
      M550 P"ToolChanger" ; Set machine name
      ;M587 S"ssid" P"password" ; WiFi Settings
      ;M552 S1 P"ssid" ; Enable WiFi Networking
      M587 S"ATT642" P"4269605351" ; Configure access point. You can delete this line once connected
      M552 S1 ; Enable Networking
      M586 P0 S1 ; Enable HTTP
      M586 P1 S0 ; Disable FTP
      M586 P2 S0 ; Disable Telnet

      M575 P1 B57600 S1 ;Paneldue
      M667 S1 ; Select CoreXY mode

      ; Endstops
      M574 X1 Y1 S0 ; Set X / Y endstop stall detection
      M574 Z1 S2 ; Set Z endstop probe
      M558 P7 X0 Y0 Z2 H3 F360 I0 T20000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
      G31 P200 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
      M557 X10:290 Y20:180 S40 ; Define mesh grid

      ; Drive direction
      M569 P0 S0 ; Drive 0 X
      M569 P1 S0 ; Drive 1 Y
      M569 P2 S1 ; Drive 2 Z
      M569 P3 S0 ; Drive 3 E0
      M569 P4 S0 ; Drive 4 E1
      M569 P5 S0 ; Drive 5 E2
      M569 P6 S0 ; Drive 6 E3
      M569 P7 S0 ; Drive 7 COUPLER
      M569 P8 S0 ; Drive 8 UNUSED
      M569 P9 S0 ; Drive 9 UNUSED

      M584 X0 Y1 Z2 C7 E3:4:5:6 ; Apply custom drive mapping
      M208 X-35:328.5 Y-49:243 Z0:300 C0:500 S0 ; Set axis maxima & minima
      M350 E16:16:16:16 I1 ; Configure microstepping with interpolation for Orbitors
      M350 X16 Y16 Z16 I1 ; Configure microstepping with interpolation for X,Y,Z steppers
      M350 C8 I0 ; Configure microstepping with interpolation for C stepper

      M92 X100 Y100 Z1600 C100 E679.21:679.21:679.21:679.21 ; Steps per mm for the Orbitors V2

      M566 X400 Y400 Z8 C2 E300:300:300:300 ; Set maximum instantaneous speed changes (mm/min) Orbitors
      M203 X35000 Y35000 Z1200 C5000 E 7200:7200:7200:7200 ; Set maximum speeds (mm/min)
      M201 X6000 Y6000 Z400 C500 E 10000:10000: 10000:10000 ; Set accelerations (mm/s^2) for Orbitors

      M906 X2000 Y2000 Z1330 C400 E900:900:900:900 I10 ; Set motor currents for the Orbitors
      M84 S120 ; Set idle timeout

      M207 S1.75 F7200 Z0.4 ; Set FW Retraction

      ;Stall Detection
      M915 C S5 F0 H200 R4700 ; Coupler

      ;Stall Detection
      M915 X Y S5 F0 H400 R4700 ; X / Y Axes

      ; Heaters
      M305 P0 T100000 B4138 C0 ; Set thermistor
      M143 H0 S225 ; Set temperature limit for heater 0 to 225C
      M570 H0 P10 T15 ; Sets the time and temp for heater error check

      M305 S"T0" P1 R4700 T100000 B4388 ; Set thermistor
      M143 H1 S300 ; Set temperature limit for heater 1 to 300C
      M570 H1 P10 T15 ; Sets the time and temp for heater error check

      M305 S"T1" P2 R4700 T100000 B4388 ; Set thermistor
      M143 H2 S300 ; Set temperature limit for heater 2 to 300C
      M570 H2 P10 T15 ; Sets the time and temp for heater error check

      M305 S"T2" P3 R4700 T100000 B4388 ;Set thermistor
      M143 H3 S300 ; Set temperature limit for heater 3 to 300C
      M570 H3 P10 T15 ; Sets the time and temp for heater error check

      M305 S"T3" P4 R4700 T100000 B4388 ; Set thermistor
      M143 H4 S300 ; Set temperature limit for heater 4 to 300C

      ; Tools
      M563 P0 S"T0" D0 H1 ; Define tool 0
      G10 P0 X0 Y0 Z0 ; Reset tool 0 axis offsets
      G10 P0 R0 S0 ; Reset initial tool 0 active and standby temperatures to 0C

      M563 P1 S"T1" D1 H2 ; Define tool 1
      G10 P1 X0 Y0 Z0 ; Reset tool 1 axis offsets
      G10 P1 R0 S0 ; Reset initial tool 1 active and standby temperatures to 0C

      M563 P2 S"T2" D2 H3 ; Define tool 2
      G10 P2 X0 Y0 Z0 ; Reset tool 2 axis offsets
      G10 P2 R0 S0 ; Reset initial tool 2 active and standby temperatures to 0C

      M563 P3 S"T3" D3 H4 ; Define tool 3
      G10 P3 X0 Y0 Z0 ; Reset tool 3 axis offsets
      G10 P3 R0 S0 ; Reset initial tool 3 active and standby temperatures to 0C

      ; Fans
      M106 P0 S0 ; UNUSED
      M106 P1 S255 H1 T70 ; T0 HE
      M106 P2 S0 ; T0 PCF
      M106 P3 S255 H2 T70 ; T1 HE
      M106 P4 S0 ; T1 PCF
      M106 P5 S255 H3 T70 ; T2 HE
      M106 P6 S0 ; T2 PCF
      M106 P7 S255 H4 T70 ; T3 HE
      M106 P8 S0 ; T3 PCF

      M593 F50 ; cancel ringing at 50Hz
      ;M376 H15 ; bed compensation taper

      ;tool offset
      G10 P0 X-9 Y39 Z-4.55 ; T0 Positive moves closer negative away
      G10 P1 X-8.8 Y38.8 Z-4.55 ; T1
      G10 P2 X-9 Y38.8 Z-4.55 ; T2
      G10 P3 X-8.8 Y38.8 Z-4.55 ; T3

      M501 ;Use the config-overide.g file

      ;deselect tools
      T-1

      M572 D0 S0.02 ; pressure advance T0
      M572 D1 S0.02 ; pressure advance T1
      M572 D2 S0.02 ; pressure advance T2
      M572 D3 S0.02 ; pressure advance T3

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux Got it. Thanks. Chances are I'll have issues when I get to the config file.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux Still good. I think that was the problem.

      So should I update to 3.3 or go right to 3.4.1???

      Then after that will be doing the config file. This is a tool changer.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux I think I figured it out. I got the web control to load.
      Reloaded it 3 times and it worked OK.
      I have a PanelDue (already updated FW for 3.3 not 3.0) which was connected physically but on the screen it said it was connecting. Seemed to make sense there may have been a lot of EM noise on this cable which goes across the entire box to the front. I disconnected it and it's been OK for the longest amount of time.
      I tried so many things! I even put a repeater right next to the board! It was the noisy Paneldue cable all the time.

      So assuming this was the problem... what should I do next???

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux cap.jpg

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux DOH!
      It lost the connection!
      How do I upload pics on this system?

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux So... what should I do next? 3.3? 3.4.1? Stop and get a shot of Whiskey?

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux Connected! and staying connected!

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux I'll give it a go. I was going to ask if that was possible.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux Yes.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux Mac OSX 12.5.1

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen
    • RE: Update fail on very first step!

      @phaedrux I can't get it to connect now.

      posted in Firmware installation
      Andy Cohenundefined
      Andy Cohen