Part 2
36
Instruction
Format
Parameter
Range ([ ] is default)
Explanation
ESC .N
[ESC].N<P1>;<P2>;<P3>;
P1 : Intercharacter delay data block
0—32767(msec) [0(msec)]
Sets an intercharacter delay, and also an Xoff character for
performing the Xon/Xoff handshake.
Set Handshake Output
Specifications (2)
• • • • ;<P11>:
P2—P11
[All 0(Sets nothing)]
: Xoff character (for Xon/Xoff)
Immediate response character
(for ENQ/ACK)
ESC .H
[ESC].H<P1>;<P2>;
P1 : The number of bytes for data
block
0—15358(byte) [80(byte)]
When receiving the ENQ character set by <P2>, com-pares
the value set by <P1> and the remaining buffer capacity,
and returns the ACK character to the host computer when
the remaining buffer capacity is larger. The [ESC].H with
no parameter performs a dummy handshake.
Sets ENQ/ACK
Handshake Mode1
<P3>; • • • • ;<P12>:
P2 : ENQ character
[0(Sets nothing)]
P3—12 : ACK character (only when
<P2> is set)
[All 0(Sets nothing)]
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.
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-3100 paused
(PAUSE On displayed).
24
Buffer empty. PNC-3100 paused (PAUSE
On displayed).
Summary of Contents for PNC-3100 CAMM-3
Page 54: ...Appendix 44 MEMO ...