L_MC2P_CamGetSlavePosition

This FB can read out the associated slave position from the transmitted cam data by specifying the master position.

 

 

 

L_MC2P_CamGetSlavePosition

 

 

 

BOOL

-

xExecute

xDone

-

BOOL

LREAL

-

lrMasterPosition

xBusy

-

BOOL

MC_CAM_REF

-

itfCamTable

xError

-

BOOL

eErrorID

-

L_IE1P_Error

lrSlavePosition

-

LREAL

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

xExecute

BOOL

FALSE รค TRUE

Start calculation (output slave position).

FALSE

lrSlavePosition = 0.0

lrMasterPosition

LREAL

Specifying a suitable master position from the transmitted cam data structure to which the associated slave position is to be output.

itfCamTable

MC_CAM_REF

Transfer of the cam data structure

Outputs

Name

Data type

Value/meaning

xDone

BOOL

TRUE

Calculation is completed.

xBusy

BOOL

TRUE

Processing is running.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

L_IE1P_Error

If xError = TRUE: Error number for the error that has occurred.

lrSlavePosition

LREAL

Slave position associated with the master position from the transmitted cam data structure