THC off/on coding

For general topics and questions that do not fit into any of the other categories or forums.
Post Reply
desmond
1/2 Star Member
1/2 Star Member
Posts: 3
Joined: Thu Apr 20, 2017 6:36 am

THC off/on coding

Post by desmond »

Hi all,

I am having trouble setting up the THC to switch off before hole cutting and on afterwards.

I have done the coding in sheetcam as follow:
And have loaded the files into the mach/macro folder.

M101.m1s

'turn off THC
If GetOEMLED(24) Then
Call DoOEMButton(123)
END if

M102.m1s

'turn on THC
If GetOEMLED(24) = False Then
Call DoOEMButton(123)
END i

Then, in mach, when entered into the dmi, it switches the led on/off. But in actual cutting, the torch still drives into the plate.

Sheetcam/mach is licensed.
CNC components from Leeuwinga.
Sheetcam post is MP-1000THC.
Mach screenset is THC-300.

Is anyone can assist me, please do so.


Thank you in advance
Desmond
Post Reply

Return to “CNC Plasma Cutters General Forum”