Hello,
I hope you are well !
I would just like to declare the OPC Item Path in a tag coming from a Siemens.
Example:
Name of my device: API Puisard
Data Siemens Adress: DB21.DBD16
(its a Udint, so I try in Ignition with INT type, then Long type)
(I use this OPC Connection: Ignition OPC UA Server
, with a remote provider [Data_Edge
])
I tried something like [API Puisard]DB21.DBD16
Then [API Puisard]DB21,DBD16
But it still doesn't work, can you help me? Thanks in advance!
Hi @Thomas_MUSSO ,
sometimes just reading the manual can learn you a lot
This one is not in the manual...
@Thomas_MUSSO
I believe that the correct address is:
[API Puisard]DB21,D16
For some reason siemens adds the DB
in front of a bunch of data types.
You would change the D
in D16
to match the data type you are reading from the PLC, so REAL16
if it was a float.
Correct but at least it give you the correct way to make your addressing.
DBXXX,DataTypeXXX
I've just checked in one of my project and we use the dword to read a UDINT
so the [API Puisard]DB21,D16 should work. In Ignition we used data type long.
Thank you for your reply Arnaud and David.
Concerning Float, addressing [API Puisard]DB21,REAL16
seems to work. Thanks !
However for UDINT (Ignition Data Type on “Long”), I try [API Puisard]DB21,DWORD16
-> don't work.
Then, for my BOOL, I try [API Puisard]DB21,DBX16.0
-> don't work.
I'll try to find out why. If you have any other ideas, I'd love to hear from you.
It should be [API Puisard]DB21,X16.0
.
There is never a redundant "DB" in the address with this driver.
1 Like