UA_ReadList
This Function Block is used to read values of multiple nodes using a list of node handles.
|
|
|
|
UA_ReadList |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
BOOL |
– |
|
Execute |
Done |
|
– |
BOOL |
|
DWORD |
– |
|
ConnectionHdl |
Busy |
|
– |
BOOL |
|
UINT |
– |
|
NodeHdlCount |
Error |
|
– |
BOOL |
|
ARRAY of DWORD |
– |
|
NodeHdls |
ErrorID |
|
– |
L_IOCP_ErrorId |
|
ARRAY of UANodeAdditionalInfo |
– |
|
NodeAddInfos |
NodeErrorIDs |
|
– |
ARRAY of L_IOCP_ErrorId |
|
ARRAY of L_IOCP_Variable |
– |
|
Variables |
TimeStamps |
|
– |
ARRAY of LWORD |
|
TIME |
– |
|
Timeout |
|
|
|
|
|
|
|
|
|
|
|
|
|
Inputs/outputs
|
Name Data type |
Information/possible settings |
|---|---|
|
Variables ARRAY of L_IOCP_Variable |
Array of structure to address an IEC variable by the OPC UA Client. A UA Server node attribute (determined by the node handle and UANodeAdditionalInfo) will be written to the IEC variable in case of this function block. See: L_IOCP_Variable |
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
Execute BOOL |
FALSEäTRUE |
On rising edge FB performs its task. |
|
ConnectionHdl DWORD |
Connection handle. |
|
|
NodeHdlCount UINT |
Number of Nodes in NodeHdls Array. |
|
|
NodeHdls ARRAY of DWORD |
Array of Node handles. Length of Array is MAX_ELEMENTS_NODELIST. |
|
|
NodeAddInfos ARRAY of UANodeAdditionalInfo |
Specifies additional information for the node access, e. g. which node attribute or what index range for arrays to be accessed. |
|
|
Timeout TIME |
Maximum time to response. |
|
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
Done BOOL |
TRUE |
Signals has completed its task. |
|
Busy BOOL |
TRUE |
The FB is not finished and new output values are to be expected. |
|
Error BOOL |
TRUE |
An error has occurred in the service request or in a specific node access. For details see ErrorID and / or NodeErrorIDs. |
|
ErrorID L_IOCP_ErrorId L_IE1P_Error |
If Error = TRUE: Error code for a failed service request. "FAST technology modules" reference manual: Here you can find information on error or warning messages. |
|
|
NodeErrorIDs ARRAY of L_IOCP_ErrorId |
If Error = TRUE and ErrorID = LUA_EADNODERESULTERROR: Error code for each valid element of the NodeIDs array. Length of array is MAX_ELEMENTS_NODELIST. Array length of NodeIDs and NodeHdls must be same. |
|
|
Timestamps ARRAY of LWORD |
Contains a TimeStamp for each valid element of the Variables array, if provided by the Server. Length of array is MAX_ELEMENTS_NODELIST. |
|