omron — Parameters

PRIME monitor command PRIME monitor command Syntax PRIME task program(param_list), cycles, step Function Prepare a program for execution, but do not actually start execution. Usage Considerations PRIME resets the execution stack for the selected program execution task and cancels the context of any program that is paused for that task. A PRIME command cannot be processed while the selected program task is already active. This command can be used only when the external Front Panel keyswitch is set to AUTOMATIC mode. Parameters task Optional integer number that specifies which system program task is to be activated. program Optional name of the program to be executed.

If the name is omitted, the last program name specified in an EXECUTE command or instruction (or PRIME command for the selected task) is used. param_list Optional list of constants, variables, or expressions separated by commas, which must correspond in type and number to the arguments in the .PROGRAM statement for the program specified. If no arguments are required by the program, the list is blank, and the parentheses may be omitted. Program parameters may be omitted as desired, using commas to skip omitted parameters. No commas are required if parameters are omitted at the end of the list.

Omitted parameters are passed to the called program as "undefined" and can be detected with the DEFINED real-valued function. cycles Optional real value, variable, or expression (interpreted as an integer) that specifies the number of program execution cycles to be performed. If omitted, the cycle count is assumed to be 1. For unlimited cycles, specify any negative value. The maximum loop count value allowed is 32767. eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 142