Home

Manual - ICP DAS USA`s I

image

Contents

1. 8072 User s Manual Warranty All products manufactured by ICP DAS are warranted against defective materials for a period of one year from the date of delivery to the original purchaser Warning ICP DAS assume no liability for damages conseguent to the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for any infringements of patents or other rights of third parties resulting from its use Copyright Copyright 2002 by ICP DAS All rights are reserved Trademark The names used for identification only maybe registered trademarks of their respective companies 8072 Users Manual Sep 2002 Rev 1 0 1 15 1 General Introduction The key component of 8072 1 A parallel printer interface 2 Two X Sockets 3 Eight LED Indicators Note the 8072 can be installed to slot 0 1 2 and 4 5 6 7 It can not be installed in the slot 3 1 A parallel printer interface O can be used to link to dot matrix printer or laser printer e The software support text mode only The source code of driver is open for user s modification e User can modify the given driver to support graphic mode of his special printer 2 Two X Sockets These 2 X Sockets can support S256 S512 amp AsicKey The X Socket does not support Flash memory 8073 s
2. 3 U1U2 Input U1U2 1 X_Socket1 U1U2 2 X_Socket2 Address Input address of byte to read from 0x00 to Ox3ffff for S256 Address Input address of byte to read from 0x00 to Ox7ffff for S512 ch data to write O Return 0 Write OK 1 SlotNum error must from 0 to 7 3 no 8072 initialization O Note 1 Call Init8072 SlotNum before calling this function 8072 User s Manual Sep 2002 Rev 1 0 ReadSramStatus8072 Description Read the status byte of 256 installed in the X Socket of 8072 Read the status byte of 512 installed in the X Socket of 8072 O Syntax WORD ReadSramStatus8072 WORD SlotNum WORD U1U2 char ch O Parameter SlotNum Input Slot Number From 0 7 Note the 8072 can not be installed to slot_3 U1U2 Input U1U2 1 X_Socket1 U1U2 2 X_Socket2 ch address of status byte O Return 0 Write OK 1 SlotNum error must from 0 to 7 3 no 8072 initialization Note 1 Call Init8072 SlotNum before calling this function Pin definitions of Printer Status Register status byte Bit Number Name Description U Battery status 0 Low Battery 1 High Battery 1 256 or S512 0 S256 2 S512 2 7 N A Reserved 8072 Users Manual Sep 2002 Rev 1 0 13 15 4 I O Control Register Use Til to Select Printer X Socket e The addressing space of printer amp X Socket is overlapped So we use Til to select printer X Socket e Set
3. TilHigh gt select printer amp I O control register SetTilLow gt read write to X Socket Address Mapping of I O Controller Register 8 bit wide Offset Address Name Description 0 read Card ID Register For 8072 it is 0x30 4 write Printer Write Data Register write data to printer 5 read Printer Status Register Read the status of printer 6 write Printer Controller Register Control printer amp LED 7 write X_Socket Control Register Control X_Socket amp LED Printer Write Data Register base 4 writes Bit Number Name Description 0 Data 0 Bit O of printed data 1 Data 1 Bit 1 of printed data 2 Data 2 Bit 2 of printed data 3 Data 3 Bit 3 of printed data 4 Data 4 Bit 4 of printed data 5 Data 5 Bit 5 of printed data 6 Data 6 Bit 6 of printed data 7 Data 7 Bit 7 of printed data 8072 Users Manual Sep 2002 Rev 1 0 14 15 Printer Status Register base 5 read Bit Number Name Description U NIA Reserved 1 N A Reserved 2 N A Reserved 3 Error Normal 1 no error 4 PrinterOnline Normal 1 printer is online 5 Paper Out Normal 0 printer has paper 6 ACK Normal 1 7 Busy Normal 1 printer not busy Printer Control Register base 6 writes Bit Number Name Description U Strobe Normal 0 1 send one byte to printer 1 Auto Feed Normal 0 1 automatic line fe
4. ed after CR 2 Init Printer Normal 1 O initialize printer 3 Deselect Printer Normal 1 0 deselect printer 4 LEDS Send to led 5 LED6 Send to led 6 LED7 Send to led 7 LED8 Send to led X_Socket Control Register base 7 writes Bit Number Name Description U A9 To X Socket 1 A12 To X_Socket 2 SO O select X Socket 1 SO amp S1 can not both O 3 S1 O select X Socket 2 SO amp S1 can not both 0 4 LED1 Send to led 5 LED2 Send to led 6 LED3 Send to led 7 LED4 Send to led 8072 Users Manual Sep 2002 Rev 1 0 15 15
5. otNum Input Slot Number From 0 7 Note the 8072 can not be installed to slot 3 szBuf Input starting address of character string Return O Write OK 1 SlotNum error must from O to 7 3 no 8072 initialization Note 1 Call Init8072 SlotNum before calling this function 8072 User s Manual Sep 2002 Rev 1 0 ReadSramByte8072 Description Read one byte of S256 installed in the X Socket of 8072 Read one byte of S512 installed in the X Socket of 8072 Syntax WORD ReadSramByte8072 WORD SlotNum WORD U1U2 DWORD Address char ch O Parameter SlotNum Input Slot Number From 0 7 Note the 8072 can not be installed to slot 3 U1U2 Input U1U2 1 X_Socket1 U1U2 2 X_Socket2 Address Input address of byte to read from 0x00 to Ox3ffff for 256 Address Input address of byte to read from 0x00 to Ox7ffff for S512 ch address of read data O Return 0 Write OK 1 SlotNum error must from 0 to 7 3 no 8072 initialization Note 1 Call Init8072 SlotNum before calling this function 8072 User s Manual Sep 2002 Rev 1 0 WriteSramByte8072 Description Write one byte to S256 installed in the X Socket of 8072 Write one byte to S512 installed in the X Socket of 8072 Syntax WORD WriteSramByte8072 WORD SlotNum WORD U1U2 DWORD Address char ch O Parameter SlotNum Input Slot Number From 0 7 Note the 8072 can not be installed to slot
6. p 2002 Rev 1 0 7 15 ReadPrinterStatus8072 Description Read the status byte of printer Syntax WORD ReadPrinterStatus8072 WORD SlotNum WORD Status Parameter SlotNum Input Slot Number From 0 7 Note the 8072 can not be installed to slot 3 Status Input address of status byte Return O Write OK 1 SlotNum error must from O to 7 3 no 8072 initialization Note 1 Call Init8072 SlotNum before calling this function Pin definitions of Printer Status Register status byte Bit Number Name Description U NIA Reserved 1 N A Reserved 2 NIA Reserved 3 Error Normal 1 no error 4 PrinterOnline Normal 1 printer is online 5 Paper Out Normal 0 printer has paper 6 ACK Normal 1 7 Busy Normal 1 printer not busy 8072 Users Manual Sep 2002 Rev 1 0 8 15 PrintChar8072 Description Print out one character Syntax WORD PrintChar8072 WORD SlotNum char ch Parameter SlotNum Input Slot Number From 0 7 Note the 8072 can not be installed to slot 3 ch Input value to print Return O Write OK 1 SlotNum error must from O to 7 3 no 8072 initialization Note 1 Call Init8072 SlotNum before calling this function 8072 User s Manual Sep 2002 Rev 1 0 PrintStr8072 Description Print out a string of characters Syntax WORD PrintStr8072 WORD SlotNum char szBuf Parameter Sl
7. ubroutine will detect amp Initialize the installed 8072 module Syntax WORD Init8072 WORD SlotNum O Parameter SlotNum Input Slot Number From 0 7 Note the 8072 can not be installed to slot_3 O Return O One 8072 is detected amp initialized 1 SlotNum error must from 0 to 7 2 Read ID Error can not find an 8072 in this slot O Note 1 Call this function Init8072 SlotNum before calling the other 8072 functions 8072 Users Manual Sep 2002 Rev 1 0 5 15 ShowLed8072 Description Write to LED Syntax WORD ShowLed8072 WORD SlotNum WORD LedValue O Parameter SlotNum Input Slot Number From 0 7 Note the 8072 can not be installed to slot 3 LedValue Input write value of LED from 0x00 to Oxff O Return O Write OK 1 SlotNum error must from O to 7 3 no 8072 initialization O Note 1 Call Init8072 SlotNum before calling this function 8072 Users Manual Sep 2002 Rev 1 0 ResetPrinter8072 Description Send a low pulse to pin 16 Init Printer of printer It can be used to reset this printer Syntax WORD ResetPrinter8072 WORD SlotNum O Parameter SlotNum Input Slot Number From 0 7 Note the 8072 can not be installed to slot 3 O Return O Write OK 1 SlotNum error must from O to 7 3 no 8072 initialization O Note 1 Call Init8072 SlotNum before calling this function 8072 Users Manual Se
8. upports flash memory solution O User can install two S256 or one S256 amp one AsicKey O User can install two S512 or one 512 amp one AsicKey e The software driver for AsicKey is only open for AsicKey user 3 Eight LED Indicators No pre defined definition O User can use all of these 8 LEDs based on his special requirements 4 5256 and S512 can be installed to 8072 or back plane of 8000 refer to Sec 9 9 4 of 8410 8411 8810 8811 User s Manual The library is different For S256 and S512 in 8072 refer to cd napdos 8000 common minios7 demo bc 8072 Or refer to our FTP site ftp ftp icpdas com pub cd 8000cd napdos 8000 common minios7 demo bc 8072 8072 Users Manual Sep 2002 Rev 1 0 2 15 2 Pin Assignments e Board Layout X Socket 2 X Socket 1 Printer Interface 8072 Users Manual Sep 2002 Rev 1 0 3 15 O Pin Assignment of printer port Strobe Data 0 Data 1 Data 2 Data 3 Data 4 ee et T Data 5 14 15 16 17 18 19 Data 6 20 Data 7 21 o ONO K QM Ack 22 lt Busy 1 me Paper Out E 21 Printer Online E 25 E a Auto Feed 4 Error E ES t Init Printer E strae a Deselect Printer RP eae GND GND GND GND GND GND GND GND 8072 Users Manual Sep 2002 Rev 1 0 4 15 3 Software Driver Init8072 Description This s

Download Pdf Manuals

image

Related Search

Related Contents

    Look - JN-Kites.com    ガードッグ・バイスガードⅡ BS003取扱説明書  仕様書  5 - Microscopes  USER MANUAL MX-1800    取扱説明書  

Copyright © All rights reserved.
Failed to retrieve file