06.12.2012 Views

Technical Reference - KYOCERA Document Solutions

Technical Reference - KYOCERA Document Solutions

Technical Reference - KYOCERA Document Solutions

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OS [Output Status]<br />

HP 7550A Emulation [KC-GL] (Mode 8)<br />

This instruction returns an integer from 0 to 255 giving one byte of status information, as<br />

follows:<br />

status TERM<br />

The following table describes the individual bits in the status byte. After powered up or<br />

an IN instruction, bit positions 3 and 4 turn on making the bit value to be 24. Bit position<br />

3 is cleared subsequently after delivering the status.<br />

Bit Position Bit Value Description<br />

0 1 The pen is down.<br />

1 2 P1 or P2 has been changed. This bit is cleared when actual P1 and<br />

P2 values are read via the RS-232C interface, or when the IN<br />

instruction is executed.<br />

2 4 A digitized point is ready for output. This bit is cleared when the<br />

point is output via the RS-232C interface, or when the IN instruction<br />

is executed.<br />

3 8 Initialized. This bit is cleared when a status byte is output via the<br />

RS-232C interface, or when the IN instruction is executed.<br />

4 16 Ready to receive next data.<br />

5 32 Error. This bit is cleared when an error number is output via the RS-<br />

232C interface, or when the IN instruction is executed.<br />

6 64 SRQ was set.<br />

7 128 (Reserved)<br />

OT [Output carousel Type]<br />

This instruction delivers information on the current carousel type and stall occupancy.<br />

This may be used to determine those information in a remote location.<br />

Response:<br />

OT TERM<br />

type, map TERM<br />

The current carousel type and its pen map are delivered as 2 ASCII integers, each separated<br />

by comma. The type field can contain the values –1 through 4, which have the following<br />

values:<br />

Bit value when stall is occupied Pen stall<br />

1 1<br />

2 2<br />

4 3<br />

8 4<br />

16 5<br />

32 6<br />

64 7<br />

128 8<br />

7-105

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!