PROMA SD (not 150!!) post editing

Having problems with or questions about SheetCam? Post them here.
Post Reply
plasmaguy
Posts: 4
Joined: Tue Oct 10, 2017 4:14 pm

PROMA SD (not 150!!) post editing

Post by plasmaguy »

I'm working on the final implementation of my plasma table running on linuxcnc with a Proma SD torch height control (not the Proma 150!).

The Proma SD can detect the metal without a probe switch or ohmic probe by firing the torch as it descends upon the work piece; the arkok ties in with the probe input on the breakout board to make this happen.

My hangup is on editing my EMC post to include the following gcode for material detection (taken from Proma's website):

G00 Z20 (setting the burner about 20mm over the material)
M3 (Plasma connection)
G31 Z-10 F300 (looking for material at 300 to Z = -10)
G92 Z3 (Z axis reset + sample correction)
G00 Z6 (raising the burner 6mm over the material)
G04 P1000 (material piercing time 1000ms / 1s)
G00 Z1 (lowering the burner 1mm over the material)

http://proma-elektronika.com/index.php/ ... -materialu)

http://proma-elektronika.com/images/no_floating.gif


I believe it goes after the pen down but am not quite sure how to implement them...my grasp of code leaves much to be desired =(

function OnPenDown()
if (preheat > 0.001) then
post.ModalText (" G00")
post.ModalNumber (" Z", cutHeight * scale, "0.0000")
post.Text ("\n G04 P")
post.Number (preheat,"0.###")
post.Eol()
end
post.ModalText (" G00")
post.ModalNumber (" Z", pierceHeight * scale, "0.0000")
post.Text ("\n M03\n")
if (pierceDelay > 0.001) then
post.Text (" G04 P")
post.Number (pierceDelay,"0.###")
post.Eol()
end
end

Any help would greatly be appreciated so I can start getting caught up with the work around here.
User avatar
Les Newell
Site Admin
Posts: 3661
Joined: Thu May 11, 2006 8:12 pm

Post by Les Newell »

Try the 'LinuxCNC THC' post processor. There are a bunch of settings at the start of the post. Change the seekCode to "G31 Z-10 F300". Set switchOffset to -3. Note you need -3 because your sensor trips above the surface.
Post Reply