question

liu Y2 avatar image
0 Likes"
liu Y2 Suspended asked Joshua S commented

Can you provide a case of using OPC DA?

I am using MatrikonOPC connect to flexsim, the connection is successful,but I can't receive any data.

flexsim2019.0.0_64bit

plc connection problem
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

Joshua S avatar image
1 Like"
Joshua S answered Joshua S commented

Here is an extremely simple example to test your connection, it gets the sin tag value from the server and prints it out in the console. I'm using a different server, but you should be able to point to the right tag on your server. This should be a baseline test to see if you can read tags in general.

opc-test.fsm


opc-test.fsm (99.8 KiB)
· 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.