0% found this document useful (0 votes)
28 views3 pages

Serial: Target Display: Processor: 68HC05C8

This program allows for serial control of 7-segment displays. It can accept non-addressable or 2-digit addressable serial input protocols with optional leading zero blanking. The baud rate, address, input protocol, and digit length are configured using dip switches. It was last revised to add a pollable output mode and relay output control.

Uploaded by

dhlav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views3 pages

Serial: Target Display: Processor: 68HC05C8

This program allows for serial control of 7-segment displays. It can accept non-addressable or 2-digit addressable serial input protocols with optional leading zero blanking. The baud rate, address, input protocol, and digit length are configured using dip switches. It was last revised to add a pollable output mode and relay output control.

Uploaded by

dhlav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

PROGRAM DESCRIPTION SHEET

01/14/06

7SEG0130

SERIAL
Processor:

68HC05C8

Target Display:

Path: N:\RELEASED\6805
Source Loc: N:\6805C
Compiled w/: COSMIC
Language: C
Based on: 7SEG0030
Description: Used for standard mode #'s 111 and 117. Also used for the slaves when using 7seg0138.
Same as 7seg0030, except for the 14489 conversion. All dip switch settings use the same
functions.
Serial input program for 7segment board controlled by DIP options.
Revision D added pollable output.
Revision E added for a serial controlled relay output.
Control Bd: 1700-402
Baud Rate In: VARIES
Baud Rate Out:
Input Protocol: 1.) non-addressable flex protocol with or without leading blanking 0's.
2.) 2-digit addressable(01-64) flex protocol with or without leading blanking 0's.
3.) 2-didit addressable(01-64) CCS protocol with or without leading blanking 0's.
4.) 2-digit addressable(01-64) flex protocol with or without leading blanking 0's with flashing control.
(<stx><AA><F><NNN...><etx> where F='0' for no flash, '1' for flashing)
New alarm output added.
<^[> <U> 00 - 99 <^C>
THE 00-99 IS THE DURATION IN SECONDS.
EXAMPLE:
IF THE USER ENTERS THE DATA STRING
<ESC> <U10><CONTROL C>
THE DISPLAY WILL TURN ON AN OUTPUT FOR 10 SECONDS
FLASHING EXAMPLES:
IF THE USER WANTS 1234 TO FLASH ON A DISPLAY WITH ADDRESS 04, ENTER THE
FOLLOWING:
<STX><04><1><1234><ETX>
Output Protocol: none
Other inputs: WHEN SET TO OPTION FOR POLLING:
<STX> <AD1> <AD2> <P> <ETX>
DISPLAY WILL SEND BACK:

<STX> <AD1> <AD2> <R> <DISPLAY VALUES> <ETX>


Other outputs: NONE
Dip Switches: 'A'ddress and 'F'unction switches.
A1 through A6 are used to set address in binary fashion for addressable modes.
if A1 is on, add 1 to address.
if A2 is on, add 2 to address
if A3 is on, add 4 to address
if A4 is on, add 8 to address
if A5 is on, add 16 to address
if A6 is on, add 32 to address
A7 and A8 are used to specify the BAUD RATE where:
Both off = 1200 BAUD(Display Power Up = "b3")
A7 ON & A8 OFF = 2400 BAUD(Display Power Up = "b4")
A7 OFF & A8 ON = 4800 BAUD(Display Power Up = "b5")
Both ON = 9600 BAUD(Display Power Up = "b6")
F1 through F4 are used to specify input protocol where:
ALL 4 OFF = NON-ADDRRESSABLE W/O LEADING 0 BLANKING(Display Power Up = "-0")
F1 ON, F2 & F3, F4 OFF = NON-ADDRESSABLE WITH LEADING 0 BLANKING(Display Power
Up = "-1")
F1 & F3,F4 OFF, F2 ON = 2-DIGIT ADDRESSABLE FLEX PROTOCOL W/O LEADING 0
BLANKING(Display Power Up = "-2")
F1 & F2 ON, F3,F4 OFF = 2-DIGIT ADDRESSABLE FLEX PROTOCOL WITH LEADING
BLANKING 0'S(DISPLAY POWER UP = "-3")
F1 & F2,F4 OFF, F3 ON = 2-DIGIT ADDRESSABLE CCS PROTOCOL WITHOUT LEADING
BLANKING 0'S(DISPLAY POWER UP = "-4")
F2,F4 0FF, F1 & F3 ON, = 2-DIGIT ADDRESSABLE CCS PROTOCOL WITH LEADING
BLANKING 0'S(DISPLAY POWER UP = "-5)
F2 2 & F3 ON F1,F4 OFF = 2 DIGIT ADDRESS POLLABLE INPUT W/O LEADING ZERO
BLANKING. DISPLAY WILL SHOW '-6'
F1, F2, & F3 ON,F4 OFF = 2 DIGIT ADDRESS POLLABLE INPUT WITH LEADING ZERO
BLANKING. DISPLAY WILL SHOW '-7'
F1 ,F2,F3 OFF, F4 ON = 2 digit addressable flex flashing protocol no lzb
F1ON,F2,F3 OFF, F4 ON = 2 digit addressable flex flashing protocol w/ lzb
F5 & F6 ARE UNUSED.
F6 through F8 are used to specify length in digits where:
All OFF = 1 or 2 digits(Display Power Up = "U02")
F6 ON, F7 & F8 OFF = 3 or 4 digits(Display Power Up = "U04")
F7 ON, F6 & F8 OFF = 5 or 6 digits(Display Power Up = "U06")
F8 OFF, F6 & F7 ON = 7 or 8 digits(Display Power Up = "U08")
F6 & F7 OFF, F8 ON = 9or 10 digits(Display Power Up = "U10")
F6 & F8 ON, F7 OFF = 11 or 12 digits(Display Power Up = "U12")
F7 & F8 ON, F6 OFF = 13 or 14 digits(Display Power Up = "U14")
ALL ON = 15 or 16 digits(Display Power Up = "U16")
Date In: 05/16/00
Comment:
Logic: Displays serial data if baud rate, address match specifications. SEE program operation for DIP
settings to specify BAUD RATE, ADDRESS, AND PROTOCOL.
Released: 05/23/00
Who?: G.Y, R.M.H
Tester: TECHNICIAN

05/28/00

R.H, G.Y

Initial release

You might also like