Professional Documents
Culture Documents
Msgeditor protocol:
1 Transmission frame formats
1.1 Standard transmission frame specifications and format
This section describes the basic outline of transmissions:
Baud rate: 9600
Data bits: 7
Start bits: 1
Stop bits: 2
Parity: None
Time-out period: 1 second(any delays between bytes cannot exceed this)
A B C D E F G H
C Sign Address “00” number between “00” and “FF” (0 to 255). Address “00” is reserved as a
broadcast address.
D <STX> “]”” “Start of Text” character. <STX> always precedes a Command Code.
E Command Code “A” One ASCII character that defines the transmission and data types:
F File Label “Z” One ASCII character that defines the location of the file
A single ASCII character that defines the line position on a multi-line sign:
“]:” + “ “(20H) Middle Line — text centered vertically.
“]:” + “““(22H) Top Line — Text begins on the top line of the sign and the sign will
use all its lines minus 1 in order to display the text. For example, a
6-line sign will allow a maximum of 5 lines (6 minus 1) for the Top
Position. The Top/Bottom Line break will remain fixed until the next
Display
C Middle or Fill position is specified.
Mode Field (optional)
Position
“]:” + “&” (26H) Bottom Line — The starting position of the Bottom Line(s)
Immediately follows the last line of the Top Line. For example, a 6-
TEXT file data format
Data Field
line sign with 3 lines of text associated with the Top Line would start
the Bottom Line text on the 4th line of the sign.
“]:” + “0” (30H) Fill — The sign will fill all available lines, centering the lines
vertically.
Mode A single ASCII character that represents a “mode” which is a way of displaying an
D
Code ASCII message. See “Standard Modes”
Control
E Set the attribute of the text message
code
F Special (Only required when preceding Mode Code is “n” for SPECIAL.)
ASCII The actual text to be displayed on a sign.(inclue Europ Character,see the Europ
G
Message Character Code)
“]?P”+”a”
WIPE UP “i” New message is wiped over the previous message from bottom to top.
WIPE DOWN “j New message is wiped over the previous message from top to bottom.
WIPE LEFT “k” New message is wiped over the previous message from right to left.
WIPE RIGHT “l” New message is wiped over the previous message from left to right.
SCROLL “m” SCROLL “m” 6DH New message line pushes the bottom line to the top line if 2-line
sign.
AUTOMODE “o” AUTOMODE “o” 6FH Various Modes are called upon to display the message
automatically.
ROLL IN “p” Previous message is pushed toward the center of the display by the new
message.
ROLL OUT “q” Previous message is pushed outward from the center by the new message.
WIPE IN “r” WIPE IN “r” 72H New message is wiped over the previous message in an inward
motion.
WIPE OUT “s” WIPE OUT “s” 73H New message is wiped over the previous message in an outward
motion.
COMPRESSED “t” Message travels right to left. Characters are appoximately one half their
ROTATE normal width. (Only available on certain sign models.)
SPECIAL “n” This is followed by a Special Specifier ASCII character which defines one of
the Special Modes. See “Special Modes” .
SPARKLE “1” New message will sparkle over the current message.
New message will interlock over the current message in alternating rows of
INTERLOCK “3”
dots from each end.
Alternating characters “switch” off the sign up and down. New message
SWITCH “4”
“switches” on in a similar manner
SLIDE “5” New message slides onto the sign one character at a time from right to left.
SPRAY “6” New message sprays across and onto the sign from right to left.
STARBURST “7” “Starbursts” explode the new message onto the sign.
“0”(30H) = mm/dd/yy
“1”(31H) = dd/mm/yy
“2”(32H) = mm-dd-yy
“3”(33H) = dd-mm-yy
“5”(35H) = speed 5
“6”(36H) = speed 4
“7”(37H) = speed 3
Speed “]” +
“8”(38H) = speed 2
“9”(35H) = speed 1
“)”(29H) = speed 0
Insert
“]” + “,”(2CH) = Insert a engter
NewLine
“A”(41H) = Sans serif 7
“B”(42H) = Sans serif 7 wide
“C”(43H) = Sans serif 7 double
Font “]:” +
“D”(44H) = Sans serif 7 d-wide
“E”(45H) = Serif 7
“F”(46H) = Serif 7 double
“G”(47H) = Serif 12
“H”(48H) = Serif 16
21H - “!” 31H - “1” 41H - “A” 51H - “Q” 61H - “a” 71H - “q”
22H - “““ 32H - “2” 42H - “B” 52H - “R 62H - “b” 72H - “r”
23H - “#” 33H - “3” 43H - “C” 53H - “S” 63H - “c” 73H - “s”
24H - “$” 34H - “4” 44H - “D” 54H - “T” 64H - “d” 74H - “t”
25H - “%” 35H - “5” 45H - “E” 55H - “U” 65H - “e” 75H - “u”
26H - “&” 36H - “6” 46H - “F” 56H - “V” 66H - “f” 76H - “v”
27H - “‘” 37H - “7” 47H - “G” 57H - 67H - “g” 77H - “w”
“W”
28H - “(“ 38H - “8” 48H - “H” 58H - “X” 68H - “h” 78H - “x”
29H - “)” 39H - “9” 49H - “I” 59H - “Y” 69H - “I” 79H - “y”
2AH - “*” 3AH - “:” 4AH - “J” 5AH - “Z” 6AH - “j” 7AH - “z”
2BH - “+” 3BH - “;” 4BH - “K” 5BH - “[“ 6BH - “k” 7BH - “{“
2CH - “,” 3CH - “<“ 4CH - “L” 5CH - “\” 6CH - “l” 7CH - “|”
2DH - “-” 3DH - “=” 4DH - M” 5DH - “]” 6DH - “m” 7DH - “}”
2EH - “.” 3EH - “>” 4EH - “N” 5EH - “¢” 6EH - “n” 7EH - 1/2 sp
2FH - “/” 3FH - “?” 4FH - “O” 5FH - “_” 6FH - “o” 7FH – reserved
2 Example
2.1 Send english Text.
5D 21 5A 30 30 5D 22 41 5A 5D 3B 20 63 5D 3A 42 5D 3C 38
41 42 43 44 45 46 47 5D 24 5D 24
5D 21 5A 30 30 5D 22 45 2E 20 20 5A 5D 24 5D 24
Note: User need send a command to run the file after transmit the text information.
The command is :” ]!Z00]"E. Z]$]$”
C Sign Address "00" digits as a number between “00” and “FF” (0 to 255). Address
“00” is reserved as a broadcast address.
Each picture’s BMP Data is composed of two frames(red frame and green
four dots.
A B C D E F G H
I J K L M
A B C D E F G H
Sign The identifier or “address” of the sign represented by two ASCII digits as a number
C “00” between “00” and “FF” (0 to 255). Address “00” is reserved as a broadcast address.
Address
D <STX> “]”” “Start of Text” character. <STX> always precedes a Command Code.
Command
E “A” One ASCII character that defines the transmission and data types.
Code
Label are composed of “File Label” and “Picture Label”. Both File label and Picture
label’s scope are dynamic. File Label is start from label "%" increase to label "}"(if the
F Label "%"…”}” MSG file not have any picture). Picture label is place on the label ” ]?P”+“}”
decrease to label ” ]?P”+ “%”.File label number add Picture label number must small
than 90.
Made up of ASCII characters. The Data Field format is dependent on the preceding
G Data Field
Command Code.
A B C D E F
Sign “00” digits as a number between “00” and “FF” (0 to 255). Address
"E;"+ MMDDYY One ASCII character and six number define one day of the year
One ASCII character add four numbers define the time of one
"E "+ HHMM
day:
"1"
"2"
"3"
Command One ASCII character and one number define weekdays(from
E "E&"+ "4"
Code Sun. to Sat.)
"5"
"6"
"7"
Two ASCII characters and two numbers define the ID of a
"PZ"+ "00"
sign(the value is from 00 to FF)
"X" One ASCII character define clear the memory of one sign
3,Running sequence
<SOH> Type Code Sign <STX> Command File Label File Label … <EOT>
Address Code
A B C D E F G … H
D <STX> “]”” “Start of Text” character. <STX> always precedes a Command Code.
Command
E “E.” Two ASCII character that define the transmission and data types.
Code
F File Label " "+"%" Two blank and One ASCII character that indicates the file being accessed.
G File Label " "+"&" Two blank and One ASCII character that indicates the file being accessed.
… … … Two blank and One ASCII character that indicates the file being accessed.
4.Schedule—Week
<SOH> Type Sign <STX> Command File Week File Week … … <EOT>
Code Address Code Label Data Label Data
A B C D E F G H I … … J
K L
D <STX> “]”” “Start of Text” character. <STX> always precedes a Command Code.
Command
E “E2” Two ASCII character that define the transmission and data types.
Code
F File Label "%" One ASCII character that indicates the file being accessed.
Bit1 0
Bit2 0
Bit3 0
Bit4 0
K 0x30+Num1 Bit5 0
Bit6 Sunday 0/1
Bit7 Monday 0/1
G Week Data
Bit8 Tuesday 0/1
Bit1 0
Bit2 0
L 0x30+Num2 Bit3 0
Bit4 0
Bit5 Wednesday 0/1
Bit6 Thursday 0/1
Bit7 Friday 0/1
Bit8 Saturday 0/1
5.Schedule—Time
<SOH> Type Sign <STX> Command File Time File Time … … <EOT>
Code Address Code Label Data Label Data
A B C D E F G H I … … J
K L
D <STX> “]”” “Start of Text” character. <STX> always precedes a Command Code.
Command
E “E)” Two ASCII character that define the transmission and data types.
Code
F File Label "%" One ASCII character that indicates the file being accessed.
Two ASCII characters. For more information, see Appendix: TEXT file
K String1
Start and Stop times
G Time Data
Two ASCII characters. For more information, see Appendix: TEXT file
L String2
Start and Stop times
NOTE:,User need send the running sequence and schedule after send the