Skip to main content

Concepts

FairCom Allen-Bradley connector service concepts

Use the createInput action to configure FairCom Edge to collect data from an Allen-Bradley (A-B) PLC.

At a configured interval, the A-B connector collects a set of tags from the PLC, creates a JSON document, maps each collected tag to a property in a JSON document, and inserts the JSON document into the source_payload field of the specified integration table.

To specify the A-B connector, set "ab" as the "service name". To specify which tags to collect from the A-B PLC, use the "tagPath", "tagName", "elementCount" and "tagType" properties in the "propertyMapList" property. Use Allen Bradley software to configure to create tags on a PLC for production and consumption. A tag represents data in the PLC.

You can specify the time between data collection events. For example, to collect data twice every second, set "dataCollectionIntervalMilliseconds" to 5000.

The "createInput" action must be run for each A-B PLC from which to collect data.

Note

Enable the Allen_Bradley service before requesting data from an Allen-Bradley server.