JSON 76 (258)
ethconf.json
GET network/ethconf.json
Name Data Type Note
mac
String
-
comm1 Number
-
comm2 Number Only present if two Ethernet ports are activated in the
module.
The values of “comm1” and “comm2” are read from the Network Configuration object, instances
#7 and #8.
{
"mac": [00, 30, 11, FF, 02, 01],
"comm1": 0,
"comm2": 4
}
The parameters “comm1” and “comm2” are configurable by adding them as arguments to the
GET request:
GET network/ethconf.json?comm1=0&comm2=4
The parameters “comm1” and “comm2” may hold an error object with Anybus error code if the
module fails processing the request:
{
"mac": [00, 30, 11, FF, 02, 01],
"comm1": 0,
"comm2": { error: 14 },
}
The Anybus CompactCom error codes are used. Please see the Anybus CompactCom 40 Soft-
ware Design Guide.
Anybus
®
CompactCom
™
40 PROFINET IRT Network Guide SCM-1202-023 EN 1.8