MC_CamTableSelect

This function block generates an electronic cam reference (CamTableID) in accordance with the PLCopen standard and is an option for handling electronic cams. It is not absolutely necessary to use this function block. A cam description in the form of an object of type CAMDescription can also be transferred directly to MC_CamIn. The handling of an electronic cam can be found in the description of the MC_Camin function block.

VAR_IN_OUT

Variable name

Data type

Description

CamTable

MC_CAM_REF

Reference to a CamTable

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

Start execution of the function block.

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

Function block successfully completed

Error

BOOL

An error has occurred in the function block

ErrorID

WORD

Error number

CamTableID

MC_CAM_ID

Interface to the electronic cam (CamDescription instance) that is to be used in the MC_Camin function block.