syntax – LPi

LP Loop

Value: 0

Units: N/A

Range: N/A

Causes all commands between LP and EB to be repeated “i” times. If LP is entered without a number following it or a 0, the loop will repeat continuously.

Note: An End of Block (EB) command must be used with every LP command.

Up to 16 nested loops (one inside the other) are allowed. Each LP command must have a corresponding EB command to end the block (loop). A GT command within a loop will terminate the loop, clear the loop stack and jump to a new program.

Example:

AC.09 DE.09 LP3 VE30 DI1 GO EB VE7 DI–3 GO EN

The motor will perform an incremental 1 unit move at speed 30 three times and then a 3 unit move at speed 7 in the other direction.

MN1853

Keypad Programming 6-15

Page 74
Image 74
Baldor MIN1853 manual Value Units N/A Range N/A, Example