Download PNC CPL Programming Manual

Transcript
System Functions
Function supplies /
refresh1)
<buffer> is
of type 2)
Syntax /
description
Active tool radius compensation
number
Integer
MCODS(11,<channel>,<version>,<buffer>,1)
S
4–53
Supplies in <buffer> the tool radius compensation number active in
<channel>. If no tool radius compensation is active –1 is returned.
Active tool radius compensation
Real
S
MCODS(12,<channel>,<version>,<buffer>,1)
Supplies in <buffer> the tool radius compensation active in
<channel> in mm. If no tool radius compensation is active 0.0 is
returned.
Name of the active tool
compensation table
Character,
Array
S
MCODS(13,<channel>,<version>,<buffer>,<size>)
Supplies in <buffer> the name of the tool compensation table active
in <channel>. If none is active 3 blanks are returned as the string.
Name of the active axis zero shift
table
Character,
Array
S
MCODS(14,<channel>,<version>,<buffer>,<size>)
Supplies in <buffer> the name of the axis zero shift table active in
<channel>. If none is active 3 blanks are returned as the string.
Active axis zero shift values
Real, Array
S
MCODS(15,<channel>,<version>,<buffer>,<size>)
Supplies in <buffer> the axis zero shift values of the 3 groups
G53...G59, G153...G159 and G253...G259 active in <channel> for
all feed axes in mm.
If no shift is active 0.0 is returned.
The following order applies:
D Shift of the 1st axis in group 1
D Shift of the 2nd axis in group 1
D Shift of the nth axis in group 1
D Shift of the 1st axis in group 2
:
D Shift of the nth axis in group 2
:
D Shift of the nth axis in group 3
Programmed end positions incl.
shifts
S
Real, Array
MCODS(16,0,<version>,<buffer>,<size>)
Supplies in <buffer> in ascending, channel-independent order the
end positions with reference to the workpiece coordinates of the
active blocks of all feed and auxiliary axes:
D in the case of linear axes in mm
D in the case of rotary axes in degrees
All the shift values are calculated.
”Set actual value” (e.g. G92) is not included in the calculation of the
values.
1) Data which the control unit provides cyclically are identified with ”Z”.
Data available after each switching of blocks are identified with ”S”.
Data which appear in irregular periods after a change are identified with an ”E”.
Data which appear immediately when called for are identified with an ”I”.
Data which never change (they only need to be called for once) are identified with ”R”.
2) Gives the variable type (integer, real, double, character) needed for <buffer>.
If not a simple variable but a field variable is needed the variable type is followed by ”array”.
1070 073 740-111 (02.11) GB