MC_ SEW_ReadWriteInitialParameter

This function block writes or reads individual parameters to or from the device when the logical device starts up. Use this function block to read or write parameters once when starting up the MOVI-C® CONTROLLER. The function block must be called in the 1st cycle with Execute TRUE.

For an application example, refer to chapter Reading parameters from the device.

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Reference to a logical device
(name of the logical device)

See also AXIS_REF.

Parameter

ARRAY[*] OF ST_ParamV2

Array with index, subindex, data, type of parameter service and routing information

VAR_INPUT

Variable name

Data type

Description

Execute

BOOL

Start execution of the function block

VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

Function block successfully completed

Busy

BOOL

Function block is active

Error

BOOL

An error has occurred in the function block

ErrorID

WORD

Error number