List Of Device Control Instructions - Roland PNC-900 Camm-1 User Manual

Desktop sign maker
Table of Contents

Advertisement

9 LIST OF DEVICE CONTROL INSTRUCTIONS

Device control instructions are used to determine the communication sequence between the PNC-900 and computer through
RS-232C interface and to tell the computer the current PNC-900 state. Among them, some device control instructions set the
output specifications of CAMM-GL III instructions.
Each device control instruction is organized with three letters: [ESC] , "." and one uppercase letter. Device control instruc-
tions are of two types: one with parameters and the other without parameters.
Parameters can be omitted. A semicolon ";" is used as a delimiter to separate parameters if they are input in succession. A ";"
without parameters means that parameters were omitted.
If parameters are omitted, the default value is set. For a device control instruction with para-meters, a terminator needs to be
input in order to signify the end of instructions. A colon ":" is used as the terminator which cannot be omitted.
Instruction
Format
Handshake Instructions
ESC .B
[ESC].B
Output Remaining
Buffer Capacity
ESC .M
[ESC].M<P1>;<P2>;
Set Handshake
<P3>;<P4>;<P5>;<P6>:
Output
Specifications (1)
ESC .N
[ESC].N<P1>;<P2>;
Set Handshake
<P3>; ••••• ;<P11>:
Output
Specifications (2)
ESC .H
[ESC].H<P1>;<P2>;
Sets ENQ/ACK
<P3>; •••••••• ;<P12>:
Handshake Mode1
ESC .I
[ESC].I<P1>;<P2>;
Set Xon/Xoff
<P3> ; •••••••• ;<P12>:
Handshake and
ENQ/ACK
Handshake Mode2
ESC .@
[ESC].@ P1;P2:
Controls DTR
Status Instructions
ESC .O
[ESC].O
Outputs the Status
of Buffer, Pause
20
Parameter
Range
None
P1: Delay time
0—32767 (msec) [0 (msec)]
P2: Output trigger character
[0 (Sets nothing)]
P3: Echo terminator
[0 (Sets nothing)]
P4: Output terminator
[13 ([CR])]
P5: Output terminator
[0 (Sets nothing)]
P6: Output initiator
[0 (Sets nothing)]
P1: Intercharacter delay
0—32767 (msec) [0 (msec)]
P2-P11
[All 0 (Sets nothing)]
: Xoff character (for Xon/Xoff)
Immediate response character
(for ENQ/ACK)
P1: The number of bytes for
0—15358 (byte) [80 (byte)]
data block
[0 (Sets nothing)]
P2: ENQ character
[All 0 (Sets nothing)]
P3-P12
: ACK character (only when
<P2> is set)
P1: Limit of the remaining
0—15358 (byte) [80 (byte)]
buffer capacity (for Xon/Xoff)
The number of data block bytes
(for ENQ/ACK (mode2))
P2: ENQ character
[0 (Sets nothing)]
(for ENQ/ACK (mode2))
0 (for Xon/Xoff)
P3-P12
[All 0 (Sets nothing)]
: Xon character(for Xon/Xoff)
ACK character
(for ENQ/ACK (mode2))
P1: Ignored
P2: DTR signal control
0—255
None
([ ] is default)
Outputs the current remaining buffer capacity to the
computer.
Sets handshake output specifications.
Note: When you specify some values to <P4> and
<P5>, always set 0 to <P6>. When you specify
some value to <P6>, always set 0 to <P5>.
Sets an intercharacter delay, and also an Xoff
character for performing the Xon/Xoff handshake.
When receiving the ENQ character set by <P2>,
compares 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.
Used for performing the Xon/Xoff handshake and
the ENQ/ACK handshake mode 2.
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.
Controls the DTR signal (No. 20 pin of RS-232C).
[1]
An even number parameter (e.g. 0) always sets the
DTR signal to High without performing the
hardware handshake. An odd number parameter
(e.g. 1) performs the hardware handshake and
controls the DTR signal according to the remaining
buffer capacity.
Outputs the status codes of PNC-900 shown in
the table below.
Code
0
Data remaining in buffer.
8
Buffer empty.
16
Data remaining in buffer. PNC-900
being paused (Pause On being displayed).
24
Buffer empty. PNC-900 being paused
(Pause On being displayed).
Explanation
Meaning

Advertisement

Table of Contents
loading

Table of Contents