598
8 APPLICATION INSTRUCTION
8.17 Pulse Related Instruction
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 PLSY instruction.
• When the pulse output is stopped, the operation is stopped immediately by the PLSY 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 PLSY 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 PLSY instruction.
*1 The flag turns on only during one scan time when the activation contact of the instruction turns off and on.
Complete flag (SM8029)
Abnormal end flag (SM8329)
ON condition
• From when the output of the specified positioning address is completed until
the drive contact is turned off
• Pulse deceleration stop command (when unlimited pulses are being output)
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
ON
OFF condition
• When the drive contact is turned off
• When the drive contact is turned off
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......