Table of Contents

Advertisement

NOTICE
The drivers and utilities for Octagon products, previously provided
on a CD, are now in a self-extracting zip file located at the Octagon
Systems web site on the product-specific page. Download this file to a
separate directory on your hard drive, then double click on it to extract
the files. All references in this manual to files and directories on the CD
now refer to files in the Utilities zip file.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 6000 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Octagon 6000 Series

  • Page 1 NOTICE The drivers and utilities for Octagon products, previously provided on a CD, are now in a self-extracting zip file located at the Octagon Systems web site on the product-specific page. Download this file to a separate directory on your hard drive, then double click on it to extract the files.
  • Page 2 S Y S T E M S E m b e d d e d P C s F o r E x t r e m e E n v i r o n m e n t s 6000 Series User’s Manual 4738 (0906)
  • Page 3 It is a Condition of Sale that the user of Octagon products in life support applications assumes all the risk of such use and indemnifies Octagon against all damage.
  • Page 4: Using Cmos Circuitry In Industrial Control

    Therefore, 72% of the returned cards are damaged through some type of misuse. Of the remaining 8%, Octagon is unable to deter- mine the cause of the failure and repairs these cards at no charge if...
  • Page 5 Multiple component failures - The chance of a random compo- nent failure is very rare since the average MTBF of an Octagon card is greater than 11 years. In a 7 year study, Octagon has never found a single case where multiple IC failures were not caused by misuse or accident.
  • Page 6 Notice to user Hot insertion - Plugging cards into the card cage with the power on will usually not cause a problem. (Octagon urges that you do not do this!) However, the card may be damaged if the right sequence of pins contacts as the card is pushed into the socket.
  • Page 7 Notice to user PC-500 user’s manual...
  • Page 8: About This Manual

    6000 Series user’s manual About this manual About this manual The 6000 Series user’s manual provides information about installing and configuring your model in the 6000 Series of PC Microcontrollers. This manual is divided into four sections: Section 1 – Installation Chapter 1:...
  • Page 9 About this manual 6000 Series user’s manual...
  • Page 10 Chapter 1: ≡ Introduction The Octagon 6000 Series PC Microcontroller™ cards are intended for easy usage and high performance in embedded control applications. The PC Microcontroller cards combine the best features of the PC archi- tecture and microcontroller I/O. Bringing PC software to the microcontroller world eliminates the need to maintain development systems for the different microcontroller chips.
  • Page 11: Major Features

    ≡ Major features Suite of embedded software included in SSD0 flash drive Phoenix BIOS and Octagon industrial extensions. The BIOS is shadowed for fast operation. “Instant DOS” system. Datalight ROM-DOS 6.22 loads to high memory on powerup allowing more lower memory for data storage...
  • Page 12: Diagnostic Software Verifies System Integrity Automatically

    6000 Series user’s manual Overview PICO FA flash file system makes flash memory appear as a hard disk to the PC Microcontroller. CAMBASIC, industrial control language includes drivers for all on-card hardware. The network kernel allows up to 32 systems to be linked into an RS-422/485 network.
  • Page 13: Boot Sequence

    Overview 6000 Series user’s manual Boot sequence A PC Microcontroller can be configured to boot from the on-card solid- state disk, an external floppy disk, or hard disk. Serial ports protected against ESD The COM1 and COM2 serial ports are 16C550 compatible. The 16 byte FIFO buffers minimize processor overhead in high speed serial commu- nications.
  • Page 14: High Current Outputs

    EPP (enhanced parallel port) mode, and ECP (extended capabili- ties port) mode compatible. The printer port features backdrive protec- tion and allows for much higher speed transfers than Octagon’s previous standard printer interface. The data lines can sink up to 24 mA. The printer port signals are routed through the PC Microcontroller’s...
  • Page 15: Hardware Reset

    Octagon 5000 Series expansion cards. Mounting There are several ways to mount a PC Microcontroller: Plug it directly into an Octagon Micro PC card cage. Power is sup- plied through the backplane. Use the optional PC mounting bracket and plug it into any passive ISA backplane.
  • Page 16 6000 Series user’s manual Overview SETUP information stored in EEPROM for high reliability The loss of SETUP data is serious in industrial applications. In the PC Microcontroller, SETUP data is stored in nonvolatile serial EEPROM eliminating the problem with battery or power failure (with the exception of time and date).
  • Page 17: Reference Designators

    Reference designators Before you continue with the installation of your PC Microcontroller, review the following tables for a list of connectors and jumper blocks for the functions on your particular model in the 6000 Series of PC Microcontrollers. Table 1-2...
  • Page 18: Quick Start

    6000 Series user’s manual Quick start Quick start Chapter 2: This chapter covers the basics of setting up a PC Microcontroller sys- tem. The following topics are discussed: Panel mounting, stacking, or installing the PC Microcontroller into an Octagon card cage...
  • Page 19: Using A Micro Pc Card Cage

    Micro-PC PC Microcontroller Passive Backplane Card Edge Pins A1 & B1 2. Attach the Octagon power module to the card cage following the instruc- tions supplied with the power module. 3. Make sure power to the card cage is OFF.
  • Page 20 6000 Series user’s manual Quick start 4. Slide the PC Microcontroller into the card cage. The ROM-BIOS label on the card should face away from the power supply. See Figure 2-2 for an illustration of a PC Microcontroller in a Micro PC card cage.
  • Page 21 Null modem adapter PC Microcontroller ROM-DOS and utility disk PC SmartLINK with manual Your PC 5252MB stacking kit (required for stacking only) (P/N 3590) Refer to the Miscellaneous appendix if you are making your own serial cable or using other non-Octagon components.
  • Page 22 6000 Series user’s manual Quick start If you are panel mounting the PC Microcontroller, a screw terminal connector is provided to supply the 5V power. Refer to Figure 2-4 for an illustration of panel mounting the PC Microcontroller. WARNING! Miswiring the voltage at P2 of the PC Microcontroller or at...
  • Page 23 Quick start 6000 Series user’s manual To stack the PC Microcontroller, refer to the 5252MB stacking kit prod- uct sheet enclosed with the kit. Then proceed with Step 2 in this section. Figure 2-6 PC Microcontroller center-to-center hole dimensions A = 4.90 in. (124,46 mm) 0.125 in.
  • Page 24 PC SmartLINK with manual Your PC Refer to the Miscellaneous appendix if you are making your own serial cable or using other non-Octagon components. To install the PC Microcontroller: 1. Make sure power to the backplane is OFF. 2. Insert the PC Microcontroller into a connector on the backplane (see Figure 2-7).
  • Page 25 PhoenixBIOS (TM) A386 Version x.xx Copyright (C) 1985-1992 Phoenix Technologies, Ltd. All Rights Reserved Octagon Systems Corp. 40 MHz 60xx CPU Release vx.xx - mm/dd/yy Ali 386SX-V8T processor detected operating at 40 MHz 640K Base Memory, 1024K Extended INT 17h BIOS extension vx.xx...
  • Page 26 6000 Series user’s manual Quick start Copyright (c) 1996,Phoenix Technologies Ltd. Resident Flash (RFA) OEM Layer Phoenix PICO Flash Array (TM) Copyright (c) 1996 Phoenix Technologies LTD Octagon Systems vx.xx First drive of size 896K is installed in SSD0 (AMD 1MB flash) Second drive of size 128K is installed in SSD2 (128K SRAM) RS-485 support BIOS extension vx.xx...
  • Page 27 Quick start 6000 Series user’s manual ≡ Transferring files between the PC Microcontroller and your PC Once you have established communications between your PC and the PC Microcontroller, you can serially download files to any read/write drive used by the PC Microcontroller. You can then test and debug your application files.
  • Page 28 6000 Series user’s manual Quick start TRANSFER.EXE, REMDISK.EXE, and REMSERV.EXE are located on the PC Microcontroller BIOS drive, in the DOS directory, and on the PC Microcontroller utility disk in the \DOS directory. Refer to the Software utilities chapter for more information on these programs.
  • Page 29 Quick start 6000 Series user’s manual 1. Connect the equipment as per the following diagram: Figure 2-8 Downloading files using TRANSFER.EXE PC SmartLINK PC Microcontroller VTC-9F TRANSFER.EXE cable Desktop PC COM port Null modem adapter 2. On the desktop PC, log into the directory which contains the file(s) you...
  • Page 30 6000 Series user’s manual Quick start c. To begin the transfer, do one of the following: press ENTER (default download START) tab to START and press ENTER mouse click on the START button in the download screen. d. When the file transfer is completed, press <ESC> twice to return to the main PC SmartLINK screen.
  • Page 31 Quick start 6000 Series user’s manual PC Microcontroller with no video card and one serial cable Hardware and software requirements: Desktop PC, running C:\DOS\REMDISK, connected by a VTC-9F cable and a null modem adapter to COM1 of the PC Microcontroller A PC Microcontroller running C:\DOS\REMSERV out of COM1 1.
  • Page 32 6000 Series user’s manual Quick start 4. Exit PC SmartLINK by pressing <ALT><X>. 5. Execute REMDISK.EXE on the PC, by entering: C:\> REMDISK The following message is displayed on the PC: Remote Disk v1.0 Copyright (c) 1990-1994 Datalight, Inc. All rights reserved.
  • Page 33 Quick start 6000 Series user’s manual Figure 2-10 Downloading files to the PC Microcontroller with no video card and two PCs PC SmartLINK PC Microcontroller VTC-9F cable REMDISK.EXE Desktop PC #1 port Null modem adapter VTC-9F REMSERV.EXE cable Desktop PC #2...
  • Page 34 6000 Series user’s manual Quick start 4. On PC #2 (i.e., the remote disk drive PC), execute REMSERV.EXE by entering: C:\> REMSERV C: The following message is displayed on PC #2: REMSERV v1.0 Copyright (c) 1990-1994 Datalight, Inc. All rights reserved.
  • Page 35 Quick start 6000 Series user’s manual Figure 2-11 Downloading files to the PC Microcontroller with a video card 5420 REMDISK.EXE SVGA Card REMSERV.EXE VTC-9F Microcontroller cable Desktop PC port REMDISK.EXE Null modem adapter 2. On the PC Microcontroller system, execute REMDISK.EXE by entering: 60xx C:\>...
  • Page 36 6000 Series user’s manual Quick start 4. Files are transferred to the PC Microcontroller’s read/write drives by using the DOS COPY and XCOPY commands. From the PC Microcon- troller system, enter: 60xx C:\> COPY F:\MPC\60xx\DEMO.EXE C: 60xx C:\> DIR C: 60xx C:\>...
  • Page 37 Quick start 6000 Series user’s manual 2-20...
  • Page 38: Setup Programs

    6000 Series user’s manual Setup programs Setup programs Chapter 3: This chapter discusses running the SETUP configuration program, the SETSSD program, and the PMISETUP program on the PC Microcontroller. SETUP — Configures devices set up by the BIOS such as serial ports, floppy drives, etc.
  • Page 39 Setup programs 6000 Series user’s manual Table 3-1 6000 Series setup parameters and defaults SETUP parameters Description Default Serial console for COM1 Specifies that COM1 is to be Enabled used for console if video card is not present COM1 console baud rate...
  • Page 40: Running Setup

    6000 Series user’s manual Setup programs Running SETUP 1. Make sure you have established a serial communications console I/O link between the PC Microcontroller and your PC. Refer to the Quick start chapter for more information on establishing communications with your PC Microcontroller.
  • Page 41 Setup programs 6000 Series user’s manual Boot Sequence: C: Only* A: Then C: Serial Port A: Enabled* Disabled Serial Port B: Enabled* Disabled Parallel (LPT) Port: Enabled* Disabled Parallel Port Mode: Bidirectional mode* EPP mode ECP mode Floppy disk mode...
  • Page 42 6000 Series user’s manual Setup programs Note If you are using a 5800A or a 5815 with the PC Microcontroller, set “Number of hard drives” to “0” on either the 5800A or 5815 or on the PC Microcontroller. See the following table for details.
  • Page 43: Setup Example

    Setup programs 6000 Series user’s manual Press ENTER to SAVE the changes or Press ESC to EXIT without saving the changes. Saving options. Options saved. Depending on the options you have selected, the system may display the following message: You must reset for these options to take effect.
  • Page 44 6000 Series user’s manual Setup programs ≡ SETSSD SETSSD allows the user to set or change the PICO FA drive (SSD) order. PICO FA drives are “simulated” hard drives. They can exist before or after any IDE drives and can appear in any order. By setting the order, the SSDs may be accessed as C:, D:, etc.
  • Page 45 Setup programs 6000 Series user’s manual ≡ PMISETUP PMISETUP allows the user to customize the power management fea- tures of the PC Microcontroller. Refer to the CPU power management chapter. See also the Software utilities chapter for details.
  • Page 46: Save And Run Programs

    6000 Series user’s manual Save and run programs Save and run programs Chapter 4: ≡ Save and run your programs on the PC Microcontroller Once you have written, tested, and debugged your application, you can then save it to flash memory in SSD0. When you reboot the PC Microcontroller, your program can automatically load into DOS memory and execute.
  • Page 47 Save and run programs 6000 Series user’s manual 2. To begin formatting SSD0, execute PFORMAT as follows: 60xx C:\> PFORMAT H n where n is the hard drive sequence number. This number includes IDE drives and SSDs. For example, if you have 0 IDE drives and SETSSD shows:...
  • Page 48: Adding Your Application

    6000 Series user’s manual Save and run programs Adding your application To add your application to your SSD, do the following: 1. Three methods of copying your application to the SSD are available. Do one of the following: a. From a local drive to the PC Microcontroller, issue the COPY command.
  • Page 49: Overriding The Autoexecution Of Your Application

    Save and run programs 6000 Series user’s manual Overriding the autoexecution of your application 1. Remove the jumper from the “S” position at W1 (USESETUP). 2. Reset the system. This will force the system to ignore all SETUP infor- mation, including the floppy/hard drive and the SETSSD information.
  • Page 50: Serial Ports

    Chapter 5: ≡ Description Each PC Microcontroller in the 6000 Series has two serial ports, except for the 6030 which has 4 serial ports. These serial ports are 16C550 compatible. They can be used for interfacing to a printer, terminal, or other serial device.
  • Page 51 Serial ports 6000 Series user’s manual 2. No console device (as selected with the SETUP program – “Serial Console on COM1: DISABLED”) means no console output. The local keyboard allows input. ≡ COM1 as RS-232 I/O When you have completed developing your application and programmed the PC Microcontroller, you can use COM1 as a standard RS-232 serial port for connection to a printer, modem, or other serial device.
  • Page 52 6000 Series user’s manual Serial ports Method 1 The system display will not appear over COM1 while the BIOS boots. 1. Run SETUP to disable the “COM1 as console” option. 2. Use QuickBASIC’s OPEN/CLOSE/PRINT/INPUT commands to access COM1. The following is an example program using these commands: OPEN "COM1:9600,N,8,1,BIN"...
  • Page 53: Operation

    If you need to restore the serial parameters after executing a C pro- gram, refer to the file COMTEST.CPP. This file can be downloaded from the Octagon Bulletin Board at (303) 427-5368 using 14400 baud, 8 data bits, no parity, and 1 stop bit.
  • Page 54 COM2 as an RS-422/485 port. This software inter- face supports Optomux type message-passing as well as additional Octagon messages. Up to 32 nodes are supported at a default baud rate of 38.4 KB. This built-in feature provides a simple, low cost, and effec- tive method of rapidly implementing an RS-422/485 network.
  • Page 55 ID FFh. Network interface module (NIM) The Octagon network interface module (NIM) is designed for easy installation onto COM2 of the PC Microcontrollers. The NIM supports four-wire RS-422 and two-wire RS-485 configurations. Power is sup- plied to the NIM via the COM2 connector on the PC Microcontroller.
  • Page 56 PC Microcontroller Remote Remote Remote Refer to Octagon application notes AN-0047, AN-0048, and AN-0049 for additional information in setting up an RS-485 network. Contact Octagon Systems Technical Support , Customer Service, or Octagon’s web site at www.octagonsystems.com for this information.
  • Page 57 Serial ports 6000 Series user’s manual Get receiver status Get transmitter status Get ID Set ID Get incoming message buffer pointer Get outgoing message buffer pointer Set incoming message buffer pointer Set outgoing message buffer pointer Set roll call response...
  • Page 58 6000 Series user’s manual Serial ports Function 06 – Get transmitter status On entry: AH = 0FAh = RS-485 function signature AL = 06h = RS-485 sub-function DX = 0ffffh On exit: AX = outgoing message status BX = outgoing message count Function 07 –...
  • Page 59 Serial ports 6000 Series user’s manual Function 0c – Set outgoing message buffer pointer On entry: AH = 0FAh = RS-485 function signature AL = 0Ch = RS-485 sub-function DX = 0ffffh ES:BX = outgoing message buffer pointer On exit: AL = status = 0 ->...
  • Page 60: Checksum Field

    . = end message character Checksum field The checksum field of Octagon’s command set is computed by adding the ID field to the original Optomux type checksum. Note that by providing the checksum in this way, Optomux type equipment treats Octagon’s add-on commands as invalid messages while Octagon’s equip-...
  • Page 61 Serial ports 6000 Series user’s manual Examples Full C code examples are included in the \EXAMPLES directory on the PC Microcontroller utility disk. The following examples are for concept only. Example 1: The following is a description of how Roll Call is implemented: Host sends: (Dear node #1, are you there?) >01AA3.
  • Page 62 6000 Series user’s manual Serial ports Host sends: (Dear FF, are you there?) >FFACC. ;> ;message start character ; FF ;intended listener is ID FF ;command code A (roll call) ;checksum = uchar (‘F’+‘F’+’A’+0xff) = 0xCC ;message end character Remote replies: (Dear 00: FF is here. I have no special request.) >00ZFF00A6.
  • Page 63 Serial ports 6000 Series user’s manual Remote replies: (Dear 00: FF acknowledges my new ID to be 05.) >00XFF05A9. ; > ;message start character ; 00 ;intended listener is ID 00 (host) ;command code X (reply to assign ID) ;FF = my ID ;05 = my new ID...
  • Page 64 6000 Series user’s manual Serial ports Remote replies: (Dear 00: 02 internal state = 47.) >00W024784. ; > ;message start character ; 00 ;intended listener is ID 00 (host) ;command code W (reply to internal state query) ;02 = my ID 47 ;47 = my internal state...
  • Page 65 Serial ports 6000 Series user’s manual 5-16...
  • Page 66: Digital I/O Lines

    EZ I/O lines can be used to sense switch closures, turn on lamps and LEDs, and interface with other devices that have TTL input or output such as printers and scales. The EZ I/O port can drive the Octagon MPB series opto-isolation module racks directly, controlling AC and DC loads to 240V at 3A.
  • Page 67 EZ I/O 6000 Series user’s manual WARNING! Apply power to the PC Microcontroller before applying an input voltage to the digital I/O lines. This prevents excessive currents from flowing and damaging input devices. The following chart specifies PC Microcontroller cards with EZ I/O capability.
  • Page 68 6000 Series user’s manual EZ I/O can be individually programmed as 5V input or 5V output. Each line can sink or source 15 mA. 6020 — Pulling the I/O lines high or low Jumper block W3 pulls ports A, B, and C of EZ I/O 1 high or low.
  • Page 69 EZ I/O 6000 Series user’s manual Figure 6-2 Location of EZ I/O in the 6020 Base Base + 1 Base + 2 26-position connectors Control Base + 3 Register 6020 EZI/O digital I/O chip See Table 6-9 for the 6020 EZ I/O base address selection.
  • Page 70 6000 Series user’s manual EZ I/O Table 6-5 Pull-up/pull-down EZ I/O: 6040 Configuration Description W2[2-4]* All lines in Port A are pulled to +5V through 10K Ohm W2[4-6] All lines in Port A are pulled to Gnd through 10K Ohm...
  • Page 71 EZ I/O 6000 Series user’s manual ≡ Model 6050 Sixteen of the 24 lines can be individually programmed as inputs or outputs. These are divided into two groups of 8 lines with 10K resistors that can be pulled to ground or +5V. As output lines, they can sink and source 15 mA.
  • Page 72 6000 Series user’s manual EZ I/O Figure 6-4 Location of EZ I/O in the 6050 Base output only Base + 1 UNL2804 high current outputs Base + 2 26-position connector Control Base + 3 Register 6050 EZ I/O digital I/O chip See Table 6-10 for the 6050 EZ I/O base address selection.
  • Page 73 EZ I/O 6000 Series user’s manual Table 6-7 6050 high current outputs # of Outputs Max current per output 500 mA 410 mA 310 mA 260 mA 210 mA 190 mA 160 mA 150 mA Since the thermal time constant of the package is very short, the number of outputs that are on at any one time should include those that overlap even for a few milliseconds.
  • Page 74: Opto-Module Rack Interface

    6000 Series user’s manual EZ I/O Figure 6-6 High current output hookup UNL2804 high current driver @ U15 EZ I/O connector Port B, +24V supply bit 0 EZ I/O – Equivalent circuit 6050 Example external circuit ≡ Opto-module rack interface You can interface digital I/O lines to an 8-, 16-, or 24-position opto- module rack.
  • Page 75 EZ I/O 6000 Series user’s manual Figure 6-7 Opto rack hookup EZ I/O port LOGIC – CMA-26 ribbon cable Microcontroller MPB opto rack Figure 6-8 Optional EZ I/O opto rack configuration LOGIC – MPB Opto Rack CMA-26 EZ I/O port...
  • Page 76 6000 Series user’s manual EZ I/O Table 6-8 EZ I/O opto-rack interface MPB opto rack EZ I/O port Connector pin Opto–module position Port C bit 0 bit 1 bit 2 MPB–08 bit 3 bit 4 bit 5 bit 6 bit 7 Opto–module position...
  • Page 77: Interfacing To Switches And Other Devices

    EZ I/O 6000 Series user’s manual Figure 6-9 Keypad and display board hookup LCD display VF display 4x4 Keypad EZ I/O port 10-pin 14-pin 16-pin cable cable cable 6000 Series CMA-26 cable PC Microcontroller ≡ Interfacing to switches and other devices The STB-26 terminal board provides a convenient way of interfacing switches or other digital I/O devices to the EZ I/O digital port.
  • Page 78 On powerup and software or hardware reset, all digital I/O lines are reset as inputs. Each digital I/O connector has an Octagon EZ I/O digital chip associated with it. Each has three ports with eight parallel I/O lines (bits) per port.
  • Page 79 EZ I/O 6000 Series user’s manual Table 6-11 EZ I/O port addressing Port I/O address Base address Base address + 1* Base address + 2 Control register Base address + 3 *Port B can only be configured as output on the 6050.
  • Page 80 Parameters Parameters are defined as follows: address specifies the base address of the Octagon EZ I/O parallel I/O device in use. initA, initB, and initC specify the logic state of portA, port B, and port C, respectively, when this statement is executed. The value range is 0 to 255.
  • Page 81: Enhanced Int17H Function Definitions

    EZ I/O 6000 Series user’s manual Ports A, B, and C will now output all “1”s after issuing the following commands: OUT 140H, FFH (port A) OUT 141H, FFH (port B) OUT 142H, FFH (port C) or all “0”s after:...
  • Page 82 6000 Series user’s manual EZ I/O xxxxxxxxB direction; 1->output, 0->input BX Port B configuration xxxxxxxx xxxxxxxxB xxxxxxxx Initial data for port B xxxxxxxxB direction; 1->output, 0->input CX Port C configuration xxxxxxxx xxxxxxxxB xxxxxxxx Initial data for port C xxxxxxxxB direction; 1->output, 0->input...
  • Page 83 EZ I/O 6000 Series user’s manual xxxxxxxxB Data for port C DX ffffh Return registers: Carry flag cleared if successful Carry flag set if error AL Error code Comments: This function is used to write to the first EZ I/O (i.e., the EZ I/O that has the lower I/O address when two EZ I/O chips are present on a board).
  • Page 84 6000 Series user’s manual EZ I/O bData,ah cData,bl Initialize EZ I/O (2) Function: Subfunction: Purpose: To set the directions and to program the initial values of an EZ I/O port. Calling registers: AH efh Port A configuration xxxxxxxx xxxxxxxxB xxxxxxxx Initial data for port A xxxxxxxxB direction;...
  • Page 85 EZ I/O 6000 Series user’s manual Calling registers: AH efh AL 04h Port A mask and data xxxxxxxx xxxxxxxxB xxxxxxxx Mask for port A; 1->bit to be changed xxxxxxxxB Data for port A BX Port B mask and data xxxxxxxx xxxxxxxxB xxxxxxxx Mask for port B;...
  • Page 86 6000 Series user’s manual EZ I/O Comments: This function is used to read from the second EZ I/O (i.e., the EZ I/O that has the higher I/O address when two EZ I/O chips are present on a board). Programming example: /* Inline assembly code for Borland C++ 3.1 */...
  • Page 87 EZ I/O 6000 Series user’s manual 6-22...
  • Page 88 AUX I/O connector pinout. ≡ Breakout board (BOB) The breakout board (BOB) is designed for use with all 6000 Series PC Microcontrollers. Keyboard, printer, speaker, optically isolated interrupt and reset, and an optional AT battery, are connected from the breakout board to the PC Microcontroller through the 34-pin AUX I/O header.
  • Page 89: Opto-Isolated Inputs

    Opto-isolated inputs Pin 2 of P1 on the breakout board is the opto-isolated return pin com- mon to both opto-isolated A and B inputs. Octagon recommends that these input sources have a common ground point established that is tied to pin 2. See Figure 7-3 for recommended timing usage.
  • Page 90: Parallel Printer Port

    The LPT1 port mode is configured in SETUP. Opto rack The Octagon MBP-16PC opto rack interfaces directly to the parallel printer port and can control high voltage/high current G4 opto-isolated modules. Of the available 16 positions, 8 can be either input or output, 4 are dedicated as inputs and 4 are dedicated as outputs.
  • Page 91: Floppy Disk Drive

    AUX I/O 6000 Series user’s manual Installing a keyboard To install a keyboard: 1. Remove power from the PC Microcontroller. 2. Connect a CMA-34 cable from the AUX I/O port on the breakout board to the AUX I/O port on the PC Microcontroller.
  • Page 92 6000 Series user’s manual AUX I/O 3. Connect an FCA-12 cable from the printer port on the breakout board to the floppy drive. See the Breakout board product sheet for an LPT1 to floppy drive cable pinout. 4. Connect an external power cable to the floppy drive.
  • Page 93 Installing an AT battery on the breakout board A 3.6V AT battery (Octagon P/N 3186) can be installed on the breakout board to provide backup for the real time clock and the SRAM SSD2.
  • Page 94: Alphanumeric Display

    6000 Series user’s manual AUX I/O The keypad and display board plugs into the EZ I/O port on the PC Microcontroller using a CMA-26 cable. Refer to the EZ I/O chapter for interfacing to the EZ I/O port. The keypad and display board plugs into the AUX I/O port on the PC Microcontroller using a CMA-34 cable.
  • Page 95 AUX I/O 6000 Series user’s manual connect a CMA-34 cable from the AUX I/O port on the PC Microcontroller to the AUX I/O port on the keypad and display board. 3. Supply +5V to the keypad and display board. 4. Connect the selected display, either VF-2 x 20, VF-4 x 20 or LCD 4 x 40 display to the appropriate connector on the keypad and display board.
  • Page 96 6000 Series user’s manual Analog I/O Analog I/O Chapter 8: Note Analog I/O is only available on the 6040 PC Microcontroller. ≡ Description The 6040 has eight input channels and two analog output channels, all with 12 bits of resolution. It can read and write data at 100,000 samples per second.
  • Page 97 Analog I/O 6000 Series user’s manual ≡ Analog I/O interface To interface analog I/O devices to J7 of the 6040, use an STB-20 termi- nal board and a CMA-20 cable. See the following diagram. Figure 8-1 Interfacing analog I/O devices to the 6040...
  • Page 98: Configuring Analog Output

    6000 Series user’s manual Analog I/O 40 CONFIG AIN 3,3: ‘Config A/D channel 3 to -10 to 10V input range 50 CONFIG AIN 4,0: ‘Config A/D channel 4 to 0 to 5V input range 60 CONFIG AIN 5,0: ‘Config A/D channel 5 to 0 to 5V input range 70 CONFIG AIN 6,0: ‘Config A/D channel 6 to 0 to 5V...
  • Page 99: Enhanced Int17H Function Definitions

    Analog I/O 6000 Series user’s manual 20 AOT 0,2048: ‘Output approximately 5V to channel 0 30 AOT 1,1024: ‘Output approximately 2.5V to channel 1 Table 8-2 Analog specifications Analog input Specifications Channels: 8 single-ended Resolution: 12-bit Input voltage ranges: ±10V, ±5V, 0 to 10V, or 0 to 5V...
  • Page 100: Digital To Analog Conversion

    6000 Series user’s manual Analog I/O Analog to digital conversion Function: Subfunction: Purpose: To perform an analog to digital conversion at a specified A/D channel. This function will perform averaging based on the last setting done using subfunction 2. Calling registers: AH f8h...
  • Page 101 Analog I/O 6000 Series user’s manual Return registers: Carry flag cleared if successful Carry flag set if error AL Error code Programming example: unsigned int dtoa0Data; asm { mov ax,0f801h mov bl,1 /*D/A channel 1 */ mov cx,0800h /*D/A output at about ½ way of full range...
  • Page 102 6000 Series user’s manual Analog I/O ≡ 6040 analog input reference adjustment The analog input reference voltage is adjusted at the factory and nor- mally will not require adjustment. If necessary, this reference adjust- ment can be readjusted to the factory setting or can also be offset to measure up to a 5% over range input.
  • Page 103 Analog I/O 6000 Series user’s manual...
  • Page 104 DOS drive when the PICOFA.SYS driver is loaded. While this is convenient for product development, the flash, however, has a limited number of writes allowed. Therefore, Octagon does not recom- mend SSD0 be used as a data logging device. Refer to the Software utilities chapter for information on supported flash memory and a description of PICO FA.
  • Page 105: Real Time Clock

    SSDs, DRAM, and battery backup 6000 Series user’s manual ≡ DRAM The PC Microcontrollers are shipped with 2 or 4 MB of fast page DRAM surface mounted on-card. ≡ Real time clock The PC Microcontroller has a built-in AT style, real time calendar/ clock.
  • Page 106: External Drives

    6000 Series user’s manual External drives External drives Chapter 10: ≡ Description You can use your PC Microcontroller with one or two floppy disk drives and/or a hard disk drive. This chapter includes installation and opera- tion instructions for each device. Also, refer to the instruction manuals included with each device.
  • Page 107 1. Install the 6010 PC Microcontroller. 2. Connect the floppy disk drive cable to J8 on the 6010. 3. Floppy disk drives requiring +5V (for example, Octagon’s 5814), are powered directly from the floppy port. W2[2–4] must be enabled to supply internal +5V to a 5V only floppy drive.
  • Page 108: Hard Disk Drive

    6000 Series user’s manual External drives ≡ Hard disk drive The PC Microcontroller supports the 5800A and 5815 Floppy/Hard Disk Drive Cards which support IDE type hard drives. The hard drive BIOS is also included in the PC Microcontroller BIOS. Instructions for install- ing either type of hard drive is explained below.
  • Page 109 Installing a hard disk drive with the 6010 on-board HDD interface 1. Install the 6010 PC Microcontroller. 2. Connect the Octagon hard disk drive cable (P/N 4080) to J7 on the 6010. WARNING! Failure to properly orient the hard drive cable may damage the 6010, hard drive, and cable.
  • Page 110 6000 Series user’s manual Video Video Chapter 11: ≡ Description You can use a video card with a monitor and a keyboard with the PC Microcontroller instead of using your PC keyboard and monitor over a serial communications link. The keyboard and speaker lines are brought out to the breakout board for setting up and using a keyboard and speaker with the PC Microcontroller.
  • Page 111 Video 6000 Series user’s manual If you have setup a floppy drive on the PC Microcontroller system, you can copy the files directly from the floppy to SSD0. If a local floppy drive is not available, you must use TRANSFER.EXE or REMDISK/REMSERV to transfer files from a remote system via COM1 or COM2, as detailed in the next section and in the Software utilities chapter.
  • Page 112 6000 Series user’s manual Video 2. Execute the TRANSFER program from the PC Microcontroller to re- ceive a file from your PC. 60xx C:\> TRANSFER /COM1 /R /V <drive> filename.ext <drive> is the virtual drive on the PC Microcontroller where the file is transferred.
  • Page 113 Video 6000 Series user’s manual Failed to receive <drive>filename.ext! Deleting <drive>filename.ext Also, you may speed up the transfer using the /Bnnnn switch to increase the baud rate, for example, /B57600. Using REMDISK/REMSERV 1. Connect the equipment as shown in Figure 11-1.
  • Page 114: Interrupt Routing

    6000 Series user’s manual IRQ routing and opto IRQs IRQ routing and opto IRQs Chapter 12: ≡ Interrupt routing The PC Microcontroller provides routing of several interrupts that originate from the 8-bit ISA bus to use additional AT interrupts. This...
  • Page 115: Optically Isolated Inputs

    IRQ9. Pin 2 of P1 on the breakout board is the opto-isolated return pin com- mon to both optically isolated A and B inputs. Octagon recommends that these input sources have a common ground point established that is tied to pin 2 on P1. See the following figure for recommended timing usage.
  • Page 116 6000 Series user’s manual LED signaling and “beep” codes LED signaling and “beep” codes Chapter 13: ≡ Description The PC Microcontroller has the bicolor LED that is used by the BIOS to signal system status and CPU speed. Immediately after the PC Microcontroller powers on, both LEDs are lit and display an orange color.
  • Page 117 LED signaling and “beep” codes 6000 Series user’s manual Table 13-1 Phoenix BIOS beep codes (cont’d) Diagnostic port output Beep codes Description of test or failure 2-1-1 1st 64K RAM chip or data line failure-bit 0 2-1-2 1st 64K RAM chip or data line failure-bit 1...
  • Page 118 6000 Series user’s manual PC/104 expansion PC/104 expansion Chapter 14: Note The PC/104 connector is not available on all cards. ≡ Description This connector allows you to interface to one or two PC/104 form factor modules including hard disks, A/D converters, digital I/O, serial ports, etc.
  • Page 119 PC/104 expansion 6000 Series user’s manual 14-2...
  • Page 120: Counter Timer Controller

    6000 Series user’s manual Counter timer controller Counter timer controller Chapter 15: Note The counter timer controller is only available on the 6020 PC Microcontroller. ≡ Description The 6020 has an 82C54 counter timer controller (CTC) to provide peri- odic interrupts to the CPU for time related I/O events such as data logging.
  • Page 121: Address Mapping

    Counter timer controller 6000 Series user’s manual Note The 82C54 is an extremely versatile component which has six modes of operation, a Read Back command, and a Counter Latch command. The primary intent, however, is to use the 6020 CTC for providing periodic interrupts to the CPU and not to discuss all functions associated with the CTC.
  • Page 122 6000 Series user’s manual Counter timer controller The following addresses each access a different function of the CTC: Base+0 = CTC counter 0 Base+1 = CTC counter 1 Base+2 = CTC counter 2 Base+3 = CTC control register Refer to the Counter/timers section for details on each I/O location and their functions.
  • Page 123 Counter timer controller 6000 Series user’s manual Example OUT &153, &76 Writes a 76h as a control word to the CTC control register and configures a selected counter. OUT &150, &AA Writes the count value of AAH to the counter. The counter is determined in the 76h control word.
  • Page 124 6000 Series user’s manual Counter timer controller Table 15-2 Control word setup Table 15-3 Control word setup and description Setup Description D7 - SC1 Select counter bit 1 D6 - SC0 Select counter bit 0 D5 - RW1 Read/write bit 1...
  • Page 125 Counter timer controller 6000 Series user’s manual Table 15-5 Read /write bits: RW1 and RW0 Description Counter latch command Read and write least significant byte only Read and write most significant byte only Read and write least and then most significant byte...
  • Page 126 6000 Series user’s manual Counter timer controller generate periodic interrupts, modes 2 and 3 will be most effective. The programming example, 6020_CTC.CPP, demonstrates the use of modes 2 and 3. Mode 0 – Terminal count The terminal count mode is generally used to count external events.
  • Page 127 Counter timer controller 6000 Series user’s manual Because the interrupts are typically edge triggered, the interrupt is not generated until OUT goes low and then high again (CLOCK count +1). Mode 3 – Square wave mode This mode is useful when it is necessary to generate a Square Wave output.
  • Page 128 6000 Series user’s manual Counter timer controller Mode 5 – Hardware triggered strobe This mode can be useful by loading a count into counter 0 or counter 1 and then starting the count by enabling the GATE. Once the count has been reached an interrupt will be generated.
  • Page 129: Error Code Definition

    Counter timer controller 6000 Series user’s manual Return registers: Carry flag cleared if successful Carry flag set if error Error code Comments: This function shall be used to initialize CTC. Programming example: /* Inline assembly code for Borland C++ 3.1 */...
  • Page 130: Watchdog Timer

    6000 Series user’s manual Watchdog timer, reset, and remote reset Watchdog timer, reset, and Chapter 16: remote reset ≡ Watchdog timer The watchdog timer is a fail-safe against program crashes or processor lockups. It times out every 1.6 seconds (1.6 sec. typical, 1.00 sec. min., 2.25 sec.
  • Page 131: Strobe Watchdog

    Watchdog timer, reset, and remote reset 6000 Series user’s manual Strobe watchdog Function: Subfunction: Purpose: To strobe the watchdog. Calling registers: AH fdh AL 02h DX ffffh Return registers: None Comments: This function strobes the watchdog. Once the watchdog is enabled, it has to be strobed at a period of not less than 1.6 seconds or until the watchdog is disabled.
  • Page 132: Hardware Reset

    6000 Series user’s manual Watchdog timer, reset, and remote reset Programming example: /* Inline assembly code for Borland C++ 3.1 */ asm { ax,0fd03h dx,0ffffh ≡ Hardware reset The PC Microcontroller has a button which allows you to reset the system without turning off the power.
  • Page 133 Watchdog timer, reset, and remote reset 6000 Series user’s manual 16-4...
  • Page 134: Read A Single Word From The Serial Eeprom

    6000 Series user’s manual Serial EEPROM Serial EEPROM Chapter 17: ≡ Description Up to 768 words of user-definable data can be saved in the serial EEPROM. The serial EEPROM does not require battery backup to maintain the data when the system power is off. The serial EEPROM is easily accessible via software interrupts by most programming languages.
  • Page 135: Write A Single Word To The Serial Eeprom

    Serial EEPROM 6000 Series user’s manual Comments: This function reads a word from the user area of the serial EEPROM. Programming example: /* Read word 2 */ unsigned int seeData; /* Inline assembly code for Borland C++ 3.1 */ asm {...
  • Page 136: Read Multiple Words From The Serial Eeprom

    6000 Series user’s manual Serial EEPROM Read multiple words from the serial EEPROM Function: Subfunction: Purpose: To read multiple words from the on-board serial EEPROM. Calling registers: Word address (zero based) Word count ffffh ES:DI Destination pointer Return registers: Carry flag cleared if successful...
  • Page 137: Return Serial Eeprom Size

    Serial EEPROM 6000 Series user’s manual Calling registers: Word address (zero based) Word count ffffh DS:SI Source pointer Return registers: Carry flag cleared if successful Carry flag set if error Error code Error Code Meaning Unknown error Function not implemented...
  • Page 138 6000 Series user’s manual Serial EEPROM Carry flag set if error Error code Error Code Meaning Unknown error Function not implemented Defective serial EEPROM Illegal access Comments: This function returns the size (in words) of the serial EEPROM. Since the user cannot access all of the serial EEPROM, this function determines how much space is available to the user.
  • Page 139 Serial EEPROM 6000 Series user’s manual 17-6...
  • Page 140: Cpu Power Management

    Chapter 18: ≡ Description The power management for the PC Microcontrollers in the 6000 Series only functions in DOS. The power demands of a system can severely limit an application due to thermal constraints or the raw power usage in a battery-operated application. To maintain speed and efficiency, a software-controlled, power management system must be tailored to the application.
  • Page 141: Device Power Management

    CPU power management 6000 Series user’s manual In a stand-alone environment (no APM software active), the firmware works in conjunction with the hardware doze timer and monitoring functions to identify periods when certain devices or the entire system are inactive. Individual timers are supported for specific devices, includ- ing the hard disk.
  • Page 142: System Power Management

    6000 Series user’s manual CPU power management ≡ System power management At the system level, power management is very similar to the device level management, with a few exceptions. Cooperative management is supported, allowing an APM driver, such as POWER.EXE, to control the actual power state transitions.
  • Page 143 CPU power management 6000 Series user’s manual Initiating the SUSPEND/RESUME option with system activities 1. In SETUP and in a .PMI file, enable power management and select the following options: SETUP: Power management: ENABLED Time updated after suspend: ENABLED 2. Create a .PMI file such as TEST.PMI. Include the following commands in the TEST.PMI file:...
  • Page 144: Power Management Configuration

    6000 Series user’s manual CPU power management 8. Once the system enters the SUSPEND mode, specified devices are powered down. Triggering the specified events will cause the system to resume. ≡ Power management configuration The power management functions can be globally enabled or disabled in CMOS.
  • Page 145 CPU power management 6000 Series user’s manual suspend delay=xx Sets delay time before system SUSPENDs (xx=0-31 minutes) hdd delay=xx Sets delay time before hard drive suspends, xx=0-31 minutes IDLE timer resets The IDLE timer monitors system activity to prevent the system from entering SUSPEND mode if bus activity indicates that the system is busy.
  • Page 146 6000 Series user’s manual CPU power management If DRQ reset idle is set to YES, then the following DRQ options are specified. drq0 reset idle=Y|N Enables reset of IDLE clock if DRQ0 occurs drq1 reset idle=Y|N Enables reset of IDLE clock if DRQ1 occurs...
  • Page 147 CPU power management 6000 Series user’s manual COM2 resume=Y|N Enables resume activities if access to COM2 suspend occurs keyboard resume=Y|N Enables resume activities if access to Key board Display suspend occurs If DRQ access resume is set to YES, then the following options are...
  • Page 148: Formatting A Drive

    6000 Series user’s manual Using PICO FA Using PICO FA Chapter 19: ≡ Description Phoenix’s PICO FA™ includes an extended BIOS (PICOFA.IMG), a device driver (PICOFA.SYS), and a format utility (PFORMAT.EXE). The extended BIOS emulates two read/write hard drives using flash memory in SSD0 and SRAM in SSD2.
  • Page 149 Using PICO FA 6000 Series user’s manual ≡ Making copies of SSD0’s contents for other boards To copy an SSD for other PC Microcontroller boards, you must make an image of the SSD by doing the following: 1. Enter: GETIMG SSD0 filename 2.
  • Page 150: Major Features

    Power management should be disabled when using CAMBASIC. ≡ Introduction All PC Microcontrollers in the 6000 Series are programmable in CAMBASIC™—Octagon’s version of an industrial programming language specifically designed for embedded applications. CAMBASIC is a data acquisition and an industrial control language which is easy- to-use, fast, and multitasking.
  • Page 151 CAMBASIC 6000 Series user’s manual CAMBASIC task types Event Multitasking lets you do a number of system tasks in the back- ground while you execute your program. The following tasks are avail- able in CAMBASIC: Calling subroutines every 0.01 to 655 seconds Note Use ON TICKA and ON TICKB statements to call subroutines.
  • Page 152: Network Support

    6000 Series user’s manual CAMBASIC Industrial commands CAMBASIC has more than 93 commands, many of which are tailored to the industrial environment. CAMBASIC can do the following: Read switch inputs individually or in groups Write to lamps, relays, and opto-isolator modules one at a time or in...
  • Page 153 CAMBASIC 6000 Series user’s manual AUTORUN Autoruns a CAMBASIC program BCCF Returns the binary check code (BCC) Converts binary to 4-digit BCD Converts BCD to binary BIN$ Returns the binary representation to string form Reads or writes specific bits at I/O addresses...
  • Page 154 CAMBASIC. Example 1 The following exemplifies the program to write display information to Octagon DP Series and LCD Series display: 10 CONFIG PIO &100,0,0,0,0,0: ‘Configure an 8255 at &100 to be output ports 20 CONFIG DISPLAY &100,0,0: ‘Use 2x20 fluorescent display with a hidden cursor at I/O address &100...
  • Page 155 CAMBASIC 6000 Series user’s manual 140 IF A$ = “0” THEN ON KEYPAD$ GOSUB : ‘Disable key pad if the key pressed is “0’ 150 RETURN KEYPAD$ 20-6...
  • Page 156: Software Utilities

    Software utilities Chapter 21: ≡ Introduction The PC Microcontroller ROM-DOS and utility disk comes with the utilities listed below. Refer to the 6000 Series user’s manual for a complete description of each of the software commands. Support commands COM1CON.EXE GETBIOS.EXE GETIMG.EXE...
  • Page 157 Software utilities 6000 Series user’s manual 21-2...
  • Page 158: Troubleshooting

    If you are using communications software other than PC SmartLINK, Octagon cannot guarantee the operation. Make sure that the software parameters are set to match those of the PC Microcontroller: 9600 baud, 8 bits, 1 stop bit, and no parity.
  • Page 159: System Locks Up On Powerup; May Or May Not Respond To Reset Switch

    System locks up on powerup; may or may not respond to reset switch A common cause is using a non-Octagon power supply such as a PC desktop supply. Most of these PC supplies are rated at 5V at 20A or more.
  • Page 160: System Locks Up After Powerdown/Powerup

    6000 Series user’s manual Troubleshooting Octagon supplies are designed to ramp up fast (less than 50 ms), dis- charge fast on powerdown and to regulate properly under a no load condition. System locks up after powerdown/powerup If the power supply does not drain below 0.7V, the CMOS components on the card will act like diodes and forward bias.
  • Page 161 Troubleshooting 6000 Series user’s manual 22-4...
  • Page 162: Technical Specifications

    6000 Series user’s manual 6010 technical data 6010 technical data Appendix A: ≡ Technical specifications ALi M6117 386SX Embedded Microprocessor Bus clock 25 MHz, 40 MHz BIOS AT compatible with industrial extensions DRAM 4 MB DRAM soldered on-card Floppy drive Floppy drive support via the LPT1 parallel port or external adapter.
  • Page 163 6010 technical data 6000 Series user’s manual Hard drive Hard drive BIOS supported using external hard drive controller which allows extended IDE drives larger than 528 MB. The 6010 has on- board hard drive interface at J7. WARNING! Failure to properly orient the hard drive cable may damage the 6010, hard drive, and cable.
  • Page 164 6000 Series user’s manual 6010 technical data Bus mastering Bus mastering is not supported Power requirements 5V ±0.25V @ 1.0 Amp. maximum Full 40MHz operation: 480mA typical Suspend: 167mA typical Environmental specifications –40° to 85° C when operating at 25 MHz 0°...
  • Page 165: Component Diagram

    6010 technical data 6000 Series user’s manual ≡ Component diagram Figure A-1 6010 component diagram Floppy drive (34–pin) AUX I/O (34–pin) IDE hard drive (44–pin) PC/104 COM1 8–16 bit (10–pin) Battery COM2 (10–pin) Pin 1 Power...
  • Page 166 6000 Series user’s manual 6010 technical data ≡ Maps Table A-1 6010 DMA map Channel Description Channel 0 Reserved for bus memory refresh Channel 1 Available/reserved for ECP parallel port Channel 2 Floppy disk drive Channel 3 Available Channel 4...
  • Page 167 6010 technical data 6000 Series user’s manual Table A-3 6010 interrupt map Interrupt Description IRQ0 System timer IRQ1 Keyboard IRQ2 Unavailable IRQ3 COM2 serial port IRQ4 COM1 serial port IRQ5 LPT A IRQ6 Floppy disk controller (available and connected to BIRQ6...
  • Page 168: Jumper Settings

    6000 Series user’s manual 6010 technical data ≡ Jumper settings Table A-5 6010 jumper settings: W1 and W2 Jumper position Pins Description "S" W1[1-2]* USESETUP "X" W1[3-4]* BIOS extension enable "N" W1[5-6]* Network mode "T" W1[7-8]* Turbo mode "IA" W2[7-8]* IO RGE SEL A "IB"...
  • Page 169 6010 technical data 6000 Series user’s manual Table A-7 6010 I/O range select jumper pinout: W2 Function FDD power +5V FDD IRQ14 BIRQ5 IORGESELA (IA) BIOSDEV (B) Note: W2[2–4] supplies internal +5V to a +5V only floppy drive. Do not install W2[2–4] if external voltage is supplied...
  • Page 170 6000 Series user’s manual 6010 technical data Table A-8 6010 PC/104 connector pinout: J1 Row A Row B Row C Row D — — IOCHK* SBHE* MEMCS16* RESETDRV LA23 IOCS16* LA22 IRQ10 IRQ2/9 LA21 IRQ11 NC (–5V) LA20 IRQ12 DRQ2...
  • Page 171 6010 technical data 6000 Series user’s manual Table A-9 6010 AUX I/O connector pinout: J2 Function DB–9 IDC breakout cable Opto common +OPTOB +OPTOA Keyboard data Keyboard clock Battery Speaker +5 Vdc safe Function DB–25 IDC breakout cable STB* AFD*...
  • Page 172 6000 Series user’s manual 6010 technical data Table A-10 6010 COM1 (J3) and COM2 (J4) connector pinout COM1 COM2 RxD* RxD* TxD* TxD* +5 VDC Safe +5 VDC Safe * = active low Table A-11 6010 power connector pinout: J5...
  • Page 173 6010 technical data 6000 Series user’s manual Table A-13 6010 hard drive connector pinout: J7 Function Function HRST* HIOW* HD07 HIOR* HD08 HD06 HDCHRDY HD09 HDALE HD05 HD10 HD04 IRQ14 HD11 HDCS16* HD03 HDA1 HD12 HD02 HDA0 HD13 HDA2 HD01...
  • Page 174 6000 Series user’s manual 6010 technical data Table A-14 6010 floppy drive connector pinout: J8 Function Function Dir* DenSel Step* WData* +5V FDD/Gnd WGate* Index* +5V FDD/Gnd Trk* Mtr* +5V FDD/Gnd DS1* RData* DS0* HDSel* Mtr1* DskChg* * = active low...
  • Page 175 6010 technical data 6000 Series user’s manual Table A-15 Micro PC bus “A” pinout Description Signal Description Signal I/O CH CK* I/O CH RDY * = active low A-14...
  • Page 176 6000 Series user’s manual 6010 technical data Table A-16 Micro PC bus “B” pinout Description Signal Description Signal DACK1* RESET DRQ1 DACK0* IRQ9 CLOCK Not used IRQ7 DRQ2 IRQ6 -12V Not used IRQ5 I (mapped to IRQ14) Reserved Not used...
  • Page 177 6010 technical data 6000 Series user’s manual A-16...
  • Page 178: Technical Specifications

    6000 Series user’s manual 6020 technical data 6020 technical data Appendix B: ≡ Technical specifications ALi M6117 386SX Embedded Microprocessor Bus clock 25 MHz, 40 MHz BIOS AT compatible with industrial extensions DRAM 2 MB DRAM soldered on-card Floppy drive...
  • Page 179 6020 technical data 6000 Series user’s manual Battery backup On-board battery to backup real time clock and SRAM SSD2 Watchdog timer Default time-out is 1.6 seconds (typical), software enabled and strobed. Disabled on powerup and reset. Controls are through built-in, enhanced INT 17h function calls.
  • Page 180: Component Diagram

    6000 Series user’s manual 6020 technical data ≡ Component diagram Figure B-1 6020 component diagram EZ I/O 1 (26–pin) Battery AUX I/O (34–pin) COM1 (10–pin) EZ I/O 2 COM2 (26–pin) (10–pin) Pin 1 Power...
  • Page 181 6020 technical data 6000 Series user’s manual ≡ Maps Table B-1 6020 DMA map Channel Description Channel 0 Reserved for bus memory refresh Channel 1 Available/reserved for ECP parallel port Channel 2 Floppy disk drive Channel 3 Available Channel 4...
  • Page 182 6000 Series user’s manual 6020 technical data Table B-3 6020 interrupt map Interrupt Description IRQ0 System timer IRQ1 Keyboard IRQ2 Unavailable IRQ3 COM2 serial port IRQ4 COM1 serial port IRQ5 LPT 1 if selected with SETUP IRQ6 Floppy disk controller (available and connected to BIRQ6...
  • Page 183: Jumper Settings

    6020 technical data 6000 Series user’s manual ≡ Jumper settings Table B-5 6020 jumper settings: W1 and W2 Jumper position Pins Description "S" W1[1–2]* USESETUP "X" W1[3–4]* BIOS extension enable "N" W1[5–6]* Network mode "T" W1[7–8]* Turbo mode "IA" W2[7–8]* IO RGE SEL A "IB"...
  • Page 184 6000 Series user’s manual 6020 technical data Table B-8 6020 pull-down/pull-up EZ I/O 2 configuration: W4 Configuration Description W4[2-4] All lines in Port A are pulled to Gnd through 10K Ohm W4[4-6]* All lines in Port A are pulled to +5V through 10K Ohm...
  • Page 185 6020 technical data 6000 Series user’s manual Table B-10 6020 BIOS and boot option jumper pinout: W2 Function 7.159 MHz CLK CTC CLK2 1.843 MHz CLK CTC Gate Control CTC Gates 0 and 1 IORGESELA (IA) BIOSDEV (B) Table B-11...
  • Page 186 6000 Series user’s manual 6020 technical data Table B-12 6020 AUX I/O connector pinout: J2 Function DB–9 IDC breakout cable Opto common +OPTOB +OPTOA Keyboard data Keyboard clock Battery Speaker +5 Vdc safe Function DB–25 IDC breakout cable STB* AFD*...
  • Page 187 6020 technical data 6000 Series user’s manual Table B-13 6020 COM1 (J3) and COM2 (J4) pinout COM1 COM2 RxD* RxD* TxD* TxD* +5 VDC Safe +5 VDC Safe * = active low Table B-14 6020 power connector pinout: J5 Function...
  • Page 188 6000 Series user’s manual 6020 technical data Table B-16 Micro PC bus “A” pinout Description Signal Description Signal I/O CH CK* I/O CH RDY * = active low B-11...
  • Page 189 6020 technical data 6000 Series user’s manual Table B-17 Micro PC bus “B” pinout Description Signal Description Signal DACK1* RESET DRQ1 DACK0* IRQ9 CLOCK Not used IRQ7 DRQ2 IRQ6 -12V Not used IRQ5 I (mapped to IRQ14) Reserved Not used...
  • Page 190 6000 Series user’s manual 6030 technical data 6030 technical data Appendix C: ≡ Technical specifications ALi M6117 386SX Embedded Microprocessor Bus clock 25 MHz, 40 MHz BIOS AT compatible with industrial extensions DRAM 2 MB DRAM soldered on-card Floppy drive...
  • Page 191 6030 technical data 6000 Series user’s manual Parallel port LPT1 is PC compatible with multifunctional capability Battery backup On-board battery to backup real time clock and SRAM SSD2 Watchdog timer Default time-out is 1.6 seconds (typical), software enabled and strobed.
  • Page 192 6000 Series user’s manual 6030 technical data ≡ Component diagram Figure C-1 6030 component diagram COM4 (10–pin) COM3 (10–pin) AUX I/O (34–pin) COM1(10–pin) Battery COM2 (10–pin) Power Pin 1...
  • Page 193 6030 technical data 6000 Series user’s manual ≡ Maps Table C-1 6030 DMA map Channel Description Channel 0 Reserved for bus memory refresh Channel 1 Available/reserved for ECP parallel port Channel 2 Floppy disk drive Channel 3 Available Channel 4...
  • Page 194 6000 Series user’s manual 6030 technical data Table C-3 6030 interrupt map Interrupt Description IRQ0 System timer IRQ1 Keyboard IRQ2 Unavailable IRQ3 COM2 serial port IRQ4 COM1 serial port IRQ5 IRQ6 Floppy disk controller (available and connected to BIRQ6 or FDC)
  • Page 195 6030 technical data 6000 Series user’s manual ≡ Jumper settings Table C-5 6030 jumper settings: W1 and W2 Jumper position Pins Description "S" W1[1-2]* USESETUP "X" W1[3-4]* BIOS extension enable "N" W1[5-6]* Network mode "T" W1[7-8]* Turbo mode "IA" W2[7-8]* IO RGE SEL A "IB"...
  • Page 196 6000 Series user’s manual 6030 technical data Table C-7 6030 digital I/O option jumper pinout: W2 Function IORGESELA (IA) BIOSDEV (B) Table C-8 COM1 (J3), COM2 (J4), COM3 (J1), and COM4 (J7) pinout COM1 (J3) COM2 (J4) COM3 (J1) COM4 (J7)
  • Page 197 6030 technical data 6000 Series user’s manual Table C-9 6030 AUX I/O connector pinout: J2 Function DB–9 IDC breakout cable Opto common +OPTOB +OPTOA Keyboard data Keyboard clock Battery Speaker +5 Vdc safe Function DB–25 IDC breakout cable STB* AFD*...
  • Page 198 6000 Series user’s manual 6030 technical data Table C-10 6030 power connector pinout: J5 Function +5 VDC Table C-11 6030 battery pinout: J6 Function +Battery Keyed Table C-12 Micro PC bus “A” pinout Description Signal Description Signal I/O CH CK*...
  • Page 199 6030 technical data 6000 Series user’s manual Table C-13 Micro PC bus “B” pinout Description Signal Description Signal DACK1* RESET DRQ1 DACK0* IRQ9 CLOCK Not used IRQ7 DRQ2 IRQ6 -12V Not used IRQ5 I (mapped to IRQ14) Reserved Not used...
  • Page 200 6000 Series user’s manual 6040 technical data 6040 technical data Appendix D: ≡ Technical specifications ALi M6117 386SX Embedded Microprocessor Bus clock 25 MHz, 40 MHz BIOS AT compatible with industrial extensions DRAM 2 MB DRAM soldered on-card Floppy drive...
  • Page 201 6040 technical data 6000 Series user’s manual Battery backup On-board battery to backup real time clock and SRAM SSD2 Watchdog timer Default time-out is 1.6 seconds (typical), software enabled and strobed. Disabled on powerup and reset. Controls are through built-in, enhanced INT17h function calls.
  • Page 202 6000 Series user’s manual 6040 technical data Mating connectors J1 EZ I/O port, 26-pin shrouded header: Connector: AMP #746288-6 Strain relief: AMP #499252-3 J2 AUX I/O port, 34-pin shrouded header: Receptacle: AMP #746288-8 Strain relief: AMP #499252-6 J3 and J4 serial ports, 10-pin shrouded header:...
  • Page 203 6040 technical data 6000 Series user’s manual ≡ Component diagram Figure D-1 6040 component diagram EZ I/O (26–pin) Battery AUX I/O (34–pin) COM1 (10–pin) COM2 Analog I/O (10–pin) (20–pin) Power Pin 1...
  • Page 204 6000 Series user’s manual 6040 technical data ≡ Maps Table D-1 6040 DMA map Channel Description Channel 0 Reserved for bus memory refresh Channel 1 Available/reserved for ECP parallel port Channel 2 Floppy disk drive Channel 3 Available Channel 4...
  • Page 205 6040 technical data 6000 Series user’s manual Table D-3 6040 interrupt map Interrupt Description IRQ0 System timer IRQ1 Keyboard IRQ2 Unavailable IRQ3 COM2 serial port IRQ4 COM1 serial port IRQ5 LPT1 IRQ6 Floppy disk controller (available and connected to BIRQ6...
  • Page 206 6000 Series user’s manual 6040 technical data ≡ Jumper settings Table D-5 6040 jumper settings: W1, W2, and W4 Jumper position Pins Description "S" W1[1–2]* USESETUP "X" W1[3–4]* BIOS extension enable "N" W1[5–6]* Network mode "T" W1[7–8]* Turbo mode "IA"...
  • Page 207 6040 technical data 6000 Series user’s manual Table D-7 6040 pull-down/pull-up EZ I/O: W2 and W4 Configuration Description W2[2-4]* All lines in Port A are pulled to +5V through 10K Ohm W2[4-6] All lines in Port A are pulled to Gnd through 10K Ohm...
  • Page 208 6000 Series user’s manual 6040 technical data Table D-10 6040 BIOS and EZ I/O jumper pinout: W2 Function +5V AUX +5V AUX Port C Port A IORGESELA (IA) BIOSDEV (B) Table D-11 6040 digital to analog range select pinout: W3...
  • Page 209 6040 technical data 6000 Series user’s manual Table D-13 6040 EZ I/O connector: J1 Function Port A bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 Port B bit 0 bit 1 bit 2...
  • Page 210 6000 Series user’s manual 6040 technical data Table D-14 6040 AUX I/O connector pinout: J2 Function DB–9 IDC breakout cable Opto common +OPTOB +OPTOA Keyboard data Keyboard clock Battery Speaker +5 Vdc safe Function DB–25 IDC breakout cable STB* AFD*...
  • Page 211 6040 technical data 6000 Series user’s manual Table D-15 6040 COM1 (J3) and COM2 (J4) pinout COM1 COM2 RxD* RxD* TxD* TxD* +5 VDC Safe +5 VDC Safe * = active low Table D-16 6040 power connector pinout: J5 Function...
  • Page 212 6000 Series user’s manual 6040 technical data Table D-18 6040 analog I/O pinout: J7 I/O channel Description ADC-0 Input Agnd ADC-1 Input Agnd ADC-2 Input Agnd ADC-3 Input Agnd ADC-4 Input Agnd ADC-5 Input Agnd ADC-6 Input Agnd ADC-7 Input...
  • Page 213 6040 technical data 6000 Series user’s manual Table D-19 Micro PC bus “A” pinout Description Signal Description Signal I/O CH CK* I/O CH RDY * = active low D-14...
  • Page 214 6000 Series user’s manual 6040 technical data Table D-20 Micro PC bus “B” pinout Description Signal Description Signal DACK1* RESET DRQ1 DACK0* IRQ9 CLOCK Not used IRQ7 DRQ2 IRQ6 -12V Not used IRQ5 I (mapped to IRQ14) Reserved Not used...
  • Page 215 6040 technical data 6000 Series user’s manual D-16...
  • Page 216 6000 Series user’s manual 6050 technical data 6050 technical data Appendix E: ≡ Technical specifications ALi M6117 386SX Embedded Microprocessor Bus clock 25 MHz, 40 MHz BIOS AT compatible with industrial extensions DRAM 2 MB DRAM soldered on-card Floppy drive...
  • Page 217 6050 technical data 6000 Series user’s manual Battery backup On-board battery to backup real time clock and SRAM SSD2 Watchdog timer Default timeout is 1.6 seconds (typical), software enabled and strobed. Disabled on powerup and reset. Controls are through built-in, enhanced INT 17h function calls.
  • Page 218 6000 Series user’s manual 6050 technical data ≡ Component diagram Figure E-1 6050 component diagram EZ I/O (26–pin) AUX I/O (34–pin) COM1 (10–pin) COM2 Battery (10–pin) Pin 1 Power...
  • Page 219 6050 technical data 6000 Series user’s manual ≡ Maps Table E-1 6050 DMA map Channel Description Channel 0 Reserved for bus memory refresh Channel 1 Available/reserved for ECP parallel port Channel 2 Floppy disk drive Channel 3 Available Channel 4...
  • Page 220 6000 Series user’s manual 6050 technical data Table E-3 6050 interrupt map Interrupt Description IRQ0 System timer IRQ1 Keyboard IRQ2 Unavailable IRQ3 COM2 serial port IRQ4 COM1 serial port IRQ5 LPT 1 if selected with SETUP IRQ6 Floppy disk controller (available and connected to BIRQ6...
  • Page 221 6050 technical data 6000 Series user’s manual ≡ Jumper settings Table E-5 6050 jumper settings: W1 and W2 Jumper position Pins Description "S" W1[1–2]* USESETUP "X" W1[3–4]* BIOS extension enable "N" W1[5–6]* Network mode "T" W1[7–8]* Turbo mode "IA" W2[7–8]* IO RGE SEL A "IB"...
  • Page 222 6000 Series user’s manual 6050 technical data ≡ Connector/jumper pinouts Table E-8 6050 BIOS and boot option jumper pinout: W1 Function USESETUP (S) BIOS extension enable (X) Network mode (N) Turbo mode (T) IORGESELB (IB) Table E-9 6050 BIOS and boot option jumper pinout: W2...
  • Page 223 6050 technical data 6000 Series user’s manual Table E-10 6050 EZ I/O connector: J1 Function Function Function Port A Port B* Port C bit 0 bit 0 bit 0 bit 1 bit 1 bit 1 bit 2 bit 2 bit 2...
  • Page 224 6000 Series user’s manual 6050 technical data Table E-11 6050 AUX I/O connector pinout: J2 Function DB–9 IDC breakout cable Opto common +OPTOB +OPTOA Keyboard data Keyboard clock Battery Speaker +5 Vdc safe Function DB–25 IDC breakout cable STB* AFD*...
  • Page 225 6050 technical data 6000 Series user’s manual Table E-12 6050 COM1 (J3) and COM2 (J4) pinout COM1 COM2 RxD* RxD* TxD* TxD* +5 VDC Safe +5 VDC Safe * = active low Table E-13 6050 power connector pinout: J5 Function...
  • Page 226 6000 Series user’s manual 6050 technical data Table E-15 Micro PC bus “A” pinout Description Signal Description Signal I/O CH CK* I/O CH RDY * = active low E-11...
  • Page 227 6050 technical data 6000 Series user’s manual Table E-16 Micro PC bus “B” pinout Description Signal Description Signal DACK1* RESET DRQ1 DACK0* IRQ9 CLOCK Not used IRQ7 DRQ2 IRQ6 -12V Not used IRQ5 I (mapped to IRQ14) Reserved Not used...
  • Page 228 Miscellaneous Miscellaneous Appendix F: The Miscellaneous chapter discusses Octagon’s power supplies. The Miscellaneous chapter also discusses how to build a custom communica- tion cable and how to upload files from the PC Microcontroller. For more information on these three areas, refer to the Miscellaneous chapter in...
  • Page 229 Miscellaneous 6000 Series user’s manual...
  • Page 230 LCD displays, keypads, opto racks and modules, and miscellaneous parts that are relevant to the 6000 Series PC Microcontrollers. To view this listing, refer to the Accessories chapter in the 6000 Series user’s manual.
  • Page 231 Accessories 6000 Series user’s manual...
  • Page 232: Warranty

    6000 Series user’s manual Warranty Warranty Refer to the 6000 Series user’s manual for a complete description on Octagon’s service policy, product repair, returns, governing law, and limitations on warranty.
  • Page 233 Warranty 6000 Series user’s manual...

Table of Contents