253
Pulse Outputs Section 5-2
Ladder Program
Cyclic Task (Task 0)
Built-in Input 0 Interrupt Task (Interrupt Task 140)
* Select 0.1 ms for the setting units in the PLC Setup.
Scheduled Interrupt Task 0 (Interrupt Task 2)
#0000
MSKS(690)
0100
P_First_Cycle_Task
Task Start Flag
Built-in interrupt input 0
(IN0.04)
Unmask (Enable
interrupts.)
MSKS(690)
#0005
0014
A280.04
Pulse Output 0
Output In-progress
Flag
Scheduled interrupt 2
(Reset start)
Scheduled interrupt time
(5 x 0.1 ms* = 0.5 ms)
#0000
#0000
&100000
SPED(885)
MSKS(690)
#0001
&100000
#0000
0014
PULS(886)
#0000
P_On
Always ON
Flag
Pulse output 0
Relative pulse
specification
Number of output pulses
(100,000 pulses)
Pulse output 0
Specifies CW/CCW outputs,
CW direction, and
independent mode.
Target frequency
(100,000 Hz)
Scheduled interrupt 0
Stop scheduled interrupt