Mitsubishi Electric MELSEC iQ-F Series User Manual page 41

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 positioning address after the interrupt input signal 1 is detected. Set to a value -2147483647 to
+2147483647 in pulse.
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).
Interrupt input signal 1
After the interrupt input signal 1 is detected, pulses equivalent to the specified positioning address specified in (s1) are output
starting from the detection point. Deceleration stop starts from point that deceleration must be performed.
Precautions
• When the interrupt input signal 1 is disabled, the DVIT/DDVIT signal cannot be used.
• If the interrupt input signal 1 is not detected, pulse output at the command speed of (s2) continues until the signal is
detected.
• If the total of the pulses that have already been output and pulses to be output after an interrupt exceeds 2147483648 when
the interrupt input signal 1 is detected, an error occurs. From the point at which the interrupt input signal 1 is detected,
deceleration stop is performed.
Operation of the complete flags
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
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
Instruction execution abnormal
complete flag
end flag
(d2)
(d2)+1
From when pulse output of
From when the following operation or
function is completed to when the ON 
the specified positioning
address is completed to
OFF condition is met
when the ON  OFF
• The axis is already used.
condition is met
• 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
5 POSITIONING INSTRUCTION
5.6 Interrupt 1-Speed Positioning
5
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-f fx5

Table of Contents