![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367402.webp)
357
Command Details
Section 6-3
EX: SWITCH #DW0000;
CASE 0;
ABL MOVE [J03]-100.00 [J04]-50.00;
BREAK;
CASE 1;
INC MOVE [J01]-200.00 [J02]50.00;
BREAK;
DEFAULT;
INC MOVE [J01]0.00 [J02]0.00 [J03]0.00 [J04]0.00;
SEND;
Operand
Description
• If Conditional variable specified in SWITCH command matches Condi-
tional constant specified in CASE command, only processing between
CASE command with the matching constant and BREAK command will
be executed.
• If Conditional variable does not match Conditional constant in any of
CASE commands, processing between DEFAULT and SEND commands
will be executed. If DEFAULT block is omitted, nothing will be executed.
• CASE command within processing 1, 2, and N is ignored, which means
that the same processing can be executed under a different condition.
• There is no limit on the number of CASE commands (actually, the number
of blocks per program limits it).
• SWITCH command cannot be used within processing 1, 2, and N (selec-
tive branches can not be nested).
• Processing 1, 2, and N can be described over multiple lines.
Operand
Setting range
Decimal
Variable specification
INC/ ABL
influ-
ence
Bit
Word
Long
word
Real
number
Indirect
specifi-
cation
Conditional Variable
Variable
No
No
No
No
No
No
No
Conditional constant
Operation
numerical value
range
Yes
No
No
No
No
No
No
Содержание CS1W-MCH71 -
Страница 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Страница 3: ...iv ...
Страница 29: ...xxx ...
Страница 33: ...xxxiv ...
Страница 35: ...xxxvi ...
Страница 39: ...xl ...
Страница 69: ...24 Performance Section 1 7 ...
Страница 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Страница 283: ...238 Saving Data Section 5 4 ...
Страница 417: ...372 Command Details Section 6 3 ...