![Omron CS1W-MCH71 - Скачать руководство пользователя страница 338](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367338.webp)
293
Command Overview
Section 6-2
Control
Program start
PROG_P<program number> Q<axis declaration>;
Program end
END;
Sub-program call
GOSUB_P<sub-program number>;
Sub-program End
RETURN;
Dwell time
DWELL_T<dwell time>;
Wait for condition to
be met
WAIT_<conditional expression>;
Optional end
STOPOP_<conditional expression>;
Conditional branch-
ing
IF_<conditional expression>;
<processing 1>
{ELSE;
<processing 2>}
ENDIF;
Repeat WHILE
WHILE_<conditional expression>;
<processing>
WEND;
Repeat FOR
FOR_W<work register for repeat count> L<repeat end value>S<number of increment
steps>;
<processing>;
NEXT;
Parallel execution
PARALLEL_N<number of branches>;
<processing 1>
{JOINT;
---
<processing N>}
JWAIT;
Selective execution
SWITCH_<conditional variable>;
{CASE_<conditional constant>;
<processing 1>
BREAK;
---}
{DEFAULT;}
<processing N>
SEND;
No operation (single) NOPS;
No operation (multi-
ple)
NOPM;
Simple
arithmetic
operation
Assign
<variable> = <numerical value>;
Add
<variable> = <numerical value>+<numerical value>;
Subtract
<variable> = <numerical value>-<numerical value>;
Multiply
<variable> = <numerical value>*<numerical value>;
Divide
<variable> = <numerical value>/<numerical value>;
Reminder
<variable> = <numerical value>%<numerical value>;
Exponent
<variable> = <numerical value>^<numerical value>;
Logic oper-
ation
OR (logical OR)
<variable> = <numerical value> | <numerical value>;
XOR (logical exclu-
sive OR)
<variable> = <numerical value> ~ < numerical value>;
AND (logical AND)
<variable> = <numerical value> & <numerical value>;
NOT (reverse)
<variable> = <numerical value> = ! <numerical value>;
Classifica-
tion
Name
Format
Содержание 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 ...