Skip to content

Allen-Bradley Micro800 driver

Driver to communicate with Allen Bradley Micro800 Simulator using the HTTP API.

Parameters

Aside from the common parameters described in the communication_driver docs, this driver includes:

  • port: Port used for the HTTP communication (shown in the simulator). Default = 51234

Setup data

The setup data will give values to the parameters required and will specify the I/O variables info.

{
    "parameters": {
        "port": "54321"
    },
    "variables": {
        "_IO_EM_DI_01": {
            "datatype": "bool", 
            "size": 1,
            "operation": "write"
        },
        "_IO_EM_DO_01": {
            "datatype": "bool", 
            "size": 1, 
            "operation": "read"
        }
    }
}

Note

The setup_params in the generic PLC components for micro800_http will need the following format:

{"port": "54321"}