
179
Part 4 Commands
PCLR (Clear 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 PCLR Position
number
Position
number
CP
[Function] Clear the position data from the one specified in operand 1 through the other specified in
operand 2.
Once data is deleted, only the data field will become blank and the data will not change to
0.000.
The position data display on the teaching pendant will change to X.XXX, while the position
data display in the PC software will show a blank field.
[Example 1]
PCLR
10
20
Clear the data from position Nos. 10 through 20.
[Example 2]
LET
1
10
Assign 10 to variable 1.
LET
2
20
Assign 20 to variable 2.
PCLR
*1
*2
Clear the data of the content of variable 1 (position 10)
through the content of variable 2 (position 20).
180
Part 4 Commands
PCPY (Copy 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 PCPY Position
number
Position
number
CP
[Function] Copy the position data specified in operand 2 to the position number specified in operand 1.
[Example 1]
PCPY
20
10
Copy the data of position No. 10 to position No. 20.
[Example 2]
LET
1
20
Assign 20 to variable 1.
LET
2
10
Assign 10 to variable 2.
PCPY
*1
*2
Copy the data of the content of variable 2 (position 10)
to the content of variable 1 (position 20).
183
Содержание 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: ......