MC_CamTableSelect (FB)ΒΆ
FUNCTION_BLOCK MC_CamTableSelect
This function block is designed for selecting the cam tables by setting connections to relevant tables.
Note
- InOut:
Scope
Name
Type
Initial
Comment
Inout
MasterReference to the master axis
SlaveReference to the slave axis
CamTableReference to the cam description
Input
ExecuteBOOLFALSE
Rising edge: Starts the execution of the function block.
PeriodicBOOLTRUE
TRUE: PeriodicFALSE: Non periodicMasterAbsoluteBOOLTRUE
TRUE: Absolute coordinates, i.e. the zero position of the cam table domainwill correspond to the zero position of the master axis.
FALSE: Relative coordinates, i.e. the zero position of the cam table domainwill correspond to the current position of the master axis on a rising edge of the
Executeinput. Note that for non-periodic cam tables, 0 must be inside the domain ifMasterAbsolute= FALSE, otherwiseSMC_CI_MASTER_OUT_OF_SCALEwill be reported when MC_CamIn is started with thisCamTableID.
SlaveAbsoluteBOOLTRUE
TRUE: Absolute coordinates, i.e. the zero position of the cam table codomainwill correspond to the zero position of the slave axis.
FALSE: Relative coordinates, i.e. the zero position of the cam table codomainwill correspond to the current position of the slave axis on a rising edge of the
Executeinput.
Note that if either
SlaveAbsolute= FALSE or the MC_CamInStartModeisrelative, relative coordinates are used. In all other cases, absolute coordinates are used.Output
DoneBOOLFALSE
TRUE: Preselection has been done.BusyBOOLFALSE
TRUE: Execution of function block has not been finished.ErrorBOOLFALSE
TRUE: Error has occurred within the function block.ErrorIDSMC_ERROR0
Error identification
CamTableIDIdentifier of the cam table be used for the function block.