Z-Axis Movement Issue on Nozzle N2 with Single Rocker Arm Structure in OpenPnP

71 views
Skip to first unread message

Chintu Gurbani

unread,
Jul 11, 2024, 2:25:46 PM (10 days ago) Jul 11
to OpenPnP

I am encountering an issue with my pick and place machine, which has a single rocker arm structure head. I have carefully followed all the instructions from the "Issues and Solutions" tab to configure OpenPnP.

Here are the specifics of my setup:

  • I have set the middle point as Z=0 when the endstop is triggered.
  • When Nozzle N1 is selected in Machine Control and I jog the Z-axis in the negative direction, the Z-axis moves physically, and the DSO reflects this movement correctly.
  • However, when Nozzle N2 is selected in Machine Control and I jog the Z-axis in the negative direction, the Z-axis does not move physically, even though the DSO reflects the movement.

The firmware I am using is Marlin. I have attached the log files, Machine XML, and pictures of the head for reference.

Any insights or suggestions on how to resolve this issue would be greatly appreciated.

Log file_cam-axis.txt
machine.xml
WhatsApp Image 2024-06-29 at 21.23.56_b932dedd.jpg
WhatsApp Image 2024-06-21 at 11.22.03_50d7090f.jpg
WhatsApp Image 2024-07-02 at 22.23.04_971823ca.jpg

Chintu Gurbani

unread,
Jul 11, 2024, 11:28:39 PM (9 days ago) Jul 11
to OpenPnP
These are the screenshots of fields in Openpnp software
WhatsApp Image 2024-07-11 at 11.06.11_09bb2199.jpg
WhatsApp Image 2024-07-11 at 11.06.11_acb8f773.jpg
WhatsApp Image 2024-07-11 at 11.06.12_0bf5cbce.jpg

mark maker

unread,
Jul 12, 2024, 3:40:50 AM (9 days ago) Jul 12
to ope...@googlegroups.com

To determine whether it is a OpenPnP or controller problem, please send the log:

https://github.com/openpnp/openpnp/wiki/FAQ#where-are-configuration-and-log-files-located


_Mark

--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/d032ce93-7fc8-4a9c-9e63-8cfadd983de8n%40googlegroups.com.

Chintu Gurbani

unread,
Jul 12, 2024, 9:12:16 AM (9 days ago) Jul 12
to OpenPnP
I have attached the log file

OpenPnP.log

mark maker

unread,
Jul 12, 2024, 9:24:00 AM (9 days ago) Jul 12
to ope...@googlegroups.com

As you see in the log, OpenPnP is generating symmetric G Code, i.e. the Z axis goes to positive and negative range.

2024-07-10 12:12:58.002 AbstractHeadMountable DEBUG: N1.moveTo((400.000000, 480.000000, 22.000000, 0.000000 mm), 0.4)
2024-07-10 12:12:58.018 GcodeDriver DEBUG: [serial://COM21] >> G1   Z-23.6   F12000 ; move to target, 20000
2024-07-10 12:12:58.018 GcodeDriver$ReaderThread TRACE: [serial://COM21] << ok
2024-07-10 12:12:58.018 GcodeDriver TRACE: [serial://COM21] confirmed G1   Z-23.6   F12000 ; move to target

2024-07-10 12:13:17.466 AbstractHeadMountable DEBUG: N2.moveTo((400.000000, 480.000000, 22.000000, 0.000000 mm), 0.4)
2024-07-10 12:13:17.466 GcodeDriver DEBUG: [serial://COM21] >> G1   Z23.6   F12000 ; move to target, 20000
2024-07-10 12:13:17.466 GcodeDriver$ReaderThread TRACE: [serial://COM21] << ok
2024-07-10 12:13:17.466 GcodeDriver TRACE: [serial://COM21] confirmed G1   Z23.6   F12000 ; move to target

However, you are using positive Z coordinates here, so actually you are raising the nozzle, not lowering it. I hope you are aware of the OpenPnP coordinate system, and specifically how it handles Z (see "A Word about Z Coordinates"):

https://github.com/openpnp/openpnp/wiki/Machine-Axes#the-openpnp-coordinate-system

But that is actually irrelevant for your problem, if the axis is physically not moving then I guess it is a configuration problem on Marlin. 

I don't know Marlin, but if I were to guess, the mid-homing  switch at Z=0 is probably configured as an end-stop and Marlin is not allowing motion past it. Just a wild guess.

@Marlin experts, please help!

_Mark

Reply all
Reply to author
Forward
0 new messages