MC_CamOut_BkPlcMc (from V3.0)

MC_CamOut_BkPlcMc (from V3.0) 1:

The function block releases a cam plate coupling between two axes, which was started through an MC_CamIn_BkPlcMc function block.

MC_CamOut_BkPlcMc (from V3.0) 2: Inputs

VAR_INPUT
    Execute:        BOOL;
ND_VAR

Name

Type

Description

Execute

BOOL

A rising edge at this input starts the coupling.

MC_CamOut_BkPlcMc (from V3.0) 3: Inputs/outputs

VAR_INOUT
    Slave:          Axis_Ref_BkPlcMc;
END_VAR

Name

Type

Description

Slave

Axis_Ref_BkPlcMc

Here, the address of a variable of type Axis_Ref_BkPlcMc should be transferred.

MC_CamOut_BkPlcMc (from V3.0) 4: Outputs

VAR_OUTPUT
    Busy:           BOOL;
    Done:           BOOL;
    Error:          BOOL;
    ErrorID:        UDINT;
END_VAR

Name

Type

Description

Busy

BOOL

Indicates that a command is being processed.

Done

BOOL

This indicates successful processing of the command.

Error

BOOL

The occurrence of an error is indicated here.

ErrorID

UDINT

An encoded indication of the cause of the error is provided here.

Behavior of the function block

On a rising edge at Execute the function block checks the transferred axis interface. A number of problems can be detected and reported during this process:

If these checks could be performed without problem and Done is not already indicated for one of the reasons mentioned, the motion controlled by the cam plate coupling is converted to a continuous motion with the same velocity and direction, which is independent of the master. Done is indicated if this conversion was executed successfully, otherwise the system responds with Error and ErrorID:=error code.

MC_CamOut_BkPlcMc (from V3.0) 5:

This function block requires no time for executing its tasks. The output Busy will never assume the value TRUE and only exists for compatibility reasons.