EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 341

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extended instructions
9.1 Date, time-of-day, and clock functions
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
341
Condition codes:
ENO = 1 means no error occurred. ENO = 0 means an execution error
occurred, and a condition code is provided at the RET_VAL output.
RET_VAL (W#16#....)
Description
0000
The current local time is in standard time.
0001 Daylight saving time has been configured, and the current local time is in daylight saving time.
8080
Local time not available or LOCTIME value is invalid.
8081 Illegal year value or time value assigned by the LOCTIME parameter is invalid
8082
Illegal month value (byte 2 in DTL format)
8083
Illegal day value (byte 3 in DTL format)
8084
Illegal hour value (byte 5 in DTL format)
8085
Illegal minute value (byte 6 in DTL format)
8086
Illegal second value (byte 7 in DTL format)
8087
Illegal nanosecond value (bytes 8 to 11 in DTL format)
8089
Time value does not exist (hour already passed upon changeover to daylight saving time)
80B0
The real-time clock has failed
80B1
The "TimeTransformationRule" structure has not been defined.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals