MiniCom (OP6800)
C-Programmable Operator Interface
User’s Manual
019–0106 •
090529–G
MiniCom (OP6800) User’s Manual
Part Number 019-0106 • 090529–G • Printed in U.S.A.
©2002–2009 Digi International Inc. • All rights reserved.
No part of the contents of this manual may be reproduced or transmitted in any form or by any means
without the express written permission of Digi International.
Permission is granted to make one or more copies as long as the copyright page contained therein is
included. These copies of the manuals may not be let or sold for any reason without the express written
permission of Digi International.
Digi International reserves the right to make changes and
improvements to its products without providing notice.
Trademarks
Rabbit and Dynamic C are registered trademarks of Digi International Inc.
Rabbit 2000 and RabbitCore are trademarks of Digi International Inc.
The latest revision of this manual is available on the Rabbit Web site,
www.rabbit.com,
for free, unregistered download.
Digi International Inc.
www.rabbit.com
MiniCom (OP6800)
T
ABLE OF
C
ONTENTS
Chapter 1. Introduction
1
1.1 Description............................................................................................................................................1
1.2 Features .................................................................................................................................................1
1.3 Development and Evaluation Tools......................................................................................................2
1.3.1 Tool Kit .........................................................................................................................................2
1.3.2 Software ........................................................................................................................................3
1.4 CE Compliance .....................................................................................................................................4
1.4.1 Design Guidelines .........................................................................................................................5
1.4.2 Interfacing the OP6800 to Other Devices .....................................................................................5
Chapter 2. Getting Started
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
7
Connections ..........................................................................................................................................7
Demonstration Program on Power-Up ...............................................................................................10
Display Contrast Adjustment..............................................................................................................10
Programming Cable Connections .......................................................................................................11
Installing Dynamic C ..........................................................................................................................12
Starting Dynamic C ............................................................................................................................12
PONG.C ..............................................................................................................................................13
Where Do I Go From Here? ...............................................................................................................13
Chapter 3. Subsystems
15
3.1 Pinouts ................................................................................................................................................16
3.2 Digital I/O ...........................................................................................................................................17
3.2.1 Digital Inputs...............................................................................................................................17
3.2.2 Digital Outputs............................................................................................................................18
3.3 Serial Communication ........................................................................................................................19
3.3.1 RS-232 ........................................................................................................................................19
3.3.2 RS-485 ........................................................................................................................................19
3.3.3 Programming Port .......................................................................................................................21
3.3.4 Ethernet Port (OP6800 models only) ..........................................................................................22
3.4 Programming Cable ............................................................................................................................23
3.4.1 Changing Between Program Mode and Run Mode ....................................................................23
3.5 Other Hardware...................................................................................................................................24
3.5.1 Clock Doubler .............................................................................................................................24
3.5.2 Spectrum Spreader ......................................................................................................................25
3.6 Memory...............................................................................................................................................26
3.6.1 SRAM .........................................................................................................................................26
3.6.2 Flash Memory .............................................................................................................................26
3.7 Keypad Labeling.................................................................................................................................27
Chapter 4. Software
29
4.1 Upgrading Dynamic C ........................................................................................................................31
4.1.1 Patches and Bug Fixes ................................................................................................................31
4.1.2 Upgrades .....................................................................................................................................31
4.2 Font and Bitmap Converter.................................................................................................................32
User’s Manual
4.3 Sample Programs................................................................................................................................ 33
4.3.1 Board ID ..................................................................................................................................... 33
4.3.2 Demonstration Board.................................................................................................................. 33
4.3.3 Digital I/O................................................................................................................................... 34
4.3.4 Serial Communication ................................................................................................................ 34
4.3.5 LCD/Keypad Module Sample Programs.................................................................................... 34
4.3.6 TCP/IP Sample Programs........................................................................................................... 35
4.4 OP6800 Libraries ............................................................................................................................... 36
Chapter 5. Using the TCP/IP Features
37
5.1 TCP/IP Connections ........................................................................................................................... 37
5.2 TCP/IP Sample Programs................................................................................................................... 39
5.2.1 How to Set IP Addresses in the Sample Programs..................................................................... 39
5.2.2 How to Set Up Your Computer for Direct Connect ................................................................... 40
5.2.3 Run the PINGME.C Demo......................................................................................................... 41
5.2.4 Running More Demo Programs With a Direct Connection ....................................................... 41
5.2.5 LCD/Keypad Sample Programs Showing TCP/IP Features ...................................................... 42
5.3 Where Do I Go From Here? ............................................................................................................... 43
Chapter 6. Installation and Mounting Guidelines
45
6.1 Installation Guidelines........................................................................................................................ 45
6.2 Mounting Instructions ........................................................................................................................ 46
6.2.1 Bezel-Mount Installation ............................................................................................................ 46
Appendix A. Specifications
A.1
A.2
A.3
A.4
A.5
49
Electrical and Mechanical Specifications.......................................................................................... 50
Conformal Coating ............................................................................................................................ 53
Jumper Configurations ...................................................................................................................... 54
Use of Rabbit 2000 Parallel Ports ..................................................................................................... 55
I/O Address Assignments.................................................................................................................. 57
Appendix B. Power Supply
59
B.1 Power Supplies .................................................................................................................................. 59
B.2 Batteries and External Battery Connections...................................................................................... 60
B.2.1 Battery-Backup Circuit .............................................................................................................. 60
B.2.2 Power to VRAM Switch ............................................................................................................ 61
B.2.3 Reset Generator.......................................................................................................................... 61
B.3 Chip Select Circuit............................................................................................................................. 62
Appendix C. Demonstration Board
63
C.1 Mechanical Dimensions and Layout ................................................................................................. 64
C.2 Power Supply..................................................................................................................................... 65
C.3 Using the Demonstration Board ........................................................................................................ 67
Appendix D. OP6800 Function Calls
71
D.1 Board Initialization (OP68xx.LIB).................................................................................................... 72
D.2 Digital I/O (OP68xx.LIB) ................................................................................................................. 73
D.3 Serial Communication (OP68xx.LIB)............................................................................................... 74
D.4 LEDs (OP68xx.LIB) ......................................................................................................................... 76
D.5 LCD Display...................................................................................................................................... 77
D.5.1 Keypad....................................................................................................................................... 97
Index
Schematics
101
105
MiniCom (OP6800)
1. I
NTRODUCTION
The OP6800 intelligent terminal interface is a small, high-
performance, C-programmable terminal interface that offers
built-in I/O and Ethernet connectivity. A Rabbit
®
2000 micro-
processor operating at 22.1 MHz provides fast data processing.
1.1 Description
The OP6800 intelligent terminal interface incorporates the powerful Rabbit 2000 micro-
processor, flash memory, static RAM, digital I/O ports, RS-232/RS-485 serial ports, and a
10Base-T Ethernet port.
1.2 Features
•
122 × 32 graphic display.
•
7-key keypad.
•
7 LEDs.
•
24 digital I/O: 13 filtered digital inputs, and 11 sinking high-current outputs (7 outputs
with LED indicators, and 4 high-current digital outputs with transient protection to
drive inductive loads).
•
Rabbit 2000 microprocessor operating at 22.1 MHz.
•
128K static RAM and 256K flash memory standard, may be increased to 512K SRAM
and 512K flash memory.
•
One RJ-45 Ethernet port compliant with IEEE 802.3 standard for 10Base-T Ethernet
protocol (OP6800 only).
•
Four serial ports (2 RS-232 or 1 RS-232 with RTS/CTS, 1 RS-485, and 1 CMOS-com-
patible programming port).
•
Battery-backable real-time clock, connection point for external battery included.
•
Watchdog.
•
Reset generator.
•
Meets NEMA 4 watertightness specifications when front-panel mounted.
•
Remote program downloading and debugging capability via RabbitLink.
User’s Manual
1