How to use DPLSY Instruction in Mitsubishi PLC
DPLSY : This instruction outputs 32-bit pulse trains specified by the command speed (s) from the device specified by the output (d) for the amount of 32-bit pulses specified by the positioning address (n).
The following is a program example of pulse output from axis 1 (Y0).
Unlimited pulses output: Positioning address (operand (n)) = 0
In the above case, K1000 is frequency of pulse output, K0 is for unlimited pulse output, K1 is for Axis 1 or Y0.
Pulse output: Positioning address (operand (n)) > 0
In the above case, K1000 is frequency of pulse output, K500 is positioning address or no. of total pulses to output, K1 is for Axis 1 or Y0.
While making ladder you can use variable frequency and positioning address as per requirement, using D registers as shown.