Tio_Iolink_In: Read Process Input Signals With Time Stamps - Siemens SIMATIC ET 200AL System Manual

Distributed i/o system
Hide thumbs Also See for SIMATIC ET 200AL:
Table of Contents

Advertisement

Programming
4.3 Time-based IO
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
● 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.
38
for a positive value
o
High-precision input/output with Time-based IO
Function Manual, 08/2014, A5E33454822-AB

Advertisement

Table of Contents
loading

Table of Contents