Programming
4.3 Time-based IO
High-precision input/output with Time-based IO
54 Function Manual, 08/2014, A5E33454822-AB
The Error output indicates if the instruction was processed correctly. The reasons for the
errors are displayed at the Status output.
The table below shows the parameters of the TIO_DQ instruction.
Starts the job at a positive edge.
Hardware identifier for TIO module from HWCN.
Channel* Input UInt 0 Number (0 ... m) of the digital output of the connected
TIO_SYNC_
Data*
Input "TIO_SYNC_
Data"
System time provided for the TIO instructions of the TIO
modules by the TIO_SYNC instruction. See UDT
"TIO_SYNC_Data" (Page 57).
Connect this input parameter with the "TIO_SYNC_Data" output
parameter of the TIO_SYNC instruction.
Out_Mode Input UInt 2 Specify the output mode for the edges at the digital output:
0
D
: Output only positive edge (TimeStampRE).
1
D
: Output only negative edge (TimeStampFE).
2
D
: Both edges are output (TimeStampRE and TimeStampFE).
3
D
: Each edge is output directly when TimeStampRE = 0 or
TimeStampFE = 0. If both time stamps have the value "0" or if
no time stamp has the value "0", no edge is output.
TO* Input LTime LT#0ns T
o
: Time for output of isochronous output data.
Apply T
o
from the ET 200 station (properties of the PROFINET
interface).
TimeStamp
Input LTime LT#0ns Time stamp: Time when a positive edge is to be output.
TimeStampF
Input LTime LT#0ns Time stamp: Time when a negative edge is to be output.
StatusDQ Output Bool False Actual status of the digital output.
If an inversion of the digital output is configured, StatusDQ is
BUSY = True: The job is not complete yet.
DONE Output Bool False DONE = True is displayed for one cycle: The job is signaled as
Status of the instruction: see description of Status parameter
Error Output Bool False If True, this output indicates that an error has occurred. In this
case, BUSY and DONE are set to False. For detailed
information see Status parameter.
Error is reset as soon as the error is remedied.
* Checked once at startup of the CPU