MODBUS and ML 1400

tjmurf

Member
Join Date
Jan 2014
Location
il
Posts
6
I have a ML 1400 communicating via MODBUS/TCP with a ABB SM500F chart recorder. The MODBUS registers 40001 and 40002 represent a 32 bit single precision float in IEEE format.
Example:
50.0 gpm readout on the display will indicate (16379) and (-12600)in the ML's registers in respect to the 40001 and 40002 MODBUS addresses.

My attempts to "COP #N30:0 F8:5 2" result in the following error "Operand sizes do not match"

Any help with this conversion would be appreciated. Its driving me freaking NUTS!
 
Try the Copy Word (CPW) instruction instead. It was added to the MicroLogix for functions like this.
 
Thank You

Sometimes I cant believe the amount of time I spend on a simple problem.

Thanks!
 
Double Precision Floating Point

It seems the totalizer in the recorder is using 64 bit Double Precision Floating Point. The PLC will read the 4 16 bit words. I can construct the two Long words but, I'm not sure if this is even possible in the ML.

Any thoughts?

The goal here is for the PLC to read the data and report it back to the HMI at a remote location, via cell technology. The HMI is RSView32.
 
Check page 160 of the manual with the Modbus register assignments

Totalizer A and Totalizer B each has four values - min, max, average and total

The min, max and average are single precision floating point values. Only the Total is double precision.

Presumably, unless the totalizer's max value is exceeded or is reset, the max value should be the same as the total value.

Have you considered using the Totalizer A's or B's max value?
 
I wish it were that easy.
The "MIN,MAX and AVG" represent the analog values sent to the totalizer and not the actual total register.
 

Similar Topics

Hi, I'm having an issue with a mircologix not transmitting out. The current setup is a mircologix 1400 connected to a Guardian 100 Radio...
Replies
1
Views
108
I want to learn about modbus communication and I saw on another thread about inexpensive modbus relay units so I found it on Amazon along with a...
Replies
46
Views
7,223
I have a spare Micrologix 1400 Series B I bought used on Ebay awhile back. I had thought of it as a spare PLC for my train project but I screwed...
Replies
4
Views
1,254
Good Day! Would anyone be able to explain what is happening with the COP's and MOV's in this Modbus poll routine? If anything I am confused by...
Replies
6
Views
1,731
I been tasked with setting up communication between a heating cooling unit manufactured by Advantage Engineering and a Microloagix 1400 plc. The...
Replies
6
Views
2,506
Back
Top Bottom