
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
:
Summary of Contents for CS1W-MCH71 -
Page 2: ...CS1W MCH71 CJ1W MCH71 Motion Control Unit Operation Manual Revised June 2008 ...
Page 3: ...iv ...
Page 29: ...xxx ...
Page 33: ...xxxiv ...
Page 35: ...xxxvi ...
Page 39: ...xl ...
Page 69: ...24 Performance Section 1 7 ...
Page 99: ...54 Connecting MECHATROLINK Devices Section 3 5 ...
Page 283: ...238 Saving Data Section 5 4 ...
Page 417: ...372 Command Details Section 6 3 ...