Initializing initial values

The following code initializes the values in the instantiated function block during the first cycle. You can change the call of the created object of the stepper motor module. Insert the following code in the "Init" program block of User_Prg:

Adjust the following lines:

Initialization is complete. You can now write the actual Main program.