S7-400 UDT Addressing

Hello all,

I am trying to use UDTs from an old S7-400 PLC (No OPC-UA). I have my driver set up and it's communicating, but I am having issues with the addressing.

My UDT is in DB11 and it has 10 32 bit boolean clusters. DB11.B000.X00-31, DB11.B001.X00-31, etc.

My understanding is that the addressing would be something like this: 03_HMI_B.B000.x00 = DB11.DBX 0.0 = in Ignition = DB11,DBX0.0

However, it's not working. I am sure I am missing something simple, but I just can't see it. If you have any comments, please share it.

Thank you in advance

What's not working? Are there any errors in the logs?

Try DB11,X0.0

It comes up with a configuration error

I think I fixed the OPC Item Path, but it still doesn't read or write to the bit. I tried to set the value property, but got an error.

(BTW, It tried both X0.0 and DBX0.0)

Were there any errors in the logs after using the DB11,X0.0 syntax?

Full OPC Item Path to try: ns=1;s=[lab_S7_400]DB11,DBX0.0

Is your Ignition OPC UA server connection really just named "OPC" instead of its default name?

Yes, it was set up by someone else. (It's a server we use for project testing for various projects) I set up the S7-400 driver and it is communicating.

To answer your question, I checked the log and no error showed up...

I copied and pasted your suggested path, but got the same result.

Try just [lab_S7_400]DB11,X0.0 for your "OPC Item Path"

Oops, yes, I mistakenly copied his original OPC Item Path when laying out the full one to try.

I did. Still no good. The configuration seems to be OK, yet for the quality I get "Uncertain_InitialValue" and the Value is not displayed. Also, the error message doesn't contain any details...

No, you didn't.
Why do you keep using ns=1,s=...?
Just do, what @BRYAN_MOBLEY said: put only [lab_S7_400]DB11,X0.0 in the OpcItemPath.

The syntax DB11,X0.0 is CORRECT one for Ignition.

The DBX0.0 is Siemens syntax in their software (TIA portal, STEP7).

Have you checked DB11 in the PLC (online) that it is configured correctly?
Is address 0.0 in DB (online) really configured as boolean?
Do you REALLY have the latest DB version in the PLC?
Did you configure the PLC as described in the Ignition instructions? Siemens | Ignition User Manual
Screenshot_168

Also, sometimes it happens, if you repeatedly try to configure a tag with wrong data, that 'something' happens with the Ignition Tag manager (it happened to me a couple of times, especially at the beginning, when I started working with Ignition).
In that case, it is best to delete all tags (first export all tags without the ones you have problems with) and restart Gateway.
Then import the tags back and try to configure the tag again.

Also, show us how did you configured the device connection:


(For s7-300, the CPU slot number is ALWAYS 2.
For s7-400 is 2 or 3, depends of your power supply (if the power supply is narrow one, then it's 2, if it's wide one, then it is 3)).

and how do you have Ignition OPC UA Server configured:

1 Like

Thank you! That's really useful information. I will check all of those settings.

What I find confusing is that my node is connected...

Also, some of the requirements you listed are considerations for 1200 and 1500 devices. I am using S7-400 and Step-7. Not TIA.

However, I do wonder if there are some settings I am missing on the Siemens side. If you know Step-7 well, I'd love to hear what you think.

As per your "Is the tag really a boolean?" I have screenshots at the beginning of this conversation where you can see how DB11 is set up.

I use all 416F-3 PLCs with Step7 v5.6 and 5.7. I don't think I had to change any settings in my Step7 project. I just followed the manual that @zxcslo linked.

Thank you! I really appreciate your comment