Programming
4.3 Time-based IO
High-precision input/output with Time-based IO
44
Function Manual, 11/2019, A5E33454822-AC
The figure below shows an example for the reaction of the bits DONE and BUSY at the start
of a read-in job (EdgeSel = 4).
R
Read-in time of the positive DI edge
F
Read-in time of the falling DI edge
Functional description: edge-triggered enable
You can use this instruction to control a timer DI channel that is configured as an edge-
triggered enable for another channel.
Example:
For a TIO module TM Timer DIDQ 10x24V, the following is configured in the hardware
configuration for DQ0/DI0:
●
Configuration DQ/DI group = timer DQ with enable
●
HW enable by DI0 = edge-triggered
●
DQ0 is not inverted
In this case, use the instruction TIO_DQ for DQ0 and the instruction TIO_DI_ONCE for DI0.
You can control the enable by means of the input parameters REQ and EdgeSel of
TIO_DI_ONCE. As soon as TIO_DI_ONCE has recorded a time stamp according to the value
of EdgeSel, the enable is considered granted. You take the enable back by resetting REQ.
Содержание 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: ......