precision of variables in postprocessor
Posted: Mon Jul 13, 2015 1:23 am
Hello all,
i have a postprocessor for a NUM control. I use a variable [TOOL_LENGTH] in the toolchange section.
My tool has a length of 112.51 mm. This leads to the output of
112.5100002
or 112.52 leads to
112.5199998
in the CNC file. The control throws ans error. Does anybody have a clou to avoid the high precision output without changing the tool length (112.5 is correctly postprocessed). Are there possibilities to change the precision?
Cheers Bodo
i have a postprocessor for a NUM control. I use a variable [TOOL_LENGTH] in the toolchange section.
My tool has a length of 112.51 mm. This leads to the output of
112.5100002
or 112.52 leads to
112.5199998
in the CNC file. The control throws ans error. Does anybody have a clou to avoid the high precision output without changing the tool length (112.5 is correctly postprocessed). Are there possibilities to change the precision?
Cheers Bodo