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) |
<SOH> | Type Code | Sign Address | <STX> | Command Code | Data Field | <EOT> |
A | B | C | D | E | F | G |
Item | Name | Character | Description |
A | <SOH> | “]!” | The <SOH> is the “Start of Header” ASCII character. TM]! |
B | Type code | “Z” | A single ASCII character Z |
C | Sign Address | “00” | The identifier or “address” of the sign represented by two ASCII digits as a number between “00” and “FF” (0 to 255). Address “00” is reserved as a broadcast address. 00 |
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:AZ |
F | Data Field | | Made up of ASCII characters. The Data Field format is dependent on the preceding Command Code. |
G | <EOT> | “]$]$” | “End Of Transmission” character |
<SOH> | Type Code | Sign Address | <STX> | Command Code | Data Field | <EOT> |
"A" | File Label | Display Position | Mode Code | Control Code | Special Specifier | ASCII Message |
A | B | C | D | E | F | G |
Item | Name | Description | ||||
A | Command Code | “A” | “A” (41H) = Write TEXT file | |||
B | Data Field | File Label | One ASCII character that indicates the TEXT file being accessed. See “Appendix A: File Label format”. If the File Label = “0” (30H), then a Priority TEXT file will be written. | |||
C | TEXT file data format | Mode Field (optional) | Display Position | 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 Middle or Fill position is specified. “]:” + “&” (26H) Bottom Line — The starting position of the Bottom Line(s) Immediately follows the last line of the Top Line. For example, a 6- 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. | ||
D | Mode Code | A single ASCII character that represents a “mode” which is a way of displaying an ASCII message. See “Standard Modes” | ||||
E | Control code | Set the attribute of the text message | ||||
F | Special | (Only required when preceding Mode Code is “n” for SPECIAL.) | ||||
G | ASCII Message | The actual text to be displayed on a sign. | ||||
Mode name | ASCI code | Description |
ROTATE | “a” | Message travels right to left. |
HOLD | “b” | Message remains stationary. |
FLASH | “c” | Message remains stationary and flashes. |
ROLL UP | “e” | Previous message is pushed up by a new message. |
ROLL DOWN | “f” | Previous message is pushed down by a new message. |
ROLL LEFT | “g” | Previous message is pushed left by a new message. |
ROLL RIGHT | “h” | Previous message is pushed right by a new message. |
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(fā)” | 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 ROTATE | “t” | Message travels right to left. Characters are appoximately one half their 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” . |
Mode name | ASCI Code | Description |
TWINKLE | “0” | Message will twinkle on the sign. |
SPARKLE | “1” | New message will sparkle over the current message. |
SNOW | “2” | Message will “snow” onto the display. |
INTERLOCK | “3” | New message will interlock over the current message in alternating rows of dots from each end. |
SWITCH | “4” | Alternating characters “switch” off the sign up and down. New message “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. |
Control Code | Character | ||
Colour | “]<” + | Select character color (3-byte format): “1” (31H) = Red “2” (32H) = Green “3” (33H) = Amber “4” (34H) = Dim red “5” (35H) = Dim green “6” (36H) = Brown “7” (37H) = Orange “8” (38H) = Yellow “9” (39H) = Rainbow 1 “A” (41H) = Rainbow 2 “B” (42H) = Color mix “C” (43H) = Autocolor | |
Pause | “]” + | “5”(35H) = Pause 5 “6”(36H) = Pause 4 “7”(37H) = Pause 3 “8”(38H) = Pause 2 “9”(35H) = Pause 1 “)”(29H) = No Pause | |
Insert Time | “]” + | “3”(33H) = Time | |
Insert NewLine | “]” + | “,”(2CH) = Insert a engter | |
Font | “]:” + | “A”(41H) = Sans serif 7 “B”(42H) = Sans serif 7 wide “C”(43H) = Sans serif 7 double “D”(44H) = Sans serif 7 d-wide “E”(45H) = Serif 7 “F”(46H) = Serif 7 double “G”(47H) = Serif 12 “H”(48H) = Serif 16 | |
歡迎光臨 麒麟電子 (http://www.isorzjg.com/) | Powered by Discuz! X3.5 |