
6.MACRO EXECUTOR FUNCTION B-63943EN-2/01
- 222 -
6.9 RELATIVE COORDINATE READ AND PRESET FUNCTIONS
(#8996 TO #8999)
These functions enable reading and presetting of relative coordinates.
Reading relative coordinates
By setting an ID number for reading relative coordinates in #8998 and
setting an axis number in #8997, relative coordinates can be read
using #8999.
# 8998 Information ID 110: Reading the relative coordinate of the
1st axis
111: Reading the relative coordinate of the
2nd axis
112: Reading the relative coordinate of the
3rd axis
113: Reading the relative coordinate of the
4th axis
114: Reading the relative coordinate of the
5th axis
115: Reading the relative coordinate of the
6th axis
116: Reading the relative coordinate of the
7th axis
117: Reading the relative coordinate of the
8th axis
118: Reading the relative coordinates of the
1st to 24th axes
# 8997 Axis number :1 to the maximum number of controlled
axes in the path
(Usable only when #8998=118)
# 8999 Relative coordinate
# 8996 Completion code 0:Normal end.
-1:Abnormal end.
Example
If the relative coordinate of the first axis is -123.456,
executing the following steps sets #500 with -123456.
#8998 = 118;
#8997 = 1; (acquires the information about the
first axis)
#500 = #8999;