
191
Part 2 Programs
z
IS
(Compare strings)
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
IS
Column
number
Column
number,
character
literal
CP
[Function] Compare the character strings in the columns specified in operands 1 and 2, and proceed to
the next step if the condition is satisfied.
If the condition is not satisfied, the program will proceed to the step next to the corresponding
ELSE command, if any, or to the step next to the corresponding EDIF command.
Comparison will be performed for the length set by a SLEN command.
If a character literal is specified in operand 2, comparison will be performed for the entire
length of the literal.
If the input condition is not satisfied and the IS
command is not executed, the program
will proceed to the step next to the EDIF.
A maximum of 15 nests are supported when IF
and DW
are combined.
IS
EQ
Operand 1 = Operand 2
NE
Operand 1
z
Operand 2
[Example 1]
SCPY 10
‘GOFD’ (Move
forward)
SCPY
14
‘GOBK’
(Move
backward)
LET
1
5
LET
2
14
SLEN
4
Set the number of comparing characters to 4.
600
ISEQ
1
‘1AXS’ (Axis 1) Select an axis.
ISEQ
5
10
Select a moving direction.
JFWN 01
5
Move axis 1 forward.
ELSE
JBWN 01
5
Move axis 1 backward.
EDIF
ELSE
ISNE
*1
*2
Select a moving direction.
JFWN 10
5
Move axis 2 backward.
ELSE
JBWN 10
5
Move axis 2 forward.
EDIF
EDIF
Jog by selecting axis 1/axis 2 by columns 1 to 4 and forward/backward by
columns 5 to 8.
Nothing will happen if flag 600 is OFF, in which case the program will proceed to
the step next to the last EDIF.
If columns 1 to 8 contain the following data, axis 1 will be moved forward.
1 2 3 4 5 6 7 8
1A XS GO FD
(Note)
Using a GOTO command to branch out of or into an IS
-EDIF syntax is prohibited.
Summary of Contents for PSEL
Page 2: ......
Page 10: ......
Page 18: ...8 Part 1 Installation ...
Page 37: ...27 Part 1 Installation 2 2 axis specification with battery ...
Page 382: ...372 Appendix Micro cylinder RCL Series Current limiting value ratio Push force N ...
Page 476: ...466 Appendix ...
Page 480: ...470 ...
Page 485: ...475 ...
Page 487: ...INTELLIGENT ACTUATOR SEL Language Programming Manual Eighth Edition ...
Page 488: ......
Page 490: ......
Page 494: ......
Page 518: ...24 ...
Page 526: ...32 ...
Page 831: ... 11 Actuator Control Declaration 337 Example DFIF 1 170 ...
Page 1060: ......
Page 1061: ......