Help adding extended work offsets (G54.1 Pxx) to Stepcraft post processor

Help adding extended work offsets (G54.1 Pxx) to Stepcraft post processor

steven.gazeley
Participant Participant
732 Views
2 Replies
Message 1 of 3

Help adding extended work offsets (G54.1 Pxx) to Stepcraft post processor

steven.gazeley
Participant
Participant

Hi, I have found that the Stepcraft post processor will not generate the G54.1 Pxx work coordinate systems.  It will only do the original G54 through G59 but I really need the extra offsets for my application.

 

Here is a snippet from the Stepcraft post defining the WCS...

 

// wcs definiton
wcsDefinitions = {
useZeroOffset: false,
wcs : [
{name:"Standard", format:"G", range:[54, 59]}
]
};

 

Looks like it only can accept those six integers.  Here is the same snippet from the Fanuc post...

 

// wcs definiton
wcsDefinitions = {
useZeroOffset: false,
wcs : [
{name:"Standard", format:"G", range:[54, 59]},
{name:"Extended", format:"G54.1 P", range:[1, 300]}
]
};

 

Is this all it takes to add the support to the Stepcraft post?  I'm not really a programmer, so I know that it could be much more complicated than this, but I thought it was worth asking.

 

And if it is more than just changing this snippet, can anyone tell me what else needs to change?

 

Thanks!!

0 Likes
733 Views
2 Replies
Replies (2)
Message 2 of 3

Marek_Skotak
Advocate
Advocate

Hi,

 please check this video. 

 

Hope understandable

 

(view in My Videos)

Postprocessor writer, CNC trainer, .NET programmer, www.cadcam-softcz.cz
0 Likes
Message 3 of 3

steven.gazeley
Participant
Participant

Thank you!  That's very clear!

0 Likes