Automatic operation and temporary
storage of external program
In case that the parameters are set as follows.
No.12011 = 7,000
No.12012 = 7,999
M298 P7000 ; Request to register O7000 from I/O device into
the temporary storage
G01 X_; These blocks are executed while O7000 is
X_; been registered by M298
M297 ; Wait until registration of O7000 is completed
M98 P7000 ; Execution of registered O7000
If the program O7000 is already registered into the temporary storage memory,
M298 command is ignored. If the registration of the program O7000 is always
necessary, it is necessary to do the M296 command before M298 command.
If the O7000 is called before the program registration is completed, a P/S 78
alarm is caused.