Problem with Addressing Modbus TCP

Hello Everyone

I need to see the value of a Tag from a AD PLC Productivity 2000 P2-550 CPU

I have this information about the Tag

In Ignition I have this

As I understand I have to link 2 words because the tag is 32Bit so I have the Addresses 400001 and 400002. HR put by default the 4 or the 40 (I tried both) and I have to put the values in start and End, Select the Step, I just have one Modbus PLC so Unit ID is 0. I tried with 00001, 0001, 001, 01, 1 but the value is always 0 even if I changed from Productivity suite,

image

Do you know what is missing?

Thank you

Pretty sure my P1000 here in the office only responds as Unit #1.

1 Like

Consider just creating OPC tags in the Designer and manually addressing them. Both now while testing, and for production. The address map feature is no good.

Try an OPC Item Path like [DeviceName]1.HRI1.

3 Likes

Well,

Thnak you pturmel and Kevin.Herron I tried both possible solutions with no succeed so, what I did was create a new 16bit tag with address 400001 in the program

Then I created a rung with a copy data block and sent the data from CustomerB to ModuleValue1

image

Configured in ignition

And Now I can see it in the Designer :slight_smile:

image

Since the general consensus is that this is no good and shouldn't be used, is it possible to add a big warning banner on that page to warn against using it with maybe a link pointing to the online manual for the proper way of using OPC item paths instead?
I feel like it would solve a lot of headaches and confusion.

Heh, not sure I could get a buy in for that. It's my strong opinion, not sure about others... and it does work. It's just a huge pain in the ass because:

  • it introduces an extra layer of indirection that makes troubleshooting difficult (can't look at OPC item path and know what you're reading)
  • it's restrictive in its expressivity/naming
  • it's limited to some number of rows based on an unrelated setting about HTTP form sizes
  • people often mistake this and think they're configuring some sort of list of tags to poll, and then call support asking how to set the rate of the polling group, etc...

I know you got this solved but if you do want to move away from the address mapping, here is a P1-550

image

1 Like

Mine too. Strong enough to leave it entirely out of my alternate driver.

1 Like

Hi, yes, I noticed all of that so I tried yesterday how to figure out without the address mapping and finally I understood all that all of you were saying me.

image

It worked with this mode and the other booleans tags worked with this

image

Now my tag list is more organized and working.

Thank you, all of this is new for me.

1 Like