Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    CoreXY 1HCL issues 3.5b3

    Scheduled Pinned Locked Moved Solved
    Beta Firmware
    5
    15
    543
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Former User?
      A Former User
      last edited by

      This post is deleted!
      supertb1undefined 1 Reply Last reply Reply Quote 0
      • supertb1undefined
        supertb1 @A Former User
        last edited by

        @Herve_Smith thanks... apparently I did that wrong on the first line

        supertb1undefined 1 Reply Last reply Reply Quote 0
        • supertb1undefined supertb1 referenced this topic
        • supertb1undefined
          supertb1 @supertb1
          last edited by

          @supertb1 @T3P3Tony @dc42 @Phaedrux Another development that I have now noticed. Why would homing in closed loop on a core XY kick the second axis out of closed loop?

          4/25/2023, 9:42:56 AM	M122 b50
          Diagnostics for board 50:
          Duet EXP1HCL firmware version 3.5.0-beta.3 (2023-04-14 13:08:48)
          Bootloader ID: SAME5x bootloader version 2.4 (2021-12-10)
          All averaging filters OK
          Never used RAM 53412, free system stack 180 words
          Tasks: Move(nWait,0.0%,110) HEAT(nWait,0.0%,82) CanAsync(nWait,0.0%,63) CanRecv(nWait,0.0%,43) CanClock(nWait,0.0%,70) TMC(nWait,42.9%,344) CLSend(nWait,0.0%,152) MAIN(running,55.2%,407) IDLE(ready,0.0%,29) AIN(nWait,1.9%,267), total 100.0%
          Last reset 00:01:39 ago, cause: software
          Last software reset data not available
          Closed loop enabled: no, pre-error threshold: 2.00, error threshold: 4.00, encoder type rotaryQuadrature, position 10
          Encoder reverse polarity: yes, raw count 65526
          Driver 0: pos -116735, 82.5 steps/mm,standstill, SG min 0, mspos 632, reads 57493, writes 42675 timeouts 0, steps req 3 done 1643
          Moves scheduled 13, completed 13, in progress 0, hiccups 0, step errors 0, maxPrep 15, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
          Peak sync jitter -5/5, peak Rx sync delay 205, resyncs 0/0, next timer interrupt due in 6 ticks, enabled, next step interrupt due in 4282244676 ticks, disabled
          VIN voltage: min 24.4, current 24.4, max 24.4
          V12 voltage: min 12.2, current 12.2, max 12.2
          MCU temperature: min 24.2C, current 24.6C, max 24.9C
          Last sensors broadcast 0x00000000 found 0 162 ticks ago, 0 ordering errs, loop time 0
          CAN messages queued 368, send timeouts 0, received 394, lost 0, free buffers 37, min 37, error reg 0
          dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 288, adv 37175/37190
          Accelerometer: none
          I2C bus errors 0, naks 0, other errors 0
          4/25/2023, 9:42:41 AM	G28 X
          Driver 51.0 basic tuning succeeded, measured backlash 0.091 step
          4/25/2023, 9:42:23 AM	M122 b51
          Diagnostics for board 51:
          Duet EXP1HCL firmware version 3.5.0-beta.3 (2023-04-14 13:08:48)
          Bootloader ID: SAME5x bootloader version 2.4 (2021-12-10)
          All averaging filters OK
          Never used RAM 53412, free system stack 190 words
          Tasks: Move(nWait,0.0%,104) HEAT(nWait,0.0%,82) CanAsync(nWait,0.0%,63) CanRecv(nWait,0.0%,43) CanClock(nWait,0.0%,68) TMC(nWait,42.0%,344) CLSend(nWait,0.0%,152) MAIN(running,56.0%,407) IDLE(ready,0.0%,29) AIN(nWait,1.9%,267), total 100.0%
          Last reset 00:01:06 ago, cause: software
          Last software reset data not available
          Closed loop enabled: no, pre-error threshold: 2.00, error threshold: 4.00, encoder type rotaryQuadrature, position 2
          Encoder reverse polarity: yes, raw count 65534
          Driver 0: pos -81260, 82.5 steps/mm,standstill, SG min 0, mspos 24, reads 12053, writes 29607 timeouts 0, steps req 1 done 4129
          Moves scheduled 8, completed 8, in progress 0, hiccups 0, step errors 0, maxPrep 16, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
          Peak sync jitter -6/3, peak Rx sync delay 206, resyncs 0/0, next timer interrupt due in 16 ticks, enabled, next step interrupt due in 4285859782 ticks, disabled
          VIN voltage: min 24.1, current 24.1, max 24.1
          V12 voltage: min 12.0, current 12.0, max 12.1
          MCU temperature: min 25.4C, current 25.8C, max 25.8C
          Last sensors broadcast 0x00000000 found 0 79 ticks ago, 0 ordering errs, loop time 0
          CAN messages queued 332, send timeouts 0, received 351, lost 0, free buffers 37, min 37, error reg 0
          dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 290, adv 36887/36909
          Accelerometer: none
          I2C bus errors 0, naks 0, other errors 0
          4/25/2023, 9:42:13 AM	M122 b50
          Diagnostics for board 50:
          Duet EXP1HCL firmware version 3.5.0-beta.3 (2023-04-14 13:08:48)
          Bootloader ID: SAME5x bootloader version 2.4 (2021-12-10)
          All averaging filters OK
          Never used RAM 53412, free system stack 180 words
          Tasks: Move(nWait,0.0%,110) HEAT(nWait,0.0%,82) CanAsync(nWait,0.0%,63) CanRecv(nWait,0.0%,43) CanClock(nWait,0.0%,70) TMC(nWait,40.4%,344) CLSend(nWait,0.0%,152) MAIN(running,56.5%,415) IDLE(ready,1.2%,29) AIN(nWait,1.8%,267), total 100.0%
          Last reset 00:00:57 ago, cause: software
          Last software reset data not available
          Closed loop enabled: yes, pre-error threshold: 2.00, error threshold: 4.00, encoder type rotaryQuadrature, position -1
          Encoder reverse polarity: yes, raw count 1
          Tuning mode: 0, tuning error: 0, collecting data: no
          Control loop runtime (us): min=6, max=21, frequency (Hz): min=10563, max=16667
          Driver 0: pos -16912, 82.5 steps/mm,ok, SG min 0, mspos 840, reads 48087, writes 36536 timeouts 0, steps req 4 done 5352
          Moves scheduled 8, completed 8, in progress 0, hiccups 0, step errors 0, maxPrep 62, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
          Peak sync jitter -6/5, peak Rx sync delay 204, resyncs 0/0, next timer interrupt due in 13 ticks, enabled, next step interrupt due in 4284715151 ticks, disabled
          VIN voltage: min 24.4, current 24.4, max 24.4
          V12 voltage: min 12.2, current 12.2, max 12.2
          MCU temperature: min 24.2C, current 24.6C, max 24.6C
          Last sensors broadcast 0x00000000 found 0 141 ticks ago, 0 ordering errs, loop time 0
          CAN messages queued 502, send timeouts 0, received 538, lost 0, free buffers 37, min 37, error reg 0
          dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 309, adv 36965/37193
          Accelerometer: none
          I2C bus errors 12, naks 0, other errors 0
          4/25/2023, 9:42:02 AM	G28 Y
          Driver 50.0 basic tuning succeeded, measured backlash 0.128 step
          4/25/2023, 9:41:45 AM	M122 b51
          Diagnostics for board 51:
          Duet EXP1HCL firmware version 3.5.0-beta.3 (2023-04-14 13:08:48)
          Bootloader ID: SAME5x bootloader version 2.4 (2021-12-10)
          All averaging filters OK
          Never used RAM 53412, free system stack 194 words
          Tasks: Move(nWait,0.0%,104) HEAT(nWait,0.0%,86) CanAsync(nWait,0.0%,63) CanRecv(nWait,0.0%,43) CanClock(nWait,0.0%,68) TMC(nWait,39.1%,356) CLSend(nWait,0.0%,152) MAIN(running,55.2%,417) IDLE(ready,3.8%,29) AIN(nWait,1.9%,267), total 100.0%
          Last reset 00:00:29 ago, cause: software
          Last software reset data not available
          Closed loop enabled: yes, pre-error threshold: 2.00, error threshold: 4.00, encoder type rotaryQuadrature, position 4
          Encoder reverse polarity: yes, raw count 65532
          Tuning mode: 0, tuning error: 0, collecting data: no
          Control loop runtime (us): min=6, max=21, frequency (Hz): min=11538, max=16667
          Driver 0: pos -49086, 82.5 steps/mm,ok, SG min n/a, mspos 8, reads 38729, writes 64036 timeouts 0, steps req 2 done 0
          Moves scheduled 4, completed 4, in progress 0, hiccups 0, step errors 0, maxPrep 56, maxOverdue 0, maxInc 0, mcErrs 0, gcmErrs 0
          Peak sync jitter -7/3, peak Rx sync delay 202, resyncs 0/0, next timer interrupt due in 8 ticks, enabled, next step interrupt due in 4273061101 ticks, disabled
          VIN voltage: min 24.1, current 24.1, max 24.1
          V12 voltage: min 12.0, current 12.0, max 12.1
          MCU temperature: min 25.4C, current 25.6C, max 25.8C
          Last sensors broadcast 0x00000000 found 0 91 ticks ago, 0 ordering errs, loop time 0
          CAN messages queued 273, send timeouts 0, received 278, lost 0, free buffers 37, min 37, error reg 0
          dup 0, oos 0/0/0/0, bm 0, wbm 0, rxMotionDelay 306, adv 36670/37183
          Accelerometer: none
          I2C bus errors 12, naks 0, other errors 0
          4/25/2023, 9:41:37 AM	G28 X
          Driver 51.0 basic tuning succeeded, measured backlash 0.100 step
          
          dc42undefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined Phaedrux moved this topic from Duet Hardware and wiring
          • dc42undefined
            dc42 administrators @supertb1
            last edited by

            @supertb1 I can see two things that you need to change:

            1. Both motors should use C1000 in their M569.1 command. Currently you have one set to 1000 and the other set to a little less.

            2. As your machine is a CoreXY, before homing either X or Y you should set both motors to open loop. Then use M569.6 to calibrate both of them.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            supertb1undefined 3 Replies Last reply Reply Quote 0
            • supertb1undefined
              supertb1 @dc42
              last edited by supertb1

              @dc42 I put the count back to 1000 the one drive.. it was the firmware that gave that feedback in an error as to the read counts.
              on the Home sequence instead of M569 P50.0/P51.0 "D0" it should read M569 P50.0/51.0 "D2"? What should the closed loop homing sequence look like with the 3.5.0-B3?

              1 Reply Last reply Reply Quote 0
              • supertb1undefined
                supertb1 @dc42
                last edited by

                @dc42 I'm not sure what changes need to be made to my homing sequence as listed above, the first line of the sequece shows "M569 P51.0 D0" that should take it out of closed loop and then the axis homes 2 times, then moves to a safe spot and then turns the closed loop feature back on the axis "M569 P51.0 D4" and then performs the polarity detection and zeroing move "M569.6 P51.0 V1" ... as I am typing this I realized that I have the wrong 1HCL listed at the beginning of the sequence...lol... I can't wait for the online configurator to make this stupid proof...lol.

                1 Reply Last reply Reply Quote 0
                • supertb1undefined
                  supertb1 @dc42
                  last edited by

                  @dc42, @Phaedrux, @T3P3Tony Any idea why I get this error on start up?

                  4/27/2023, 9:21:26 PM 	m122
                  === Diagnostics ===
                  RepRapFirmware for Duet 3 MB6HC version 3.5.0-beta.3 (2023-04-14 11:28:15) running on Duet 3 MB6HC v1.02 or later (standalone mode)
                  Board ID: 08DJM-956BA-NA3TJ-6J1F8-3S06R-1U82S
                  Used output buffers: 1 of 40 (40 max)
                  Error in macro line 1 while starting up: Bad command: =
                  === RTOS ===
                  Static ram: 154728
                  Dynamic ram: 118912 of which 200 recycled
                  Never used RAM 69224, free system stack 135 words
                  Tasks: NETWORK(ready,72.2%,207) ETHERNET(nWait,0.0%,401) HEAT(nWait,0.0%,324) Move(nWait,0.0%,243) CanReceiv(nWait,0.0%,772) CanSender(nWait,0.0%,334) CanClock(delaying,0.0%,341) TMC(nWait,16.0%,59) MAIN(running,11.7%,137) IDLE(ready,0.0%,30), total 100.0%
                  Owned mutexes:
                  === Platform ===
                  Last reset 02:58:10 ago, cause: software
                  Last software reset at 2023-04-27 18:21, reason: User, Gcodes spinning, available RAM 69224, slot 0
                  Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0044a000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a
                  Error status: 0x04
                  Aux0 errors 0,0,0
                  MCU temperature: min 32.1, current 34.7, max 35.4
                  Supply voltage: min 23.6, current 23.7, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
                  12V rail voltage: min 11.7, current 12.1, max 12.5, under voltage events: 0
                  Heap OK, handles allocated/used 99/2, heap memory allocated/used/recyclable 2048/28/0, gc cycles 0
                  Events: 0 queued, 0 completed
                  Driver 0: standstill, SG min 0, mspos 680, reads 35246, writes 19 timeouts 0
                  Driver 1: standstill, SG min 0, mspos 680, reads 35246, writes 19 timeouts 0
                  Driver 2: standstill, SG min 0, mspos 680, reads 35246, writes 19 timeouts 0
                  Driver 3: standstill, SG min 0, mspos 680, reads 35247, writes 19 timeouts 0
                  Driver 4: standstill, SG min n/a, mspos 8, reads 35252, writes 14 timeouts 0
                  Driver 5: standstill, SG min n/a, mspos 8, reads 35255, writes 11 timeouts 0
                  Date/time: 2023-04-27 21:19:28
                  Slowest loop: 27.39ms; fastest: 0.06ms
                  === Storage ===
                  Free file entries: 20
                  SD card 0 detected, interface speed: 25.0MBytes/sec
                  SD card longest read time 2.5ms, write time 0.0ms, max retries 0
                  === Move ===
                  DMs created 125, segments created 3, maxWait 60276ms, bed compensation in use: none, comp offset 0.000
                  no step interrupt scheduled
                  === DDARing 0 ===
                  Scheduled moves 20, completed 20, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                  === DDARing 1 ===
                  Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
                  === Heat ===
                  Bed heaters 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
                  Heater 0 is on, I-accum = 0.0
                  === GCodes ===
                  Movement locks held by null, null
                  HTTP is idle in state(s) 0
                  Telnet is idle in state(s) 0
                  File is idle in state(s) 0
                  USB is idle in state(s) 0
                  Aux is idle in state(s) 0
                  Trigger is idle in state(s) 0
                  Queue is idle in state(s) 0
                  LCD is idle in state(s) 0
                  SBC is idle in state(s) 0
                  Daemon is idle in state(s) 0
                  Aux2 is idle in state(s) 0
                  Autopause is idle in state(s) 0
                  File2 is idle in state(s) 0
                  Queue2 is idle in state(s) 0
                  Q0 segments left 0, axes/extruders owned 0x0000005
                  Code queue 0 is empty
                  Q1 segments left 0, axes/extruders owned 0x0000000
                  Code queue 1 is empty
                  === Filament sensors ===
                  Extruder 0 sensor: ok
                  === CAN ===
                  Messages queued 96343, received 171224, lost 0, boc 0
                  Longest wait 13ms for reply type 6018, peak Tx sync delay 63438, free buffers 50 (min 46), ts 53452/53450/0
                  Tx timeouts 0,0,1,0,0,0 last cancelled message type 30 dest 127
                  === Network ===
                  Slowest loop: 46.76ms; fastest: 0.03ms
                  Responder states: MQTT(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                  HTTP sessions: 1 of 8
                  = Ethernet =
                  State: active
                  Error counts: 0 0 0 1 0 0
                  Socket states: 5 2 2 2 2 0 0 0
                  = WiFi =
                  Network state is disabled
                  Module is disabled
                  Failed messages: pending 0, notready 0, noresp 0
                  Socket states: 0 0 0 0 0 0 0 0
                  === Multicast handler ===
                  Responder is inactive, messages received 0, responses 0
                  4/27/2023, 9:17:08 PM 	Error in start-up file macro line 1: Bad command: =
                  
                  Phaedruxundefined 1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator @supertb1
                    last edited by Phaedrux

                    @supertb1 said in CoreXY 1HCL issues 3.5b3:

                    Error in macro line 1 while starting up: Bad command: =
                    Error in start-up file macro line 1: Bad command: =

                    Is this what you mean?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    supertb1undefined 1 Reply Last reply Reply Quote 0
                    • supertb1undefined
                      supertb1 @Phaedrux
                      last edited by

                      @Phaedrux yes

                      OwenDundefined 1 Reply Last reply Reply Quote 0
                      • OwenDundefined
                        OwenD @supertb1
                        last edited by

                        @supertb1

                        You have an = sign before the comment ; on line 1 of your config

                        =; Configuration file for Duet 3 MB 6HC (firmware version 3.3)
                        
                        supertb1undefined 1 Reply Last reply Reply Quote 1
                        • supertb1undefined
                          supertb1 @OwenD
                          last edited by

                          @OwenD thank you

                          supertb1undefined 1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined Phaedrux marked this topic as a question
                          • Phaedruxundefined Phaedrux has marked this topic as solved
                          • supertb1undefined
                            supertb1 @supertb1
                            last edited by

                            @supertb1 @Phaedrux, please go ahead and mark this issuer as solved. Thanks for every one help.

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA