
8400 motec | Software Manual
Function library
L_GP_Counter1
338
L
Firmware
≤
02.00 - DMS 2.1 EN - 03/2011
Outputs
Parameter
General function
Every FALSE/TRUE edge at the
bClkUp
input causes the block to count upwards by "1".
Every FALSE/TRUE edge at the
bClkDown
input causes the block to count downwards by
"1".
Function "Normal counting"
If the statement of the comparison mode selected in
is true, the
bCompare
output is set to TRUE.
Function "Auto reset"
If the statement of the comparison mode selected in
is true, the
bCompare
output is set to TRUE for 1 ms and the counter is reset to the
wLdVal
starting value.
Function "Manual reset"
If the statement of the comparison mode selected in
is true, the
bCompare
output is set to TRUE and the counter stops.
Edges at
bClkUp
and
bClkDown
are ignored.
The counter must be reset via the
bLoad
input.
Identifier
Data type
Value/meaning
bEqual
BOOL
Status signal "Comparison statement is true"
• The TRUE output is active in the Lenze setting if the current counter content is
greater than or equal to the comparison value
wCmpVal
.
TRUE The statement of the comparison mode selected in
is true.
wOut
WORD
Counter content
• Internal limitation to ± 32767
• The most significant bit determines the sign!
Parameter
Possible settings
Info
Function selection
• Lenze setting: Normal counting
0 Normal counting
1 Auto reset
2 Manual reset
Selection of comparison operation
• Lenze setting: Counter
content
≥
comparison value
0 Counter content
≥
comparison value
1 Counter content
≤
comparison value
2 Counter content = comparison value
Summary of Contents for 8400 motec Series
Page 375: ...L 375 ...