Using the High_Speed_Counter technology object
3.6 Programming the High_Speed_Counter
Counting, measurement and position detection
126 Function Manual, 12/2017, A5E32009889-AG
High_Speed_Counter output parameters
StatusHW OUTPUT BOOL FALSE Status bit technology module: The module is configured and
ready for operation. The module data is valid.
StatusGate OUTPUT BOOL FALSE Status bit: Internal gate is released if parameter is set
StatusUp OUTPUT BOOL FALSE
Status bit: The last count pulse incremented the counter and took
place no more than 0.5 s ago
StatusDown OUTPUT BOOL FALSE Status bit: The last count pulse decremented the counter and
took place no more than 0.5 s ago
CompResult0 OUTPUT BOOL FALSE Status bit: Compare event for DQ0 occurred (status change)
based on the selected comparison condition.
If the counter value is set to the start value in operating mode
"Use count value as reference", CompResult0 is not set.
The positive edge of the input parameter EventAck is used to
CompResult1 OUTPUT BOOL FALSE Status bit: Compare event for DQ1 occurred (status change)
based on the selected comparison condition.
If the counter value is set to the start value in operating mode
"Use count value as reference", CompResult1 is not set.
The positive edge of the input parameter EventAck is used to
SyncStatus OUTPUT BOOL FALSE Status bit: Synchronization event occurred
If the input parameter SyncEnable is set, the configured edge
sets the status bit SyncStatus at the respective digital input .
SyncStatus is reset by a negative edge at
• SyncEnable (input parameter) or
• SyncUpDirection (static tag) or
• SyncDownDirection (static tag)
CaptureStatus OUTPUT BOOL FALSE Status bit: Capture event occurred, the output parameter Cap-
turedValue has a valid Capture value
If the input parameter CaptureEnable is set, the configured edge
sets the status bit CaptureStatus. at the respective digital input.
You reset CaptureStatus using the negative edge of the input
parameter CaptureEnable .
ZeroStatus OUTPUT BOOL FALSE Status bit: CountValue has reached the value "0" irrespective of
the count direction
You reset ZeroStatus using the positive edge of the input param-
PosOverflow OUTPUT BOOL FALSE Status bit: CountValue has violated high counting limit in the
positive direction
You reset PosOverflow using the positive edge of the input pa-
NegOverflow OUTPUT BOOL FALSE Status bit: CountValue has violated low counting limit in the neg-
ative direction
You reset NegOverflow using the positive edge of the input pa-