Function library
7-200
L
EDSVS9332P-D21 EN 3.0
FCNT3-CLKUP
C1112/1
FCNT3-CLKDWN
C1112/2
C1114/1
C1114/2
FCNT3-LD-VAL
C1111/1
C1113/1
FCNT3-LOAD
C1112/3
C1114/3
FCNT3-OUT
FCNT3-EQUAL
C1111/2
C1113/2
FCNT3-CMP-VAL
C1110
CTRL
FCNT3
FCNT-Modus
Fig. 7-155 Free piece counter (FCNT3)
Signal
Source Not e
Name Type DIS DIS format CFG List
FCNT3-CLKUP d C1114/1 bin C1112/1 2 LOW-HIGH edge = Increment counter by 1
FCNT3-CLKDWN d C1114/2 bin C1112/2 2 LOW-HIGH edge = Decrement counter by 1
FCNT3-LD-VAL a C1113/1 dec C1111/1 1 Start value
FCNT3-LOAD d C1114/3 bin C1112/3 2 HIGH = Accept start value
FCNT3-CMP-VAL a C1113/2 dec C1111/2 1 Comparison value
FCNT3-OUT a - - - - Count limit ed to 199.99% corresponds to 32767
FCNT3-EQUAL d - - - - HIGH = comparison value reached
Function
C1100 = 1
•
For|counter|≥ | FCNT1-CMP-VAL | (comparison value):
– For 1 ms FCNT1-EQUAL = HIGH
– Resets the counter to its start value (FCNT1-LD-VAL)
Note!
If the signal is to be set for a longer time, e.g. when the output is requested by a PLC, you can extend
the signal with the TRANS function block.
C1100 = 2
•
For | counter | = | FCNT1-CMP-VAL | (comparison value):
– The counter stops
•
FCNT1-LOAD = HIGH resets the counter to the start value (FCNT1-LD-VAL)