CC-Series 7-Segment Configuration The power supply for the CC-Series 7-Segment LED Display is rated for 120VAC, which is to be delivered via the stranded black (hot) and white (neutral) wires on the supply. In signs containing multiple displays, their power has been daisy-chained together at the factory. Communications are to be provided to the sign via RS-485 2-wire (plus GND connection). Note that there are two G connections at the RS-485 plug; either one or both may be used, as they are electrically tied together on the circuitboard. Using the GND connection is necessary to ensure proper data transfer. Observe proper daisy-chain protocols for wiring multiple devices to an RS-485 network. In signs with multiple displays, the RS-485 communications have been daisy-chained together at the factory. A terminal block is available to facilitate external wiring inputs. All serial data is to be configured with parity set to none, 8 data bits, and 1 stop bit. A unique address must be assigned to each circuitboard to allow it to properly receive the correct data. The configuration is set by DIP switches located on the back of each display board. Figure 1: Back Side of CC-Series 7-Segment LED Display Board 5V Power LED (Chained to next display) 24VDC Power Input (optional) + Address Mode RS-485 Connection Points and Status LEDs - 120VAC Power Supply Display Power LED + Hot Neutral 120VAC ONLY!
CC-series 7-Segment Configuration The power supply for the CC-Series 7-Segment LED Display is rated for 100-240VAC, which is to be delivered via the stranded black (hot) and white (neutral) wires connected to the supply. In signs containing multiple displays, their DC power has been daisy-chained together at the factory. Communications are to be provided to the sign via RS-485 2-wire (plus GND connection). Note that there are two G connections at the RS-485 plug; either one or both may be used, as they are electrically tied together on the circuitboard. Using the GND connection is necessary to ensure proper data transfer. Observe proper daisy-chain protocols for wiring multiple devices to an RS-485 network. In signs with multiple displays, the RS-485 communications have been daisy-chained together at the factory. A terminal block is available to facilitate external wiring inputs. All serial data is to be configured with parity set to none, 8 data bits, and 1 stop bit. A unique address must be assigned to each circuitboard to allow it to properly receive the correct data. The configuration is set by DIP switches located on the back of each display board. Figure 1: Back Side of CC-Series 7-Segment LED Display Board 5V Power LED (Chained to next display) Address Mode RS-485 Connection Points and Status LEDs 24VDC Power Input Display Power LED (-) +24VDC 24VDC feed from main power supply
MODE DIP Switch The MODE DIP Switch is used to set the protocol and operating mode of the display. The configuration options are shown below. If these switches are changed, the display must be power-cycled to allow the display s processor to properly implement the changes. Switch 1 toggles between Standard and RedStorm protocol. Switch 4 toggles between displaying FULL on the digits, or on the dedicated FULL LEDs. On signs without the dedicated FULL LED message, setting Switch 4 to ON will cause the display to blank out when it receives a FULL command packet. Switch: 1 2 3 4 5 Description OFF OFF OFF OFF OFF Standard protocol. FULL Message displayed on digits. OFF OFF OFF ON OFF Standard protocol. FULL Message is separate and overlaid. ON OFF OFF OFF OFF RedStorm protocol. FULL Message displayed on digits. ON OFF OFF ON OFF RedStorm protocol. FULL Message is separate and overlaid. X X X X ON Dedicated test mode. X = May be ON or OFF. If the Standard protocol is used, the sign receives and responds at 9600bps. If the RedStorm protocol is used, the sign receives and responds at 57600bps. ADDRESS DIP Switch The ADDRESS DIP Switch is used to assign an identifier to a display. If the data packet sent instructs the sign to generate a response, it will generate one to indicate receipt of the data. In this case, each sign on the network must have a unique address. Otherwise, multiple signs will generate response packets at nearly the same time. These packets will collide on the network, scrambling their contents. Standard Protocol Switch Value 1 1 2 2 3 4 4 8 5 16 6 32 7 64 8 128 Redstorm Protocol Level Lot { { Switch 1 2 3 4 5 6 7 8 Value 1 2 4 8 1 2 4 8 To activate the Value associated with each switch, set the switch to ON. The Values are additive: All activated values will be added together to yield the address of the display. For example, setting Switches 1, 5, and 7 to ON will yield an address of 81 (1 + 16 + 64). To activate the Value associated with each switch, set the switch to ON. The Values within each category are additive: All activated values will be added together to yield the address of the display. For example, setting Switches 2, 4, 5, and 7 to ON will yield: Lot ID: 5 (1 + 4) Level ID: 10 (2 + 8)
MODE DIP Switch Switch 2 is to be set to ON to function with TCS Protocol. Short, Light, and Full Protocols are all supported and interpreted automatically. Switch 4 toggles between displaying FULL on the digits, or on the dedicated FULL LEDs, if present. On signs without the dedicated FULL LED message, setting Switch 4 to ON will cause the display to blank out when it receives a FULL command packet. Switch: 1 2 3 4 5 Description OFF ON OFF OFF OFF TCS protocol. FULL Message displayed on digits. OFF ON OFF ON OFF TCS protocol. FULL Message is separate and overlaid. X X X X ON Dedicated test mode. X = May be ON or OFF. The sign receives and responds at 1200bps, even parity. ADDRESS DIP Switch The ADDRESS DIP Switch is used to assign an identifier to a display. When each display receives a data packet, it generates a response, indicating receipt of the data. Each sign on a network segment must have a unique address, otherwise the response packets will collide and become unreadable. Switch Value 1 1 2 2 3 4 4 8 5 16 6 32 7 64 8 128 To activate the Value associated with each switch, set the switch to ON. The Values are additive: All activated values will be added together to yield the address of the display. For example, setting Switches 1, 5, and 7 to ON will yield an address of 81 (1 + 16 + 64).
CC-Series 7-Segment Protocol The CC-Series 7-Segment Displays accept data from an RS-485 2-wire transceiver. The serial data is to be sent as: 9600bps, parity set to none, 8 data bits, 1 stop bit. The CC-Series 7-Segment Displays are capable of displaying digits from 0-9, as well as a specific set of alphabetic characters. Each display is to be assigned an address of 0-255. A response packet may optionally be generated when a command is received. If this response packet is to be used by a control system for verification of data receipt, each display on the network segment must have a unique address, otherwise multiple displays will send a response at the same time. Protocol format Each packet must be formatted as follows: SYN, SYN, STX, SA, CM, CD, X, X, X, X, CS, ETX (12 bytes) SYN = 0x16 (Hex) STX = 0x02 (Hex) SA = Sign Address (Hex) 0x07 = Sign #7 0x3C = Sign #60 CM = Command type (Hex) 0x00 = Display a number (deprecated) 0x04 = Blank display 0x01 = Display FULL 0x05 = Display positive temperature 0x02 = Display OPEn 0x06 = Display a number 0x03 = Display CLSd 0x07 = Display negative temperature CD = Enable or disable response packet (Hex) 0x00 = Do not send a response packet. 0x01 = Generate and send a response packet. X = An ASCII digit or character. Permissible characters are shown below. All four ASCII characters must always be sent. 0x00 or 0x20 (space) are suitable for use as preceding blanks or spaceholders, if less than 4 characters are to be displayed. CS = Checksum (Hex). This is an XOR value of the data packet. Calculation of it is shown in pseudocode on the following page. ETX = 0x03 (Hex) NOTE: If Command Types 0x01, 0x02, 0x03, or 0x04 are used, the X bytes may be given any value. However, the values of the X bytes must still be included in the checksum calculation. Characters Available for Display Digits: 0-9 Characters: U, c, C, L, S, d, o, O, P, E, n, r, F, space Other: N will display a large lowercase n: n @ will display the degree symbol: - will display a dash or minus sign: -
XOR (^) Checksum Routine Pseudocode SYN, SYN, STX, SA, CM, CD, X1, X2, X3, X4, CS, ETX temp_value = SA ^ CM temp_value = temp_value ^ CD temp_value = temp_value ^ X1 temp_value = temp_value ^ X2 temp_value = temp_value ^ X3 CS = temp_value ^ X4 The checksum must always be calculated and sent with a data packet, whether or not a response is requested. If a display receives a packet and the packet s checksum does not match the checksum value calculated by the display s processor, it will not update or change the characters being displayed. Only a properly formatted, addressed, and verified data packet will cause a display update. If the data packet s CD byte indicates that a response is requested, the display to which the packet was addressed will generate one of two responses: If the packet s checksum matches the calculated checksum: SYN, SYN, STX, ACK, ETX SYN = 0x16 STX = 0x02 ACK = 0x06 ETX = 0x03 (All values are hex.) If the packet s checksum does NOT match the calculated checksum: SYN, SYN, STX, NAK, ETX SYN = 0x16 STX = 0x02 NAK = 0x15 ETX = 0x03 (All values are hex.) Examples PACKET: 0x16, 0x16, 0x02, 0x3A, 0x06, 0x01, 0x00, 0x00, 0x32, 0x33, 0x3C, 0x03 RESULT: Sign #58 displays 23 PACKET: 0x16, 0x16, 0x02, 0x19, 0x06, 0x01, 0x30, 0x30, 0x32, 0x33, 0x1F, 0x03 RESULT: Sign #25 displays 0023 PACKET: RESULT: PACKET: RESULT: 0x16, 0x16, 0x02, 0x01, 0x01, 0x01, 0x30, 0x31, 0x32, 0x33, 0x01, 0x03 Sign #1 displays FULL 0x16, 0x16, 0x02, 0x0A, 0x03, 0x01, 0x30, 0x30, 0x30, 0x30, 0x08, 0x03 Sign #10 displays CLSd PACKET: 0x16, 0x16, 0x02, 0x9C, 0x07, 0x01, 0x00, 0x00, 0x32, 0x37, 0x9F, 0x03 RESULT: Sign #156 displays -27