I just started programming with TwinCat v3 OOP.
I’m currently working on a warehouse that has several conveyors, they all have the same functionality to transport materials.
I was wondering what would be the best architecture to avoid GVLs. I have created FBs for conveyance and sensors but not sure how to linked them without using GVLs.
I have conveyors 1, conveyor 2 and conveyor 3 running in one PRG and Photo Sensor1-3 running on another program.
If I instance these conveyors locally I won’t be able to access them from the sensor program and viceversa.
Could interfaces work for this? Researching about interface at the moment but not sure if this will work. Maybe I will have many instance of interfaces…..
lcabal27 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.