Function Description
The function block UA_WriteList is used to write values of multiple nodes using a list of node handles.
Representation in FBD
Parameter Description
Name |
Type |
Comment |
---|---|---|
EXECUTE |
BOOL |
FB performs its task on rising edge on this input. |
CONNECTIONHDL |
DWORD |
Connection handle |
NODEHDLCOUNT |
UINT |
Number of valid elements in the array to write |
NODEHDLS |
ANY_ARRAY_DWORD |
Array of Node Handles |
NODEADDINFOS |
AUANodeAdditionalInfo |
Array of UANodeAdditionalInfo |
TIMEOUT |
TIME |
Time to response |
Name |
Type |
Comment |
---|---|---|
DONE |
BOOL |
FB has successfully completed its task |
BUSY |
BOOL |
The FB is not finished and new output values are to be expected. |
ERROR |
BOOL |
Signals that an error has occurred within the FB. Set to true is either ErrorID or any of the NodeErrorIDs indicates an error. |
ERRORID |
DWORD |
|
NODEERRORIDS |
ANY_ARRAY_DWORD |
Array of DWORD. Contains an error code for each valid element of the Variables array. |
Name |
Type |
Comment |
---|---|---|
VARIABLES |
Array of variables values |
Runtime Error
Refer to the Appendix for a list of OPC UA detected error codes.