SMC_WriteCAM (FB)ΒΆ
FUNCTION_BLOCK SMC_WriteCAM
This function block is designed for storing a cam table created within the Cam editor into a file at runtime.
- InOut:
Scope
Name
Type
Initial
Comment
Inout
CAMInput
bExecuteBOOLFALSE
Rising edge: Starts the execution of the function block.
sFileNameSTRING(255)Name of the file, which contains the cam description in the defined ASCII format.
Output
bDoneBOOLFALSE
TRUE: Cam has been written.bBusyBOOLFALSE
TRUEExecution of function block has not been finished.bErrorBOOLFALSE
TRUE: Error has occurred within the function block.ErrorIDSMC_ERROR0
Error identification
Structure: