OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
Communication
186 Function Manual, 12/2017, A5E03735815-AF
Parameters for "OPC_UA_ServerMethodPre"
Table 9- 2 The parameters of the instruction "OPC_UA_ServerMethodPre"
Done Output BOOL Status of execution:
•
0: Execution of the instruction aborted, not yet
complete or not yet started
•
: Execution of instruction completed without
errors
Busy Output BOOL Execution status parameter:
•
: Instruction not being executed
•
: Instruction currently being executed
Error Output BOOL Error display
•
: No error
•
: An error has occurred. See "Status" pa-
rameter.
Status Output DWORD Cause of the error, see "Error codes for the sta-
tus" below.
UAMethodCalled Output BOOL The method provided has been called by an OPC
UAMeth-
InOut VARIANT Pointer to a tag that contains the input parame-
ters for the method provided.
Error codes for the status
The "Status" parameter provides information about errors that occurred during execution of
the instruction.
The following table describes the different categories of error codes.
Table 9- 3 Error codes for the status
Error code
(hexadecimal values)
Instruction finished successfully.
For more error codes, see Error codes (Page 194)