EasyManua.ls Logo

Siemens SIMATIC ET 200SP - High_Speed_Counter Static Variables

Siemens SIMATIC ET 200SP
205 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using the High_Speed_Counter technology object
3.6 Programming the High_Speed_Counter
Counting, measurement and position detection
130 Function Manual, 12/2017, A5E32009889-AG
3.6.7
High_Speed_Counter static variables
Tag
Data type
Default
Access
Description
NewCountValue
DINT
L#0
Write
New counter value
NewReferenceValue0 DINT L#0 Write New comparison value 0
NewReferenceValue1
DINT
L#10
Write
New comparison value 1
NewReferenceValue0_M
1
REAL
L#0.0
Write
New comparison value 0 in measuring mode
NewReferenceValue1_M
1
REAL
L#10.0
Write
New comparison value 1 in measuring mode
NewUpperLimit
DINT
L#2147483647
Write
New high counting limit
NewLowerLimit
DINT
L#-2147483648
Write
New low counting limit
NewStartValue
DINT
L#0
Write
New start value
CurReferenceValue0
DINT
L#0
Read
Current comparison value 0
CurReferenceValue1
DINT
L#10
Read
Current comparison value 1
CurReferenceValue0_M
1
REAL
L#0.0
Read
Current comparison value 0 in measuring mode
CurReferenceValue1_M
1
REAL
L#10.0
Read
Current comparison value 1 in measuring mode
CurUpperLimit
DINT
L#2147483647
Read
Current high counting limit
CurLowerLimit
DINT
L#-2147483648
Read
Current low counting limit
CurStartValue
DINT
L#0
Read
Current start value
NewDirection INT 0 Write New count direction:
+1: Upward count direction
-1: Downward count direction
AdditionalErrorID DWORD W#16#0000 Read Error information of an internal instruction,
e.g.,RDREC
UserCmdFlags
STRUCT
-
SetNewDirection
BOOL
FALSE
Write
Set new count direction
SetUpperLimit
BOOL
FALSE
Write
Set high counting limit
SetLowerLimit
BOOL
FALSE
Write
Set low counting limit
SetReferenceValue0
BOOL
FALSE
Write
Set comparison value 0
SetReferenceValue1 BOOL FALSE Write Set comparison value 1
SetCountValue
BOOL
FALSE
Write
Set new counter value
SetStartValue
BOOL
FALSE
Write
Set start value
SyncDownDirection BOOL TRUE Write Enable synchronization in downward count
direction
SyncUpDirection BOOL TRUE Write Enable synchronization in upward count direc-
tion
SetDQ0
BOOL
FALSE
Write
Set digital output DQ0
SetDQ1
BOOL
FALSE
Write
Set digital output DQ1

Table of Contents

Other manuals for Siemens SIMATIC ET 200SP

Related product manuals