Hi! I'm trying to simulate the behavior af a rotary table. In this case a 2 position one. Since I'm focused on testing some PLC logic I'm not interested into simulate it like in the real world but to me it is enough that it rotate of 180 degrees each time an input is raising up. That is just to start... then mybe I could go further. Attached is my WIP.
Solved! Go to Solution.
As I checked all your zip details, It has lots of parts into it.
I think below link will help you to get it done easily, still, if you have any doubt, please post.
Best Luck! Hope you will achieve it
If I understand you correctly you want to react to a change of an signal.
For example if the Signal "Rotate / E01" is true you want to rotate the turntable for 180 degrees but also that the next rotation for 180 degrees takes place when the signal is changed again to true.
You can use an operation to achive that:
In your case, you can remove the formula for the rotation and use the operation with the signal as input for the rotation.