POST /protocols/bacnet/communication/network/mstp-ports/{id}/
This resource allows you to view and to set the MS/TP network configuration parameters.
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
There are multiple possible values according the resource:
If this parameter is not present during the request, and error 415 Unsupported Media Type will be thrown.
The port's instance.
The Content-Length entity-header field indicates the size of the entity-body.
Object Name: MstpPort
propertyName | type | description | method |
---|---|---|---|
Enabled | Boolean | This enables/disables the controller’s BACnet MS/TP connection. If the controller has been configured to use Modbus RTU, this option cannot be enabled. First disable Modbus RTU in EC-gfxProgram. | GET POST |
NetworkNumber | Integer | A network number identifies a LAN for routing purposes. All controllers with the same network number are members of the same logical BACnet network. Min : 1 Max : 65534 |
GET POST |
BaudRate | Integer | The recommended baud rate setting is 38 400. Supported values :
|
GET POST |
MacAddress | Integer | The ECY series controller’s MAC Address on the BACnet MS/TP Data Bus. Min : 0 Max : 127 |
GET POST |
MaxMaster | Integer | When commissioning a BACnet MS/TP Data Bus, it is useful to start with the Max Master set to 127 so as to be able to discover all devices connected to the data bus. Then, once all devices have been discovered and the MAC Addressing is finalized by eliminating any gaps in the address range, set the Max Master (the highest MAC Address) to the highest Master device’s MAC Address number to optimize the efficiency of the data bus. Min : 0 Max : 127 |
GET POST |
MaxInfoFrame | Integer | For the ECY series controller, this should be set to 20. Min : 1 Max : 20 |
GET POST |
Id | Integer | This is the MS/TP port's Id. | GET |
URL Example: https://0.0.0.0/api/rest/v1/protocols/bacnet/communication/network/mstp-ports/1
{
"enabled": false,
"networkNumber": 6,
"baudRate": 38400,
"macAddress": 0,
"maxMaster": 127,
"maxInfoFrame": 3
}
URL Example: https://0.0.0.0/api/rest/v1/protocols/bacnet/communication/network/mstp-ports/1
<?xml version="1.0" encoding="utf-8"?>
<MstpPort>
<Enabled>false</Enabled>
<NetworkNumber>0</NetworkNumber>
<BaudRate>38400</BaudRate>
<MacAddress>0</MacAddress>
<MaxMaster>127</MaxMaster>
<MaxInfoFrame>3</MaxInfoFrame>
</MstpPort>
Eclypse REST API Document Revision 10.2