Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

In a Niagara G3 Modbus integration, a register contains 16-bits which must be split into two 8-bit values (a high byte and a low byte).

Issue

There are no existing objects in Niagara G3 that can split a 16-bit Modbus register into two 8-bit values with one representing the high byte (bits 8-15) and another the low byte (bits 0-7).

Environment

Niagara G3 all versions

Cause

Modbus integration of a 3rd-party product using 16-bit values which must be split into two 8-bit values.

Resolution

A program object is available below that will achieve this requirement.  The output of this object generates two 8-bit integer values and two string values for use with logic programming and display purposes. 

Text file of program code

Tags (1)
Labels (1)
Version history
Revision #:
2 of 2
Last update:
2 weeks ago
Updated by:
 
Contributors