Skip to main content

FairCom Edge Modbus connector

Connect FairCom Edge to Modbus devices

Abstract

The FairCom Modbus connector provides the ability to connect to Modbus devices for seamless access to Modbus tags.

The FairCom Modbus connector provides the ability to connect to Modbus devices for seamless access to Modbus tags.

Note

A tag is a piece of named data with an associated value. For example, the tag temperature 70 includes both the named data temperature and the value 70. In JSON, a tag is a JSON property, such as "temperature": 70. In a SQL table, a tag is a data field, such as a field named temperature with a value of 70.

Section

Description

Concepts

FairCom Edge has a Modbus service that allows FairCom Edge to connect to and interact with Modbus devices.

Tutorials

The tutorials section contains examples of how to collect, transform, store, and deliver data using the FairCom integration engine.

Initialize the Modbus simulator
Create a session
Capture Modbus TCP data as JSON records in the database
View the captured Modbus TCP data in the "modbusTableTCP" table
Create a transform to extract the captured data into table fields
Attach the transform to the input
View the transformed data
Forward the captured data to an MQTT topic
Query capture Modbus TCP data using the JSON DB API

API reference

The API reference outlines and defines the properties used to utilize the Modbus TCP service.

Startup configuration

Verify that the Modbus service is enabled in the FairCom Edge server.

Modbus data types

The Modbus data types are the values used in the "modbusDataType" property which defines how to convert Modbus binary data types into JSON types.

Modbus emulator

The Modbus emulator software simulates running a machine communicating over the Modbus protocol.