COMMANDS monitor command COMMANDS monitor command Syntax COMMANDS program Function Initiate processing of a Monitor command program. Usage Considerations The COMMANDS command can be issued when program task #0 is executing, but the system keyboard will not respond to input until either the program completes or CTRL+C is pressed to abort the COMMANDS command. Every command line in a command program must begin with "MC". The Controller Interface Panel keyswitch must be set to AUTOMATIC mode for this command to be processed. Parameter program Name of the command program to be processed.
Details COMMANDS initiates processing of the specified Monitor command program, which must already be in memory. Processing of the program will continue until one of the following occurs: l The end of the command program is reached. l A CTRL+C sequence is pressed on the system keyboard. l A COMMANDS command is encountered in the program. l An error occurs. If a COMMANDS command is included in a command program, the new command program will be invoked and any remaining lines in the first command program will be ignored. Thus, command programs can be linked from one to another, but no return path can be made to occur as with executable programs.
Of course, any executable program invoked by a command program (that is, with an EXECUTE command) can utilize all of the control instructions available in the eV+ language. In addition to this command, the manual control pendant can be used to initiate processing of command programs. See the Manual Control Pendant User's Guide . eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 50