Справочник Пользователя для Citizen Systems PMU2XXX

Скачать
Страница из 312
 
- 88 - 
ESC u n 
CT-S280 
CT-S300 
CT-S2000
CT-S4000
BD2-2220 
CT-S310 
support model 
PMU2XXX 
     
 
 
[Function] 
Sending the peripheral device status
 
 
[Code] 
<
1B>H<75>H<n> 
 
[Outline] 
[The specification which is common to the model] 
Send the current drawer kick connector pin#3 status. 
• n has the type shown in the table below: 
 
n Connector 
Pin 
Drawer kick connector pin#3
 
 
[Caution]
 
• Status to be sent uses 1 byte that has the value listed in the table below.
 
• DTR/DSR control sends 1 byte only after checking that host is ready to receive (DSR signal: space 
status).    For XON/XOFF control, 1 byte is sent without checking DSR signal status. 
• For DTR/DSR, if host is not ready to receive (DSR signal: mark status), it waits for ready condition 
to receive. 
• Paper-end status causes BUSY status, thus this command may be in the receive-not-ready status. 
• This command is valid only when MSW3-7 is set to ON. 
 
Value 
Bit 
Function 
0 1 
Pin #3 level 
‘L’ ‘H’ 
Undefined 
―― 
―― 
Undefined 
―― 
―― 
―― 
Undefined 
―― 
Unused 
0: Fixed 
―― 
Undefined 
―― 
―― 
Undefined 
―― 
―― 
Undefined 
―― 
―― 
 
[Sample Program]
 
OPEN "COM1:N81NN" AS #1 
  OPEN statement depends on types of BASIC. 
PRINT #1,CHR$(&H1B);"u";CHR$(0) 
A$ = INPUT$(1, #1) 
CLOSE #1