Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

559679 - Instructions for Modbus ... https://rockwellautomation.custhel...

Print

Question
A Modbus device is passing float data to
SLC500 controller in two integers (N7:0).
How do you convert the two integers to one
floating point value (F8:0)?

A Modbus device is passing float data to a


MicroLogix 1400 controller in two integers
(N7:0). How do you convert the two integers
to one floating point value (F8:0)?

A Modbus device is passing float data to a


CompactLogix controller in two integers
(INT). How do you convert the two integers
to one real value (REAL)?

Answer
Modbus Data: (1) 32 bit floating point value
being passed as (2) 16 bit integers

When using a SLC or MicroLogix with a


Prosoft Modbus module:

A 32 bit floating point number is being


passed over Modbus as two 16 bit integers
and stored in N30:0 and N30:1. The COP
instruction is used to place the data into a
floating point file element so that it can be
used in math instructions and otherwise
manipulated.

1 of 5 13-Mar-19, 10:49 AM

You might also like