Omron CS1W-MCH71 Operation Manual page 401

Sysmac cs/cj-series
Hide thumbs Also See for CS1W-MCH71:
Table of Contents

Advertisement

Command Details
Selective Execution
(SWITCH...CASE...BR
EAK...SEND)
Command type
Format
356
• The number of parallel branches can be specified with Number of
branches. The maximum number of branches for the Unit is specified in
the parameter [P00002: Number of parallel branches].
If Number of branches exceeds the parameter setting, the alarm [200Dh:
Count specification error] will occur.
• PARALLEL command cannot be used in sub-programs. If used, the pro-
gram cannot be loaded.
• END and PARALLEL commands cannot be used within processing 1, 2,
and N (program end and parallel branch nesting cannot be executed
inside parallel branching).
• Each of processing 1, 2, and N can be described over multiple lines.
• The following sequence is fixed when commands are executed in the
order, processing 1, processing 2, and processing N.
• When using "PARALLEL_N1", JOINT command cannot be described.
PARALLEL
Processing 1
JOINT
JWAIT
Processing is selected and executed depending on the value of the condi-
tional variable.
SWITCH: Multiple execution command
CASE:
Multiple execution command
BREAK:
Multiple execution command
DEFAULT: Multiple execution command
SEND:
Multiple execution command
SWITCH_<conditional variable>;
{CASE_<conditional constant>;
<processing 1>
BREAK;
CASE_<conditional constant>;
<processing 2>
BREAK;
---}
{DEFAULT;}
<processing N>
SEND;
8 branches max.
Processing 2
JOINT
Section 6-3
Processing N

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Cj1w-mch71

Table of Contents