CHMT dragpin axis lock configuration

108 views
Skip to first unread message

Wayne Black

unread,
Jul 6, 2023, 8:37:43 PM7/6/23
to OpenPnP
Ive had the dragpin interlock disabled on my 36VA. Looking for example configs from Jan and other CHMT super users.

Thnaks Wayne

Jan

unread,
Jul 7, 2023, 4:16:29 PM7/7/23
to ope...@googlegroups.com
Hi Wayne!
Please find my dragpin interlock configuration attached.
I've my dragpin configured such, that it can be readback and
returns the value boolean state of the interrupter.
Please keep in mind, that the setup is such, that the dragpin has
to report "UP" when its switch off. The state is not checked in any
other state. So with the dragpin switched on/down you can still move
without restrictions.

Jan
> --
> 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
> <mailto:openpnp+u...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/openpnp/f49a0593-a24a-41b8-a229-eb46aad6d0f1n%40googlegroups.com <https://groups.google.com/d/msgid/openpnp/f49a0593-a24a-41b8-a229-eb46aad6d0f1n%40googlegroups.com?utm_medium=email&utm_source=footer>.
DragpinInterlock.png

Wayne Black

unread,
Jul 7, 2023, 4:43:44 PM7/7/23
to ope...@googlegroups.com
Thanks Jan, so yours hasnt changed by the looks of it. I had a SD card failure on my Duet controller board. Redoing the config mapping I found I had an inverted dragpin sensor signal that caused a dragpin crash. I'm trying to follow the dragpin Axis Interlock example on the Openpnp wiki that uses the dragpin sensor, but not understanding the regex pattern.

Maybe Ill just stick to your proven method.

Thanks Again!

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/38965b1a-fc6b-0c96-1e81-9b0038e03159%40googlemail.com.


--
Wayne Black
Owner
Black Box Embedded, LLC

Wayne Black

unread,
Jul 8, 2023, 5:27:05 PM7/8/23
to OpenPnP
Hey Jan and other CHMT users;

So I had previously had my dragpin axis interlock setup as Jan outlined above but suffered a machine crash. It was not a result the above config, but a miss indexed GPIO reading in my custom Duet RRF pin mapping. I thought I was reading the dragpin sensor but was actually reading the vacuum sensor. In the end I got it all sorted 

In testing things, I've departed from Jans method in favor of the Openpnp dragpin  Axis Interlock Actuator · openpnp/openpnp Wiki · GitHub. This differentiates the dragpin solenoid from the sensor allows you to read actual dragpin pwm drive value vs binary dragpin sensor state. Both methods work, but I'm unsure if the latter is slower in any respect. I set mine up as below; keeping in mind Im using RRF;

Dragpin Selonoid
image.png
image.png
image.png

Dragpin Sensor
image.png
image.png
image.png

vespaman

unread,
Jul 10, 2023, 1:21:02 PM7/10/23
to OpenPnP
Hi Wayne,

Not sure if it is a problem on my side, but I cannot see your images?

 - Micael

Wayne Black

unread,
Jul 10, 2023, 2:28:05 PM7/10/23
to ope...@googlegroups.com
doh, sorry. Fyi I went thru and redid all of my pushpull feeders and the new interlock logic is perfect. A couple of my feeders have metal/tape cover extremely close to the tape holes and they bind every so often. Regardless no crashes finally :)

image (4).png
image (3).png
image (2).png
image.png
image (1).png

vespaman

unread,
Jul 12, 2023, 8:47:12 AM7/12/23
to OpenPnP
But if the dragpin is not released by the tape, will your gantry not move regardless now, if you are reading the "drive" value rather than the actual position of the pin?
Or did I misunderstand perhaps?

-  Micael

Wayne Black

unread,
Jul 12, 2023, 10:24:10 AM7/12/23
to ope...@googlegroups.com
Hi Micael,
Sorry I dont understand your question. Heres the basic logic of my current setup;
if the sensor (active high) is low AND the coil is not driven = XY movement is prohibited.

sensor = 1; dragpin up
sensor = 0; dragpin down
coil > 0.0 = dragpin driven down

vespaman

unread,
Jul 12, 2023, 11:00:22 AM7/12/23
to OpenPnP
No worries, it was me then, that lost in the logic between the pictures. :-)
Thanks for boiling it down!

 - Micael

Wayne Black

unread,
Jul 12, 2023, 11:15:45 AM7/12/23
to ope...@googlegroups.com
No not you, it was my failed uploading of pics. The way I did it makes no sense. Thanks for letting me clarify, I dont want to put out any bad info. The dragpin has been a real source of anxiety on this machine.

Reply all
Reply to author
Forward
0 new messages