2. Did You try the example with the array? I tested the loop in the simulation and it works with continous move. There is a little fault in the code:the line
Codeuntil actpos >= maxpos ; maxpos should be calculated by your python script and set in the main program before calling YOUR_PROGRAM
should be moved two lines down.
I'n trying this now. But i dont understand this part of the code:
The repeat loop is empty?
The repeat until actpos >= maxpos should be placed after these lines?