High_Speed_Counter Output Parameters - Siemens SIMATIC ST-1500 Function Manual

Table of Contents

Advertisement

Using the High_Speed_Counter technology object
3.6 Programming the High_Speed_Counter
3.6.5

High_Speed_Counter output parameters

Parameter
Declaration
StatusHW
OUTPUT
StatusGate
OUTPUT
StatusUp
OUTPUT
StatusDown
OUTPUT
CompResult0
OUTPUT
CompResult1
OUTPUT
SyncStatus
OUTPUT
CaptureStatus OUTPUT
ZeroStatus
OUTPUT
PosOverflow
OUTPUT
NegOverflow
OUTPUT
126
Data
Default
type
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
Description
Status bit technology module: The module is configured and
ready for operation. The module data is valid.
Status bit: Internal gate is released if parameter is set
Status bit: The last count pulse incremented the counter and took
place no more than 0.5 s ago
Status bit: The last count pulse decremented the counter and
took place no more than 0.5 s ago
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
reset CompResult0 .
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
reset CompResult1 .
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)
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 .
Status bit: CountValue has reached the value "0" irrespective of
the count direction
You reset ZeroStatus using the positive edge of the input param-
eter EventAck.
Status bit: CountValue has violated high counting limit in the
positive direction
You reset PosOverflow using the positive edge of the input pa-
rameter EventAck.
Status bit: CountValue has violated low counting limit in the neg-
ative direction
You reset NegOverflow using the positive edge of the input pa-
rameter EventAck.
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mpSimatic et 200sp

Table of Contents