Get_Weekday, 0X07 - WAGO 750-640 Manual

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

Advertisement

3.1.4.13

GET_WEEKDAY, 0x07

The GET_WEEKDAY function is used to get the current weekday.
The number of the weekday is stored in the input byte D0. The inputs bytes
D1 ... D3 are reserved.
(0 ≙ Monday, 1 ≙ Tuesday, ... , 5 ≙ Saturday, 6 ≙ Sunday)
Byte
ID
D0
D1
D2
D3
0xXX
Byte
ID
D0
D1
D2
D3
Example:
Wednesday ≙ 2
Input data: D0 = 0x02, D1 = 0x00, D2 = 0x00, D3 = 0x00
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
2
0
0
0
0x07
0xXX
0xXX
0xXX
0xXX
4
3
2
2
2
2
2
0
0
0
0x07
Day of the week
0x00
0x00
0x00
Attachment
Functions
1
0
2
0
TR
1
0
2
0
TA
• 45

Advertisement

Table of Contents
loading

Table of Contents