Program Example - Mitsubishi Electric MELSEC iQ-F Series User Manual

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

Advertisement

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. If dwell time is specified, the user-
specified complete flag turns on after the dwell time elapses.
FX3 compatible
Instruction execution
complete flag
(SM8029)
ON
From when OPR is
condition
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.

Program example

The following is a program example of OPR operation (axis 1).
Near-point dog signal X0
(positive logic)
Zero signal X1 (positive logic)
OPR zero signal counts: 1
Count Start Time: Near-point dog
latter part
Instruction execution complete flag
M1
Clear signal Y1
5 POSITIONING INSTRUCTION
76
5.3 Mechanical OPR
Instruction execution abnormal
end flag
(SM8329)
From when the following operation or
function is completed to when the drive
contact is turned off
• The axis is already used.
• Pulse output stop command
• Pulse decelerate and stop command
• All outputs disabled (SM8034)
• Write during RUN
• Deceleration stop after OPR speed
and creep speed are changed to 0
• Deceleration stop at limit detection
after the near-point dog is detected
Maximum speed
(10000 pps)
Creep speed
(1500 pps)
Time
Dwell time
(100ms)
Clear signal output time
(20 ms + 1 operation cycle (ms))
User specification
Instruction execution
complete flag
(d2)
From when OPR is
completed to when the ON
 OFF condition is met
*1
The flag remains on until either of the following is executed.
• Turning off the flag by the user
• Restarting the positioning instruction
Deceleration time
(800 ms)
Within 1 ms
Zero signal is ignored until the rear end of the near point
dog is detected (ONOFF).
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
• All outputs disabled (SM8034)
• Write during RUN
• Deceleration stop after OPR speed
and creep speed are changed to 0
• Deceleration stop at limit detection
after the near-point dog is detected
OPR speed
(10000 pps)
Bias speed
(1000 pps)
Speed
Acceleration time
(500 ms)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-f fx5

Table of Contents