question

Do N avatar image
3 Likes"
Do N asked Cole Shirley answered

Unable to Read/Write OPC Tags from Rockwell/RSLinx

To test, I am setting up a connection in "Emulation Properties". Browsing for server does not work, but I know the server name ("RSLinx OPC Server") with this connection in the "Connections" tab. I have checked "Active" in the Connections tab.

I am able to add a Sensor or Control and browse to see all tags on the (Rockwell) PLC, indicating it is correctly connected to some extent.

However, I do not see the value of the tags when running the study, and writing changes in FlexSim does not change the values of the PLC tag(s). When pointing a Variable in the process flow to the tag, I see the variable value when NOT running the simulation ("View Variable..."), but the viewer goes blank when the simulation is run:

If I check "Subscribe to Changes", then I always see "0", regardless of running/not-running the simulation, and regardless of the actual value in the PLC.

What further do I need to make OPC read/write of tags work correctly?

(FlexSim is currently 18.1.1)

Thanks!

FlexSim 18.1.2
emulationopc
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

Cole Shirley avatar image
0 Likes"
Cole Shirley answered

Closing outdated question

5 |100000

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