Siemens SIMATIC ST-1500 Function Manual page 123

Table of Contents

Advertisement

Using the High_Speed_Counter technology object
3.6 Programming the High_Speed_Counter
Acknowledgment of events
You acknowledge signaled events using the positive edge of the input parameter EventAck .
EventAck must stay set until the technology object has reset the status bits of the following
events of the count channel:
● CompResult0
● CompResult1
● ZeroStatus
● PosOverflow
● NegOverflow
Status of the digital inputs (TM Count and TM PosInput)
You can obtain the status of the digital inputs with the static tags StatusDI0, StatusDI1 or
StatusDI2.
Status of the digital inputs (Compact CPU)
You can obtain the status of the digital inputs with the static tags StatusDI0 and StatusDI1.
When a digital input of the Compact CPU is not used for a counter, you can use it via the
user program.
Use of digital outputs by the user program (TM Count and TM PosInput)
You can set the digital outputs with the High_Speed_Counter instruction,
● If the "Use by user program" setting is configured for "Set output".
● If the "After set command from CPU until comparison value" setting is configured for
"Set output".
● if you set the corresponding static tag ManualCtrlDQm (temporary overwrite).
The static tags SetDQ0 and SetDQ1 only have an effect in these cases. In the first and third
case, DQm follows the value of SetDQm. In the second case, DQm is set with a positive
edge of SetDQm. DQm is reset when the counter value corresponds to the comparison
value or at a negative edge of SetDQm.
122
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