
10 IIoT functionality
10.3 REST API
Name
Data type
Description
Example
channels
Array of CHANNEL
(16)
Basic information about all input/output
channels
iol
IOL Object
Contains all IO-Link related information
such as events, port states, device
parameters.
iol/diagGateway
array of DIAG
Array of currently active device/
gateway related events
iol/diagMaster
array of DIAG
Array of currently active IOL-Master
related events
iol/ports
array of PORT (8)
Contains one element for each IO-Link
port
CHANNEL
Object
name
string
Name of channel
type
number
Hardware channel type as number:
0 = DIO
1 = Input
2 = Output
3 = Input/Output
4 = IO-Link
5 = IOL AUX
6 = IOL AUX with DO
7 = IOL AUX with DO. Can be
deactivated.
8 = Channel not available
type_text
string
Textual representation of the channel
type
config
number
Current configuration of the channel:
0 = DIO
1 = Input
2 = Output
3 = IO-Link
4 = Deactivated
5 = IOL AUX
config_text
string
Textual representation of the current
config
inputState
boolean
Input data (producing data) bit to the
PLC
Manual EtherCAT®
Version 1.1 04/2021
115