Siemens SIMATIC ST-1500 Function Manual page 122

Table of Contents

Advertisement

3. Set the relevant Set tag for execution of the change command.
4. Use the output parameter Error to check whether an error has occurred.
If no errors have occurred and the Set tag has been automatically reset by the technology
object, the parameter change was successful.
Note
Changed counting limit
If the new high counting limit is less than the current counter value, the counter value is set
to the low counting limit or the start value according on the parameter assignment. If the new
low counting limit is greater than the current counter value, the counter value is set to the
high counting limit or the start value according to the parameter assignment.
Operating mode (High_Speed_Counter V3.0 or higher)
Configure the operating mode in the technology object under "Behavior of DQ0".
The operating mode is indicated by the output parameter CompareMeasuredValue:
State
FALSE
TRUE
Counting, measurement and position detection
Function Manual, 12/2017, A5E32009889-AG
Using the High_Speed_Counter technology object
Description
Operating mode "Use count value as reference"
The comparison functions work with the counter value. The following static
variables are specifically used in this operating mode:
NewReferenceValue0
NewReferenceValue1
CurReferenceValue0
CurReferenceValue1
The four specific static variables of operating mode "Use measured value as
reference" are ignored.
Operating mode "Use measured value as reference":
The comparison functions work with the measured value. The following static
variables are specifically used in this operating mode:
NewReferenceValue0_M
NewReferenceValue1_M
CurReferenceValue0_M
CurReferenceValue1_M
The four specific static variables of operating mode "Use count value as ref-
erence" are ignored.
3.6 Programming the High_Speed_Counter
121

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200mpSimatic et 200sp

Table of Contents