Specifications
Omni 3200 Reference Manual
126 Descriptions of Diagnostic and Debugging Commands
W — Write to Device
The W command writes data to the device specified in the command
packet:
• The <device> parameter consists of a two-byte code identifying
the device to write to. Codes for the various devices available are
listed below.
• The <data> parameter consists of the data to send to the device. It
is a counted string.
The terminal sends a response packet to the diagnostic computer to
indicate that the command was received and executed.
Device Code
Name Description
00 STDIN 16-key console keypad
02 STDOUT 16-character console display panel
06 CLOCK Real-time clock/calendar
10 COM1 External RS-232 asynchronous
communications link (RS232 port)
12 COM2 Integrated thermal printer
16 MODEM Internal modem
24 CARD Magnetic card reader
26 BAR Bar code reader
(Bar code/PIN pad port
28 PINPAD PIN entry device
(Bar code/PIN pad port)
Command Packet Received by Terminal:
<FFh> <55h> <count> W <device> <data> <CRC1> <CRC2>
Response Packet Sent by Terminal:
<FFh> <55h> <count> W <CRC1> <CRC2>
O3200 RM Book.book Page 126 Thursday, April 29, 1999 3:48 PM