Get_Dt, 0X03 - WAGO 750-640 Manual

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

Advertisement

38 •
Attachment
Functions
3.1.4.6

GET_DT, 0x03

Both the current date and time are read using the GET_DT function.
The input data contains the seconds that have elapsed since 01.01.1970 00:00
at local time.
Byte
ID
D0
D1
D2
D3
0xXX
Byte
ID
D0
D1
D2
D3
Example:
27.03.2003 16:06:23 ≙ 1048781183 ≙ 0x3E83217F
Input data: D0 = 0x7F, D1 = 0x21, D2 = 0x83, 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
1
2
2
2
2
0
0
0
0
0x03
0xXX
0xXX
0xXX
0xXX
4
3
2
1
2
2
2
2
0
0
0
0
0x03
...
...
0
2
TR
0
2
TA
WAGO-I/O-SYSTEM 750
I/O-Modules

Advertisement

Table of Contents
loading

Table of Contents