« FC4A MICRO SMART USER ’S MANUAL » 20-120: P ULSE I NSTRUCTIONSIntroductionThe PULS (pulse output) instruction is used to generate pulse outputs of 10 Hz through 20,000 Hz which can be used tocontrol 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 theFC4A-D20RK1, FC4A-D20RS1, FC4A-D40K3, and FC4A-D40S3 only.Upgrade InformationUpgraded CPU modules have an additional option of operation mode 3 to select a frequency range from 10 Hz to 20 kHzfor the PULS and RAMP instructions, and also have special data registers D8055 and D8056 to store the current outputpulse frequency of the PULS and RAMP instructions. Applicable CPU modules and system program versions are shownin 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 ordinary output.Applicable CPU ModulesCPU ModuleAll-in-One Type Slim TypeFC4A-C10R2FC4A-C10R2CFC4A-C16R2FC4A-C16R2CFC4A-C24R2FC4A-C24R2CFC4A-D20K3FC4A-D20S3FC4A-D20RK1FC4A-D20RS1FC4A-D40K3FC4A-D40S3System Program Version — — — 204 or higher 202 or higherFC4A-C10R2/C FC4A-C16R2/C FC4A-C24R2/C FC4A-D20K3/S3 FC4A-D20RK1/RS1 & FC4A-D40K3/S3— — — X XWhen input is on, the PULS1 instruction sends out a pulse output from outputQ0. The output pulse frequency is determined by source operand S1. The outputpulse width ratio is fixed at 50%.PULS1 can be programmed to generate a predetermined number of outputpulses. When pulse counting is disabled, PULS1 generates output pulses whilethe start input for the PULS1 instruction remains on.PULS1 S1*****D1*****When input is on, the PULS2 instruction sends out a pulse output from outputQ1. The output pulse frequency is determined by source operand S1. The outputpulse width ratio is fixed at 50%.PULS2 generates output pulses while the start input for the PULS2 instructionremains on. PULS2 cannot be programmed to generate a predetermined numberof output pulses.PULS2 S1*****D1*****