Opc_Ua_Servermethodpost - Siemens SIMATIC ET 200AL System Manual

Distributed i/o system
Hide thumbs Also See for SIMATIC ET 200AL:
Table of Contents

Advertisement

Assignment of data types (SIMATIC – OPC UA)
For the input and output parameters of methods, please note the explanations regarding the
rules on usable data types in the section "Mapping of data types" (Using OPC UA
companion specifications (Page 203)).
Supply of structured data types with nested arrays
If a structured data type (Struct/UDT) contains an array, the OPC UA server does not
provide information about the length of this array.
If you use such a structure as the input or output parameter of a server method, for example,
you must ensure that the nested array is supplied with the correct length when the method is
called.
If you do not adhere to this rule, the method fails with the error code "BadInvalidArgument".
9.3.4.2

OPC_UA_ServerMethodPost

Introduction
This section describes the instruction "OPC_UA_ServerMethodPost".
Because the instructions "OPC_UA_ServerMethodPre" and "OPC_UA_ServerMethodPost"
always have to be called up in pairs in the user program, please also take into account the
section on the instruction "OPC_UA_ServerMethodPre".
Function of the instruction
You use the "OPC_UA_ServerMethodPost" instruction to inform the operating system that
the server method was executed and that the values of the output parameter are valid.
Communication
Function Manual, 12/2017, A5E03735815-AF
OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
187

Advertisement

Table of Contents
loading

Table of Contents