MC_CamOut

 

MC_CamOut - General Information

Overview

Type:

Function Block

Available as of:

1.0.5.0

Versions:

current version

Task

This function block immediately disconnects the slave axis from the master axis.

Description

The function block ends the running cam at its end and stops the axis.

Interface

Input

Data type

Description

Slave

SystemConfigurationItf.IF_Drive

Slave axis

Execute

BOOL

Start for disconnecting the slave from the master

Output

Data type

Description

Done

BOOL

TRUE: The cam is inactive. The master and the slave axis are no longer coupled.

Busy

BOOL

TRUE: Disconnection is still being performed and is not yet executed.

Error

BOOL

Signalizes a detected error within the function block

ErrorId

DWORD

Error identification

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value unequal to GD.ET_Diag.Ok corresponds to a diagnostic message.

q_etDiagExt

ET_DiagExt

POU-specific output on the diagnostic.

q_etDiag = GD.ET_Diag.Ok -> status message

q_etDiag <> GD.ET_Diag.Ok -> diagnostic message

q_sMsg

STRING[80]

Event-triggered message which gives more detailed information on the diagnostic state.

Diagnostic Messages

q_etDiag

q_etDiagExt

Enumeration value

Description

OK

Busy

1

The order is executed.

OK

Done

8

The order is completed.

OK

Ok

0

Ok

ExecutionAborted

PLCopenTransition

49

PLCopen transition is not permitted.

InputParameterInvalid

DriveInvalid

26

The connected drive is invalid.

InputParameterInvalid

DriveNotInitialised

27

The connected drive is not initialized.

InputParameterInvalid

SlaveInvalid

46

Slave is invalid.

UnexpectedProgramBehavior

UnexpectedFeedback

10

An unintended detected error occurred during execution.

Busy

Enumeration name:

Busy

Enumeration value:

1

Description:

The order is executed.

The electronic cam plate is being disabled.

Done

Enumeration name:

Done

Enumeration value:

8

Description:

The order is completed.

The electronic cam plate is disabled.

DriveInvalid

Enumeration name:

DriveInvalid

Enumeration value:

26

Description:

The connected drive is invalid.

Issue

Cause

Solution

-

The drive transferred at the input Slave does not support all required functionalities.

The drive must support the interface SystemConfigurationItf.IF_JobBuffer.

The drive must support the SystemConfigurationItf.IF_ControllerStop interface.

DriveNotInitialised

Enumeration name:

DriveNotInitialised

Enumeration value:

27

Description:

The connected drive is not initialized.

Issue

Cause

Solution

-

The function FC_DriveInit was not activated for the drive at the input Slave.

Before using the POU, the drive must be initialized using the function FC_DriveInit.

Ok

Enumeration name:

Ok

Enumeration value:

0

Description:

Ok

The POU is waiting for jobs.

PLCopenTransition

Enumeration name:

PLCopenTransition

Enumeration value:

49

Description:

PLCopen transition is not permitted.

Issue

Cause

Solution

-

During job submission the axis is not in PLCopen state MC_Standstill or MC_SynchronizedMotion.

It must be made sure that the axis is in a valid PLCopen state when the POU is enabled.

SlaveInvalid

Enumeration name:

SlaveInvalid

Enumeration value:

46

Description:

Slave is invalid.

Issue

Cause

Solution

-

No drive has been applied at the Slave input.

A valid drive must be transferred to the input Slave.

UnexpectedFeedback

Enumeration name:

UnexpectedFeedback

Enumeration value:

10

Description:

An unintended detected error occurred during execution.

Issue

Cause

Solution

-

A detected error occurred in the internal execution.

Please inform the support team about this detected error.