MCV_RmvPlug

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

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

Block diagram

MCV_RmvPlug 1:

Parameters of the FB

VAR_INPUT

 

check_plug

BOOL

Starts the check to discover which of up to 16 axis interfaces are blocked by a task not acknowledged by the PLC.

 

clear_all_plugs

BOOL

Acknowledges all tasks which are blocking an axis interface.

 

clear_ax_01

BOOL

The blocking of each axis interface by an unacknowledged task can be removed separately.

 

…

 

 

clear_ax_16

BOOL

VAR_OUTPUT

 

any_blocked

BOOL

Is TRUE if after the start of the check of the axis interfaces a blocking due to an unacknowledged task is detected at one or more axis interfaces.

 

highest_id_blocked

BOOL

Indicates the index number of the axis with the highest number that is blocked due to an unacknowledged task.

 

blocked_ax_01

BOOL

The blocking of each axis interface by an unacknowledged task can be indicated separately. The value is TRUE at each blocked axis interface.

 

…

 

 

blocked_ax_16

BOOL

Behavior of the FB