Enabling/disabling via PLC

The control unit program_block_ignore in the PLC can be commanded to enable or disable the skip block function.

In CNC Build < V3.01.3021.1 this is a control unit of type MC_CONTROL_BOOL_UNIT. It can only control standard skipping. Enabling uses the following data item:

for CNC Builds > V2.11.2800

pMC[channel_idx]^.addr^.MCControlDecoder_Data.MCControlBoolUnit_ProgramBlockIgnore

for CNC Builds > V2.11.2800

gpCh[nChanIdx]^.decoder_mc_control.program_block_ignore.command_w

Release Note

release_note

The expanded function for several skip levels is available as of Build V3.01.3021.1. The program_block_ignore control block is of type MC_CONTROL_UNS32_UNIT.

Enabling uses the following data item:

gpCh[nChanIdx]^.decoder_mc_control.program_block_ignore.command_w

The data item is a bit mask in which the 10 lower bits are used to enable or disable skip levels.