question

Cetim C avatar image
0 Likes"
Cetim C asked Cetim C commented

Problems with OPC UA

Hello, I am trying to set up and opc ua connection to read data.

When I put the credentials, it tells me that the conecction is succesful.

1659439673810.png

But from the PLC program does not indicate that someaone has connected

1659439751503.png

When I try to read the variables, I get two types of error when clicking on "browse", next to Node ID.
1659439852768.png


1659439896325.png


Someone can help me?
Thanks in advance.


FlexSim 22.1.3
emulationopc ua
1659439673810.png (27.7 KiB)
1659439751503.png (10.9 KiB)
1659439852768.png (11.3 KiB)
1659439896325.png (3.8 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Ryosuke S avatar image
0 Likes"
Ryosuke S answered Cetim C commented

@Cetim C Hello, Can I assume that connection between OPC UA Server and the PLC is already established (which means that you can confirm read/write is working)?

The problem you mention occur when you try to connect between FlexSim and OPC UA Server?

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Cetim C avatar image Cetim C commented ·

Exact.The PLC is publishing but the problem is connecting to flexsim, where the error indicated above appear.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Cetim C commented ·

Can you browse to the node using UAExpert?

0 Likes 0 ·
Cetim C avatar image Cetim C Jason Lightfoot ♦♦ commented ·

Indeed I use UAExpert to check if I really publish to the server.

1659519605746.png

The output simply gets a value of true or false, but from FlexSim I don´t read anything

0 Likes 0 ·