Understanding Programs If the program "init.system" is in RAM (loaded using the ACE Program Manager) and it is a Monitor command program, the command: COMMANDS init.system ↵ will start the program. If "init.system" is an executable eV+ program, the preceding instruction will result in the error: *Can't mix MC & program instructions* To Start an Executable V+ Program Once an executable eV+ program (and possibly its related programs and variables) has been LOADed into RAM, the EXECUTE command initiates execution of the program. The following figure shows the effect of the command: EXECUTE prog_main ↵ The program "prog_main" was loaded as part of the disk file "my_file".
When is pressed, the program begins executing. In the course of execution, "prog_main" makes use of "prog_sub" and the variables that were loaded with the disk file "my_file". EXECUTing eV+ Programs NOTE: If the executable program will control a motion device, the device must be powered up and calibrated before the program is executed. See To Power Up the Motion Device on page 24. eV+Operating System User's Guide, v2.x, 18320-000 Rev A Page 49