PLC

Get all PLC connections

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
Array
ConnectionID
string <uuid>

Globally unique identifier for the PLC connection.

ConnectionName
string

Friendly name for the PLC connection.

Host
string

IP address or hostname of the PLC.

Path
string

The CIP routing path used to reach the PLC (e.g. backplane, slot).

PlcType
string

The type/family of PLC being connected to.

IsActive
boolean

Indicates whether the PLC connection is currently active.

401

Unauthorized access, invalid credentials were used.

get/modules/plc/connections
Request samples
Response samples
application/json
[
  • {
    }
]

Create a new PLC connection

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Create a new PLC connection

ConnectionName
string

Friendly name for the PLC connection.

Host
string

IP address or hostname of the PLC.

Path
string

The CIP routing path used to reach the PLC (e.g. backplane, slot).

PlcType
string

The type/family of PLC being connected to.

Responses
200

Response success

Response Schema: application/json
ConnectionID
string <uuid>

Globally unique identifier for the PLC connection.

ConnectionName
string

Friendly name for the PLC connection.

Host
string

IP address or hostname of the PLC.

Path
string

The CIP routing path used to reach the PLC (e.g. backplane, slot).

PlcType
string

The type/family of PLC being connected to.

IsActive
boolean

Indicates whether the PLC connection is currently active.

400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/plc/connections
Request samples
application/json
{
  • "ConnectionName": "PLC-1",
  • "Host": "192.168.1.10",
  • "Path": "1,0",
  • "PlcType": "ControlLogix"
}
Response samples
application/json
{
  • "ConnectionID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301",
  • "ConnectionName": "PLC-1",
  • "Host": "192.168.1.10",
  • "Path": "1,0",
  • "PlcType": "ControlLogix",
  • "IsActive": true
}

Get a specific PLC connection

SecurityOAuth2 or ApiKey
Request
path Parameters
connectionID
required
string

ID of the PLC connection

Responses
200

Response success

Response Schema: application/json
ConnectionID
string <uuid>

Globally unique identifier for the PLC connection.

ConnectionName
string

Friendly name for the PLC connection.

Host
string

IP address or hostname of the PLC.

Path
string

The CIP routing path used to reach the PLC (e.g. backplane, slot).

PlcType
string

The type/family of PLC being connected to.

IsActive
boolean

Indicates whether the PLC connection is currently active.

401

Unauthorized access, invalid credentials were used.

404

Resource was not found.

get/modules/plc/connections/{connectionID}
Request samples
Response samples
application/json
{
  • "ConnectionID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301",
  • "ConnectionName": "PLC-1",
  • "Host": "192.168.1.10",
  • "Path": "1,0",
  • "PlcType": "ControlLogix",
  • "IsActive": true
}

Update a PLC connection

SecurityOAuth2 or ApiKey
Request
path Parameters
connectionID
required
string

ID of the PLC connection

Request Body schema: application/json

Update a PLC connection

ConnectionName
string

Friendly name for the PLC connection.

Host
string

IP address or hostname of the PLC.

Path
string

The CIP routing path used to reach the PLC (e.g. backplane, slot).

PlcType
string

The type/family of PLC being connected to.

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

404

Resource was not found.

422

Invalid data was sent.

put/modules/plc/connections/{connectionID}
Request samples
application/json
{
  • "ConnectionName": "PLC-1",
  • "Host": "192.168.1.10",
  • "Path": "1,0",
  • "PlcType": "ControlLogix"
}
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Delete a PLC connection

SecurityOAuth2 or ApiKey
Request
path Parameters
connectionID
required
string

ID of the PLC connection

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

404

Resource was not found.

delete/modules/plc/connections/{connectionID}
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Activate a PLC connection

SecurityOAuth2 or ApiKey
Request
path Parameters
connectionId
required
string

ID of the PLC connection

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

404

Resource was not found.

put/modules/plc/connections/activate/{connectionId}
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Deactivate a PLC connection

SecurityOAuth2 or ApiKey
Request
path Parameters
connectionId
required
string

ID of the PLC connection

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

404

Resource was not found.

put/modules/plc/connections/deactivate/{connectionId}
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}