FX Series Positioning Controllers
Program format 5
5-17
Units of operands
The units of the value specified by the operands are determined by the parameters.
•
Travel (x, y, i, j, r)
The motor system (PLS) or the mechanical system (mm, inch, deg) is valid in accordance
with the setting of PARA. 0 (system of units).
The scaling of the set value is performed in accordance with the setting of PARA. 3 (mini-
mum command unit).
•
Speed (f)
The set value must be equal to or less than the setting of PARA. 4 (maximum speed).
FX
2N
-20GM :200 kHz or less. (100 kHz or less for linear/circular interpolation.)
FX
2N
-10GM :200 kHz or less.
Indirect specification
Indirect specification indicates the method to write indirectly the set values by specifying data
registers (including file registers and index registers) instead of writing directly the set values to
the operands.
Direct specification
cod00
x1000
f2000;
↑
↑
Travel = 1000
Speed = 2000
Indirect specification
cod00
xD10
fD20;
↑
↑
Travel = D10
Speed = D20
When the set value exceeds 16 bits, specify "xDD10" for example. By this specification, 32-bit
data (D11, D10) can be handled.
The data register No. used for indirect specification can be modified with index registers V and
Z. The data can be selected by modification.
Example : When (V2) = 10, "D20V2" indicates "D30". When the contents of D30 is "500",
"xD20V2" becomes equivalent to "xD30" (that is, "x500").
Sixteen index registers in all, V0 to V7 and Z0 to Z7, are available.
V0 to V7 :16-bit registers
Z0 to Z7
:32-bit registers
When the set value is 16 bits or less or when a sequence instruction is 16 bits, use V0 to V7.
When the set value exceeds 16 bits or when a sequence instruction is 32 bits, use Z0 to Z7.
Omission of operands
In the instructions (CW, CCW and TIM) in which r (arc radius) or K (timer constant) must be
specified, the operands cannot be omitted.
When fx (X axis operation speed) or fy (Y axis operation speed) are omitted in the cod 00
(DRV) instruction, the corresponding axis will operate at the maximum speed specified by
PARA. 4 (maximum speed).
The set values are directly written.
The set values are deter mined in
accordance with the contents of the
data registers.
Summary of Contents for FX2N-10GM
Page 1: ...HARDWARE PROGRAMMING MANUAL FX2N 10GM FX2N 20GM ...
Page 4: ...FX Series Positioning Controllers ii ...
Page 6: ...FX Series Positioning Controllers iv ...
Page 46: ...FX Series Positioning Controllers Introduction 1 1 34 MEMO ...
Page 76: ...FX Series Positioning Controllers Wiring 3 3 24 MEMO ...
Page 222: ...FX Series Positioning Controllers Operation Maintenance and Inspection 8 8 18 MEMO ...
Page 256: ...FX Series Positioning Controllers Program Examples 9 9 34 MEMO ...