Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 612

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Precautions
• The operation cannot be performed normally in an environment such as user program where the instruction cannot be
executed at each scan or if the instruction is jumped by the CJ(P) instruction. However, the pulse output is continued.
• The same devices as the ones of position instruction, PWM output or general-purpose output cannot be used for the output
in the DPLSY instruction.
• When the pulse output is stopped, the operation is stopped immediately by the DPLSY instruction. Note that the motor is
stopped without deceleration and this may damage the system. For stopping method of the pulse output, refer to
MELSEC iQ-F FX5 User's Manual (Positioning Control - CPU module built-in, High-speed pulse input/output module).
• If the positioning address is 0 when the DPLSY instruction is activated, pulses are output without limitation.
• Overwrite the positioning address during the pulse output to change the positioning address in operation. The written value
is reflected at the first time that the instruction is executed after the device is overwritten. The positioning address becomes
invalid if it is changed from 0 to a value other than 0 or from a value other than 0 to 0 during positioning operation.
• When the positioning address is changed during the pulse output, the operation is stopped immediately if the changed
value is the number of pulses which have already been output or less.
• Overwrite the command speed during the pulse output to change the command speed in operation. The written value is
reflected at the first time that the instruction is executed after the device is overwritten.
• When the numbers of pulses (by the pulses conversion) of the command speed and positioning address exceed the 32-bit
range, an error occurs and the operation cannot be performed.
• The PLSY instruction always increases the current address because the setting of rotation direction is disabled due to the
absence of direction.
• When the output mode is CW/CCW mode, output is always performed from the device set to CW.
• If reverse limit is used, it operates as forward limit.
• Do not set the value of 200 kpps or more by the frequency conversion when changing the command speed during the pulse
output.
• If the command speed is set to 0 when the PLSY instruction is activated, the operation ends with an error and stops pulse
output.
• If the command speed is changed to 0 during pulse output, the operation immediately stops without abnormal end flag.
However, if the drive contact is not turned off, pulse output will restart when the command speed is changed.
• The command speed is changed to negative value during pulse output, it is the operation ends with an error.
• The following table shows the operation timing of the complete flag and abnormal end flag of the DPLSY instruction.
Complete flag (SM8029)
ON condition
• From when the output of the specified positioning address is completed until
the drive contact is turned off
• Pulse decelerate and stop command (when unlimited pulses are being
output)
ONOFF condition
• When the drive contact is turned off
*1 The flag turns on only during one scan time when the activation contact of the instruction turns off and on.
8 APPLICATION INSTRUCTION
610
8.17 Pulse Related Instruction
Abnormal end flag (SM8329)
From the following stops until the drive contact is
turned off
• The specified axis is already used
• Pulse output stop command
• Pulse deceleration stop command (when unlimited
pulses are not being output)
• Drive direction limit
• All outputs disabled (SM8034)
• Write during RUN
• Positioning address error
• When the drive contact is turned off
*1

Hide quick links:

Advertisement

loading