Codesys Sfc Example ((better))
If we used N, the vacuum would turn off as soon as we leave Step 1. We want the suction to hold during the move to station B. So we set it in Step 1 and reset it in Step 3.
This basic example demonstrates how to toggle a physical output at set intervals using a loop. codesys sfc example