3.FP FUNCTIONS B-66284EN/01
- 336 -
D14,15,16,17(data1) = 123456 (0 is specified at the
ten keys input.)
D18(data2) = 3 (0 is specified at the ten
keys input.)
D19(pmc) = 9
D20,21(address) = 200
D22(path) = 2 (1 is specified for 1path
side)
idwrpmac2[200_100]
#100 in custom macro variable is used for indirect data.
#100(number) = 10100
#101(data1) = 123456 (0 is specified at the
ten keys input.)
#102(data2) = 3 (0 is specified at the ten
keys input.)
#103(pmc) = 9
#104(address) = 200
#105(path) = 2 (1 is specified for 1path
side)
idwrpmac2[300_10000]
#10000 in P code variable is used for indirect data.
#10000(number) = 10100
#10001(data1) = 123456 (0 is specified at the
ten keys input.)
#10002(data2) = 3 (0 is specified at the ten
keys input.)
#10003(pmc) = 9
#10004(address) = 200
#10005(path) = 2 (1 is specified for 1path
side)
1.63 Reading the absolute position of a controlled axis (type 2)
16
i 18i 21i PMi-D PMi-H 30i 31i 32i
Support CNC
○ ○ ○
- - - - -
○:available
-:unavailable
[Function name]
absolute2
[Data type]
4: 4 bytes (signed)
[Format/with arguments]
absolute2[axis]
[Arguments]
axis Axis number
(= from 1 to the maximum number of controlled axes)
[Return value]
Absolute position for the specified axis number
The same value as the absolute position displayed on the position
display screen of the CNC is read.
For the Series 30i/31i/32i, the absolute function can be used to
read the same coordinate value.