always output H** as H01 in postprocessor

always output H** as H01 in postprocessor

ADASGTT88M
Explorer Explorer
264 Views
1 Reply
Message 1 of 2

always output H** as H01 in postprocessor

ADASGTT88M
Explorer
Explorer

Hi All,

 

I'm trying to edit the post so that the H value is always H01 every time we post a toolpath to our machine. I have removed the tool call because the machine hasn't got that ability to do a tool

change. I've given it a go myself but can't figure out a way of doing this without the processor failing to post.

test.PNG

 

 

 

 

 

 

 

 

 

 

 

 

we only use T1 on this machine and our tool library is setup for the shop floor on multiple machines so I don't really want to create another tool library full of T1 offsets.  Is there a simple way of re-writing hOffset to achieve what I would like the post to do? 

hOffset.PNG

Thanks,

Joe

0 Likes
Accepted solutions (1)
265 Views
1 Reply
Reply (1)
Message 2 of 2

Arun.rs
Autodesk
Autodesk
Accepted solution

HI @ADASGTT88M 

 

Change the code from this :

var hOffset = getSetting("outputToolLengthOffset", true) ? hFormat.format(tool.lengthOffset) : "";

 

To this :

var hOffset = getSetting("outputToolLengthOffset", true) ? "H01" : "";

 

Regards

 

 

If my post answers your question, please click the 'Accept Solution' button. This helps everyone find answers more quickly!



Arun.RS
Senior Technology Consultant