40
Instruction
Com.
Format
Parameter
Range [Default]
!DW
Dwell
O
!DW t [terminator]
t
Dwell time
0—32767 [0]
!IO
Input Home Position
O
!IO x, y [terminator]
x, y
Coordinates of home position
* 1
(designate by machine coordinate)
!MC
Motor Control
O
!MC n [terminator]
n
Motor ON/OFF switching
-32768—32767 [motor ON]
!MC [terminator]
!NR
Not Ready
O
!NR [terminator]
None
!OZ
Output Z-coordinate
O
!OZ [terminator]
None
!PZ
Set Z1&Z2
O
!PZ z1 (, z2) [terminator]
z1
Z1 coordinates
-12000—0 [0]
z2
Z2 coordinates
0—12000 [0]
!RC
Revolution Control
O
!RC n [terminator]
n
Spindle motor revolution speed
0—15
[Value set by using panel keys]
!VZ
Velocity select Z-axis
O
!VZ s [terminator]
s
Feed rate (Z axis)
0—30 [mm/sec] [2 [mm/sec]]
!ZM
XYZ Axis
O
!ZM z [terminator]
z
Z coordinate
-12000—0
Simultaneous Feed
!ZO
Set Z0
O
!ZO z [terminator]
z
Z machine coordinate
-12000—0
!ZZ
Z
O
!ZZ x1, y1, z1, ...... , xn, yn, zn [terminator]
xn, yn
XY coordinate
* 1
zn
Z coordinate
* 1
mode1, mode2 common instruction
* 1 : -(2
26
-1)—+(2
26
-1)
* 2 : 0—+(2
26
-1)
* 3 : -(2
26
-1)
°
—+(2
26
-1)
°
Device Control Instructions
The Device Control instructions determine how communication between the PNC-300 and the computer will be handled using the RS-
232C interface; and also are employed when relaying to the computer the status of the PNC-300. Some of them can be used to format
the output for CAMM-GL I instructions.
A Device Control instruction is composed of three characters: ESC (1Bh), a ".", and an uppercase letter. There are also two types of
device control instructions: one carries parameters and the other does not.
Parameters can be omitted. Semicolons, " ; " are used as separators between parameters. A semicolon without parameters means that
parameters have been omitted. Device Control instructions with parameters require a terminator to indicate the conclusion of the
instruction. A colon " : " is used as the terminator, and it must not be omitted.
No terminator is necessary for Device Control instructions without parameters.
Instruction
Format
Parameter
Range ([ ] is default)
Explanation
Handshake Instructions
ESC .B
[ESC].B:
None
Outputs the current remaining buffer capacity. Returns
the login buffer size to the host computer until
remaining capacity becomes below the logic buffer size
set by the parameter <P1> of the [ESC].@ instruction.
Output Remaining
Buffer Capacity
ESC .M
[ESC].M<P1>;<P2>;<P3>
;<P4>;<P5>;<P6>:
P1 : Delay time
0—32767(msec) [0(msec)]
Sets handshake output specifications.
Set Handshake Output
Specifications (1)
P2 : Output trigger character
[0(Sets nothing)]
P3 : Echo terminator
[0(Sets nothing)]
P4 : Output terminator
[13([CR])]
Note:When you specify some values to <P4> and <P5>,
always set 0 to <P6>. When you specify Sets an
interchara-cter delay, and also an Xoff chara-
P5 : Output terminator
[0(Sets nothing)]
P6 : Output initiator
[0(Sets nothing)]
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)]