FB_SoESetDataAccessMode
The SoE parameter access mode is set with the function block FB_SoESetDataAccessMode. Attributes & Value are accessed in parallel by default. If this access mode is not supported by the device manufacturer, sequential access can be enforced. Generally, however, parallel access is faster.
Inputs
VAR_INPUT
Execute : BOOL;
Mode : E_SoEDataAccessMode := E_SoEDataAccessMode.eSoEDataAccessMode_Parallel;
END_VAR
Name | Type | Description |
---|---|---|
Execute | BOOL | The function block is enabled via a positive edge at this input. |
Mode | E_SoEDataAccessMode | Defines the access mode. |
Outputs
VAR_OUTPUT
Busy : BOOL;
Error : BOOL;
ErrId : UINT;
END_VAR
Name | Type | Description |
---|---|---|
Busy | BOOL | This output is set when the function block is activated, and remains set until a feedback is received. |
Error | BOOL | This output is set after the Busy output has been reset when an error occurs in the transmission of the command. |
ErrId | UINT | In the event of a set error output returns the ADS error code. |