Omron CS1W-MCH71 MOTION CONTROL UNIT - 09-2004 Manual page 346

Motion control unit
Hide thumbs Also See for CS1W-MCH71 MOTION CONTROL UNIT - 09-2004:
Table of Contents

Advertisement

Command Details
Operand
Operand
Setting range
Conditional Variable
Variable
Conditional constant Operation
numerical value
range
Note
Description
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;
Decimal
Bit
No
No
Yes
No
Word data is extended to long word data with a sign in the MC Unit.
• 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.
Variable specification
Word
Long
Real
word
number
Yes (See
Yes
No
note.)
Yes (See
Yes
No
note.)
Section 6-3
INC/ ABL
influ-
Indirect
ence
specifi-
cation
No
No
No
No
323

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Sysmac cs-series

Table of Contents