SIMATIC S7 Library For The Integration of SIEMENS IO-Link Devices
SIMATIC S7 Library For The Integration of SIEMENS IO-Link Devices
https://support.industry.siemens.com/cs/ww/en/view/90529409
Warranty and Liability
We do not accept any liability for the information contained in this document.
Any claims against us – based on whatever legal reason – resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this application example will be excluded. Such an exclusion will not
apply in the case of mandatory liability, e.g. under the German Product Liability Act
(“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of life, body
or health, guarantee for the quality of a product, fraudulent concealment of a
deficiency or breach of a condition which goes to the root of the contract
Siemens AG 2015 All rights reserved
Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, solutions, machines, equipment and/or
tion networks. They are important components in a holistic industrial security
concept. With this in mind, Siemens’ products and solutions undergo continuous
development. Siemens recommends strongly that you regularly check for
product updates.
For the secure operation of Siemens products and solutions, it is necessary to
take suitable preventive action (e.g. cell protection concept) and integrate each
component into a holistic, state-of-the-art industrial security concept. Third-party
products that may be in use should also be considered. For more information
about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a product-
specific newsletter. For more information, visit
http://support.automation.siemens.com.
Table of Contents
Warranty and Liability ................................................................................................. 2
1 Library Overview “Siemens IO-Link Devices” ................................................ 5
1.1 User scenarios ..................................................................................... 6
1.2 Functionality of the blocks .................................................................... 7
1.3 Hardware and software requirements .................................................. 8
1.4 Library resources .................................................................................. 9
2 Blocks of the Library ....................................................................................... 10
2.1 Library for STEP 7 V5.5 ..................................................................... 10
2.2 Library for STEP 7 V13 SP1............................................................... 13
2.3 Explanations on FB IO_LINK_3SU1_IDKey-Switch (FB5210)Fehler! Textmarke nicht def
2.3.1 Interface and parameters .............. Fehler! Textmarke nicht definiert.
2.4 Explanation on FB IO_LINK_DEVICE (FB5001) .............................. 14
2.4.1 Interface and parameters ................................................................... 14
2.4.2 Mode of Operation .............................................................................. 16
2.4.3 Status and error displays.................................................................... 17
2.5 Joint parameters for all IO-Link device blocks ................................... 19
2.6 Explanation on FB IO_LINK_3RAxy (FB5100) .................................. 20
2.6.1 Interface and parameters ................................................................... 20
2.6.2 Mode of Operation .............................................................................. 21
2.7 Explanation on FB IO_LINK_3RB24 (FB5110) .................................. 22
2.7.1 Interface and parameters ................................................................... 22
Siemens AG 2015 All rights reserved
SIMATIC S7-300
SIMATIC S7-400
SIMATIC S7-1200
SIMATIC S7-1500
S7-1200, SM 4 X IO-Link master module
ET 200SP, CM 4 X IO-Link master module
ET 200AL, CM 4 X IO-Link master module
ET 200S electronic module 4SI IO-Link
ET 200S, IO-Link master for Sirius industrial controls
ET 200eco PN IO-Link Master
Application
1
The library provides function blocks and UDTs for all IO-Link devices from the
Siemens portfolio, which facilitates and makes communication with the IO-Link
devices easier.
The function blocks have a uniform interface for the individual devices. For each
read/write job, the data record specified at the input is read or written.
Siemens AG 2015 All rights reserved
1
A UDT (User Defined Data type, or also PLC data type) is a self-defined data type, which
makes it possible, for example, to easily create multiply-used structures.
Figure 1-1
Start
Positive No
edge detected at
REQ?
Yes
Read
RD_WR=0 Read
or write
access
Write
RD_WR=1
Siemens AG 2015 All rights reserved
Which Which
data record data record
selected? selected?
Read
Write
selected data
selected data
record via FB
record via FB
IO_LINK_DEVICE
IO_LINK_DEVICE
End
The individual blocks of the library get the specified data record from the IO-Link
devices, by logically connecting the block input.
When several data records are switched at the input, then the first selected data
record is read out.
Hardware
You can use the library with the following master modules:
ET 200SP, CM 4 X IO-Link master module
S7-1200, SM 4 X IO-Link master module
ET 200S electronic module 4SI IO-Link
ET 200S, IO-Link master for Sirius industrial controls
ET 200eco PN, IO-Link Master
ET 200AL, CM 4xIO-Link Master
Using the distributed I/O system ET 200S, ET 200eco PN, ET 200AL and
ET 200SP requires a PNIO controller. The following devices are possible:
S7-300/S7-400/WinAC CPU
S7-1200 CPU as of FW V2.2
Siemens AG 2015 All rights reserved
The IO-Link master SM1278 can only be operated with a S7-1200 CPU.
Software
Table 1-1
No. Component Article number
1. SIMATIC STEP 7 V5.5 SP3 6ES7810-4CC10-0YA5
2. SIMATIC STEP 7 V13 SP1 6ES7822-1AA03-0YA5
3. S7-PCT V3.3 see \3\
Overall occupancy
All blocks belonging to the “Siemens IO-Link Devices” library occupy a total of
57 kBytes in the main memory, without the system function blocks used.
Normally not all blocks are used at the same time, since not all possible IO-Link
devices are used at the same time.
To be able to use the library, you also have to plan for respective storage space for
data blocks and instance data blocks.
In addition, the following system function blocks from the standard library are used.
Table 2-2
Block Symbol Classification
SFB4 TON Standard STEP 7 library
SFB52 RDREC Standard STEP 7 library
SFB53 WRREC Standard STEP 7 library
For the individual IO-Link devices the following UDTs (User Defined Data types)
are included in the library:
Table 2-3
Block Symbol Note
UDT 5000 ParameterPage0 As “standard” UDT as part of other UDTs (e.g. UDT
5100)
UDT 5100 3RAxy For function block 5100
UDT 5101 ParameterPage1_3
RAxy
Subordinate to UDT 5100
UDT 5102 DIAG_3RAxy
UDT 5103 PARA_3RAxy
NOTICE You can call the block parallel or in several instances for several devices.
Please note that depending on the CPU used, only a certain number of
block calls for RDREC/WRREC must be active at the same time (see \5\).
Figure 2-1
Siemens AG 2015 All rights reserved
The following chapters list all blocks of the “SIEMENS IO-Link Devices” library. In
this documentation, the screenshots were created with STEP 7 V5.5 SP4.
The description of the individual blocks applies for STEP7 V5.5 as well as the
STEP 7 V13 SP1 library.
Note Only integrate those blocks into your project that refer to the respective CPU. For
more information refer to Chapter 2.16.
Interface
Figure 2-2
Siemens AG 2015 All rights reserved
Note The IO_LINK_DEVICE block is called internally by the other function blocks of
the library (see Chapter 1.2 “Functionality of the blocks”). A detailed description
of the block is available in \4\.
Input parameters
Table 2-4
Parameter Data type Memory area Description
REQ BOOL I, Q, M, D Positive edge: Triggers data transfer
ID HW_IO I, Q, M, D, L, For S7-1200/1500
const Hardware identifier of the IO-Link
communication module
(for ET200ecoPN the
HW_ID of the IO-Link submodule
must be used)
DWORD For S7-300/400
Logic address of the IO-Link
communication module (module or
submodule)
CAP DINT I, Q, M, D, L, Access point of the
(S7- const IO_LINK_DEVICE function (Siemens
1200/1500) AG = 227 decimal)
INT
(S7-300/400)
RD_WR BOOL I, Q, M, D, L, Read or write access
const 0: read
Siemens AG 2015 All rights reserved
1: write
PORT INT I, Q, M, D, L, Port number at which the IO-Link
const device is operated.
Possible values: 1..63
IOL_INDEX INT I, Q, M, D, L, Parameter index
const Possible values: 0..32767
Output parameters
Table 2-5
Parameter Data type Memory area Description
DONE_VALID BOOL I, Q, M, D, L Validity:
0: Data not valid
1: Data valid
BUSY BOOL I, Q, M, D, L Job in progress:
0: Job completed (valid or error)
1: Job being processed
ERROR BOOL I, Q, M, D, L Error status:
0: No error
1: Abort with error
Input/output parameters
Table 2-6
Parameter Data type Memory area Description
Siemens AG 2015 All rights reserved
set to DW#16#00000000.
In the case of cancelling the “IO_LINK_DEVICE”, error signaling is performed at
the respective IOL_STATUS output tag.
The IO-Link error codes (Device Error Code) are directly mapped to the
IOL_STATUS output tag of data type DWORD. The coding can be found in the
respective IO-Link device documentation.
Error codes from the IO-Link master (IOL-M Error_Code) are also mapped to the
IOL_STATUS tag.
Input parameters
Table 2-9 Input parameters
Parameter Data type Memory area Description
REQ BOOL I, Q, M, D, L, const Positive edge:
Perform data transfer (read or write)
ID DWORD I, Q, M, D, L, const logic address of the IO-Link master
CAP INT I, Q, M, D, L, const Client Access Point (CAP), for Siemens
IO-Link master modules always 227
(dec).
RD_WR BOOL I, Q, M, D, L, const Read or write access:
0=Read, 1=Write
PORT INT I, Q, M, D, L, const Port of the IO-Link device that is to be
read/written.
Siemens AG 2015 All rights reserved
Output parameters
Table 2-10 Output parameters
Parameter Data type Memory area Description
DONE Bool I, Q, M, D, L DONE = TRUE Data valid. Job
successfully executed.
Busy Bool I, Q, M, D, L BUSY = TRUE, job currently active.
Error Bool I, Q, M, D, L ERROR = TRUE, function aborted with
error.
Status DWord I, Q, M, D, L DP/PNIO error status, when error =
TRUE:
Status of the communication error.
IOL_Status DWOrd I, Q, M, D, L IO_Link error status, when ERROR =
TRUE. See Chapter 2.3.
Interface
Figure 2-3
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-11 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
ParameterPage1 DWORD Read/write access to ParameterPage1.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName Read access to product name.
BOOL
ProductID BOOL Read access to product ID.
ProductText BOOL Read access to product description.
SerialNumber BOOL Read access to serial number.
HWRevision BOOL Read access to hardware version.
FWRevision BOOL Read access to firmware version.
Siemens AG 2015 All rights reserved
Input/output parameters
Interface
Figure 2-4
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-13 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
ManufacturersName BOOL Read access to manufacturer name.
ManufacturersText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
ProductText BOOL Read access to product description.
SerialNumber BOOL Read access to serial number.
HWRevision BOOL Read access to hardware version.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Siemens AG 2015 All rights reserved
Input/output parameters
Interface
Figure 2-5
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-15 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
ParameterPage1 BOOL Read/write access to ParameterPage1.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
SerialNumber BOOL Read access to serial number.
HWRevision BOOL Read access to hardware version.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Diagnostics BOOL Read access to diagnostics data.
Siemens AG 2015 All rights reserved
Input/output parameters
Interface
Figure 2-6
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-17 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
HWRevision BOOL Read access to hardware version.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Diagnostics BOOL Read access to diagnostics data.
Measurements BOOL Read access for measured values
Parameters BOOL Read/write access for parameter
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
Siemens AG 2015 All rights reserved
Input/output parameters
Table 2-18 Input/Output parameters
Parameter Data type Description
Data UDT 3RS1x Data structure for IO-Link devices 3RS1x.
Interface
Figure 2-7
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-19 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
HWRevision BOOL Read access to hardware version.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Diagnostics BOOL Read access to diagnostics data.
Measurements BOOL Read access for measured values
Parameters BOOL Read/write access for parameter
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
Siemens AG 2015 All rights reserved
Input/output parameters
Table 2-20 Input/Output parameters
Parameter Data type Description
Data UDT Data structure for IO-Link devices 3UG481x.
3UG481x
Interface
Figure 2-8
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-21 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
HWRevision BOOL Read access to hardware version.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Diagnostics BOOL Read access to diagnostics data.
Measurements BOOL Read access for measured values
Parameters BOOL Read/write access for parameter
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
Siemens AG 2015 All rights reserved
Input/output parameters
Table 2-22 Input/Output parameters
Parameter Data type Description
Data UDT Data structure for IO-Link device 3UG4822.
3UG4822
Interface
Figure 2-9
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-23 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
SystemCommands BOOL Write system commands.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
SerialNumber BOOL Read access to serial number.
HWRevision BOOL Read access to hardware version.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Diagnostics BOOL Read access to diagnostics data.
Measurements BOOL Read access for measured values
Parameters BOOL Read/write access for parameter
ParameterPage0 BOOL Read access to ParameterPage 0.
Siemens AG 2015 All rights reserved
Input/output parameters
Table 2-24 Input/Output parameters
Parameter Data type Description
Data UDT Data structure for IO-Link device 3UG4825.
3UG4825
Interface
Figure 2-10
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-25 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
HWRevision BOOL Read access to hardware version.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Diagnostics BOOL Read access to diagnostics data.
Measurements BOOL Read access for measured values
Parameters BOOL Read/write access for parameter
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
Siemens AG 2015 All rights reserved
Input/output parameters
Table 2-26 Input/Output parameters
Parameter Data type Description
Data UDT Data structure for IO-Link device 3UG4832.
3UG4832
Interface
Figure 2-11
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-27 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
HWRevision BOOL Read access to hardware version.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Diagnostics BOOL Read access to diagnostics data.
Measurements BOOL Read access for measured values
Parameters BOOL Read/write access for parameter
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
Siemens AG 2015 All rights reserved
Input/output parameters
Table 2-28 Input/Output parameters
Parameter Data type Description
Data UDT Data structure for IO-Link device 3UG4841.
3UG4841
Interface
Figure 2-12
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-29 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
HWRevision BOOL Read access to hardware version.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Diagnostics BOOL Read access to diagnostics data.
Measurements BOOL Read access for measured values
Parameters BOOL Read/write access for parameter
ParameterPage0 BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
Siemens AG 2015 All rights reserved
Input/output parameters
Table 2-30 Input/Output parameters
Parameter Data type Description
Data UDT Data structure for IO-Link device 3UG4851.
3UG4851
Interface
Figure 2-13
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-31 Input parameters
Parameter Data type Description
DirectParameterPage BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
ErrorCount BOOL Read access to error counter
EventHistory BOOL Read access to event history
ReaderStatus BOOL Read access to state of the reader
TagStatus BOOL Read access to tag status
UIDHistory BOOL Read access to UID history
DirectParameterPage BOOL Read access to ParameterPage 0.
VendorName BOOL Read access to manufacturer name.
Siemens AG 2015 All rights reserved
Input/output parameters
Table 2-32 Input/Output parameters
Parameter Data type Description
Data UDT RFID Data structure for RFID
Note More information on the parameters that are processed with this function block
can be found in \6\.
Interface
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-33 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
System Command BOOL Write access to the system commands.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Del_Key-ID BOOL Write access to the key ID to be deleted.
KeyList1-30 BOOL Write access to the individual encodable
key IDs (1-30)
KeyList31-50 BOOL Read access to the memory of the individual
encodable key IDs (31-50)
Diagnostics BOOL Read access to diagnostics data.
Siemens AG 2015 All rights reserved
Input/output parameters
Interface
Siemens AG 2015 All rights reserved
Note The parameters valid for all blocks from Chapter 2.3 onward are described in
Chapter 2.2.
Input parameters
Table 2-35 Input parameters
Parameter Data type Description
ParameterPage0 BOOL Read access to ParameterPage 0.
System Command BOOL Write access to the system commands.
VendorName BOOL Read access to manufacturer name.
VendorText BOOL Read access to the specific text of the
manufacturer.
ProductName BOOL Read access to product name.
ProductID BOOL Read access to product ID.
FWRevision BOOL Read access to firmware version.
ApplicationSpecificName BOOL Read/write access to application-specific name.
Diagnostics BOOL Read access to diagnostics data.
Statistics BOOL Read access to the statistic input/output data.
Parameters BOOL Read/write access to the parameters.
Input/output parameters
Siemens AG 2015 All rights reserved
Table 3-1
Step Instruction
1. The library is available on the HTML page from which you downloaded this
document. Save the “90529409_IOLink_Devices_LIB_V55.zip” library to your hard
drive.
2. Open the SIMATIC MANAGER and retrieve STEP 7 library
“90529409_IOLink_Devices_LIB_V55.zip”.
“File > Retrieve...”
The library is now available in “Libraries”.
Siemens AG 2015 All rights reserved
3.
Table 3-2
Step Instruction
1. Open an already existing STEP 7 V5.5 project.
2. Open the “SIEMENS_Devices_IO_Link” library.
General:
Move FB5001, the FB that corresponds to your device, as well as the
respective UDTs and UDT5000 into your user program. Then add the required
system functions.
Example:
Siemens AG 2015 All rights reserved
Step Instruction
4. Check the consistency of your user program via right mouse click on the block
folder and select “Check Block Consistency”.
5. Create organization block 1 (OB1) and open it. Use drag & drop to move the
function block into any network for your IO-Link device.
Note
You can also use the blocks in other, cyclic organization blocks.
6. Enter the data block with the number of the instance data block that you would
like to use. Generate the instance data block if it does not exist.
Step Instruction
7. Assign values of your choice to all formal parameters. The values can be, for
example, stored in any data block.
Table 4-1
Step Instruction
1. The library is available on the HTML page from which you downloaded this
document. Store the “90529409_IOLink_Devices_LIB_V13_SP1.zip” library on
your hard disk and extract it.
2. Open the TIA Portal and retrieve the STEP 7 library “Siemens_IO-
Link_Devices_Library_V13_SP1.zal13”.
Siemens AG 2015 All rights reserved
The following table describes the procedure for adding the “IO_LINK_3RAxy”
function block.
Table 4-2
Step Instruction
1. Open an already existing STEP 7 V13 SP1 project.
2. Open the library “Siemens_IO-LINK_Devices_Library_V13_SP1”.
Siemens AG 2015 All rights reserved
Step Instruction
5. Open the OB “Main”. Use drag & drop to move the function block into any
network for your IO-Link device.
Note
You can also use the blocks in other, cyclic organization blocks.
6. Enter the data block with the number of the instance data block that you would
like to use.
Siemens AG 2015 All rights reserved
7. Assign values of your choice to all formal parameters. The values can be, for
example, stored in any data block.
Save the OB1 organization block and load the STEP 7 project into your
S7-CPU.
Shift-F1
Siemens AG 2015 All rights reserved
Note The direct call of the documentation only works after the library name has been
selected. When using <Shift-F1> to call a different item in this library, you will be
forwarded to the HTML page in the Siemens Industry Online Support from which
you downloaded this entry.
command and
Signaling devices
3SU1
6 History
Table 6-1
Version Date Modifications
V1.0 07/2014 First version
V2.0 05/2015 Upgrade to TIA Portal V13 SP1
V2.1 09/2015 Expanded by SIRIUS ACT devices