20.03.2014 Views

STANDARD SERIAL COMMUNICATION INTERFACE and ...

STANDARD SERIAL COMMUNICATION INTERFACE and ...

STANDARD SERIAL COMMUNICATION INTERFACE and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

St<strong>and</strong>ard Serial Interface Protocol Description<br />

Where:<br />

1. ACK = ASCII acknowledgment character, 06 (Hex)<br />

2. Packet # = Packet number of the previously transmitted host message package, 0-255<br />

possibilities.<br />

3. Packet Checksum = Equals the least significant 8 bits of the summation of all elements contained<br />

in message packet fields 1 <strong>and</strong> 2.<br />

4. Carriage return = ASCII Carriage return, or 0D in hexadecimal.<br />

5. Line feed = ASCII line Feed, or 0A in hexadecimal.<br />

The negative response format would appear as follows:<br />

Where:<br />

Field Description NAK Packet # Packet<br />

Checksum<br />

Carriage<br />

Return<br />

Line<br />

Feed<br />

Packet Field # 1 2 3 4 5<br />

Byte #/ Field 1 1 1 1 1<br />

Table 4.2.2 Sign Negative Response Message Packet Format<br />

1. NAK = ASCII acknowledgment character, 15 (Hex)<br />

2. Packet # = Packet number of the previously transmitted host message package, 0-255<br />

possibilities.<br />

3. Packet Checksum = Equals the least significant 8 bits of the summation of all elements contained<br />

in message packet fields 1 <strong>and</strong> 2.<br />

4. Carriage return = ASCII carriage return, or 0D in hexadecimal.<br />

5. Line feed = ASCII line Feed, or 0A in hexadecimal.<br />

4.3 Host <strong>and</strong> Sign Module Communication Action Description<br />

A master sign/display module will respond to a host comm<strong>and</strong> if <strong>and</strong> only if the address within the host<br />

transmitted packet matches the hardware address setting on the respective sign module. A positive<br />

response will be sent if the host comm<strong>and</strong> packet is valid <strong>and</strong> the checksum received matches the<br />

checksum calculated by the master module controller. A negative response will be transmitted to the host<br />

if a checksum mismatch occurs due to a communication median problem, or if the host comm<strong>and</strong> was<br />

invalid.<br />

If a negative response or no response is received within 3 seconds after a host comm<strong>and</strong> is issued, the<br />

host should re-transmit the message packet to the sign or controller module. If after three consecutive<br />

unsuccessful host transmissions, the host computer should assume the respective sign module is "offline",<br />

<strong>and</strong> re-try communication at a later time.<br />

4.4 Broadcast Messages<br />

Broadcast messages are host transmitted messages where the host wants all signs or displays<br />

connected or in the proximity of the host (if the communication median is a wireless link) to implement the<br />

requested comm<strong>and</strong> within the message. Broadcast messages are typically used for less sophisticated<br />

type display systems where unique address capability is not required or for transmitting safety warning<br />

type messages, such as “Fire in Building, Please Evacuate”.<br />

Broadcast messages are the only type of messages where the signs do NOT transmit a response packet<br />

back to the host computer. If the host packet received at the sign is not corrupted (sign calculated<br />

St<strong>and</strong>ard Serial Communication Interface Description, © 1998-2002 Kent Displays Inc., doc. # 25016 Revision T, Page 7 of 52

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!