custom m code
11 Feb 2019 12:47 #126197
by c123
custom m code was created by c123
Can anyone recommend me a manual for creating custom m codes? I know there are a lot of examples out there but they are all very case specific and none explains how the card gets addressed and where to place bash files.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
11 Feb 2019 14:12 #126200
by Todd Zuercher
Replied by Todd Zuercher on topic custom m code
The documentation is here:
linuxcnc.org/docs/html/gcode/m-code.html#mcode:m100-m199
You save the file to a directory specified in the ini file for your config.
linuxcnc.org/docs/html/config/ini-config.html#_rs274ngc_section
It can also be in the directory specified in the "OPEN_FILE=" path specified in the Display section of your ini file.
For the most part custom M-codes work by directly setting the values of hal pins, such as the hal pin for a parallel port board "parport.0.pin-14-out"
linuxcnc.org/docs/html/gcode/m-code.html#mcode:m100-m199
You save the file to a directory specified in the ini file for your config.
linuxcnc.org/docs/html/config/ini-config.html#_rs274ngc_section
It can also be in the directory specified in the "OPEN_FILE=" path specified in the Display section of your ini file.
For the most part custom M-codes work by directly setting the values of hal pins, such as the hal pin for a parallel port board "parport.0.pin-14-out"
Please Log in or Create an account to join the conversation.
11 Feb 2019 15:01 #126201
by c123
Replied by c123 on topic custom m code
Thanks for the quick reply. i will try that tomorrow.
bernd
bernd
Please Log in or Create an account to join the conversation.
Time to create page: 0.143 seconds