EasyManua.ls Logo

Siemens SIMATIC ET 200SP - Page 123

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
122 Function Manual, 12/2017, A5E32009889-AG
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.

Table of Contents

Other manuals for Siemens SIMATIC ET 200SP

Related product manuals