145
Part 2 Programs
PRED (Read current position)
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
PRED
Axis
pattern
Position
number
CP
[Function] Read the current position of the axis specified in operand 1 to the position specified in
operand 2.
[Example 1]
PRED
11
10
Read the current positions of axes 1 and 2 to position No.
10.
[Example 2]
The axis pattern can be specified indirectly using a variable.
When the command in [Example 1] is rephrased based on indirect specification using
a variable:
11 (binary)
3 (decimal)
LET
1
3
Assign 3 to variable 1.
PRED
*1
10
[Example 3]
LET
1
10
Assign 10 to variable 1.
PRED
11
*1
Read the current positions of axes 1 and 2 to the content of
variable 1 (position 10).
Содержание ssel
Страница 1: ...Operation Manual Eighth Edition SSEL Controller ...
Страница 26: ......
Страница 50: ...25 Part 1 Installation 3 Specification with system memory backup battery optional ...
Страница 385: ...359 ...
Страница 495: ......
Страница 496: ......