ML1100 RS485 32bit float

HJTRBO

Member
Join Date
Jul 2008
Location
Melbourne
Posts
618
Hi all i have a new ML1100 + breakout adaptor and am connected over RS485 to a schneider PM710MG power meter slave.

Does anyone know if i can read a 32bit float holding register (more accurately two 16 bit registers that together form the float) and read them directly into my float data file?

I tried it but it didnt work.

I did use an alternate method which does work. I had to go the long way round, configured the msg to place the data in two integer registers, unfortunately had to do an endian swap and then finally a copy into the float data file. Sorry forgot the error code, but the jist of it was the local unit (PLC) was unable to process the response. I checked the message packets with a com sniffer and the send / recieve contents are identical for both methods.

Thanks, Nathan
 
The MicroLogix 1100 implementation of Modbus RTU is oriented toward the classic Integer holding registers; the MicroLogix files into which Modbus data is transferred are always Integer registers.

Since byte swapping and endian-translation are so common in Modbus, the method of bringing in Integer registers then manipulating them is the usual solution. That's one of the reasons for the CPW (Copy Word) instruction in the MicroLogix, which has fewer datatype compatibility restrictions than the classic COP (Copy) instruction.
 

Similar Topics

I do not have any trouble communicating with an LED message sign with my ML1100 when using an rs232 connection. I use a 1761-PM02 cable with one...
Replies
5
Views
5,986
I'm looking to implement a low-cost, efficient method of communicating some integer values to an R30iB robot from a Rockwell 1100 PLC. I am not...
Replies
8
Views
1,726
Hello all, I am trying to setup my MicroLogix 1100 as a modbus RTU master for a modbus network containing multiple modbus RTU slaves. I currently...
Replies
7
Views
3,922
We have a machine that keeps losing its program at random intervals; sometimes 2x-3x in a shift, sometimes will go over 1wk without issue. I had a...
Replies
9
Views
2,937
Just asking for clarification here, but from my research all I need is a 500 ohm resistor across the AI and the common? Heres my schematic. I...
Replies
5
Views
2,583
Back
Top Bottom