MC_LinTableExportToBinFile_BkPlcMc

MC_LinTableExportToBinFile_BkPlcMc 1:

The function block exports a linearization table to a file in binary format.

MC_LinTableExportToBinFile_BkPlcMc 2: Inputs

VAR_INPUT
    Execute:     BOOL:=FALSE;
    FileName:    STRING(255):=’’;
END_VAR

Name

Type

Description

Execute

BOOL

A rising edge initiates the export.

FileName

STRING

 

MC_LinTableExportToBinFile_BkPlcMc 3: Inputs/outputs

VAR_INOUT
    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.

MC_LinTableExportToBinFile_BkPlcMc 4: 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.