458
31 POSITIONING INSTRUCTION
31.5 Absolute Positioning
4. For (d2), specify the rotation direction signal output device number. (Page 384 Rotation Direction Setting)
When an output device (Y) is used, only the device that is specified with the positioning parameter or a general-purpose
output can be specified. However, if an output device (Y) to which PWM, PULSE/SIGN axis of another axis, or CW/CCW axis
is assigned is specified, an error occurs without any operation.
For the PWM function, refer to the following.
Page 329 PWM Function
Set the number of output pulses per DRVA/DDRVA instruction execution to 2147483647 or lower. An error occurs if the
number of pulses exceeds 2147483648.
Operation of the abnormal end flag
The following describes the operation timings of the complete flags.
The user-specified complete flags are valid only when specified using FX5 operand.
*1 The flag turns on only for one scan when the drive contact of the instruction turns from OFF to ON.
*2 When remaining distance operation enabled is turned on, abnormal end flag will not turn on. (Page 400 Remaining distance
operation enabled)
*3 Only high-speed pulse input/output module is supported.
Item FX3 compatible User specification
Instruction execution
complete flag
(SM8029)
Instruction execution
abnormal end flag
(SM8329)
Instruction execution
complete flag
(d2)
Instruction execution
abnormal end flag
(d2)+1
ON
condition
From when pulse output of the
specified positioning address is
completed to when the drive
contact is turned off
From when the following operation
or function is completed to when the
drive contact is turned off
• The axis is already used.
*1
• Pulse output stop command
• Pulse decelerate and stop
command
*2
• Limit of the moving direction
• All module reset when a stop
error occurs
*3
• All outputs disabled (SM8034)
• Positioning address error
• Deceleration stop after the
command speed is changed to 0
From when pulse output of the
specified positioning address is
completed to when the ON
OFF condition is met
From when the following operation
or function is completed to when the
ON OFF condition is met
• The axis is already used.
• The drive contact is turned off
during positioning operation.
• Pulse output stop command
• Pulse decelerate and stop
command
*2
• Limit of the moving direction
• All module reset when a stop
error occurs
*3
• All outputs disabled (SM8034)
• Online change
• Positioning address error
• Deceleration stop after the
command speed is changed to 0
ON OFF
condition
When the drive contact is turned off The flag remains on until either of the following is performed.
• Turning off the flag by the user
• Restarting the positioning instruction