Programming 65

Software Command Syntax

ESC ENQ 5

 

Sensor Enquiry

1B 05 05

hex

27 5 5

decimal

 

<ESC><ENQ><5> returns a 2-byte response, reflecting the status of all virtual sensors. Virtual sensors maintain their functionality in all configurations of this printer, while physical sensors reported by <ESC><ENQ><6> may signal differently depending on installation factors such as vertical or horizontal installation.

The same physical sensor can give several virtual statuses depending on when the sensor is activated in the print cycle.

The first byte of the response is reserved for future use.

Second Byte:

 

 

 

 

 

 

 

 

Bit

7

6

5

4

3

2

1

0

Sensor 1, Paper before head

Sensor 2, Black mark

Sensor 3, Paper after head

Sensor 4, loop ready

Sensor 5, presenter

Sensor 6, retract ready

Sensor 7, in retract

Sensor 8, at bin

Figure 27 • Physical-to-Virtual Sensor Mapping

Horizontal Vertical

Printout exit

Paper entry

Cutter

Paper entry

Cutter

Retract exit

Printout exit

Retract exit

09/14/2009

TTP 2000 Technical Manual

P1002902-002