/config/modbus/server/tcp/port

The IP port of the Modbus server. The default value is 502.

Get /config/modbus/server/tcp/port

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

get/config/modbus/server/tcp/port
Request samples
Response samples
application/json
{
  • "result": 502,
  • "error": "Error message (present if an error occurred)."
}

Replace /config/modbus/server/tcp/port

SecurityApiKey
Request
Request Body schema: application/json
integer (configModbusServerTcpPort) [ 0 .. 65535 ]

The IP port of the Modbus server. The default value is 502.

Responses
200

Normal response.

401

Unauthorized response.

put/config/modbus/server/tcp/port
Request samples
application/json
502
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/modbus/server/tcp/port

SecurityApiKey
Request
Request Body schema: application/json
integer (configModbusServerTcpPort) [ 0 .. 65535 ]

The IP port of the Modbus server. The default value is 502.

Responses
200

Normal response.

401

Unauthorized response.

post/config/modbus/server/tcp/port
Request samples
application/json
502
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/modbus/server/tcp/port

Reset to 502.

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

delete/config/modbus/server/tcp/port
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}