G-code for Output

Post Reply
Posts: 23
Joined: Thu Sep 17, 2020 7:25 pm

G-code for Output

Post by MefiuuC21 »

Can I create new G-code (or edit not used) for plasma to turn on and turn off a #output?
Best Regards Mateusz.

Posts: 360
Joined: Tue Apr 16, 2019 5:30 pm
Location: Ottawa, Canada

Re: G-code for Output

Post by ivan »

The codes to turn a binary output on/off are M62/M63 respectively. You would use M62P[OUTPUTVALUE] and M63P[OUTPUTVALUE] to turn an output on or off.

For example, the syntax to turn on Output#4 would be the following:

Code: Select all

Of course, you can also create a completely new G-code command which will do some custom procedure to turn an output on or off.

Post Reply