![](/images/new-backgrounds/1185453/18545397x1.webp)
10. Schedule read and write
10.1 Schedule Read
This command is used in order to read the setting of the Schedule.
1) The controller requests the monitor to read Schedule.
| Header | Message | Check code | Delimiter |
BCC | CR | |||
Header |
|
|
| |
SOH | (01h): Start Of Header |
|
|
|
'0' | (30h): Reserved |
|
|
|
Monitor ID: Specify the Monitor ID of which you want to get status. Ex.) If Monitor ID is '1', specify 'A'.
'0' (30h): Message sender is the controller.
'A' (41h): Message type is "Command".
Message
STX (02h): Start of Message
PG: Program No.
The data must be ASCII characters strings. ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5 “Check code” for a BCC calculation.
Delimiter
CR (0Dh): End of packet
2) The monitor replies Schedule to the controller.
Header |
| Message | Check code | Delimiter |
BCC | CR | |||
|
| OFF |
|
|
|
|
|
| |
Header |
|
|
|
|
SOH (01h): Start of Header |
|
| ||
'0' (30h): Reserved |
|
|
| |
'0' (30h): Message receiver is the controller. |
|
| ||
Monitor ID: Indicate a replying Monitor ID. |
|
| ||
Ex.) | When this byte is set to 'A', the replying Monitor ID is '1'. |
| ||
'B' (42h): Message type is "Command reply". |
|
| ||
|
| |||
Message |
|
|
|
|
STX (02h): Start of Message |
|
| ||
(43h, 33h, 32h, 31h): Schedule read reply command |
|
|
PG: Program No.
ON_HOUR: Turn on time (hour)
ON_MIN: Turn on time (minute)
(49/72)