![Omron CS1W-MCH71 - Скачать руководство пользователя страница 154](http://html1.mh-extra.com/html/omron/cs1w-mch71/cs1w-mch71_operation-manual_742367154.webp)
109
Position Data
Section 4-4
2.
Indirect specification can be also used as an operand of a command.
Example 1: MOVE_[J1] @PL0100 (= MOVE_[J1]#PL0012)
Example 2: In the above example, #PL0001 = @1 has the same
meaning as #PL0001 = #1.
3.
Indirect specification can be used for writing as well (Unit Ver. 3.0 or later).
Example: In the above example, @PL0001 = 1 has the same meaning as
P0100 = 1.
Indirect specification is always written on the left side (for @PL001 = 1,
@PL001 is the left side) for writing.
Indirect specification for writing is enabled only when combined with the
following operators.
Example: @PL0001 = 1000/30;
@PL0002 = #PL0002*10;
Example of incorrect usage: @PL0001 = SIN#MF0010;
←
Functions can-
not be used.
4.
The address range check is performed when executing the command. If
the specified address is outside of the range, the alarm [2003h: Variable
address error] will occur and the program will be stopped.
Classification
Function
Command
Simple Arithmetic
Assign
=
Simple Arithmetic
Add
+
Simple Arithmetic
Subtract
−
Simple Arithmetic
Multiply
*
Simple Arithmetic
Divide
/
Simple Arithmetic
Quotient
%
Simple Arithmetic
Exponent
^
Logic Operation
OR (Logical OR)
|
Logic Operation
XOR (Logical exclusive OR)
~
Logic Operation
AND (Logical AND)
&
Logic Operation
NOT (Reverse)
!
Address
Stored Data
@PL0000
PL0000
0000h
@PL0001
PL0001
0100h
@PL0002
PL0002
0101h
:
@PL00FF
PL00FF
0000h
@PL0100
PL0100
0012h
@PL0101
PL0101
0034h
:
Содержание 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 ...