Unit 3: Interface Specifications
SATO MB200 Operator Manual
PN 9001126A
Page 3-4
INFRARED DATA (IRDA) INTERFACE
Infrared communications is based on technology which is similar to entertainment remote control
devices used in homes today. This technology offers a convient, interoperable, low power, and
reliable way to connect computer and printer without the use of cables. The half duplex, serial
data interconnection capabilities supports walk up point to point use.
The infrared transmission of print data is transferred from the terminal to the printer in four
phases: (1) Connection, (2) Printer Status Check, (3) Data Transfer, (4) Disconnection.
CONTROL CODE
- DLE must be added just prior to SYN, STX, or ETX. DLE should also be
added if the same code with DLE is included in the transferred message. With these two
methods, any control code can be used in the transferred message.
FORMAT
- All transferred messages from phase 1 to phase 4 take the following format to form
the BCC calculation area. BCC is a 2-byte 16 bit SUM and the lower byte is placed at the head.
The calculation of BCC is the sum of the header and data parts.
HEADER
- The Header includes the type of transferred message (cmd) and packet number (cnt).
However, some headers do not have a packet number.
Cmd is a single byte code that represents the type of packet. Cnt is only added when the packet
is any of Data Response, Data Transmission Complete, or Transmission Termination Response,
and represents the data packet number. The number begins from 1 and increments by one,
every time the terminal receives a new packet. The printer responds wit the Response packet by
putting the received number in it. Confirm the number matches with the terminal side.
Also, specify the total number of transferred packet for the Data Transmission Complete/
Transmission Complete Response packets.
IRDA SPECIFICATIONS
Asynchronous ASCII
Half-duplex communication
Ready/Busy Hardware Flow Control
Pin 20, DTR Control
Pin 4, RTS Error Condition
X-On/X-Off Software Flow Control
Bi-Directional Communication
Data Transmission Rate
9600, 19200, 38400, 57600 bps
Data Length
8 bit (selectable)
Stop Bit
1 bit (fixed)
Parity Bit
NONE
Codes Used
ASC2 Character Codes, JIS Kanji Codes
Control Codes
STX (02H), SYN (16H), EXT (03H), DLE (10H)
Communication Time
Time-Out: 5 seconds, Retry: over 500 milliseconds.
Receiving Type
Single item.
Signal Levels
Compliance
HP-SIR Type of IrDA Standard IrSIR version 1.2. Upper levels are
not implemented.