Preamble / Postamble
- phantome
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
09 Mar 2021 13:51 #201545
by phantome
Preamble / Postamble was created by phantome
Hi,
I have CNC router with TB6600 drivers directly controlled by parallel port (through opto-isolators for safety).
I was using USBCNC and it was awful cause I was getting too many random usb resets (disconnects).
Is there any way to tell LinuxCNC to append a preamble and/or postamble to a job?
Say I have created a gcode file from Aspire (which does not support preamble/postamble append) and I want to run it with LinuxCNC. Can LinuxCNC append a standard finishing code, like move z up 20mm and goto XY home ?
Thanks for your time.
I have CNC router with TB6600 drivers directly controlled by parallel port (through opto-isolators for safety).
I was using USBCNC and it was awful cause I was getting too many random usb resets (disconnects).
Is there any way to tell LinuxCNC to append a preamble and/or postamble to a job?
Say I have created a gcode file from Aspire (which does not support preamble/postamble append) and I want to run it with LinuxCNC. Can LinuxCNC append a standard finishing code, like move z up 20mm and goto XY home ?
Thanks for your time.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7000
- Thank you received: 1172
09 Mar 2021 13:57 #201546
by BigJohnT
Replied by BigJohnT on topic Preamble / Postamble
Have a look at the filter section
linuxcnc.org/docs/2.8/html/config/ini-co...html#_filter_section
JT
linuxcnc.org/docs/2.8/html/config/ini-co...html#_filter_section
JT
Please Log in or Create an account to join the conversation.
- phantome
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
10 Mar 2021 12:59 #201645
by phantome
Replied by phantome on topic Preamble / Postamble
Thank you very much BigJohnT. This is exactly what I was looking for.
Please Log in or Create an account to join the conversation.
- rollfree
- Offline
- Senior Member
Less
More
- Posts: 59
- Thank you received: 11
11 Mar 2021 23:09 #201901
by rollfree
Replied by rollfree on topic Preamble / Postamble
Aspire can prepend/append preamble/postamble.
In PP you can write what will be at the beginning and end of g-code file.
In PP you can write what will be at the beginning and end of g-code file.
Please Log in or Create an account to join the conversation.
Time to create page: 0.093 seconds