IDEC SmartAXIS FT9Z-1A01 User Manual page 120

Table of Contents

Advertisement

5: S
F
P ECI AL
UN CTI ON S
Example program 1
Using the single-phase high-speed counter on the ladder program, this example program turns on external output Q2 when
1000 pulses are counted.
Application description
When pulses are input to external input I0 and the count reaches 1000, external output Q2 is turned on.
In the WindLDR Function Area Settings, select Two/Single-phase High-speed Counter for Group 1.
In High-speed Counter Settings, configure the settings as follows.
5-28
External input
Operation mode
Counting Mode
Comparison Action
Comparison settings
Tag name/device address : D0 (data register)
Number of preset values
Comparison output
Preset value 1 (D4)
Preset value 1 (D5)
Keep
Reset value (D8054)
Reset value (D8055)
Overflow
Underflow
Use HSC Reset Input
S
A XI S P
/ L
U
'
M AR T
R O
I TE
SER
S
: Group 1 (I0 to I1)
: Single-phase High-speed Counter
: Adding Counter
: Comparison Output
: 1
: Q2 (external output when matched)
: 0 (upper word)
: 1,000 (lower word)
: Cleared
: 0 (upper word)
: 0 (lower word)
: Cleared
: Cleared
: Cleared
M
FT9Y-B 1378
ANUAL

Advertisement

Table of Contents
loading

Table of Contents