Programming manual.
CNC 8070
15.
EXECUTING BLOCKS AND PROGRAMS
Executing a program in the indicated channel.
·292·
(REF: 1709)
Channel where the block is to be executed.
Programming the channel is optional. If the channel is not indicated or it coincides with the
channel where the #EXEC instruction is executed, the second program will be executed as
a subroutine. In this case, functions M02 and M30 will carry out all the associated actions
(initialization, sending to the PLC, etc.) except the one for finishing the program. After
executing function M02 or M30, it goes on executing the blocks programmed after the #EXEC
instruction.
Considerations.
A program containing the #EXEC instruction may be executed, simulated, syntax checked
or searched for a particular block. In all the cases, programs called upon using the #EXEC
instruction are executed in the same conditions as the original program