Citizen Systems CBM-253 User Manual
Page 83
CBM-253 User’s Manual
71
CITIZEN
[Program example]
OPEN "COM1 :N81NN" AS #1
PRINT #1,CHR$ (&H1B) + "v" ;
A$ = INPUT$(1,#1)
CLOSE #1
ESC u n
[Name]
Sending of the peripheral equipment status (Only serial interface)
[Code]
<1B>H <75>H
[Defined range]
n = 0
[Function]
Send the status of connector pin 3 at the current point of time. The types of n are
according to the table below.
n
Connector pin
0
Drawer kick connector pin No. 3 (Drawer open/close detection terminal).
[Item requiring caution]
The status that is sent will be 1 byte of data, and the contents will be as shown in the table
below. When there is no equipment connected to the connector, bit 0 of n will always be
'1'.
When the control is set to DTR/DSR, 1 byte only should be sent after confirming that the
host is in the receiving possible condition (the DSR signal is at 'space'). Further, when the
control is set to XON/XOFF, one byte only should be sent without confirming the DSR
signal condition.
When the control is set to DTR/DSR and the host is in the receiving not possible
condition (the DSR signal is at 'mark'), wait until the DSR signal is in the receiving
possible condition.