EasyManua.ls Logo

Siemens SIMATIC ET 200SP - Page 121

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
120 Function Manual, 12/2017, A5E32009889-AG
Synchronization
: The output parameter SyncStatus = TRUE indicates that a synchronization
has occurred.
The counter value is synchronized under the following conditions:
A digital input has the parameter assignment "Synchronization"
or
the incremental
encoder has the parameter assignment "Synchronization at signal N"
SyncEnable = TRUE
SyncUpDirection (or SyncDownDirection) = TRUE
Edge at the digital input with the synchronization function
or
positive edge of the signal
N at the encoder input
The output parameter SyncStatus is reset by a negative edge at
the input parameter SyncEnable or
the static tag SyncDownDirection or
the static tag SyncUpDirection
Parameter changes via the user program
Proceed as follows to modify parameters using the user program:
1. Check based on the respective Set tag to determine whether the technology object is
ready for the parameter change (Set tag = FALSE) or whether a change job is still
running (Set tag = TRUE).
The following Set tags in UserCmdFlags are available for this in the static tags of the
technology object instance DB:
SetReferenceValue0
SetReferenceValue1
SetUpperLimit
SetLowerLimit
SetCountValue
SetStartValue
SetNewDirection
2. If the technology object is ready for the parameter change, modify the relevant static tag.
The following static tags of the technology object instance DB are available for this:
NewReferenceValue0 / NewReferenceValue0_M (for SetReferenceValue0)
NewReferenceValue1 / NewReferenceValue1_M (for SetReferenceValue1)
NewUpperLimit
NewLowerLimit
NewCountValue
NewStartValue
NewDirection

Table of Contents

Other manuals for Siemens SIMATIC ET 200SP

Related product manuals