• If a nonnumeric number is included in a comparison, the comparison instruction always returns
"Not Equal
".
Precautions for Correct Use
Floating-point decimal (LREAL) variables are used to set electronic gears, target positions, and
other parameters of motion control instructions in the MC Function Module. For this reason, cal-
culation results contain rounding errors.
For example, if the MC_MoveRelative (Relative Positioning) instruction is repeatedly executed,
following error will accumulate.
If the accumulated error becomes a problem, set the command unit to pulses, or specify an ab-
solute position with the MC_MoveAbsolute (Absolute Positioning) instruction.
1-2-4
Multi-execution of Motion Control Instructions
This section describes executing multiple motion control instructions for the same axis within the same
task period.
•
In the following programming, the instruction instances, Move1 and Move2, start in the same task
period when bit a turns ON.
• Instructions in a program are executed from the top. Therefore Move1 is started first, and then
Move2 is started before Move1 is finished.
• This is considered multi-execution of the motion control instructions. In this example, Blending is
used to execute Move2 in relation to Move1.
Move1
Axis
Aborting
Move2
Axis
Blending
Axi
s 1
Axis 1
Bit a
For details on multi-execution of motion control instructions, refer to the NY
-series Industrial Panel
PC / Industrial Box PC Motion Control User’s Manual (Cat. No. W559).
1 Introduction to Motion Control Instructions
1-17
NY-series Motion Control Instructions Reference Manual (W561)
1-2 Basic Information on Motion
Control Instructions
1
1-2-4 Multi-execution of Motion Control Instructions