5: S
PECIAL
F
UNCTIONS
5-28
S
MART
AXIS P
RO
/ L
ITE
U
SER
'
S
M
ANUAL
FT9Y-B1378
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.
External input
: Group 1 (I0 to I1)
Operation mode
: Single-phase High-speed Counter
Counting Mode
: Adding Counter
Comparison Action
: Comparison Output
Comparison settings
Tag name/device address : D0 (data register)
Number of preset values : 1
Comparison output
: Q2 (external output when matched)
Preset value 1 (D4)
: 0 (upper word)
Preset value 1 (D5)
: 1,000 (lower word)
Keep
: Cleared
Reset value (D8054)
: 0 (upper word)
Reset value (D8055)
: 0 (lower word)
Overflow
: Cleared
Underflow
: Cleared
Use HSC Reset Input
: Cleared
Summary of Contents for SmartAXIS FT9Z-1A01
Page 1: ...FT9Y B1378 7...
Page 10: ...TABLE OF CONTENTS Preface 9 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Page 212: ...7 DEVICE ADDRESSES 7 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Page 230: ...8 INSTRUCTIONS FUNCTION BLOCKS REFERENCE 8 18 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Page 344: ...13 SCRIPTS 13 36 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378...
Page 386: ...APPENDIX Appendix 16 SMARTAXIS PRO LITE USER S MANUAL FT9Y B1378 Japanese Font JIS X0201...
Page 393: ......