iDect FC6A series User Manual page 213

Microsmart all-in-one type
Table of Contents

Advertisement

Example program 1
Using the single-phase high-speed counter on the ladder program, this example program turns on external output Q2 when
1,000 pulses are counted.
Application description
When pulses are input to external input I0 and the count reaches 1,000, external output Q2 is turned on.
In the WindLDR Function Area Settings, select Two/Single-phase High-speed Counter for Group 1.
In the High-speed Counter Settings dialog box, configure the settings as follows.
Comparison settings
FC6A S
M
S
A
ERIES
ICRO
MART
External Input
: Group 1
Operation Mode
: Single-phase High-speed Counter
Counting Mode
: Adding Counter
Comparison Action
: Comparison Output
Tag Name/Device Address : D0000 (data register)
Number of Comparisons
: 1
Comparison Output
: Q2 (external output when matched)
Comparison1 (D0004)
: 0 (upper word)
Comparison1 (D0005)
: 1,000 (lower word)
Keep
: Cleared
Reset value (D8216)
: 0 (upper word)
Reset value (D8217)
: 0 (lower word)
Overflow
: Cleared
Underflow
: Cleared
Use HSC Reset Input
: Cleared
Keep the current value
: Cleared
when PLC is powered up
-
-O
T
U
'
M
LL
IN
NE
YPE
SER
S
ANUAL
5: F
UNCTIONS AND
FC9Y-B1722
S
ETTINGS
5-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents