Modbus Mapping Analog I/O in Unity Pro

fl452

Member
Join Date
Mar 2015
Location
Florida
Posts
4
Hello, I have searched the forum and google with no luck with my question: why cannot I make %MW a data type REAL? Here is a snippet of my mapping in a section of Unity Pro S for a M340 controller:

%MW0:=ControlRmTemp;
%MW1:=StationFlow;

It only compiles without errors if it is data type INT. My project requires the analogs to be to to 0.1 scale. So how do I create a Modbus map for my analogs of data type REAL? Thank you for your help.
 
A real will use 2 words.
Normal procedure is to define a tag and set its data type as real. Then set an address for that tag. Note if you set the tag address as % mw0 it will also use % mw1
 
Modbus use 16 bits registers and basically does not support real values which are 32 bits. This can sometimes make a headache because in some modern systems like ControlLogix 5000 the tags have no longer physical addresses.
 

Similar Topics

Hi all, I'm really new to this. I need to export the Modbus register mapping from a Modicon M580 through Control Expert for the registers that...
Replies
4
Views
973
Could someone help me understand how the modbus mapping is handled for the MotionWorks IEC software? I have an existing application where I have...
Replies
0
Views
1,126
I've got a project which requires some Logix integration to a Danfoss device. It is the controls part of an Integrated Technologic Sensorless...
Replies
10
Views
2,943
Dear all, In CCW modbus Adress mapping where each adress is configured in modbus mapping option.For example I will be mapping some memory bit or...
Replies
1
Views
2,137
Got a 2080-LC30-24QWB with 2080-SERIALISOL card hooked up to a Modbus slave device. MSG_MODBUS instructions are working fine. I am trying to set...
Replies
1
Views
3,736
Back
Top Bottom