MC_SEW_WriteParameter
This function block writes a single parameter to the device.

VAR_IN_OUT
Variable name | Data type | Description |
|---|---|---|
Axis | AXIS_REF | Reference to a logical device See also AXIS_REF. |
VAR_INPUT
Variable name | Data type | Description |
|---|---|---|
Execute | BOOL | Start execution of the function block. |
Index | UINT | Index of the device parameter |
SubIndex | USINT | Subindex of the device parameter |
Value | UDINT | Parameter value |
Destination | Memory source of the parameter | |
SubDeviceType | E_ParamRouting | Subdevice type for parameter routing |
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 |
