Get_Date, 0X05 - WAGO 750-640 Manual

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

Advertisement

42 •
Attachment
Functions
3.1.4.10

GET_DATE, 0x05

The current date is read using the GET_DATE function.
The input data contains the seconds that have elapsed from 01.01.1970 00:00
to 00:00 of the current day in local time.
Byte
ID
D0
D1
D2
D3
0xXX
Byte
ID
D0
D1
D2
D3
Example:
27.03.2003 16:06:23
Input data: D0 = 0x00, D1 = 0x3F, D2 = 0x82, D3 = 0x3E
Function Request
7
6
5
2
2
2
C
0
0
0
any return value
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
2
2
2
2
0
0
0
0
0x05
0xXX
0xXX
0xXX
0xXX
4
3
2
2
2
2
2
0
0
0
0
0x05
...
...
27.03.2003 00:00:00 ≙ 1048723200 ≙ 0x3E823F00
1
0
2
TR
1
0
2
TA
WAGO-I/O-SYSTEM 750
I/O-Modules

Advertisement

Table of Contents
loading

Table of Contents