Hello everyone,

I use CamWorks 2015 with a postprocessor for Heidenhain iTNC530 (3 Axis) and i want on each TOOL CALL a "DR- <tool radius>" (Radius from the current Tool)
For example it should look like this: "TOOL CALL 1 Z S6366 DR-4,98"

In section Init Tool Change i tried this: ":T:<N><T!><AXIS_PLANE><S!><TOOL_RADIUS><EOL>"
But ther is only a "R0" in the output.

Then i tried this:
I definded a new atribute in my HH530.LIB:
:ATTRNAME=TOOL DR
:ATTRTYPE=POST
:ATTRVTYPE=DECIMAL
:ATTREMARK= DR- after TOOL CALL
:CODETYPE=FORMAT
:ATTRCFUNC=CALC_DR
:WORD_ADDRESS_BEF=|DR
:ATTREND

and a new section:
:SECTION=CALC_DR
:C: TOOL_RADIUS=(TOOL_DIAMETER/-2)

But i have no idea how the section to calculate the tool radius have to look.
Like this definitily not, because the following error drops when i compile the pp:
-2)
error 1 at 28 in CALC_DR
Syntax error or unrecognized variable name


I hobe it is understandable what i mean.
It would be great if somebody can helb me.
And sorry about my english......


Best regards
Beini