- LinuxCNC
- General LinuxCNC Questions
- need to turn on & off, a physical pin with one of the un- unused M code.
need to turn on & off, a physical pin with one of the un- unused M code.
- davidcnc
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
23 Mar 2018 17:21 #107761
by davidcnc
need to turn on & off, a physical pin with one of the un- unused M code. was created by davidcnc
Need additional M code to operate a hydraulic cylinder valve. Already using M3 & M5 also M7 & M9. need a third on/off M code.
Using Jon Elsons stepper board.
davidcnc thanx
Using Jon Elsons stepper board.
davidcnc thanx
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 4957
- Thank you received: 1441
23 Mar 2018 17:35 - 23 Mar 2018 17:36 #107762
by Todd Zuercher
Replied by Todd Zuercher on topic need to turn on & off, a physical pin with one of the un- unused M code.
Is there a reason you can't setup and use a couple of the user definable M-codes (M100-199)
linuxcnc.org/docs/html/gcode/m-code.html#mcode:m100-m199
linuxcnc.org/docs/html/gcode/m-code.html#mcode:m100-m199
Last edit: 23 Mar 2018 17:36 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10843
- Thank you received: 3580
23 Mar 2018 19:57 #107768
by rodw
Replied by rodw on topic need to turn on & off, a physical pin with one of the un- unused M code.
M62/M63 and M64/M65 by default provide 4 digital outputs you can turn on and off but this can be extended to up to 64.
linuxcnc.org/docs/html/gcode/m-code.html#mcode:m62-m65
The link in that section tells you how to extend the number of pins that can be controlled.
linuxcnc.org/docs/html/gcode/m-code.html#mcode:m62-m65
The link in that section tells you how to extend the number of pins that can be controlled.
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- need to turn on & off, a physical pin with one of the un- unused M code.
Time to create page: 0.056 seconds