Skip to content

pquaglino-IXON/edge-app-gps2modbus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Edge app - GPS to MODBUS

Description

This app is designed for IXON SecureEdge Pro, cellular/GPS version (models IX6005, IX6015)
It shows how GPS coordinates can be retrieved using router APIs and then exposed with modbus protocol.
Data can then be read locally (from PLC or PC) or sent remotely to IXON Cloud or custom MQTT brokers for displaying.

Since modbus protocol does not natively support floating point data, the coordinates are converted in two formats

  • intger, with a 100 factor for better precision
  • 32bit floating point using 2 consecutive registers

Installation

  1. Install a Node-RED app on you IXON SecureEdge Pro device or add a flow to an existing one - [installation guide]
  2. Make sure the node-red-contrib-modbus package is installed
  3. Open the web interface
  4. Import the flow.json file or paste its content

Usage

The modbus server is listening on standard port 502.

Register Type Value
0 integer latitude * 100
1 integer longitude * 100
2-3 float32 latitude
4-5 float32 longitude

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors