MCV_RmvPlug

The MCV_RmvPlug FB is used to check whether and which of the 16 axis interfaces are blocked by unacknowledged commands of the PLCopen FBs. After checking, this FB can be used to remove detected blockages.

Notice

notice

This FB serves diagnostic purposes and must only be used during the development phase of a project.

Blockdiagramm

Parameters of the FB

VAR_INPUT

Variable name

Data type

Description

check_plug

BOOL

Starts the check to detect which of the maximum 16 axis interfaces is blocked by a command which is not acknowledged by the PLC.

clear_all_plugs

BOOL

Acknowledges all commands which are blocking an axis interface.

clear_ax_01

BOOL

These 16 inputs can be used to cancel the block of the axis interface of each axis separately caused by an unacknowledged command.

BOOL

clear_ax_16

BOOL

VAR_OUTPUT

Variable name

Data type

Description

any_blocked

BOOL

Is TRUE if the block caused by an unacknowledged command was detected at any axis interface after the start of the check executed for the axis interfaces.

highest_id_blocked

BOOL

Indicates the identification number of the axis with the highest number that is blocked by an unacknowledged command.

blocked_ax_01

BOOL

There are 16 outputs, each of which indicates exactly where each axis is blocked by an unacknowledged command. If the value is TRUE, the axis is blocked.

BOOL

blocked_ax_16

BOOL

Behaviour of the FB