![background image](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367396.webp)
351
Command Details
Section 6-3
The formats of conditional expressions are shown in the following table.
Immediate values and variables are the only comparison objects. If a different
data type is used, an alarm will occur in pre-analysis.
Operand
Nil
Description
• The next block will not be executed until Conditional expression is satis-
fied.
• If the motion program is stopped (except for block stop) during WAIT com-
mand execution, waiting for condition to be satisfied is cancelled and the
command execution is completed. It means that waiting will not be
resumed even if it is re-started with the motion task control bit: [Start
Mode] = 1 (resume from where the operation was stopped).
• DWELL command is not an axis movement command, however, it is the
cancel object of STOPOP command. When it is cancelled, waiting for
condition to be satisfied will be immediately cancelled and the command
execution is completed.
• WAIT command execution will be completed when the conditional expres-
sion is satisfied.
• The operation when the program restarts after operation is stopped using
deceleration stop or other inputs while WAIT command execution is in
effect is shown in the following table.
Optional End
(STOPOP)
If the conditional expression is satisfied, execution of the next block will be
interrupted and then the block after the interrupted block will be executed.
Command type
Single execution command
Format
STOPOP_<conditional expression>;
Ex: STOPOP_#DW0001 = = 1;
The formats of conditional expressions are shown in the following table.
Immediate values and variables are the only comparison objects. If a different
data type is used, an alarm will occur in pre-analysis.
Conditional
Expression
Format
Equal to
(Immediate value or Variable) = = (Immediate value or Variable)
Not equal to
(Immediate value or Variable)<>(Immediate value or Variable)
Greater than
(Immediate value or Variable)>(Immediate value or Variable)
Less than
(Immediate value or Variable)<(Immediate value or Variable)
Equal to or
greater than
(Immediate value or Variable)> = (Immediate value or Variable)
Equal to or less
than
(Immediate value or Variable)< = (Immediate value or Variable)
Unit version
Startup in start mode 1
Startup in start mode 2
Units before Unit Ver.
3.0
Executes next block after the
WAIT command.
Executes next block after
the WAIT command.
Unit Ver. 3.0 or later
Re-executes the WAIT com-
mand.
Executes next block after
the WAIT command.
Conditional
Expression
Format
Equal to
(Immediate value or Variable) = = (Immediate value or Variable)
Not equal to
(Immediate value or Variable)<>(Immediate value or Variable)
Greater than
(Immediate value or Variable)>(Immediate value or Variable)
Less than
(Immediate value or Variable)<(Immediate value or Variable)
Содержание 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 ...