Siemens SIMATIC S7 System Manual page 135

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Parameter
IN
RET_VAL
Parameter
RET_VAL
OUT
Parameter
RET_VAL
OUT
● The local time is calculated by using the time zone and daylight saving time offsets that
● Time zone configuration is an offset to Coordinated Universal Time (UTC) system time.
● Daylight saving time configuration specifies the month, week, day, and hour when
● Standard time configuration also specifies the month, week, day, and hour when standard
● The time zone offset is always applied to the system time value. The daylight saving time
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#....)
0000
8080
8081
8082
S7-1200 Programmable controller
System Manual, 11/2009, A5E02486680-02
Parameter
type
IN
OUT
RD_SYS_T (Read System Time) reads the current system time from the
PLC. This time value does not include local time zone or daylight saving time
offsets.
Parameter
type
OUT
OUT
RD_LOC_T (Read Local Time) provides the current local time of the PLC as
a DTL data type.
Parameter
type
OUT
OUT
you set in the CPU Clock device configuration.
daylight saving time begins.
time begins.
offset is only applied when daylight saving time is in effect.
Description
No error
Local time not available
Illegal year value
Illegal month value
Data type
Description
DTL
Time of day to set in the PLC system clock
Int
Execution condition code
Data type
Description
Int
Execution condition code
DTL
Current PLC system time
Data type
Description
Int
Execution condition code
DTL
Local time
Programming instructions
6.2 Extended instructions
135

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents