Siemens SIMATIC S7-1500 Function Manual page 174

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

Advertisement

Name of the data type
Name of the data type
in the TIA Portal
in Web API
time
Time
ltime
LTime
s5time
S5Time
date_and_time
Date_And_Time
Web server
Function Manual, 11/2019, A5E03484625-AG
3.20 API (Application Programming Interface)
Representation in the Web API
JSON signed integer in a range from -2 147 483 648 to 2 147 483 647)
This value represents the number of milliseconds since a user-defined
point in time.
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
This value represents the number of nanoseconds since a user-defined
point in time.
JSON object with the keys basic and value:
The basic value is a JSON unsigned integer with a value of either 10,
100, 1000 or 10 000.
The basic value represents the millisecond multiplier of the value va-
lue.
The value value is a JSON unsigned integer in the range from 0 to
999.
The basic value multiplied by the value value gives the timer interval
in milliseconds.
JSON object with the keys year, month, date, hour, minute, second and
day_of_week:
year is a JSON unsigned integer with a value in the range from 1990
to 2089
month is a JSON unsigned integer with a value in the range 1 to 12
day is a JSON unsigned integer with a value in the range from 1 to 31
hour is a JSON unsigned integer with a value in the range from 0 to
23
minute is a JSON unsigned integer with a value in the range from 0 to
59
second is a JSON floating point number with a value in the range 0 to
60
day_of_week is a JSON string with a value of either sun, mon, tue,
wed, thu, fri or sat
Web pages
173

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200proSimatic et 200sp

Table of Contents