Baldor mn1854 Power Screwdriver User Manual


 
6-6 Keypad Programming MN1854
Value: N/A
Units: N/A
Range: N/A
The EB command designates the End of a Block of loop or IF commands. Every LP, LW, LU, and IF
statement must have an EB associated with it.
Examples:
LP2 DI3 GO EB
Performs the move twice
IF1,1 DI5 GO DI10 GO EB
GH3 If input 1 is On, make 2 moves before homing. If input 1 is Off,
jump to the GH command.
EB
End of Block syntax EB
Value: N/A
Units: N/A
Range: N/A
EN marks the end of a program or subroutine. It is optional at the end of a program. If EN marks the end of
a subroutine, command execution continues from the command following the gosub (GS) command that
called the subroutine. If the routine was not called from another program, the EN command simply stops
execution. The control continues to monitor the program select inputs (if defined). The EN command can be
used anywhere in a program to stop command execution.
Example:
IF2,1 EN
EB DI2 GO If input #2 is on, stop the program, or return to the calling program. If not,
move 2 units.
EN
End of Program syntax EN