question

Jacob E2 avatar image
0 Likes"
Jacob E2 asked Cass Z commented

Digital Twin/Emulation Using Allen-Bradley CompactLogix Connectivity Issue

Hello,

I am having difficulty connecting to our Allen-Bradley CompactLogix system.

I have tested my computer and verified that it is capable of connecting to the PLC.

I've also confirmed that the CPU path is 1,0 using other software.

My situation is very similar to this question:https://answers.flexsim.com/questions/94455/allen-bradley-cpu-path.html

allen-bradley.png

Since this question is over a year old, I was wondering if anyone has successfully connected FlexSim to an Allen-Bradley PLC since then and/or if there are any examples?

Also, is there any way to verify that a connection has been successful? For example, a table or something in FlexSim showing the data coming from the PLC?

I've followed the manual and set up the Allen-Bradley connection, Tag, and Sensor Variable and connected them to my emulation variable in process flow, but I can't tell if my model is actually connected to the Allen-Bradley system or not.

FlexSim 21.0.10
plc emulationdigital twinallen-bradley
allen-bradley.png (116.5 KiB)
· 8
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

Jacob E2 avatar image
3 Likes"
Jacob E2 answered Cass Z commented

This issue has been resolved with the help of @Luciano Cavallero!

I needed to update my software and license to FlexSim 2022 to fix some bugs.

After these steps were completed, I was able to successfully connect with the Allen-Bradley CompactLogix PLC following the steps in the FlexSim User Manual.

One strange thing we noticed was that even though the Element Type for the Tags were set to Boolean, FlexSim still reads them as an array instead of an integer. So we had to take that into account when creating the logic. But nevertheless we got it working!

Thanks again, Luciano!

-Jacob



· 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.