Boundary Conditions For Using Server Methods - Siemens SIMATIC S7-1500 Function Manual

Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

9.3.5.2

Boundary conditions for using server methods

Permitted data types
If you provide server methods, observe the following rule:
● Assign the data types as shown below (SIMATIC data type - OPC UA data type). Other
assignments are not permitted.
STEP 7 does not check the observance of this rule and does not prevent an incorrect
assignment. You are responsible for the rule-compliant selection and assignment of the data
types.
You can also use the listed data types, for example, as elements of structures/arrays/UDTs
for input and output parameters of self-created server methods (UAMethod_InParameters
and UAMethod_OutParameters).
SIMATIC data type
BOOL
SINT
INT
DINT
LINT
USINT
UINT
UDINT
ULINT
REAL
LREAL
LDT
WSTRING
DINT
User-defined data type required (UDT, user-defined
data type)
The user-defined data type must be created with the
prefix "Union_", for example "Union_MyDatatype".
The first element (Selector) in this UDT must have the
data type "UDINT".
Communication
Function Manual, 11/2019, A5E03735815-AH
OPC UA communication
9.3 Using the S7-1500 as an OPC UA server
OPC UA data type
Boolean
SByte
Int16
Int32
Int64
Byte
UInt16
UInt32
UInt64
Float
Double
DateTime
String
Enumeration (Encoding Int32) and all de-
rived data types
UNION and all derived data types
231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents