« FC4A MICROSMART USER’S MANUAL » 20-1
20: PULSE INSTRUCTIONS
Introduction
The PULS (pulse output) instruction is used to generate pulse outputs of 10 Hz through 20,000 Hz which can be used to
control pulse motors for simple position control applications.
The PWM (pulse width modulation) instruction is used to generate pulse outputs of 6.81, 27.26, or 217.86 Hz with a vari-
able pulse width ratio between 0% and 100%, which can be used for illumination control.
The RAMP instruction is used for trapezoidal control, and the ZRN instruction for zero-return control.
The PULS, PWM, and RAMP instructions can be used on all slim type CPU modules, and the ZRN instructions on the
FC4A-D20RK1, FC4A-D20RS1, FC4A-D40K3, and FC4A-D40S3 only.
Upgrade Information
Upgraded CPU modules have an additional option of operation mode 3 to select a frequency range from 10 Hz to 20 kHz
for the PULS and RAMP instructions, and also have special data registers D8055 and D8056 to store the current output
pulse frequency of the PULS and RAMP instructions. Applicable CPU modules and system program versions are shown
in the table below. For the procedure to confirm the system program version of the CPU module, see page 29-1.
Use WindLDR ver. 4.50 or higher to program the additional option for the PULS and RAMP instructions.
PULS1 (Pulse Output 1)
PULS2 (Pulse Output 2)
Note: The PULS1 and PULS2 instructions can be used only once in a user program. When PULS1 or PULS2 is not used,
unused output Q0 or Q1 can be used for another pulse instruction or ordinar y output.
Applicable CPU Modules
CPU Module
All-in-One Type Slim Type
FC4A-C10R2
FC4A-C10R2C
FC4A-C16R2
FC4A-C16R2C
FC4A-C24R2
FC4A-C24R2C
FC4A-D20K3
FC4A-D20S3
FC4A-D20RK1
FC4A-D20RS1
FC4A-D40K3
FC4A-D40S3
System Program Version ———204 or higher 202 or higher
FC4A-C10R2/C FC4A-C16R2/C FC4A-C24R2/C FC4A-D20K3/S3 FC4A-D20RK1/RS1 & FC4A-D40K3/S3
——— X X
Q0. The output pulse frequency is determined by source operand S1. The output
pulse width ratio is fixed at 50%.
pulses. When pulse counting is disabled, PULS1 generates output pulses while
Q1. The output pulse frequency is determined by source operand S1. The output
pulse width ratio is fixed at 50%.
of output pulses.