Output pulse for m2/m30

More
23 Dec 2020 00:42 #192903 by The Feral Engineer
Is there a way to link m2 or m30 to a pin? On industrial machines, program end, m1 optional stop and m0 has available io we use for linking plc signals for things like automatic door unlock, pallet change, and my current endeavor in lncnc - interactive parts counter. I have a gladevcp counter I'm making in classic ladder that i need to pulse an output to in order to make work and m64 is latching, so i need a different way

Please Log in or Create an account to join the conversation.

More
23 Dec 2020 03:54 #192922 by The Feral Engineer
got something to work that'll do for now. made an M code to control the input i'm using to classicladder to count up

#!/bin/bash
halcmd setp classicladder.0.in-01 true
halcmd setp classicladder.0.in-01 false
exit 0

now that I know how to assign M codes, I think I'll be in good shape for now

Please Log in or Create an account to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum