MC_AxParamDelayedSave_BkPlcMc
The function block triggers a time-delayed writing of the parameter file after a parameter has been changed.
Inputs
VAR_INPUT
Delay: LREAL:=0.0;
END_VAR
Name | Type | Description |
---|---|---|
Delay | LREAL | [s] Delay when triggering the parameter backup. |
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. |
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.
- MC_WriteBoolParameter_BkPlcMc
- MC_WriteParameter_BkPlcMc
- MC_AxUtiAutoIdent_BkPlcMc
- MC_LinTableImportFromAsciFile_BkPlcMc
- MC_LinTableImportFromBinFile_BkPlcMc