(61/104)
'0'-'1'(30h,31h): 1st
|
'1'-'F'(31h,46h): 31th
EMON: End month
'0'-'0'(30h,30h): No mean
'0'-'1'(30h,31h): Janualy
|
'0'-'C'(31h,43h): December
EDAY: End day
'0'-'0'(30h,30h): No mean
'0'-'1'(30h,31h): 1st
|
'1'-'F'(31h,46h): 31th
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.3
“
Check code
”
for a BCC calculation.
Delimiter
CR (0Dh): End of packet
2) The monitor replies a data for confirmation.
Header
Message
Check code
Delimiter
SOH-'0'-'0'-Monitor ID-
'B'-'1'-'C'
STX-'C'-'B'-'1'-'9'-'0'-'1'-ST-
PG-TP-YEAR-MONTH-DAY-WEEK NO-
WEEK-EMON-EDAY-ETX
BCC
CR
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".
'1'-'8'(31h, 38h): Message length
Message
STX (02h): Start of Message
'C'-'B'-'1'-'9' (43h, 33h, 31h, 39h): Holiday reply command
'0'-'1' (30h, 30h): write request
ST: Status command
'0'-'0'(30h, 30h): No error
'0'-'1'(30h, 31h): Error
PG: Program No.
'0'-'0'(30h, 30h): Program No.1
|
'3'-'1'(33h, 31h): Program No.50
TP: Type
bit 0: End day
bit 1: Day
bit 2: Week
bit 3: Reserved
bit 4: Reserved
bit 5: Reserved
bit 6: Reserved
bit 7: Reserved
YEAR: Year
'0'-'0'(30h,30h): No mean
'0'-'F'(30h,46h): 2015
Содержание MultiSync C431
Страница 15: ... 15 104 18thbyte ETX End of Message ASCII ETX 03h ...
Страница 43: ... 43 104 Delimiter CR 0Dh End of packet ...
Страница 86: ... 86 104 ...