MC_CamTableSelect (FB)

 

FUNCTION_BLOCK MC_CamTableSelect

This function block is designed for selecting the cam tables by setting connections to relevant tables.

Note

A virtual axis can be used as master axis. When the Done output is TRUE, the CamTableID is valid and may be used within MC_CamIn.

InOut:

Scope

Name

Type

Initial

Comment

Inout

Master

AXIS_REF_SM3

Reference to the master axis

Slave

AXIS_REF_SM3

Reference to the slave axis

CamTable

MC_CAM_REF

Reference to the cam description

Input

Execute

BOOL

FALSE

Rising edge: Starts the execution of the function block.

Periodic

BOOL

TRUE

TRUE: Periodic FALSE: Non periodic

MasterAbsolute

BOOL

TRUE

TRUE: Absolute FALSE: Relative coordinates

SlaveAbsolute

BOOL

TRUE

TRUE: Absolute FALSE: Relative coordinates

Output

Done

BOOL

FALSE

TRUE: Preselection has been done.

Busy

BOOL

FALSE

TRUE: Execution of function block has not been finished.

Error

BOOL

FALSE

TRUE: Error has occurred within the function block.

ErrorID

SMC_ERROR

0

Error identification

CamTableID

MC_CAM_ID

Identifier of the cam table be used for the function block.