5: S
PECIAL
F
UNCTIONS
5-26
FC5A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y-B1268
Example: Single-phase High-speed Counter (Slim Type CPU Module)
This example demonstrates a program for single-phase high-speed counter HSC2 to count input pulses and turn on out-
put Q2 every 1000 pulses.
Program Parameters
PLC Selection
FC5A-D32
Function Area Settings
Group 2 (I3)
Single-phase High-speed Counter
Enable Comparison 1
Yes
Comparison Output
Q2
Enable Comparison 2
No
Enable Overflow Action
No
Enable Underflow Action
No
Special Data Registers
HSC Preset Value 1 High Word (D8220)
0
HSC Preset Value 1 Low Word (D8221)
1000
Programming WindLDR
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]