High_Speed_Counter Input Parameters - Siemens SIMATIC ST-1500 Function Manual

Table of Contents

Advertisement

3.6.4

High_Speed_Counter input parameters

Parameter
Declaration
SwGate
INPUT
SetCount-
INOUT
Value
Capture-
INPUT
Enable
SyncEnable
INPUT
ErrorAck
INPUT
EventAck
INPUT
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG
Data
Default
type
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
Using the High_Speed_Counter technology object
3.6 Programming the High_Speed_Counter
Description
Control software gate:
Positive edge: Software gate opens
Negative edge: Software gate closes
Together with the hardware gate, the SwGate enables the inter-
nal gate.
A positive edge starts the transfer of the new counter value in the
static tag NewCountValue to the technology module. The counter
value takes effect immediately after the transfer.
Enable Capture function
After the enable, a Capture event occurs at the next configured
edge at the relevant digital input. A negative edge at CaptureEn-
able resets the output parameter CaptureStatus. A negative edge
at CaptureEnable resets the enable even if no Capture event has
occurred.
Irrespective of CaptureEnable the last value is retained at the
output parameter CapturedValue until the next Capture event.
Enable synchronization
The direction enabled for synchronization is indicated in the static
tags SyncUpDirection and SyncDownDirection. A negative edge
at SyncEnable resets the output parameter SyncStatus .
High_Speed_Counter up to V3.0:
A positive edge acknowledges the status reported.
High_Speed_Counter as of V3.1:
A high level acknowledges the error status reported.
A positive edge resets the following output parameters:
CompResult0
CompResult1
ZeroStatus
PosOverflow
NegOverflow
125

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mpSimatic et 200sp

Table of Contents