![Anybus CompactCom 40 EtherNet/IP Скачать руководство пользователя страница 55](http://html1.mh-extra.com/html/anybus/compactcom-40-ethernet-ip/compactcom-40-ethernet-ip_network-manual_2948758055.webp)
JSON
55
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
7.2.3 Network
ethstatus.json
GET network/ethstatus.json.
“comm2” is not present if Ethernet port 2 is inactivated.
Comm Object Definition:
JSON object layout:
{
"mac": "003011FF0201",
"comm1": {
"link": 1,
"speed": 1,
"duplex": 1
}
"comm2": {
"link": 0,
"speed": 0,
"duplex": 0
}
}
Name
Data Type
Note
mac
String
6 byte hex
comm1
Object
See object definition in the table below
comm2
Object
See object definition in the table below
Name
Data Type
Note
link
Number
0: No link
1: Link
speed
Number
0: 10 Mbit
1: 100 Mbit
duplex
Number
0: Half
1: Full