Tio_Dq: Output Edges Time-Controlled At The Digital Output - Siemens SIMATIC ET 200AL System Manual

Distributed i/o system
Hide thumbs Also See for SIMATIC ET 200AL:
Table of Contents

Advertisement

4.3.4

TIO_DQ: Output edges time-controlled at the digital output

Description
TIO_DQ enables a digital output of a TIO module to be switched at specified times.
Startup characteristics
During startup of the CPU, the instruction TIO_DQ applies the input parameters once and
checks the following:
● Checking HWID
● Checking to see if the number of the digital input (Channel) is in the permitted range
(depending on addressed module and channel configuration)
● Checking TIO_SYNC_Data.Error: Is an error present at TIO_SYNC?
● Checking TIO_SYNC_Data.TO_TIMES for plausibility (0 ms to 4 ms)
● Checking to see whether the OB is isochronous
If startup takes place without errors, the instruction changes to normal operation. The input
parameters REQ, Out_Mode, TimeStampRE and TimeStampFE can be changed during
normal operation. In the event of an error, the instruction does not change to normal
operation and generates an error message.
Functional description
The instruction outputs edges time-controlled at a digital output during normal operation.
● At the time defined at the TimeStampRE input parameter, a positive edge is output at the
digital output.
● At the time defined at the TimeStampFE input parameter, a falling edge is output at the
digital output.
Depending on the program execution model, a time stamp must exceed the following value:
Program execution model
IPO model
OIP model
Use the input parameter Out_Mode to determine if only one edge or both edges are output.
You connect the input TIO_SYNC_Data with the output of the same name of the TIO_SYNC
instruction. This ensures a shared time basis.
High-precision input/output with Time-based IO
Function Manual, 11/2019, A5E33454822-AC
TimeStampRE> ...
TimeStampFE > ...
TIO_Time + T
+ T
APP
O
TIO_Time + T
+ SendClock + T
APP
Programming
4.3 Time-based IO
O
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents