MC_CamTableSelect

FB MC_CamTableSelect wird dazu verwendet um über den Dateinamen die CAM-Tabellen-ID zu ermitteln. Diese kann dann als Input für den FB MC_CamIn verwendet werden.

The MC_CamTableSelect FB is used to determine the CamTableID of a cam table that is referenced by the filename of the cam table. The evaluated structure CamTableID can be used to run a MC_CamIn instance or other FBs with such an input.

Block diagram

MC_CamTableSelect 1:

Parameters of the FB

VAR_IN_OUT

 

Master

AXIS_REF

Axis reference to the master axis.

 

Slave

AXIS_REF

Axis reference to the slave axis.

VAR_INPUT

 

Execute

BOOL

Selection at rising edge.

 

CamTable

MC_CAM_REF

Reference to cam table description.

VAR_OUTPUT

 

Done

BOOL

If TRUE, identification structure for cam table is ready to use and valid.

 

Error

BOOL

Indicates if an error has occurred.

 

ErrorID

WORD

Error identification.

 

CamTableID

MC_CAM_ID

Identification structure of referenced cam table

Behavior of the FB