EasyManua.ls Logo

Siemens SIMATIC ET 200AL - Tio_Iolink_In: Read Process Input Signals with Time Stamps

Siemens SIMATIC ET 200AL
1585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming
4.3 Time-based IO
High-precision input/output with Time-based IO
38 Function Manual, 08/2014, A5E33454822-AB
4.3.2
TIO_IOLink_IN: Read process input signals with time stamps
Description
You can use the Time-based IO with the TIO_IOLink_IN instruction. TIO_IOLink_IN detects
an event at the IO-Link Device and returns the process value including the associated time
stamp.
The IO-Link Device must be equipped with the time stamp function and the Port must be in
"IO-Link, Time based IN" mode.
Startup characteristics
During startup of the CPU, the instruction TIO_IOLink_IN applies the input parameters once
and checks the following:
Checking HWID
Checking whether the Port number is in the range (1 to 4)
Checking TIO_SYNC_Data.Error: Is an error present at TIO_SYNC?
Checking T
o
for a positive value
Checking the setting to type IO-Link
Checking Port mode regarding configuration for IO-Link Time based IN
Checking whether the OB is a "Synchronous Cycle" OB
Checking PortQualifier
If startup takes place without errors, the instruction changes to normal operation. In the event
of an error, the instruction does not change to normal operation and generates an error
message.
Operating principle
In normal operation, the instruction detects the process data (SA_Data) of an IO-Link Device
and the associated time stamp (time = TIO_Time) of the last valid change. Each valid
change of the SA_Data with a correctly functioning port is accompanied by a valid time
stamp.
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.
Reaction to error
The Error output indicates if the instruction was processed correctly. The reasons for the
errors are displayed at the Status output.

Table of Contents

Other manuals for Siemens SIMATIC ET 200AL

Related product manuals