B-63324EN/03 PROGRAMMING 17.CUSTOM MACRO
- 609 -
- Tool length compensation #5081 to #5100 (Attribute : R)
By reading system variables #5081 to #5100, the tool length
compensation value of each axis in the block currently being executed
can be checked.
Variable
number
Variable name Position information Read during
travel
#5081
#5082
:
#5100
[#_TOFS[1]]
[#_TOFS[2]]
:
[#_TOFS[20]]
1st axis tool length
compensation value
2nd axis tool length
compensation value
:
20th axis tool length
compensation value
Impossible
NOTE
A variable value greater than the number of
controlled axes is undefined.
- Servo positional deviation #5101 to #5120 (Attribute : R)
By reading system variables #5101 to #5120, the servo positional
deviation of each axis can be checked.
Variable
number
Variable name Position information Read during
travel
#5101
#5102
:
#5120
[#_SVERR[1]]
[#_SVERR[2]]
:
[#_SVERR[20]]
1st axis servo positional
deviation
2nd axis servo positional
deviation
:
20th axis servo positional
deviation
Impossible
NOTE
A variable value greater than the number of
controlled axes is undefined.
- Manual handle interrupt values #5121 to #5140 (Attribute : R)
By reading system variables #5121 to #5135, the manual handle
interrupt value of each axis can be checked.
Variable
number
Variable
name
Position information Read during
travel
#5121
#5122
:
#5140
[#_MIRTP[1]]
[#_MIRTP[2]]
:
[#_MIRTP[20]]
1st axis manual handle
interrupt value
2nd axis manual handle
interrupt value
:
20th axis manual handle
interrupt value
Impossible