MC_AxParamDelayedSave_BkPlcMc

MC_AxParamDelayedSave_BkPlcMc 1:

The function block triggers a time-delayed writing of the parameter file after a parameter has been changed.

MC_AxParamDelayedSave_BkPlcMc 2: Inputs

VAR_INPUT
    Delay:     LREAL:=0.0;
END_VAR

Name

Type

Description

Delay

LREAL

[s] Delay when triggering the parameter backup.

MC_AxParamDelayedSave_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_AxParamDelayedSave_BkPlcMc 4: Outputs

VAR_OUTPUT
    Error:          BOOL;
    ErrorID:        UDINT;
END_VAR

Name

Type

Description

Error

BOOL

This output indicates any problems that may have occurred.

ErrorID

UDINT

In the event of an error, coded information about the type of problem is reported here.

Behavior of the function block

If one of the function blocks listed below noticeably changes a parameter, a time is reset. This time is increased by the cycle time in every cycle where this is not the case. If it reaches the parameter Delay, the writing of the parameter file is triggered.