Get_Utc, 0X04 - WAGO 750-640 Manual

Fieldbus independent i/o modules, rtc module
Table of Contents

Advertisement

40 •
Attachment
Functions
3.1.4.8

GET_UTC, 0x04

Both the current date and time are read using the GET_UTC function.
The input data contains the seconds that have elapsed since 01.01.1970 00:00
in UTC (Coordinated Universal Time, similar to Greenwich Mean Time).
Byte
ID
D0
D1
D2
D3
Byte
ID
D0
D1
D2
D3
Example:
Summer time in Germany (MESZ)
27.03.2003 16:06:23 ≙ 1048781183 – 2*3600 = 1048773983 ≙ 0x3E83055F
Input data: D0 = 0x5F, D1 = 0x05, D2 = 0x83, D3 = 0x3E
Function Request
7
6
5
2
2
2
C
0
0
0
Function Response
7
6
5
2
2
2
S
0
0
0
Date and time (low byte)
Date and time (high byte)
4
3
2
1
2
2
2
2
0
0
0
0
0x04
0xXX
0xXX
0xXX
0xXX
4
3
2
1
2
2
2
2
0
0
0
0
0x04
...
...
0
2
TR
0
2
TA
WAGO-I/O-SYSTEM 750
I/O-Modules

Advertisement

Table of Contents
loading

Table of Contents