Chapter 6 Motion Function Blocks
6.8 NC Control Function Block
6.8.1 Specify NC program (NC_LoadProgram)
NC_LoadProgram
NcChannelNcChannel
Execute Done
UINTUINT
BOOL BOOL
Busy BOOL
Error BOOL
ErrorID WORD
STRING ProgramName
UINT LoadMode
Set the NC channel to make the command.
Set the program to be executed in the rising Edge.
Set the name of the program to be executed.
Unused (Only‘0’is settable.)
Indicate the state of motion function block completion.
Indicate that the execution of motion function block is not completed.
Indicate whether an error occurs or not.
Output the number of error occurred while motion function block is running.
(1) This motion function block is the function block to specify the NC program to be executed when NC control is performed.
(2) When the program to be operated by the channel set in NC channel is set to ProgramName and the function block is
executed, the program is designated as the one to be executed.