EasyManua.ls Logo

SIFANG CSC-196 - Page 80

Default Icon
89 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CSC-196 Time synchronization device for power system Manual
74
Appendix D Serial port message output
format
Square format:
Serial port parameter:
Default baud rate is 4800bit/s.
There are 8 data bits, and 1 stop bit, no odd and even verification.
Message format:
“00,FF,81,day,month,year,hour,minute,second,synchronization state”
The year, month, day, hour, minute and second are all in hex.
Satellite locking state: “0” for abnormal synchronization, “2” for normal synchronization, and
“1” for unstable satellite locking.
Standard format(Specifications of time synchronization system for power
system):
Serial port parameters:
Default baud rate is 9600 bit/s;
8 data bits, 1 stop bit, and even.
Message format:
Refer to the following table for serial port standard time message format.
Table D.1 Serial port standard time message format
Byte No.
Meaning
Content
Numeric Area
1
frame header
<#>
’#’
2
State mark1
Corresponding ASCII value of the hexadecimal number composed
by the following 4 bits:
Bit 3: reserve = 0;
Bit 2: reserve = 0;
Bit 1: LSP: set 1 before 59s of leap second, set 0 after 00s of leap
second;
Bit 0: LS: 0: positive leap second, 1: negative leap second
‘0’~’9’
‘A’~’F’
3
State mark2
Corresponding ASCII value of the hexadecimal number composed
by the following 4 bits:
Bit 3: DSP: Set 1 before 59s of daylight saving time switching;
Bit 2: DST: Set 1 during period of daylight saving time;
Bit 1: half an hour time zone deviation: 0: no adding, 1: adding extra
0.5hr on the time deviation value;
Bit 0: time zone deviation value sign bit: 0: +,1: -
‘0’~’9’
‘A’~’F’
4
State mark3
Corresponding ASCII value of the hexadecimal number composed
by the following 4 bits:
Bits 3-0: Time zone deviation value(hr): the difference between the
serial port message time and UTC time, the message time
subtract time deviation (with sign) is equal to UTC time
(time deviation will change during daylight saving time
period)
‘0’~’9’
‘A’~’F’

Table of Contents