MC_SEW_ReadDriveProcessData
This function block reads a specific process data word from the EtherCAT® PI data as long as Enable is set to TRUE. To configure user-specific drive process data in the drive, use the MC_SEW_ReadWriteInitialParameterArray function block.

VAR_IN_OUT
Variable name | Data type | Description |
|---|---|---|
Axis | AXIS_REF | Reference to a logical device |
VAR_INPUT
Variable name | Data type | Description |
|---|---|---|
Enable | BOOL | Activate function block. |
PdNumber | UINT | Number of the process data word (1..16) |
VAR_OUTPUT
Variable name | Data type | Description |
|---|---|---|
Valid | BOOL | Outputs are valid |
Error | BOOL | An error has occurred in the function block |
ErrorID | WORD | Error number |
Value | WORD | Value of the process data word |
