MC_CamTableSelect

The MC_CamTableSelect FB is used to determine the CAM table ID by its filename. This can then be used as the input for the MC_CamIn function block.

Blockdiagramm

Parameters of the FB

VAR_IN_OUT

Variable name

Data type

Description

Master

AXIS_REF

Axis reference of the master axis.

Slave

AXIS_REF

Axis reference of the slave axis

CamTable

MC_CAM_REF

This structure contains the filename of the CAM table.

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

The CAM table identifier is supplied on the rising edge.

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

The CAM table identifier was supplied.

Error

BOOL

Is TRUE when an error occurs in the FB.

ErrorID

WORD

Error code.

CamTableID

MC_CAM_ID

CAM table identifier

Behaviour of the FB