Home
User manual - GeBE Elektronik und Feinwerktechnik GmbH
Contents
1. printer will cancel the session and switch to sleep mode 4 2 2 If the printer receives an ENQ packet it will either transmit a SYN packet to continue the session or a CAN packet to finish the session 4 2 3 When the printer receives a valid packet Il it will transmit a packet with ACK 4 2 4 If an error occurs in packet Il or the time between two bytes is more than one second the printer will go back to step 4 2 1 without sending an ACK This will cause the host to transmit packet II again after 1 second 4 2 5 If the checksum is faulty the printer will send a packet with NAK This will initia te an immediate repeat of packet Il by the host Attention The data transfer in both directions is only possible half duplex because transmitter and receiver both receive the signals sent by the other side plus their own transmit signals For this reason the transmitting party has to turn off or filter out the receive signals during transfer GeBE E F GmbH e www oem printer com e User manual e GeBE IR Protocol Page 7 of 8 5 Timing Diagram SEND RECEIVE ENQ Packet Typ 0 5 sec ENQ Packet ENQ Packet Packet I1 Y C Min 3 msec 1 st DATA Bl ock Max 1 sec ACK Packet en Buffer DATABIock full H 2nd DATA Bl ock 3rd DATA Bl ock GeBE E F GmbH e www oem printer com e User manual e GeBE IR Protocol Page8 of 8
2. User manual GESE Elektronik und Feinwerktechnik GmbH GeBE IR Protocol Module und Ger te zum Eingeben Auswerten Anzeigen und Ausdrucken analoger und digitaler Daten GeBE Document No MAN E 395 V2 0 Status 25 07 2002 Printed 03 09 2002 Infrared Protocol for GeBE Thermal Printer German MAN D 394 s Bi directional Transfer e Wireless Independence e Handshake Mode e Interference Safe Errors and changes reserved The technical data given are non committal information and do not represent any assurance of certain features GeBE Elektronik und Feinwerktechnik GmbH Beethovenstr 15 e 82110 Germering e Germany e www oem printer com y Phone 49 0 89 894141 0 e Fax 49 0 89 8402168 email sales ef gebe net GeBE E F GmbH e www oem printer com s User manual e GeBE IR Protocol Page 1 of 8 Content 0 Introduction 1 PC Test Program 2 Physical Characteristics 2 1 Transfer Mode 2 2 Settings 3 Data Structure 3 1 Packet 3 2 Printer Status Protocol Extension for GE 2998 3 2 1 Voltage Results of the Last Battery Test Command 3 2 2 Printer Status 3 3 Packet Il 4 1 Transfer Protocol 4 2 Receive Protocol Oo N O aA a a gt A aA O OO O O O 5 Timing Diagram GeBE E F GmbH e www oem printer com e User manual e GeBE IR Protocol Page 2 of 8 0 Introduction For wireless transfer GeBE offers a convenient infrared interface for a number of GeBE printers The transfer is bas
3. cm to im start stop NRZ DATA Oo 1 0 O 1 1 O 1 071 IrDA SIR HIGH LIGHT TRANSMITTED 2 2 Settings 9 600 baud 2 400 115 200 bps possible on request no parity 1 stop bit infrared impulse length 3 16 bit time 20 us at 9600bps fixed impulse length of 1 63 us is not possible After the switch from receive to transmit mode the IR hardware needs a short time period of about 2ms We therefore recommend to wait for 3 ms after receiving the last block before sending again GeBE E F GmbH e www oem printer com User manual e GeBE IR Protocol Page 3 of 8 3 Data Structure There are two types of transmit packets Packet is used for the transfer of control commands and messages see table 1 Packet Il is used for transmitting data to the printer Since the IR units are not defined from the beginning the transfer of either packet type is initiated with 5 dummy characters 00 Hex and a START ID 96 Hex The printer has to process at least two dummy charaters correctly before the start ID is considered Afterwards the packet ID is transferred 82 Hex for packet 81 Hex for packet Il 3 1 Packet Data Format Packet Number of Bytes Value DUMMY 5 00h START ID 1 96h PACKET ID 1 82h DATA 1 value see table 1 Example for a transfer request ENQ DUMMY START ID PACKET ID DATA 00h OOh OOh 00h 00h 96h 82h 05h 3 2 Printer Status Protocol Extension for GE 2998 Fou
4. e printer models do not have all error reports or messages available In this case all bits are always set to 0 3 3 Packet Il The maximum data block size is 128 bytes not including the header If more than 128 bytes have to be transmitted they have to be split into several sequential blocks For every 2 byte value the low byte will be transferred first BLOCK No DLENGTH CHKSUM The last block contains the block number FFFF Hex It does not need to be completely filled to128 bytes Checksum CHKSUM is the sum 2 bytes of all data DATA 1 128 Example Content of data block 15h 24h O1h 55h 63h 77h 43h 77h 8Fh 9Ch sum 034Eh gt low byte 4Eh high byte 03h Data Format Packet Il Number of Bytes Value DUMMY 5 00h START ID 1 96h PACKET ID 1 81h VERSION 1 10h BLOCK No 2 L H 0001h FFFFh CTRL CODE 1 O1h fixed DEV CODE 1 40h fixed ID CODE 1 FEh fixed DLENGTH 2 L H 0001h 0200h DATA 1 128 CHKSUM 2 L H GeBE E F GmbH e www oem printer com e User manual e GeBE IR Protocol Page5 of 8 Example for a Data Transfer DUMMY START ID PACKETID VERSION BLOCK NO CTRL CODE 00h 00h OOh 00h 00h 96h 81h 10h LOW HIGH Oth DEVCODE IDCODE DLENGTH DATA CHEKSUM 40h FEh LOW HIGH 2222h LOW HIGH 4 Software Protocol 4 1 Transfer Protocol 4 1 1 The host starts a session by transmitting a request ENQ packet The printer confirms the ENQ by transmitting a SYN message 4 1 2 If the host receives a SYN packet co
5. ed on the SHARP IR protocol Unlike the IrDA protocol the Sharp IR protocol does not have any software layers that are used for communication in networks or for controlling the hardware The Sharp IR is similar to the software layer IrFCOMM of the IrDA standard The Sharp IR provides for a simple and cost effective optional master slave connection to integrate the IR protocol itself into existing systems For operation with a printer the protocol has been exten ded to monitor the printer functions 1 PC Test Program For the first developmental phase GeBE offers a test program The program allows the transfer of any files through a COM interface to an infrared interface The system requirements for the program GeBE IR Transmit exe are an IBM compatible PC operating system Win 95 or 98 and a GeBE IR adapter GSW IR or similar interface that connects to a COM interface 2 Physical Characteristics 2 1 Transfer Mode The physical transfer is compatible to the IrDA SIR hardware layer This procedure is used for transfer rates from 2 400 bps to 115 kbps These speeds correspond with a standard serial interface The hardware layers IrDA FIR and 4 ppm are not supported This puts the bit intervals between 417 us and 8 7 us 20us at 9 600bps An impulse of 3 16 of the impulse width represents logic 1 The light levels are in a range between 40 mW sr milliwatt steradian and 500 mW sr The distance between host and receiver is specified as 1
6. ntinue with 4 1 4 4 1 3 If the host receives a CAN packet or if the selected power down time has pas sed and no SYN packet has been received the host will end the session If the host receives any other packet no packet or an incomplete packet it will start transmitting ENQ packets every 0 5 seconds according to Sharp IR for 6 minutes 4 1 4 If the host receives a SYN packet it will transmit a single packet II and wait for an AKN packet from the printer 4 1 5 When the host receives an ACK packet the transmission is regarded as a suc cess 4 1 6 If the host does not receive an ACK packet or another packet within 1 second after the transmission of packet Il it will go back to step 4 1 1 and transmit the data again The repeated data transfer after AKN will only be performed once If this transmission also goes wrong the session will be canceled A BUF packet should initiate several repeats The number of possible repeated block transfers should not be set too low We recommend 20 repeats Since the print speed greatly depends on the operating voltage the number of re peats should be determined by the lowest occuring voltage GeBE E F GmbH lt www oem printer com User manual e GeBE IR Protocol Page 6 of 8 4 2 Receive Protocol 4 2 1 The receiver is activated by a DUMMY character After the first recognized DUMMY it will wait for a packet with ENQ If no ENQ is received before the set power down time has passed the
7. r additional bytes that indicate the exact printer status are attached to both the SYN and the CAN packet All four parameters are coded binarily In old software versions these bytes should be rejected SYN Packet lt 5 NULL gt lt START ID gt lt PACKET1 gt lt SYN gt lt Vp noload gt lt Vp load gt lt Errorflags1 gt lt Errorflags2 gt CAN Packet lt 5 NULL gt lt START ID gt lt PACKET1 gt lt CAN gt lt Vp noload gt lt Vp load gt lt Errorflags1 gt lt Errorflags2 gt GeBE E F GmbH e www oem printer com e User manual e GeBE IR Protocol Page 4 of 8 3 2 1 Voltage Results of the Last Battery Test Command In printers that have a battery test command the last measured values are transmitted Otherwise these bytes are 0 In order to perform a battery test the battery test command has to be given in the last packet II With the next SYN or CAN packet from the printer the measured values are sent as lt Vp noload gt lt Vp load gt You can find the description of the test command in the corresponding printer manual lt Vp noload gt Gives the no load battery idle voltage immediately before the last battery test command in binary code lt Vp load gt Gives the load battery voltage after the last battery test command in binary code 3 2 2 Printer Status The following two bytes lt Errorflags1 gt lt Errorflags2 gt report the printer status Attention Som
Download Pdf Manuals
Related Search
Related Contents
10 utilizar o monitor Gateway XHD3000 User's Manual Manual - Panta Rhei Uniden UDW20055 surveillance camera MB140XS 取扱説明書 Gocator 1300 Series User Manual - Downloads Copyright © All rights reserved.
Failed to retrieve file