MC_LinTableExportToBinFile_BkPlcMc
The function block exports a linearization table to a file in binary format.
Inputs
VAR_INPUT
Execute: BOOL:=FALSE;
FileName: STRING(255):='';
END_VAR
Name | Type | Description |
---|---|---|
Execute | BOOL | A rising edge initiates the export. |
FileName | STRING |
|
Inputs/outputs
VAR_IN_OUT
Axis: AXIS_REF_BkPlcMc;
END_VAR
Name | Type | Description |
---|---|---|
Axis | AXIS_REF_BkPlcMc | Here, the address of a variable of type AXIS_REF_BkPlcMc should be transferred. |
Outputs
VAR_OUTPUT
Busy: BOOL;
Done: BOOL;
Error: BOOL;
ErrorID: UDINT;
END_VAR
Name | Type | Description |
---|---|---|
Busy | BOOL | Indicates that a command is being processed. |
Done | BOOL | This indicates successful identification. |
Error | BOOL | The occurrence of an error is indicated here. |
ErrorID | UDINT | An encoded indication of the cause of the error is provided here. |
Behavior of the function block
The function block generates a file in the format expected by MC_LinTableImportFromBinFile_BkPlcMc.