Mitsubishi Electric MELSEC iQ-F Series User Manual page 35

Positioning control
Hide thumbs Also See for MELSEC iQ-F Series:
Table of Contents

Advertisement

(4)
For (d2), specify the bit devices of the instruction execution complete flag and abnormal end flag. (Page 62
Complete flag)
(d2)
: Instruction execution complete flag
(d2)+1
: Instruction execution abnormal end flag
■When the FX3 compatible operand is specified
(1)
For (s1), specify the absolute positioning address.
Set to a value -2147483648 to +2147483647 in pulse. In addition, set the number of output pulses per positioning
instruction execution to 2147483647 or lower.
DRVA
: -32768 to +32767 (User system unit)
DDRVA
: -2147483648 to +2147483647 (User system unit)
(2)
For (s2), specify the command speed. Set to a value 1 pps to 200 Kpps in pulse.
DRVA
: 1 to 65535 (User system unit)
DDRVA
: 1 to 2147483647 (User system unit)
(3)
For (d1), specify the pulse output number in the range of Y0 to Y3.
Specify an output device (Y) number (equivalent to the axes 1 to 4) set in the high speed I/O parameters. Operation
cannot be performed if any other axis number is specified.
(4)
For (d2), specify the rotation direction signal output device number. (Page 40 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 or CW/CCW axis is assigned is
specified, an error occurs without any operation.
For the PWM function, refer to User's manual (Application).
Precautions
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.
FX3 compatible
Instruction execution
complete flag
(SM8029)
ON
From when pulse output of
condition
the specified positioning
address is completed to
when the drive contact is
turned off
ON  OFF
When the drive contact is turned off
condition
*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.
5 POSITIONING INSTRUCTION
90
5.5 Absolute Positioning
Instruction execution abnormal
end flag
(SM8329)
From when the following operation or
function is completed to when the drive
contact is turned off
*1
• The axis is already used.
• Pulse output stop command
• Pulse decelerate and stop command
• Limit of the moving direction
• All outputs disabled (SM8034)
• Write during RUN
• Positioning address error
• Deceleration stop after the command
speed is changed to 0
User specification
Instruction execution
complete flag
(d2)
From when pulse output of
the specified positioning
address is completed to
when the ON  OFF
condition is met
*2
The flag remains on until either of the following is performed.
• Turning off the flag by the user
• Restarting the positioning instruction
Instruction execution abnormal
end flag
(d2)+1
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
• Limit of the moving direction
• All outputs disabled (SM8034)
• Write during RUN
• Positioning address error
• Deceleration stop after the command
speed is changed to 0
*2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-f fx5

Table of Contents