15 multi-branching – IAI America XSEL-KE User Manual
Page 198

183
Part 4 Commands
1.15 Multi-Branching
z SLCT (Start selected group)
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
SLCT
Prohibited
Prohibited CP
[Function] Branch to the step next to any WHXX or WSXX command that exists before an EDSL
command and whose condition is satisfied, or to the step next to an OTHE command if none
of the conditions are satisfied.
A SLCT command must be followed by a WHXX, WSXX or EDSL command.
A maximum of 15 nests are supported.
(Note)
Using a GOTO command to branch out of or into a SLCT-EDSL syntax is prohibited.
>([DPSOH@
6&3<
µ5LJKW¶ $VVLJQµULJKW¶WRFROXPQVDQG
:
600
SLCT
Jump to a WXXX whose condition is satisfied.
:6(4
µ5LJKW¶
:
,IµULJKW¶LVVWRUHGLQFROXPQVDQGWKLVFRPPDQGZLOO
be executed.
:6(4
µ/HIW¶
:
,IµOHIW¶LVVWRUHGWKLVFRPPDQGZLOOEHH[HFXWHG
OTHE
:
If the content of columns 1 and 2 is neither of the above,
this command will be executed.
EDSL
If flag 600 is OFF, the processing will move here upon
execution of any of the conditions.