Rockwell resources
- Last UpdatedJun 25, 2026
- 1 minute read
Rockwell resources are used to specify the register mappings for different Rockwell or Allen Bradley programmable logic controller (PLCs). When the resource is used in the Rockwell Reader module, all of the listed tags are retrieved. Additional tags can be added to the module. A JSON file is used to define these mappings. Any properties in addition to the default tag properties described here are treated as custom metadata and added to the messages.
Code example: Rockwell resource
{
"tags": [
{
"id": "tag1",
"name": "ValveTemp",
"rockwellTagName": "Tag1",
"rockwellType": "int"
},
{
"id": "tag2",
"name": "ValveOpen",
"rockwellTagName": "Tag2",
"rockwellType": "bool"
},
{
"id": "tag3",
"name": "Name",
"rockwellTagName": "Tag3",
"rockwellType": "string"
}
]
}
How to reference Rockwell resources
A Rockwell device (PLC) is specified as an object that must have at least one tag
in the tags list.
You can add custom metadata to each object in the resource file that becomes part
of the outgoing message.
A tag (register) is defined by the following mandatory parameters:
-
RockwellTagName: The name of the tag, as defined in the PLC that will be included in the message.
-
RockwellType: Data type of the tag as defined in the PLC that will be included in the message. May include the following data types:
-
sint
-
int
-
dint
-
lint
-
real
-
lreal
-
bool
-
string
-