
187
Part 4 Commands
PAXS (Read axis pattern)
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 PAXS Variable
number
Position
number
CP
[Function] Store the axis pattern at the position specified in operand 2 to the variable specified in
operand 1.
[Example 1]
PAXS
1
98
Read the axis pattern at position 98 to variable 1.
If the position is given as follows, “3” (binary 0011) will
be read to variable 1.
[Example 2]
LET
1
3
Assign 3 to variable 1.
LET
2
101
Assign 101 to variable 2.
PAXS
*1
*2
Read the axis pattern at the content of variable 2
(position 101) to the content of variable 1 (variable 3).
If the point is given as follows, “8” (binary 1000) will be
stored in variable 3.
The table below shows different positions and corresponding values stored in a
variable.
0 0 1 1 = 2 + 1 = 3
0 1 0 1 = 4 + 1 = 5
0
1 0 0 0 = 8
188
Part 4 Commands
PSIZ (Check position data size)
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 PSIZ Variable
number
Prohibited CP
[Function] Set an appropriate value in the variable specified in operand 1 in accordance with the
parameter setting.
When “Other parameter No. 23, PSIZ function type” = 0
The maximum number of position data that can be stored in the controller will be set.
(Regardless of whether the data are used or not.)
When “Other parameter No. 23, PSIZ function type” = 1
The number of point data used will be set.
[Example]
PSIZ 1
When “Other parameter No. 23, PSIZ function type” = 0
The maximum number of position data that can be stored in variable 1 will be set.
When “Other parameter No. 23, PSIZ function type” = 1
The number of point data currently used will be set in variable 1.
191
Содержание 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: ......