MCV_GrpPrgBlockIgnore

This FB can hide NC blocks which are then not executed when it is preceded by a ”/“ in the NC program (see [PROG//Hiding blocks]).

Block diagram

FB parameters

VAR_IN_OUT

Variable name

Data type

Description

AxesGroup

AXES_GROUP_REF

Axis group reference

VAR_INPUT

Variable name

Data type

Description

Enable

BOOL

A command can be sent via the “Cmd” input as long as the input is TRUE.

Cmd

BOOL

Specially marked NC blocks are skipped and not executed as long as TRUE is applied to the input.

VAR_OUTPUT

Variable name

Data type

Description

Req

BOOL

Indicates that another user commanded the hiding of NC blocks, e.g. a GUI.

This command only becomes active when it is applied to the “Enable” input of the FB.

State

BOOL

TRUE indicates that the function for hiding NC blocks is activated.

Error

BOOL

Indicates TRUE when an error occurs.

ErrorID

UDINT

Error identifier