Sample Programming 1
This section shows sample programming for positioning by periodic multi-execution of instructions.
Parameter Settings
The minimum settings required for this sample programming are given below.
Setting Axis Parameters
Axis Type
Axis
Axis 1
Count Mode
Axis
Axis 1
Unit of Display
Axis
Axis 1
Operation Example
In this sample, BufferMode (Buffer Mode Selection) is set to Buffered for MC_MoveAbsolute (Absolute
Positioning) instructions and the axis is moved to the final target position by executing multiple instruc-
tions.
When the axis reaches the final target position, it is returned to home with the MC_ZeroPosition (High-
speed Home) instruction.
Multi-execution of instructions is performed when the Active (Controlling) output variable from the previ-
ous instruction is TRUE. For single-axis operation, multi-execution is possible for only one instruction.
Operation Pattern
Operation started.
Velocity (mm/s)
30.00
20.00
10.00
250.00
NY-series Motion Control Instructions Reference Manual (W561)
Axis Type
Servo axis
Count Mode
Linear Mode
Unit of Display
mm
Multi-execution of
instructions
Operation started.
(1)
0
50.00
3 Axis Command Instructions
Multi-execution of
Multi-execution of
instructions
instructions
Operation started.
(2)
100.00
(4)
High-speed Home instruction executed.
Operation started.
(3)
Positive direction
200.00 Axis 1 (mm)
3
3-59