eXtendo
®
Em ulation Command Set Reference
Part No. D 684 112 Mod.Nr. 4 150813 LEV Page 62 of 95
Communication
Protocol
Revision No.
1
This byte contains the revision number of the communications
protocol. Please note that this is an 8-bit, unsigned character.
Analog Sensor
Values
16
These 16 8-bit, unsigned characters contain the analog value of
their corresponding sensors. A value of 0 = 0 volts, while a
value of 255 = 5 volts. They are transmitted in the sequence
analog sensor ADC #00 to ADC #15. Some of these are likely
to be unused in any given eXtendo
®
printer.
Digital Sensor
Values
2
This 16-bit, unsigned integer contains the status of digital
sensors DIN #00 to DIN #15 as bits, with DIN #00 being the
LSB.
Printhead
Temperature
2
Printhead temperature in degrees Celsius. Note that this is a
16-bit signed integer, allowing for both positive and negative
numbers. The bytes are sent LSB, MSB.
Control Board
Voltage
2
Control board supply voltage in tenths of a volt. Note that this is
a 16-bit unsigned integer. The bytes are sent LSB, MSB.
Sensor Type
and State
8 These 8-bit unsigned characters are used to relate the sensor
type and status. The sensors involved are as follows.
Byte Sensor
1 Paper low (paper pre-end) sensor
2 Paper entry sensor #1
3 Paper entry sensor #2
4 Printhead position sensor
5 Cutter sensor #1
6 Cutter sensor #2
7 Chute / Paper exit sensor
8 Auxiliary sensor
The meaning of the data in the bytes is as shown below. The
most significant nybble (MSN) defines the type of sensor, as
follows.
0 No sensor
1 Reflex sensor
2 Through-beam (through-light) sensor
3 Switch
The least significant nybble (LSN) defines the status of the
sensor.
0 none
1 No paper
2 Paper present
3 Paper parked
4 Cutting
5 Printhead in “print” position (down)
6 Printhead in “transport” position (up)