Quick overview
1. Demo products
2. Communication protocol
PROFINET
3. Configuration tool
TIA Portal
4. Operations involved
Adding master and submodule configurations, modifying port pin definitions, configuring UA power supply, determining communication status, controlling input and output addresses
5. Key notes
Keep all unused ports set to standard input; the pin2 of port X00 must be configured as output to supply UA power to the Hub
IOL7A-16CB-M12 is a Solidot 16-channel Configurable input/output IO-Link HUB that can be connected to a PROFINET network via the IO-Link Master IOL7A-PN01B-8A. How is its hardware configuration completed in TIA Portal, and how are the input and output channels for field sensors and loads controlled?
In TIA Portal, you only need to add the master and the HUB submodule configurations, modify the port pin definitions and configure the UA power supply to use the input and output channels of the IOL7A-16CB-M12 normally. This article describes the steps for adding the hardware configuration, key configuration notes, the PROFINET master process data definitions and the input and output control methods.
Steps for adding the hardware configuration
1. In the TIA Portal hardware catalog, find and add the IOL7A-PN01B-8A IO-Link Master. By default, the master generates pin4 and pin2 definitions for 8 ports, all with the default type standard input.
2. Right-click to delete the default port definition and select IOL7A-16CB to complete adding the submodule configuration.

3. Delete the existing pin2 configuration for the corresponding port and change pin2 to pin2 standard output.

4. Compile the hardware configuration and download it to the PLC.

II. Key configuration notes
• In this example, only one IOL7A-16CB-M12 is connected to port X00 of the master; the other ports are left empty. Unused ports all keep the standard input configuration. If empty ports are not configured properly, overall device operating stability may be affected.
• Purpose of configuring port X00 pin2 as an output: the master's Pin2 output channel supplies UA power to the IOL7A-16CB-M12. If the master's UA indicator flashes, check this configuration first.
• In this example, the pin2 output addresses for all ports X00 ... X07 are Q34.0 ... Q34.7. In the program, Q34.0 must be set to 1 for port X00-pin2 to output power normally.

III. PROFINET master process data definition
• data definition table for Slot0 of the PROFINET master IOL7A-PN01B-8A:
Type | Byte Offset | Length | Description |
Input process data (12 bytes) | 0 | 1 byte | Port pin2 standard input mode input value |
1 | 1 byte | Port pin4 standard input mode input value | |
2 | 1 byte | Port 0 device status | |
3 | 1 byte | Port 1 device status | |
4 | 1 byte | Port 2 device status | |
5 | 1 byte | Port 3 device status | |
6 | 1 byte | Port 4 device status | |
7 | 1 byte | Port 5 device status | |
8 | 1 byte | Port 6 device status | |
9 | 1 byte | Port 7 device status | |
10 | 1 byte | Master Status | |
11 | 1 byte | Input data Validity, default 0xFF, reserved | |
Output process data (2 bytes) | 0 | 1 byte | Port pin2 standard output mode output value |
1 | 1 byte | Port pin4 standard output mode output value |
• How to determine the communication status: monitor the variable %IB2 (port 0 device status byte). A value of 16#03 means port 0 has switched to IO-Link mode and communication is normal.

IV. IOL7A-16CB-M12 input/output control
The IOL7A-16CB-M12 is a self-adaptive IO-Link HUB; the port input/output direction does not need to be configured separately.

• output control: assign a value directly to the output Q address to drive an external load. The corresponding addresses are Q36.0 ... Q36.7.
• signal acquisition: external sensor input signals are automatically mapped to I addresses for reading. The corresponding addresses are I12.0 ... I13.7.