Calling the program

Create a POU, in the example "Control", and instantiate it. SEW-EURODRIVE recommends that you perform the instantiation in the "HighPrio" task. The HighPrio runs in a cycle time of 1 ms, which is reached in each task. Insert the following code:

For the examples in this manual, the "Control" program is used that is called here.