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.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......