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
CAM
Input
bExecute
BOOL
FALSE
Rising edge: Starts the execution of the function block.
sFileName
STRING(255)
Name of the file, which contains the cam description in the defined ASCII format.
Output
bDone
BOOL
FALSE
TRUE
: Cam has been written.bBusy
BOOL
FALSE
TRUE
Execution of function block has not been finished.bError
BOOL
FALSE
TRUE
: Error has occurred within the function block.ErrorID
SMC_ERROR
0
Error identification
Structure: