
10 IIoT functionality
10.3 REST API
Name
Data type
Description
Example
iq_mode
number
Pin2 mode according to IOL
specification
port_status
number
Port status according to IOL
specification
ds_fault
number
Data storage error number
ds_fault_text
string
Textual data storage error.
device
DEVICE Object
IO-Link device parameters. → Null if
no IO-Link communication active
diag
array of DIAG (n)
Array of port related events
DIAG Object
error
number
Error code
source
string
Source of the current error.
"device"
"master"
eventcode
number
Event code according to IO-Link
specification
eventqualifier
number
Event qualifier according to IO-Link
specification
message
string
Error message
"Supply Voltage
fault"
DEVICE Object
Standard parameters of the
IOL-Device
device_id
number
vendor_id
number
serial
string
baudrate
string
Baudrate (COM1,2,3)
cycle_time
number
Cycle time in microseconds
input_len
array of numbers (n) IOL input length in bytes
output_len
array of numbers (n) IOL output length in bytes
input_data
array of numbers (n) IOL input data
output_data
array of numbers (n) IOL output data
pd_valid
number
"1", if IOL input data is valid
pdout_valid
number
"1", if IOL output data is valid
FORCING Object
Forcing information of the device
Manual EtherCAT®
Version 1.1 04/2021
117