3x Modbus Addressing Unity PRO for M580

sumeetqureshi

Member
Join Date
Sep 2018
Location
Lahore
Posts
2
I have a confusion regarding modbus addressing that it looks like in unity PLC we can only access 1x (%Mx) and 4x (%MWx) registers and we have to copy discrete input bits (0x - %Ix) to %Mx variables and analog inputs (3x - %IWx) to %MWx registers to read them on modbus.

It appears that Unity PLC's inputs (3x address) aren't automatically linked to modbus addresses => Whole memory area 3x / 4x is used for %MW address variables only. So if we try to read e.g. 300001 address from Unity, we won't see first's analog input register, instead we will see value of first memory word, which is %MW0 and it appears it is same for (400001 & 300001). As per manuals %IW = 3x memory area but it seems it is not possible to read either the %I or %IW references. Every type of I/O references must be moved to %M and %MW references for modbus access.

I have a as-built SCADA list from our client which cannot be modified. This list contains variables on both 3x address and 4x address. If I use %MW for both address types then there will be overlap between variable

Kindly advise resolution If Any. :unsure:
 
I dont think you can read directly the Discrete input or analog input channels. Like you say you have to copy analog to %mw. You can also copy the discrete inputs to %mw.x if your driver cannot read the %m.
I think 3x registers are for %m and 4x registers are for %mw. To make things easy i would copy analogs to %mw and discretes to %mw.x

Hope this helps
 

Similar Topics

Does anyone have a good doc that explains the addressing for modbus with unity. I am having issues setting up the addressing when trying to...
Replies
7
Views
3,967
Hello, P.S: I am new to this Forum, please excuse me if i ma writing in the wrong section or if i used something that isn't accepted within this...
Replies
11
Views
4,346
Hi Everyone...!!!! I have been working on Project on Unity Pro.I have configured my DDI32 module to Mixed Topology and State Ram (see attached...
Replies
1
Views
1,740
Hello everyone. Using the designer software for the HC900 had me thinking. How can I assign 1 variable so 1 single bit. Like how can I say that...
Replies
1
Views
444
Hi, I am doing PLC using M221 as a slave device and communication via modbus. The PLC has been completed and i am required to provide Modbus...
Replies
5
Views
2,817
Back
Top Bottom