709
High-speed Counter/Pulse Output Instructions Section 3-20
Example When CIO 0.00 turns ON in the following example, SPED(885) starts output-
ting pulses from pulse output 0 in Continuous Mode at 500 Hz. When
CIO 0.01 turns ON, pulse output is stopped by INI(880).
3-20-2 HIGH-SPEED COUNTER PV READ: PRV(881)
Purpose PRV(881) reads the following data on the built-in I/O.
• PVs: High-speed counter PV, pulse output PV, interrupt input PV in
counter mode.
• The following status information.
• Range comparison results
• Pulse output frequency of pulse output 0 to pulse output 3
• High-speed counter frequency for high-speed counter input 0.
Ladder Symbol
Variations
@SPED
#0000
#0000
D100
01F4
0000
0.00
@INI
#0000
#0003
0000
0.01
D100
D101
Pulse output 0
CW/CCW method, CW, Continuous Mode
Target frequency: 500 Hz
Pulse output 0
Stop pulse output
(Not used.)
Status type Contents
Pulse output status Pulse Output Status Flag
PV Underflow/Overflow Flag
Pulse Output Amount Set Flag
Pulse Output Completed Flag
Pulse Output Flag
No-origin Flag
At Origin Flag
Pulse Output Stopped Error Flag
High-speed counter input status Comparison In-progress Flag
PV Underflow/Overflow Flag
PWM(891) output status Pulse Output In-progress Flag
PRV(881)
P
C
D
P: Port specifier
C: Control data
D: First destination word
Variations Executed Each Cycle for ON Condition PRV(881)
Executed Once for Upward Differentiation @PRV(881)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported