
177
Part 4 Commands
1.10 Position Operation
PGET (Read position data)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional PGET Axis
number
Position
number
CC
[Function] Read to variable 199 the data of the axis number specified in operand 1 in the position data
specified in operand 2.
If the position data table has no data that can be loaded when a PGET command is
executed (= position data display on the teaching pendant: X.XXX / position data display in
the PC software: blank), data will not be assigned to variable 199 (the PGET command will
not be executed).
Axis No. 1: X-axis, Axis No. 2: Y-axis, Axis No. 3: Z-axis, Axis No. 4: R-axis, Axis Nos. 5/6:
Additional linear movement axes
[Example 1]
PGET
2
3
Read to variable 199 the data of the Y-axis (axis 2) at
position 3.
[Example 2]
LET
1
2
Assign 2 to variable 1.
LET
2
3
Assign 3 to variable 2.
PGET
*1
*2
Read to variable 199 the data of the content of variable
1 (Y-axis (axis 2)) at the content of variable 2 (position
3).
178
Part 4 Commands
PPUT (Write position data)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional PPUT Axis
number
Position
number
CP
[Function] Write the value in variable 199 to the axis number specified in operand 1 in the position data
specified in operand 2.
Axis No. 1: X-axis, Axis No. 2: Y-axis, Axis No. 3: Z-axis, Axis No. 4: R-axis, Axis Nos. 5, 6:
Additional linear movement axes
[Example 1]
LET
199
150
Assign 150 to variable 199.
PPUT 2
3
Write the content of variable 199 (150) to the Y-axis
(axis 2) at position 3.
[Example 2]
LET
199
150
Assign 150 to variable 199.
LET
1
2
Assign 2 to variable 1.
LET
2
3
Assign 3 to variable 2
PPUT *1
*2
Write the content of variable 199 (150) to the content of
variable 1 (Y-axis (axis 2)) at the content of variable 2
(position 3).
180
Содержание X-SEL PX
Страница 1: ...Operation ManualSeventh Edition X SEL Controller PX QX Type Tenth Edition ...
Страница 2: ......
Страница 8: ......
Страница 14: ......
Страница 39: ...15 Part 1 Installation Reference Circuit Diagram Surge absorber Solenoid valve Controller 0 V 15 ...
Страница 410: ...383 Appendix 386 ...
Страница 452: ...425 Appendix 5 428 ...
Страница 559: ......