MC_SEW_ReadParameter
This function block reads a single parameter from 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 |
Source | 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 |
Value | UDINT | Parameter value |
