Get_Tod, 0X02 - WAGO 750-640 Manual

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

Advertisement

36 •
Attachment
Functions
3.1.4.4

GET_TOD, 0x02

The current time is read using the GET_TOD function.
The input data contains the current time in 1ms steps.
Byte
ID
D0
D1
D2
D3
0xXX
Byte
ID
D0
D1
D2
D3
Example:
08:45:35 ≙ ((8*60+45)*60+35)*1000 = 31535000 ≙ 0x01E12F98
Input data: D0 = 0x98, D1 = 0x2F, D2 = 0xE1, D3 = 0x01
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
4
3
2
2
2
2
0
0
0
0x02
0xXX
0xXX
0xXX
0xXX
4
3
2
2
2
2
0
0
0
0x02
Time (low byte)
...
...
Time (high byte)
1
0
2
2
0
TR
1
0
2
2
0
TA
WAGO-I/O-SYSTEM 750
I/O-Modules

Advertisement

Table of Contents
loading

Table of Contents