Chapter 6 Motion Function Blocks
6.8.2 Specify block operation (NC_BlockControl)
NC_BlockControl
NcChannelNcChannel
Enable Enabled
UINTUINT
BOOL BOOL
Busy BOOL
Error BOOL
ErrorID WORD
BOOL SingleBlock
BOOL OptionalStop
Set the NC channel to make the command.
BOOL Enable While the input is enabled, the corresponding channel becomes the status of
Single Block or Optional Stop.
Set the Single Block operation signal.
Set the Optional Stop operation signal.
Indicate the state of Block Control 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 determines the method to execute the program under the NC control.
(2) If SingleBlock is set to '1', NC_CycleStart executes one block at a time and stops after execution. If SingleBlock becomes '1'
during the automatic operation and NC_BlockControl function block is executed, it will be stopped after terminating the
currently executing block.
(3) If OptionalStop is set to '1', and M01 is commanded during the program, it will wait until NC_CycleStart function block is
executed again.
(4) When both SingleBlock and OptionalStop are set to '1', SingleBlock setting is applied.