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 named data, such as a temperature with a value of 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

This section provides procedures for:

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.