User's Manual

WA020100 - Smart Irrigation Controller
UMAOC001 Rev G
USER MANUAL
7.2 DOWNLINK FRAMES (FROM SERVER TO NODE)
7.2.1 DOWNLINK 01 – IRRIGATION PROGRAMMING
byte 1
byte 2
byte 3
byte 4
tf
ti_hi
ti_lo
ev
byte 5
byte 6
byte 7
byte 8
byte 9
byte 10
byte 11
byte 12
byte 13
byte 14
byte 15
byte 16
byte 17
rr1
rr2
rr3
rr4
rr5
rr6
rr7
rr8
rr9
rr10
rr11
rr12
dd
tf. Type of downlink frame (01 - Update irrigation schedule)
ti_hi-ti_lo. Timetable identification. To avoid long transmissions sending the irrigation timetable of all
valves, user can assign a code to identify the irrigation programmed. This code will be included in the
status uplink frame to know what is the current irrigation schedule
Example - User defines identifier code 3 for the irrigation
ti_hi = 00
ti_lo = 03
table_identifier = 0*256 + 3 = 3
ev. Electrovalve to be updated. This parameter contains the flags to indicate the valves which will be
programmed with schedule defined in rr1-rr12 bytes. Examples:
0x01 – EV1.
0x02 – EV2.
0x04 – EV3.
0x08 – EV4.
0x0F – All valves programmed with the schedule
rr1..rr12 Timetable in bytes.
Each bit is a slot of 15 minutes.
Each byte is a slot of 2 hours.
dd Days of the week to apply the timetable defined in rr1..rr12 (mask variable)
0x01 – Monday
0x02 – Tuesday
0x04 – Wednesday
0x08 – Thursday
0x10 – Friday
0x20 – Saturday
0x40 – Sunday
0x7F – All week
Timetable examples
Irrigation from 21:00 to 21:45 – All week
byte 5
byte 6
byte 7
byte 8
byte 9
byte
10
byte
11
byte
12
byte
13
byte
14
byte
15
byte
16
byte
17
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x70
0x00
0x7F
Irrigation from 07:00 to 07:30 and from 20:30 to 21:00 – Monday, Wednesday and Friday
byte 5
byte 6
byte 7
byte 8
byte 9
byte
10
byte
11
byte
12
byte
13
byte
14
byte
15
byte
16
byte
17
0x00
0x00
0x00
0x30
0x00
0x00
0x00
0x00
0x00
0x00
0x0C
0x00
0x15