Siemens SIMATIC S7-1500 Function Manual page 173

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

Advertisement

Web pages
3.20 API (Application Programming Interface)
Name of the data type
Name of the data type
in the TIA Portal
in Web API
lword
LWord
ulint
ULInt
sint
SInt
int
Int
ob_any
OB_ANY
ob_delay
OB_DELAY
ob_tod
OB_TOD
ob_cyclic
OB_CYCLIC
ob_att
OB_ATT
ob_pcycle
OB_PCYCLE
ob_hwint
OB_HWINT
ob_diag
OB_DIAG
ob_timeerror
OB_TIMEERROR
ob_startup
OB_STARTUP
dint
DInt
lint
LInt
real
Real
lreal
LReal
char
Character
wchar
WChar
string
String
wstring
WString
date
Date
time_of_day
Time_Of_Day
ltime_of_day
LTime_Of_Day
172
Representation in the Web API
JSON string with a numerical representation of an unsigned integer ba-
sed on the number 10 in a range from 0 to 18 446 744 073 709 551 615
JSON signed integer in a range from -128 to 127
JSON signed integer in a range from -32 768 to 32 767
JSON signed integer in a range from -2 147 483 648 to 2 147 483 647.
JSON string with a numerical representation of an unsigned integer ba-
sed on the number 10 in a range from -9 223 372 036 854 775, 808 to
9 223 372 036 854 775 807
JSON floating-point number
If the floating-point number is infinite or NaN (not-a-number), the Web API
returns the value null when reading a tag of this type.
JSON string with a single ASCII character in a valid range from 0 to 127
If a tag of this type is read with a value outside the valid range, the Web
API outputs the value null.
JSON string with a UTF-8 string that represents a single UCS-2 character
in a valid range from 0 to 55 295.
If a tag of this type is read with a value outside the valid range, the
Web API returns the value null.
JSON string with a UTF-8 string
If a tag of this type is read with a value outside the valid UTF-8 string
(max. length 254 characters), the Web API returns the value null.
JSON string with a UTF-8 string that represents a USC-2 string in a valid
range from 0 to 55 295.
If a tag of this type is read with a value outside the valid range (max.
length 254 characters), the Web API outputs the value null.
JSON unsigned integer in a range from 0 to 65 535
This value represents the number of days since 01.01.1990.
JSON unsigned integer in a range from 0 to 4 294 967 295
This value represents the number of milliseconds since the beginning of
the day.
JSON string with a numerical representation of an unsigned integer ba-
sed on the number 10 in a range from 0 to 18 446 744 073 709 551 615
This value represents the number of nanoseconds since the beginning of
the day.
Function Manual, 11/2019, A5E03484625-AG
Web server

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200proSimatic et 200sp

Table of Contents