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

    Z_probe issues with Anet A8

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    18
    575
    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.
    • Jagofletchundefined
      Jagofletch
      last edited by

      Thanks for your answer but I'm still getting the same issue after that change.

      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        post the output of m119

        1 Reply Last reply Reply Quote 0
        • Jagofletchundefined
          Jagofletch
          last edited by

          I've managed to get the Z axis motors working with the following change..
          I have an NO probe, so M558 required the "I1" command to invert the signal

          M558 P4 C"^zprobe.in" H5 F120 T6000
          

          changed to

          M558 P4 C"^zprobe.in" I1 H5 F120 T6000
          

          Now I'm still left with the issue of the probe recognising the bed (LED lights up when it's close enough) but the board not telling the motors to disengage.

          M119
          Endstops - X: at min stop, Y: at min stop, Z: not stopped, Z probe: at min stop
          
          1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti
            last edited by

            @Jagofletch said in Z_probe issues with Anet A8:

            have an NO probe, so M558 required the "I1" command to invert the signal

            I1 is a version 2 command. inversion is done with !

            if the z probe is always triggered there is a problem wit your wiring.

            1 Reply Last reply Reply Quote 0
            • Jagofletchundefined
              Jagofletch
              last edited by

              The motors weren't engaging with ! but they've started working with the version 2 I1

              My probe isn't always triggered. It will trigger (LED on) when it senses the bed, as you would expect. I've checked the wiring for the Z probe multiple times but I will have a triple check.

              1 Reply Last reply Reply Quote 0
              • Vetiundefined
                Veti
                last edited by

                the relevent information about triggering is what m119 reports

                1 Reply Last reply Reply Quote 0
                • Jagofletchundefined
                  Jagofletch
                  last edited by Jagofletch

                  Sorry, I must've deleted that from my last reply.

                  M119
                  Endstops - X: at min stop, Y: at min stop, Z: not stopped, Z probe: at min stop

                  I'm wondering if it may be that I'm using the wrong diode from the Probe in

                  1 Reply Last reply Reply Quote 0
                  • Vetiundefined
                    Veti
                    last edited by

                    if that is an npn probe

                    Duet 3, Duet 2 Maestro, or revision 1.04 or later of Duet 2 WiFi or Duet 2 Ethernet: you can connect the output of the sensor directly to the Z-probe IN pin.

                    1 Reply Last reply Reply Quote 0
                    • Jagofletchundefined
                      Jagofletch
                      last edited by

                      I have 12v feeding the sensor, can the Z probe in handle that voltage? I'm not entirely sure what an NPN outputs on its signal wire.

                      1 Reply Last reply Reply Quote 0
                      • Vetiundefined
                        Veti
                        last edited by

                        see
                        https://duet3d.dozuki.com/Wiki/Hardware_Overview
                        PCB revision v1.04
                        The Z probe input improved to tolerate inputs up to 30V.

                        so just make sure you have revision 1.04

                        1 Reply Last reply Reply Quote 0
                        • Vetiundefined
                          Veti
                          last edited by

                          if you are not sure if your probe is npn why did you wire it as npn?

                          1 Reply Last reply Reply Quote 0
                          • Jagofletchundefined
                            Jagofletch
                            last edited by

                            Oh I was sure it was NPN. I'm just very new to Duet and there's a lot of info I'm having to juggle. So I may not be putting my point across properly.

                            1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator
                              last edited by

                              Can you post the results of M122 to check the firmware version? Also post the results of M98 P"config.g"

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • Jagofletchundefined
                                Jagofletch
                                last edited by Jagofletch

                                M122
                                

                                === Diagnostics ===
                                RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03beta3 running on Duet WiFi 1.02 or later
                                Board ID: 0JD0M-9P6M2-NW4SS-6JKFD-3SD6N-KUZBL
                                Used output buffers: 1 of 20 (10 max)
                                === RTOS ===
                                Static ram: 25632
                                Dynamic ram: 93680 of which 0 recycled
                                Exception stack ram used: 276
                                Never used ram: 11484
                                Tasks: NETWORK(ready,652) HEAT(blocked,852) MAIN(running,3816) IDLE(ready,196)
                                Owned mutexes:
                                === Platform ===
                                Last reset 00:03:01 ago, cause: power up
                                Last software reset at 2021-02-05 20:20, reason: User, spinning module GCodes, available RAM 11356 bytes (slot 1)
                                Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
                                Error status: 0
                                Free file entries: 10
                                SD card 0 detected, interface speed: 20.0MBytes/sec
                                SD card longest block write time: 0.0ms, max retries 0
                                MCU temperature: min 24.6, current 26.7, max 26.8
                                Supply voltage: min 12.4, current 12.5, max 12.5, under voltage events: 0, over voltage events: 0, power good: yes
                                Driver 0: standstill, SG min/max not available
                                Driver 1: standstill, SG min/max not available
                                Driver 2: standstill, SG min/max not available
                                Driver 3: standstill, SG min/max not available
                                Driver 4: standstill, SG min/max not available
                                Date/time: 2021-02-05 20:27:09
                                Cache data hit count 646318362
                                Slowest loop: 2.08ms; fastest: 0.07ms
                                I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
                                === Move ===
                                Hiccups: 0, FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
                                Bed compensation in use: none
                                Bed probe heights: 0.000 0.000 0.000 0.000 0.000
                                === MainDDARing ===
                                Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                                === AuxDDARing ===
                                Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                                === Heat ===
                                Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
                                Heater 1 is on, I-accum = 0.0
                                === GCodes ===
                                Segments left: 0, aux move: no
                                Stack records: 1 allocated, 0 in use
                                Movement lock held by null
                                http is idle in state(s) 0
                                telnet is idle in state(s) 0
                                file is idle in state(s) 0
                                serial is idle in state(s) 0
                                aux is idle in state(s) 0
                                daemon is idle in state(s) 0
                                queue is idle in state(s) 0
                                autopause is idle in state(s) 0
                                Code queue is empty.
                                === Network ===
                                Slowest loop: 15.44ms; fastest: 0.00ms
                                Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                                HTTP sessions: 1 of 8

                                • WiFi -
                                  Network state is running
                                  WiFi module is connected to access point
                                  Failed messages: pending 0, notready 0, noresp 0
                                  WiFi firmware version 1.23
                                  WiFi MAC address 24:a1:60:2f:8c:06
                                  WiFi Vcc 3.33, reset reason Turned on by main processor
                                  WiFi flash size 4194304, free heap 23648
                                  WiFi IP address 172.20.10.2
                                  WiFi signal strength -65dBm, reconnections 0, sleep mode modem
                                  Socket states: 0 0 0 0 0 0 0 0
                                M98 P"config.g"
                                

                                HTTP is enabled on port 80
                                FTP is disabled
                                TELNET is disabled
                                Warning: M308 command is not supported
                                Warning: M950 command is not supported

                                1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator
                                  last edited by

                                  Your config is trying to use the command syntax for RRF3 but you only have RRF2 installed. I suggest you update.

                                  If you still have access to DWC. Upload these 3 zip files, one at a time in the system tab. Don't extract them. Reboot after each. Use M115 to verify the firmware has been applied.
                                  https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
                                  https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
                                  https://github.com/Duet3D/RepRapFirmware/releases/download/3.2/Duet2and3Firmware-3.2.zip
                                  That will get your firmware and DWC up to date.

                                  For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
                                  https://configtool.reprapfirmware.org/Start

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  1 Reply Last reply Reply Quote 0
                                  • Jagofletchundefined
                                    Jagofletch
                                    last edited by

                                    If anybody else is reading this and having the same troubles I will be back to post my methods for getting everything working. At the moment I have had some troubles with upgrading from 2.x to 3.x, that's now sorted, but it has messed with my configuration. Some of the axis don't respond, the probe still doesn't register and the axis that do work are reversed (even reversing the direction in config.g doesn't solve the issue). I have a few weeks of freelance work before I can get back to it.

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