High_Speed_Counter Static Variables - 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.7

High_Speed_Counter static variables

Tag
NewCountValue
NewReferenceValue0
NewReferenceValue1
NewReferenceValue0_M
NewReferenceValue1_M
NewUpperLimit
NewLowerLimit
NewStartValue
CurReferenceValue0
CurReferenceValue1
CurReferenceValue0_M
1
CurReferenceValue1_M
1
CurUpperLimit
CurLowerLimit
CurStartValue
NewDirection
AdditionalErrorID
UserCmdFlags
SetNewDirection
SetUpperLimit
SetLowerLimit
SetReferenceValue0
SetReferenceValue1
SetCountValue
SetStartValue
SyncDownDirection
SyncUpDirection
SetDQ0
SetDQ1
130
Data type
Default
DINT
L#0
DINT
L#0
DINT
L#10
REAL
L#0.0
1
REAL
L#10.0
1
DINT
L#2147483647
DINT
L#-2147483648
DINT
L#0
DINT
L#0
DINT
L#10
REAL
L#0.0
REAL
L#10.0
DINT
L#2147483647
DINT
L#-2147483648
DINT
L#0
INT
0
DWORD
W#16#0000
STRUCT
-
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
TRUE
BOOL
TRUE
BOOL
FALSE
BOOL
FALSE
Access
Description
Write
New counter value
Write
New comparison value 0
Write
New comparison value 1
Write
New comparison value 0 in measuring mode
Write
New comparison value 1 in measuring mode
Write
New high counting limit
Write
New low counting limit
Write
New start value
Read
Current comparison value 0
Read
Current comparison value 1
Read
Current comparison value 0 in measuring mode
Read
Current comparison value 1 in measuring mode
Read
Current high counting limit
Read
Current low counting limit
Read
Current start value
Write
New count direction:
+1: Upward count direction
-1: Downward count direction
Read
Error information of an internal instruction,
e.g.,RDREC
Write
Set new count direction
Write
Set high counting limit
Write
Set low counting limit
Write
Set comparison value 0
Write
Set comparison value 1
Write
Set new counter value
Write
Set start value
Write
Enable synchronization in downward count
direction
Write
Enable synchronization in upward count direc-
tion
Write
Set digital output DQ0
Write
Set digital output DQ1
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