41
Instruction
Format
Parameter
Range ([ ] is default)
Explanation
ESC .I
[ESC].I<P1>;<P2>;
P1 : Limit of the remaining
0—15358(byte) [80(byte)]
Used for performing the Xon/Xoff handshake and the
ENQ/ACK handshake mode 2.
Set Xon/Xoff
Handshake and ENQ/
ACK Handshake
Mode2
<P3> ;••••••••;<P12>:
buffer capacity (for Xon/Xoff)
The number of data block
The [ESC].I instruction with no parameter performs a
dummy handshake. In a dummy handshake, always
returns the ACK character to the host computer,
regardless of the remaining buffer capacity, when
receiving the ENQ character.
bytes (for ENQ/ACK (mode2))
P2 : ENQ character
[0 (Set nothing)]
(for ENQ/ACK (mode2))
:0 (for Xon/Xoff)
P3—P12
[All 0 (Set nothing)]
: Xon character (for Xon/Xoff)
ACK character
(for ENQ/ACK (mode2))
ESC .@
[ESC].@<P1>;<P2>:
P1 : Physical I/O buffer
0—1024 [1024]
<P1> sets the I/O logic buffer device. 1024 will be set
even if a larger number is designated. If <P2> is even
value, the DTR signal will always be HIGH, and
hardwire handshaking is not performed. If <P2> is odd
value, hardwire handshaking is performed.
Set Physical I/O Buffer
and DTR control
P2 : DTR signal control
0—255 [1]
Status Instruction
ESC .O
[ESC].O:
None
Outputs the value that represents the status of buffer and
pause. This value is shown in the table below.
Output Status Word
ESC .E
[ESC].E
None
Outputs an error code related to RS-232C interface (see
the table below), and clears the error simultaneously. At
the same time, the error being displayed is canceled.
Output RS-232C Error
Code
ESC .L
[ESC].L
None
Outputs the current logic size of the I/O buffer. Note
that the output is done only when the I/O buffer is
empty.
Output I/O buffer size
Abort Instruction
ESC .J
[ESC].J
None
Aborts both the currently executed device control
instruction and output.
Abort Device Cotrol
Instruction
ESC .K
[ESC].K
None
After executing only the current CAMM-GLI
instruction, clears the data buffer.
Abort CAMM-GLI
Instruction
ESC .R
[ESC].R
None
Initializes all settings established by the device control
instructions.
Initialize Device
Control Instruction
Error code
Meaning
0
No I/O errors
10
During an output instruction being
executed, another output instruction is
sent (only the current instruction is
effective)
11
An error occurs in a device control
instruction.
12
Incorrect parameters are set to a device
control instruction (the default value is
set to the erroneous parameter)
13
Parameters are overflowing
14
The number of the parameters set is
more than specified or a colon ':' was not
used to terminate
15
Framing error, parity error or over-run
error at the time of data receipt
16
The I/O buffer overflows
Code
Status of buffer and pause
0
Buffer contains data.
8
Buffer empty.
16
Buffer contains data. PNC-300 paused.
24
Buffer empty. PNC-300 paused.