Programming
4.3 Time-based IO
High-precision input/output with Time-based IO
Function Manual, 11/2019, A5E33454822-AC
51
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
TimeStampRE> ...
TimeStampFE > ...
IPO model
TI T
APP
+ T
O
OIP model
TI T
APP
+ Sen T
O
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.
Содержание SIMATIC ET 200AL
Страница 2: ......
Страница 143: ......
Страница 218: ......
Страница 250: ......
Страница 296: ......
Страница 337: ......
Страница 365: ......
Страница 392: ......
Страница 419: ......
Страница 451: ......
Страница 483: ......
Страница 597: ......
Страница 648: ......
Страница 702: ......
Страница 739: ......
Страница 781: ......
Страница 804: ......
Страница 828: ......
Страница 853: ......
Страница 880: ......
Страница 906: ......
Страница 996: ...Diagnostics ...
Страница 1121: ......
Страница 1565: ......