Get_Current_Tod, 0X0A - WAGO 750-640 Manual

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

Advertisement

3.1.4.5

GET_CURRENT_TOD, 0x0A

The GET_CURRENT_TOD function is used to read the current time.
The value is updated in each bus cycle without requiring a new function call.
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
WAGO-I/O-SYSTEM 750
I/O-Modules
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
0x0A
0xXX
0xXX
0xXX
0xXX
4
3
2
2
2
2
0
0
0
0x0A
Time (low byte)
...
...
Time (high byte)
Attachment
Functions
1
0
2
2
0
TR
1
0
2
2
0
TA
• 37

Advertisement

Table of Contents
loading

Table of Contents