Vous êtes sur la page 1sur 24

!

Excellon
Interpreter

SIEB & MEYER AG


Auf dem Schmaarkamp 21 D-21339 Lneburg Germany
Telephone: ++49(4131)203-0 Telefax: ++49(4131)38562
Email: documentation@sieb-meyer.de
Internet: www.sieb-meyer.de

Format 1 / Format 2 Excellon Interpreter


!

Copyright
Copyright 2007 SIEB & MEYER AG. All rights reserved.

This manual or extracts therof may only be copied with the explicit authorization by
SIEB & MEYER AG.

Trademarks
All product, font and company names mentioned in this manual may be trademarks
or registered trademarks of their respective companies.

Identification Key
084-CNC-BED-Excellon/R08-SM-EN-dn/fk
December 20, 2007

Excellon Interpreter Format 1 / Format 2


! Contents

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Special Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 M97/M98 Plain Text Drilling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 M83 Execute COMM Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 SIEB & MEYER Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.1 Program Versatility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2 Analyze Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2.1 Metric - Inch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.2.2 Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2.3 Decades of Coordinate and Length Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2.4 Trailing - Leading Zeros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Converting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.4 Format Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.5 Conversion when Loading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.6 Input via Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.7 ISO-EIA Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4 Program Header (M48 Header) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.1 Commands in Program Header (M48 Header) . . . . . . . . . . . . . . . . . . . . . . . . 13
4.1.1 Header Commands of the CNC 35.00 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.1.2 Header Commands of the CNC 4x.00/8x.00 . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.1.3 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5 Command Repertoire of Excellon Format 1 . . . . . . . . . . . . . . . . . . . . . . . . 15
6 Command Repertoire of Excellon Format 2 . . . . . . . . . . . . . . . . . . . . . . . . 19
7 Appendix: Revisions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

Format 1 / Format 2 Excellon Interpreter


Contents !

Excellon Interpreter Format 1 / Format 2


! Introduction

1 Introduction

This chapter comprises information about the Excellon interpreter software.


< Additional COMM commands
< Additional tool parameter tables
< Table with the Excellon commands. A detailed description of the Excellon com-
mands can be found in the command description of the company EXCELLON.

Identification of interpreter software


CNC 35.00
"B" is the first letter of the software identification (e.g. BAOC).

CNC 44.00/CNC 45.00


The first letters of the software file are "EX" (e.g. EX-11-23-A.SY1)

Changing between the interpreter versions


If you have to change often between the interpreter versions (e.g. SIEB & MEYER
Excellon and vice versa), please proceed as follows:
< Start of the software (CNC is turned off)
SYSTEM 56.00 Turn the machine on. Send the interpreter software from
the SYSTEM 56.00 to the CNC (F8 System/Jobs ..
F2 Send File .. F2 Software .. Select file
"EX??????.441" .. OK)
CNC 44.00 and
CNC 45.00 Insert the diskette containing the Excellon interpreter soft-
ware (EX-xx-xx-xxx) into drive B: (lower drive) and turn
on the machine.
CNC 35.00 Insert the cassette containing the Excellon interpreter soft-
ware (Bxxx) and turn on the machine.
< Start of the software (CNC is turned on)
SYSTEM 56.00 Send the interpreter software from the SYSTEM 56.00 to
the CNC (F8 System/Jobs .. F2 Send File .. F2
Software .. Select file "EX??????.441" ..
OK)
CNC 44.00 and
CNC 45.00 Insert the diskette containing the Excellon interpreter soft-
ware (EX-xx-xx-xxx) into drive B: (lower drive) and enter
the command COMM-SOFT in operational mode MANU-
AL (MAN ... COMM-SOFT ... Y).
CNC 35.00 Insert the cassette containing the Excellon interpreter soft-
ware (Bxxx) and enter the command COMM-SL in opera-
tional mode MANUAL (MAN ... COMM-SL ... LF).

Format 1 / Format 2 Excellon Interpreter -5-


Introduction !
2 Special Features

The command repertoire in the Excellon interpreter software differs slightly from the
original Excellon command repertoire.

L Note: These are no official Excellon commands! In the case of the


command M83, however, SIEB & MEYER was confirmed that Ex-
cellon has reserved this command and will not use it for other
functions!

2.1 M97/M98 Plain Text Drilling


Into the plain text two additional placeholders can be inserted for the system date
and the system time.
&D CNC date
&T CNC time

Example:
The program block
M97,&D UM &T: *

results in the following plain text when drilling on February 24, 1998 at 14.07 with the
OPID identification defined with COMM-OPID,4711:
02.24.98 UM 14:07:00: 4711

2.2 M83 Execute COMM Command


With command M83 COMM commands can be programmed within a production
program. Thus a production-specific setting can be carried out automatically. A list
of all admitted COMM commands can be found in the chapter SIEB & MEYER Com-
mand Description in the description of the command M49.

2.3 Routing
Corresponding to the Excellon manual the rout path has to be programmed with the
routing instruction (Gxx) and the XY start coordinates in one block (e.g. G01X...Y...).

If there are no coordinate values in the start block of a rout path, the CNC uses the
next coordinate values as start values (independent from whether they are in the
same block or not). Example:
G01
X...Y...

-6- Excellon Interpreter Format 1 / Format 2


! SIEB & MEYER Formats

3 SIEB & MEYER Formats

3.1 Program Versatility


Production programs can be generated in various ways:
< programming unit with SIEB & MEYER CNC
< programming unit with a CNC of another manufacturer
< with a CAD program (computer-supported layout)
< manually with a text editor on a PC
< etc.

The various the workstations as versatile are the production programs generated:
< metric - inch
< unit
< decades of the coordinate and length definitions
< trailing - leading zeros

3.2 Analyze Program


First have a look at the program to analyze the coordinate and length definitions of
a production program:

Production program on paper tape


CNC 35.00 MAN ... DATA IN ... PTH.
CNC 44.00/45.00 MAN ... COMM-TEXT ... DATA IN ... load pro-
duction program ... PROGR ...

Production program on S&M diskette


CNC 35.00 MAN ... file manager ... TYPE file
CNC 44.00/45.00 MAN ... COMM-TEXT ... DATA IN ... load pro-
duction program ... PROGR ...

Production program on DOS diskette or via AUX/DNC interface


Enter DOS command "type file name | more" on a PC to list the program on the
screen or use a customary ASCII editor for the listing.

3.2.1 Metric - Inch


The conversion between the metric and the inch system is made with the factors:

1 inch = 25.4 mm
1 mm = 0.03937 inch

Search a section of the production program, which seems to represent a row of holes
of an IC. Since integrated circuits are usually drilled paraxially, only the X or Y coor-
dinates change in the program section. The distance of the holes of an IC is 2.54
mm (= 1/10 inch). Thus, the distance between the holes must have this value.
< Determine the distance between two coordinates of a row of holes of an IC.
< When you calculate a value, which is the multiple of 2.54 mm, it is a metric for-
mat.
< When you calculate a value, which is the multiple of 10, it is an inch format.

Format 1 / Format 2 Excellon Interpreter -7-


SIEB & MEYER Formats !
3.2.2 Unit
Proceed as described in section Metric - Inch to determine the unit. The value calcu-
lated now has to be related to the REQUIRED distance (= 2.54 mm = 1/10 inch).
Therefore, put the decimal point to the correct position of the value calculated and
have a look at the decades right of the point.

When the distance is for example 254, it is the unit "0.01 mm".
When the distance is for example 2540, it is the unit "0.001 mm".
When the distance is for example 100, it is the unit "0.001 inch".
When the distance is for example 1000, it is the unit "0.0001 inch".

3.2.3 Decades of Coordinate and Length Values


The decades are only of importance in connection with leading zeros.

3.2.4 Trailing - Leading Zeros


Trailing zeros
All coordinate and length definitions containing a point are on principle values with
trailing zeros (e. g. X1.; X.23). When the last cipher of a value is a "0", the value
has also trailing zeros (e. g. X120).

Leading zeros
When the first cipher of a coordinate or length definition is a "0", the value has lea-
ding zeros (e. g. X0123; X02). The following must be known to interpret numericals
with leading zeros:
< How much decades can be available as maximum (5 or 6 decades)?
< Which unit has the last decade (0.01 mm; 0.001 mm; 0.001 inch; 0.0001 inch)?

Fill the remaining decades to the right with zeros to identify the value.

Examples (5 decades; 0.01 mm)


X002 =X00200: Since the last decade has the unit 0.01 mm, it is the coordi-
nate: 2 mm
X12 =X12000: coordinate 120 mm
X12345 =X12345: coordinate 123.45 mm

Examples (6 decades; 0.001 inch)


X002 =002000: Since the last decade has the unit 0.001 inch, it is the coordi-
nate: 2 inch
X12 =X120000: coordinate 120 inch
X12345 =X123450: coordinate 120.450 inch

Have a look at the known distance between two holes (e. g. IC holes) to infer on the
digits.

The following values are for example in the production program

...
X12432Y536
X12686Y536
...

-8- Excellon Interpreter Format 1 / Format 2


! SIEB & MEYER Formats

The distance in X direction is "254". Thus, it is a metric format. The decimal point
has to be put behind "2" in order to receive the correct distance of 2.54 mm (distance
between IC holes). Two values are still provided right of the decimal point. Therefo-
re, the unit of the first example is "0.01 mm" with 5 decades. Attention: Neverthe-
less, it can also be a system with 6 decades and 0.001 mm resolution.

3.3 Converting
CNC 35.00/44.00/45.00/46.00
Before loading the production program the format has to be set correctly (COMM-
FP4...).

CNC 44.00/45.00
If the production program is already in the main memory, the conversion can be
made with command CTRL+H. Thus, a new loading of the production program can
be spared.

3.4 Format Numbers


Final Number Zeros Decades Unit
4x01 trailing 0.01 mm
4x02 trailing 0.001 mm
4x03 leading 5 0.01 mm
4x04 leading 6 0.01 mm
4x05 leading 6 0.001 mm
4x06 leading 7 0.001 mm
4x07 trailing 0.001 inch
4x08 trailing 0.0001 inch
4x09 leading 5 0.001 inch
4x10 leading 6 0.0001 inch

00 to 10 ISO even parity


11 to 20 EIA odd parity
21 to 30 ISO no parity
only CNC 4x.00/8x.00
31 to 40 EIA no parity
41 to 50 ISO odd parity
51 to 60 EIA even parity

Explanations to the table


The first number of the format to be entered is always 4.
The second number of the format to be entered is either
1 for production programs in Excellon Format 1 or
2 for production programs in Excellon Format 2

The last both ciphers contain the following information:


< Character code ISO or EIA. The information is only necessary for reading a paper
tape. The ISO-EIA table on page 12 serves for the identification.
< Odd or even parity bit. The information is only necessary for reading a paper
tape. The position of the parity track on the paper tape can be found in the ISO-
EIA table on page 12.

Format 1 / Format 2 Excellon Interpreter -9-


SIEB & MEYER Formats !
< Unit of the coordinate definitions METRIC or INCH. The production program can
be loaded in TEXT mode with the CNC 4x.00/84.00. Search a row of holes (IC
components), of which the distance has to be 1/10 inch, in the production pro-
gram. Calculate the difference of two coordinates. When the difference is a mul-
tiple of 0.254, the values are in metric. When the difference is a multiple of 10,
the values are in inch.
< Have the coordinate definitions been saved with leading zeros or trailing zeros.
Here you need the result of the calculation from the item before. Since the distan-
ce between the holes has exactly to be 1/10 inch (= 2.54 mm), you can infer the
actual values from the distance calculated. From this, you can identify whether
the zeros are trailing or leading.
< If the coordinate definitions have been saved with leading zeros, you will have to
define the decades. See the item before.

Example: An Excellon program in Format 1 with even parity and ISO code is on a
paper tape. The coordinates are in metric and have 5 decades with leading zeros at
a resolution of 0.01 mm. The respective command is: COMM-FP4103

3.5 Conversion when Loading


The length and coordinate values are converted according to the set format during
the loading. In the table the code letters of the columns "decade", "metric" and "inch"
are marked with an asterisk "*". The format definition COMM-FP4107 for example
interprets command "A100" as 0.1 inch (= 2.54 mm).

All other numericals are expected to be with leading zeros. You can find the deca-
des and the unit in each table line. An M command for example has always to com-
prise 2 decades: M01; M30, etc.

Command Significance Decades Metric Inch Examples


A radius * * * A*
B retract rate #### 0.1 mm/sec 1 inch/min B015
C diameter ##### 0.01 mm 0.001 inch C003
E plunge rate #### 0.1 mm/sec 1 inch/min E0011
F plunge rate #### 0.1 mm/sec 1 inch/min F001
G command G ## G91
H max. tool life #### 1 stroke 1 stroke H3000
I I distance * * * I*
J J distance * * * J*
M command M ## M01
S speed ### 100 RPM 100 RPM S03
T tool number ## T05
X X coordinate * * * X*
Y Y coordinate * * * Y*
Z Z plane #### 0.01 mm 0.001 inch Z015

Useful information for the CNC 44.00/45.00


< If the command COMM-BHIG is active, the retract rate "B" will be interpreted with
5 decades (#####). Command "B015" is interpreted as 0.15 mm/sec. Command
COMM-NOBHIG reactivates 4 decades (####). Command "B015" is interpreted
as 1.5 mm/sec.
< Today command "E" is no longer programmed for the plunge rate. For it, com-
mand "F" is used.
< The spindle speed "S" can also be programmed with a point, which increases the
unit to 1,000 RPM. For example: The instruction CS10.effects a spindle speed of
110,000 RPM.
< The tool number can be entered with 2 or 4 digits. The last both digits define the
index number. The instruction T0107 defines the tool number "01" and the index
number "07".

- 10 - Excellon Interpreter Format 1 / Format 2


! SIEB & MEYER Formats

3.6 Input via Keyboard


Inputs via keyboard can be:
< the programming in operational mode PROGRAMMING
< inputs in the tool tables
< numericals behind COMM commands (e. g. COMM-X10.Y10.)

Metric (production program)


Command Significance Decades Metric Examples Explanation
A radius ####.### mm A15.5 15.5 mm
B retract rate #### 0.1 mm/sec B015 1.5 mm/sec
C diameter ###.## mm C3. 3.0 mm
E plunge rate #### 0.1 mm/sec E0011 1.1 mm/sec
F plunge rate #### 0.1 mm/sec F001 1.0 mm/sec
G command G ## G91 incremental
H max. tool life #### 1 stroke H3000 3,000 strokes
I I distance ####.### mm I-10. !10.0 mm
J J distance ####.### mm J5.2 5.2 mm
M command M ## M01 pattern end
S speed ### 100 RPM S03 3,000 RPM
T tool number ## T05 tool no. 5
T tool/index #### T0507 tool 5; index 7
X X coordinate ####.### mm X100. 100.0 mm
Y Y coordinate ####.### mm Y1.25 1.25 mm
Z Z plane ##.## mm Z1.5 1.5 mm

Metric (CNC 35.00 Tool tables)


Command Significance Decades Metric Examples Explanation
D diameter ###.## mm C3. 3.0 mm
F plunge rate ##.# m/min F1. 1.0 m/min
R retract rate ##.# m/min R1.5 1.5 m/min
N max. tool life #### stroke N3000 3,000 strokes
S speed ##.# 1,000 RPM S75.5 75,500 RPM
T tool number # T5 tool no. 5

Metric (CNC 4x.00/8x.00 Tool tables)


Command Significance Decades Metric Examples Explanation
D diameter ###.### mm C3. 3.0 mm
F plunge rate ##.### m/min F1. 1.0 m/min
R retract rate ##.### m/min R1.5 1.5 m/min
N max. tool life #### stroke N3000 3,000 strokes
S speed ##.# 1,000 RPM S75.5 75,500 RPM
T tool number # T5 tool no. 5
Z Z offset ##.### mm Z-1.5 !1.5 mm

Inch (production program and tool tables)


Command Significance Decades Inch Examples Explanation
A radius ###.#### inch A15.5 15.5 inch
B retract rate #### inch/min B015 15.0 inch/min
C diameter ##.### inch C3. 3.0 inch
E plunge rate #### inch/min E0011 1.1 inch/min
F plunge rate #### inch/min F001 1.0 inch/min
G command G ## G91 incremental
H max. tool life #### Hub H3000 3,000 strokes
I I distance ###.#### inch I-10. !10.0 inch
J J distance ###.#### inch J1.25 1.25 inch
M command M ## M01 pattern end
S speed ### 100 RPM S03 3,000 RPM
T tool number ## T05 tool no. 5
X X coordinate ###.#### inch X20. 20.0 inch
Y Y coordinate ###.#### inch Y-4.5 !4.5 inch
Z Z plane ###.#### inch Z.15 0.15 inch

Format 1 / Format 2 Excellon Interpreter - 11 -


SIEB & MEYER Formats !
3.7 ISO-EIA Table
ISO 840 Code DIN 66024 EIA Code
Even Parity Odd Parity
P 7 6 5 4 T 3 2 1 Significance 8 7 6 P 4 T 3 2 1
C dummy byte (NUL) ! C
! C ! line feed (LF) ! C
! ! C blank character (SP) ! C
! C ! Dollar $ C
! ! C ! ! point . ! ! ! C ! !
! ! ! C ! comma , ! ! ! C ! !
! ! C open bracket ( C
! ! ! C ! close bracket ) C
! ! C ! ! per cent % ! C ! !
! ! ! C ! colon : C
! ! ! C ! ! ! slash / ! ! C !
! ! C ! ! plus + ! ! ! C
! ! C ! ! minus ! ! C
! ! C 0 ! C
! ! ! C ! 1 C !
! ! ! C ! 2 C !
! ! C ! ! 3 ! C ! !
! ! ! C ! 4 C !
! ! C ! ! 5 ! C ! !
! ! C ! ! 6 ! C ! !
! ! ! C ! ! ! 7 C ! ! !
! ! ! ! C 8 ! C
! ! ! C ! 9 ! ! C !
! C ! A ! ! C !
! C ! B ! ! C !
! ! C ! ! C ! ! ! C ! !
! C ! D ! ! C !
! ! C ! ! E ! ! ! C ! !
! ! C ! ! F ! ! ! C ! !
! C ! ! ! G ! ! C ! ! !
! ! C H ! ! ! C
! ! ! C ! I ! ! ! ! C !
! ! ! C ! J ! ! C !
! ! C ! ! K ! ! C !
! ! ! C ! L ! C ! !
! ! C ! ! M ! ! C !
! ! C ! ! N ! C ! !
! ! ! C ! ! ! O ! C ! !
! ! C P ! ! C ! ! !
! ! ! C ! Q ! ! ! C
! ! ! C ! R ! ! C !
! ! C ! ! S ! ! C !
! ! ! C ! T ! C ! !
! ! C ! ! U ! ! C !
! ! C ! ! V ! C ! !
! ! ! C ! ! ! W ! C ! !
! ! ! ! C X ! ! C ! ! !
! ! ! C ! Y ! ! ! C
! ! ! C ! Z ! ! C !

- 12 - Excellon Interpreter Format 1 / Format 2


! Program Header (M48 Header)

4 Program Header (M48 Header)

The program header (M48 Header) is a program part with the following characte-
ristics:
< It is always at the beginning of the production program
< The program header comprises commands valid for the complete production
program.

The program header has to programmed as follows:


M48 ( beginning of the program header )
...
% ( end of the program header )
T01 ( beginning of the program )
...
M30 ( end of the program )

4.1 Commands in Program Header (M48 Header)


The commands listed in the following table partly can be activated with COMM com-
mands or function keys.
< When loading a production program the values of the program header are dis-
played in operational mode PROGRAMMING, independently of the format
COMM-FP.
< The values are interpreted according to the format set with COMM-FP only during
the execution.

4.1.1 Header Commands of the CNC 35.00


Commands Explanation Alternative
BLKD,ON ignore / blocks COMM- BD
BLKD,OFF execute / blocks COMM-BD 1
CCW,ON reversion of function: COMM-CC
G02 CW )< CCW
G03 CCW )< CW
G32 CW )< CCW
G33 CCW )< CW
G41 left )< right
G42 right )< left
CCW,OFF usual function of commands: COMM-CC 1
G02, G03, G32, G33, G41, G42
FMAT,1 Excellon Format 1
FMAT,2 Excellon Format 2
ICI,ON incremental mode ON
ICI,OFF incremental mode OFF
INCH activate inch mode COMM-IN
INCH,LZ inch mode with leading zeros
INCH,TZ inch mode with trailing zeros
METRIC activate metric mode COMM-ME
METRIC,000.00 5 decades, 10 :m resolution
METRIC,0000.00 6 decades, 10 :m resolution
METRIC,000.000 6 decades, 1 :m resolution
METRIC,LZ metric mode with leading zeros
METRIC,TZ metric mode with trailing zeros
OSTOP,ON optional stop ON key OPT STOP on
OSTOP,OFF optional stop OFF key OPT STOP off
R,T clear all tool parameters

Format 1 / Format 2 Excellon Interpreter - 13 -


Program Header (M48 Header) !
SBK,ON blockwise execution ON key BLOCK on
SBK,OFF blockwise execution OFF key BLOCK off
VER,1 ... set version COMM-FV
VER,8
OM48,ON ignore program header (M48 header) COMM-OM
OM48,OFF do not ignore program header (M48 header) COMM-OM1

4.1.2 Header Commands of the CNC 4x.00/8x.00


Command Explanation Alternative
BLKD,ON ignore / blocks COMM-BLKD
COMM-NOBLKD
BLKD,OFF execute / blocks
CCW,ON reversion of function: COMM-CCW
G02 CW )< CCW
G03 CCW )< CW
G32 CW )< CCW
G33 CCW )< CW
G41 left )< right
G42 right )< left
CCW,OFF usual function of commands COMM-NOCCW
G02, G03, G32, G33, G41, G42
FMAT,1 Excellon Format 1
FMAT,2 Excellon Format 2
ICI,ON incremental mode ON
ICI,OFF incremental mode OFF
INCH activate inch mode COMM-INCH
INCH,LZ inch mode with leading zeros
INCH,TZ inch mode with trailing zeros
METRIC activate metric mode COMM-METR
METRIC,000.00 5 decades, 10 :m resolution
METRIC,0000.00 6 decades, 10 :m resolution
METRIC,000.000 6 decades, 1 :m resolution
METRIC,LZ metric with leading zeros
METRIC,TZ metric with trailing zeros
OSTOP,ON optional stop ON key OPT STOP on
OSTOP,OFF optional stop OFF key OPT STOP off
PECK,t COMM-SPEK: tool is marked in the tool table
COMM-SPEK3: tool is cleared in the tool table
R,T clear all tool parameters
SBK,ON blockwise execution ON key BLOCK on
SBK,OFF blockwise execution OFF key BLOCK off
VER,1 ... set version COMM-FV
VER,8
OM48,ON ignore program header (M48 header) COMM-OM48
OM48,OFF do not ignore program header (M48 header) COMM-NOOM48

4.1.3 Example
M48
VER,2 ( activate machine version 2 )
FMAT,2 ( program in Format 2 )
INCH,LZ ( numericals in inch with leading zeros )
T1C.043 ( diameter assignment )
T2C.0135
T3C.032
...
% ( end of program header )

- 14 - Excellon Interpreter Format 1 / Format 2


! Command Repertoire of Excellon Format 1

5 Command Repertoire of Excellon Format 1

BOLD capitals, ciphers and commas are components of the Excellon code and have
to be entered; italic small letters have to be replaced by numericals.

Format 1 Short Description


% separately programmed in a block marking
< the beginning of the production program
< the end of the M48 header
< the end of the PAPER TAPE REWIND
/ BLOCK DELETE
blocks starting with a slash are ignored or executed during the program executi-
on
/X12345Y23456

header commands
BLKD,ON ignore / blocks
BLKD,OFF execute / blocks

CNC 35.00
COMM-BD ignore / blocks
COMM-BD1 execute / blocks

CNC 4x.00/84.00
COMM-BLKD ignore / blocks
COMM-NOBLKD execute / blocks
Aa ARC RADIUS
< radius of an arc of circle (routing)
< Aa has only to be programmed for the first circular block in a connected se-
ries of arc of circles with identical radius
G02X10000Y20000A500
G02X15000Y25000
Cc TOOL DIAMETER
< programmed in a Tt block
< effects the moving of the Z axis with the respective values of the table DIA-
METER
T01C100
Ff Z AXIS INFEED
< programmed in a Tt block
< resolution 1 ipm or 1 mm/s, resp.
T01F100

XY FEED RATE
< the feed rate defines the routing in rout programs
< resolution 0.1 ipm or 0.1 mm/s, resp.
F065
G00XxYy ROUT MODE
< at the beginning of each rout program
< always with X/Y coordinates (of start point of routing)
G01 LINEAR MODE
G01XxYy
G02 CIRCULAR CLOCKWISE MODE
G02Aa
G02XxYy
G02XxYyAa
G03 CIRCULAR COUNTERCLOCKWISE MODE
G03Aa
G03XxYy
G03XxYyAa
G04Xt VARIABLE DWELL
< the machine stops for the period t defined behind X (e. g. to cool the cutter)
< 000001 =
^ 1ms to 1 =^ 100 s
G04X001 (=^ 1 s)
G40 CUTTER COMPENSATION OFF

Format 1 / Format 2 Excellon Interpreter - 15 -


Command Repertoire of Excellon Format 1 !
Format 1 Short Description
G41 CUTTER COMPENSATION LEFT
< separately programmed in a block
< activates the compensation for all subsequent rout functions
G42 CUTER COMPENSATION RIGHT
< like G41, but with compensation in rout direction to the right
G81 DRILL MODE
< changes from routing to drilling
< is programmed separately
< all subsequent coordinates are interpreted as drill blocks and initiate a drill hit
G81 DUAL IN-LINE PACKAGES
G82 < the command generates 14 or 16 holes for a DIL-IC
Xx1Yy1 < only 2 opposite corner points have to be programmed, e. g.
Xx2Yy2 ! " " " " " " " " " " " " " " !
or
" " " " " " " ! ! " " " " " " "
G83 EIGHT-PIN PACKAGE (L-RACK)
Xx1Yy1 < the command generates 8 holes of a circular IC housing
Xx2Yy2 < only 2 opposite points have to be programmed (their imaginary connecting
line leads through the center)
" ! " " " "
" " ! !
" ! " " " "
< the imaginary connecting line of both points either has to be parallel to the X
or Y axis
XxYyG84Xd CIRCLE NIBBLE
< close consecutive holes generate a circle (hole)
XxYy G84 Xd
8 8
center of diameter of
circle circle
< with compensation of the drill bit diameter. If the diameter of the drill bit has
not been defined or is defined with 0 in the tool parameters, 0.125 inch (3.18
mm) will be assumed.
Xx1Yy1G85Xx2Yy SLOT NIBBLE
2 < close consecutive holes generate a slot
Xx1Yy1 G85 Xx2Yy2
8 8
start point end point
< the diameter of the drill bit defines the distance between the holes; 0.125
inch (3.18 mm) will be assumed, if it is not defined in the tool parameters
(diameter 0).
G90 ABSOLUTE MODE
< each coordinate refers to the program zero point
< is programmed separately
G91 INCREMENTAL INPUT MODE
< each coordinate refers to the preceding coordinate
< is programmed separately in a block
G92XxYy ZERO PRESET
< in Automatic mode XxYy is subtracted from each coordinate
< thus, a new program zero point is generated for the subsequent program
blocks
< is reset with M30
G93XxYy ZERO SET
< in Automatic mode XxYy is added to each coordinate
< thus, a new program zero point (floating zero) is generated for the subse-
quent program blocks:
FLOATING ZERO = ZERO SET + COMM-FT
IiJj ARC CENTER OFFSET
< is used for the circular routing instead of Aa for defining an arc of circle
< Ii distance in X from the start point P1 to the center of the circle M
< Jj distance in Y from the start point P1 to the center of the circle M
M00 STOP FOR INSPECTION
< in Automatic mode; the machine travels to XxYy and stops
< continue with key START

- 16 - Excellon Interpreter Format 1 / Format 2


! Command Repertoire of Excellon Format 1

Format 1 Short Description


M01 OPTIONAL STOP
< in Automatic mode: the machine will travel to XxYy and stop, if key
OPT STOP has been pressed (LED is on)
< continue with key START
M02 END OF PROGRAM - NO REWIND -
< the machine travels to XxYy at the end of the program
< only M00: the machine travels to the park position at the end of the program
M15 Z AXIS ROUT PLUNGE
< the Z axis moves to the rout plane
< is programmed separately in a block
M16 Z-AXIS RETRACTION WITH FLOATING PRESSURE FOOT
< during the last rout path the work piece is held by a jig; at the end of the rout
path the Z axis is retracted
< is programmed separately in a block
M17 Z AXIS RETRACTION WITHOUT FLOATING PRESSURE FOOT
< is programmed separately in a block
M24 END OF PATTERN
< subsequent STEP AND REPEAT blocks repeat the blocks programmed
between M25 (BEGINNING OF PATTERN) and M24
< is programmed separately in a block
M25 BEGIN OF PATTERN
< subsequent STEP AND REPEAT blocks repeat the blocks programmed
between M25 and M01 (END OF PATTERN)
< pinning blocks, tool changes, offset etc. usually are programmed before M25
< is programmed separately in a block
M26 REPEAT PATTERN OFFSET
< M26 defines the distance between two consecutive patterns in a STEP AND
REPEAT program
< tool commands and/or rotation/mirror commands (M70 etc.) can be program-
med in the same block
M26XYM21 MIRROR IMAGE X-AXIS
< STEP AND REPEAT command
< swaps the sign of each X coordinate
M26XYM22 MIRROR IMAGE Y-AXIS
< STEP AND REPEAT command
< swaps the sign of each Y coordinate
M26XYM23 SWAP AXES
< STEP AND REPEAT command
< X becomes Y, Y becomes X
M27 END OF STEP AND REPEAT
< marks the end of a program section containing STEP AND REPEAT com-
mands
< is programmed separately in a block or M08M30
(consider order!)
M30[XxYy] END OF PROGRAM REWIND
< at the end of the program the machine travels to XxYy; the paper tape is re-
wound to the % character
< only M30: the machine travels to the park position at the end of the program;
the paper tape is rewound to the % character
M47,Text OPERATOR MESSAGE
< in Automatic mode: the machine stops, the text programmed behind M47 is
displayed on the screen
< continue with key START
M48 PROGRAM HEADER
< a "leader" to the definite production program follows M48. It contains general
program data. You can find detailed information in section "Program Header
(M48 Header".
< is programmed separately in a block
M70 INCH MEASURING MODE
< subsequent measuring definitions are interpreted in INCH
< it should be used only in the PROGRAM HEADER
< is programmed separately in a block

Format 1 / Format 2 Excellon Interpreter - 17 -


Command Repertoire of Excellon Format 1 !
Format 1 Short Description
M71 METRIC MEASURING MODE
< subsequent measuring definitions are interpreted in METRIC
< it should be used only in the PROGRAM HEADER
< is programmed separately in a block
PpXxYy REPEAT STORED PATTERN
< the last pattern is repeated
Pp XxYy
8 8
number of distance between
repetitions the patterns
(max. 9,999)
RrXxYy REPEAT HOLE
< the last hole is repeated
Rr XxYy
8 8
number of distance between
repetitions the holes
(max. 9,999)
RrM26XxYy REPEAT BLOCK
< is useful for generating a row of patterns, of which the distance is constant
Rr M26 XxYy
8 8
number of distance between
repetitions the patterns
(max. 9,999)
Ss SPINDLE RPMs
< is programmed in a Tt block
< has always leading zeros
< Examples: S 385 38,500 RPM
S 38 38,000 RPM
S3 30,000 RPM
Tt TOOL SELECTION
< tool change command
< T01 = T1
< the values of the respective tool table apply
TtCc TOOL SELECTION/DIAMETER
< only useful for drill bits
< the execution is continued with Tt
< Cc copies the corresponding parameters from the tool table DIAMETER into
the tool table TOOLS
Tti TOOL SELECTION/INDEX
< only useful for cutters
< has always to be programmed with 4 digits, e. g. T0116;
01 = tool number
16 = index
< the cutter diameter (for computing the cutter radius compensation) is deter-
mined by means of the index of the tool table INDEX

- 18 - Excellon Interpreter Format 1 / Format 2


! Command Repertoire of Excellon Format 2

6 Command Repertoire of Excellon Format 2

BOLD capitals, ciphers and commas are components of the Excellon code and have
to be entered; italic small letters have to be replaced by numericals.

Format 2 Short Description


% separately programmed in a block marking
< the beginning of the production program
< the end of the M48 header
< the end of the PAPER TAPE REWIND
/ BLOCK DELETE
blocks starting with a slash are ignored or executed during the program executi-
on
/X12345Y23456

header commands
BLKD,ON ignore / blocks
BLKD,OFF execute / blocks

CNC 35.00
COMM-BD ignore / blocks
COMM-BD1 execute / blocks

CNC 4x.00/84.00
COMM-BLKD ignore / blocks
COMM-NOBLKD execute / blocks
Aa ARC RADIUS
< radius of an arc of circle (routing)
< Aa has only to be programmed for the first circular block in a connected se-
ries of arc of circles with identical radius
G02X10000Y20000A500
G02X15000Y25000
Cc TOOL DIAMETER
< programmed in a Tt block
< effects the moving of the Z axis with the respective values of the table DIA-
METER
T01C100
Ff Z AXIS INFEED
< programmed in a Tt block
< resolution 1 ipm or 1 mm/s, resp.
T01F100

XY FEED RATE
< the feed rate defines the routing in rout programs
< resolution 0,1 ipm or 0,1 mm/s, resp.
F065
G00XxYy ROUT MODE
< at the beginning of each rout program
< always with X/Y coordinates (of start point of routing)
G01 LINEAR MODE
G01XxYy
G02 CIRCULAR CLOCKWISE MODE
G02Aa
G02XxYy
G02XxYyAa
G03 CIRCULAR COUNTERCLOCKWISE MODE
G03Aa
G03XxYy
G03XxYyAa
G04Xt VARIABLE DWELL
< the machine stops for the period t defined behind X (e. g. to cool the cutter)
< 000001 =
^ 1ms to 1 =^ 100 s
G04X001 (=^ 1 s)

Format 1 / Format 2 Excellon Interpreter - 19 -


Command Repertoire of Excellon Format 2 !
Format 2 Short Description
G05 DRILL MODE
< changes from routing to drilling
< is programmed separately
< all subsequent coordinates are interpreted as drill blocks and initiate a drill hit
G32XxYy ROUTED CIRCLE CANNED CIRCLE CLOCKWISE
G32XxYyAa < routs a hole with diameter Aa
< Aa can be omitted, if the diameter is not changed
< a repetition with Pp is not possible
< contains all commands necessary for a complete circle; G00 can be dropped
< always with cutter radius compensation
G33XxYy ROUTED CIRCLE CANNED CIRCLE COUNTERCLOCKWISE
G33XxYyAa < like G32, but counterclockwise
G40 CUTTER COMPENSATION OFF
G41 CUTTER COMPENSATION LEFT
< separately programmed in a block
< activates the compensation for all subsequent rout functions
G42 CUTER COMPENSATION RIGHT
< like G41, but with compensation in rout direction to the right
G81 DUAL IN-LINE PACKAGES
G82 < the command generates 14 or 16 holes for a DIL-IC
Xx1Yy1 < only 2 opposite corner points have to be programmed, e. g.
Xx2Yy2 ! " " " " " " " " " " " " " " !
or
" " " " " " " ! ! " " " " " " "
G83 EIGHT-PIN PACKAGE (L-RACK)
Xx1Yy1 < the command generates 8 holes of a circular IC housing
Xx2Yy2 < only 2 opposite points have to be programmed (their imaginary connecting
line leads through the center)
" ! " " " "
" " ! !
" ! " " " "
< the imaginary connecting line of both points either has to be parallel to the X
or Y axis
XxYyG84Xd CIRCLE NIBBLE
< close consecutive holes generate a circle (hole)
XxYy G84 Xd
8 8
center of diameter of
circle circle
< with compensation of the drill bit diameter. If the diameter of the drill bit has
not been defined or is defined with 0 in the tool parameters, 0.125 inch
(3.18mm) will be assumed.
Xx1Yy1G85Xx2Yy SLOT NIBBLE
2 < close consecutive holes generate a slot
Xx1Yy1 G85 Xx2Yy2
8 8
start point end point
< the diameter of the drill bit defines the distance between the hole; 0.125 inch
(3.18 mm) will be assumed, if it is not defined in the tool parameters
G90 ABSOLUTE MODE
< each coordinate refers to the program zero point
< is programmed separately
G91 INCREMENTAL INPUT MODE
< each coordinate refers to the preceding coordinate
< is programmed separately in a block
G92XxYy ZERO SET
or < in Automatic mode XxYy is added to each coordinate
G93XxYy < thus, a new program zero point (floating zero) is generated for the subse-
quent program blocks:
FLOATING ZERO = ZERO SET + COMM-FT

- 20 - Excellon Interpreter Format 1 / Format 2


! Command Repertoire of Excellon Format 2

Format 2 Short Description


IiJj ARC CENTER OFFSET
< is used for the circular routing instead
of Aa for defining an arc of circle
< Ii distance in X from the start point P1
to the center of the circle M
Jj distance in Y from the start point P1
to the center of the circle M

M00 END OF PROGRAM - NO REWIND -


M00XxYy < the machine travels to XxYy at the end of the program
< only M00: the machine travels to the park position at the end of the program
M01 END OF PATTERN
< subsequent STEP AND REPEAT blocks repeat the blocks programmed
between M25 (BEGINNING OF PATTERN) and M01
< is programmed separately in a block
M02XxYy REPEAT PATTERN OFFSET
< M02 defines the distance between two consecutive patterns in a STEP AND
REPEAT program
< tool commands and/or rotation/mirror commands (M70 etc.) can be program-
med in the same block
M04 NO DRILL
M06XxYy OPTIONAL STOP
< in Automatic mode: the machine will travel to XxYy and stop, if key
OPT STOP has been pressed (LED is on)
< continue with key START
M08 END OF STEP AND REPEAT
< marks the end of a program section containing STEP AND REPEAT com-
mands
< is programmed separately in a block or M08M30
(consider order!)
M09XxYy STOP FOR INSPECTION
< in Automatic mode; the machine travels to XxYy and stops
< continues with key START
M15 Z AXIS ROUT PLUNGE
< the Z axis travels to the rout plane
< is programmed separately in a block
M16 Z AXIS RETRACTION WITH FLOATING PRESSURE FOOT
< during the last rout path the workpiece is held by a jig; at the end of the rout
path the Z axis is retracted
< is programmed separately in a block
M17 Z AXIS RETRACTION WITHOUT FLOATING PRESSURE FOOT
< is programmed separately in a block
M25 BEGIN OF PATTERN
< subsequent STEP AND REPEAT blocks repeat the blocks programmed
between M25 and M01 (END OF PATTERN)
< pinning blocks, tool changes, offset values etc. are usually programmed be-
fore M25
< is programmed separately in a block
M30XxYy END OF PROGRAM REWIND
< at the end of the program the machine travels to XxYy; the paper tape is re-
wound to the % character
< only M30: the machine travels to the park position at the end of the program;
the paper tape is rewound to the % character
M31 PROGRAM LINK
M46 JOG FROM MACHINE ZERO
M47,Text OPERATOR MESSAGE
< in Automatic mode; the machine stops, the text programmed behind M47 is
displayed on the screen
< continue with key START

Format 1 / Format 2 Excellon Interpreter - 21 -


Command Repertoire of Excellon Format 2 !
Format 2 Short Description
M48 PROGRAM HEADER
< a "leader" to the definite production program follows M48. It contains general
program data. You can find detailed information in section "Program Header
(M48 Header)".
< is programmed separately in a block
M02XxYyM70 SWAP AXES
< STEP AND REPEAT command
< X becomes Y, Y becomes X
M71 METRIC MEASURING MODE
< subsequent measuring definitions are interpreted in METRIC
< it should be used only in the PROGRAM HEADER
< is programmed separately in a block
M72 INCH MEASURING MODE
< subsequent measuring definitions are interpreted in INCH
< it should be used only in the PROGRAM HEADER
< is programmed separately in a block
M02XxYyM80 MIRROR IMAGE X-AXIS
< STEP AND REPEAT command
< swaps the sign of each X coordinate
M02XxYyM90 MIRROR IMAGE Y-AXIS
< STEP AND REPEAT command
< swaps the sign of each Y coordinate
M97, Text CANNED TEXT HORIZONTAL
XxYy < legal characters: A to Z; 0 to 9; +!/*
< XxYy is the left lower corner point of the text (in read direction)
< the tool diameter defines the size of the letters (1.2 times diameter = distance
of holes)
< letters of a height of 0.25 inch (6.35 mm) are drilled without diameter definiti-
on
< the text cannot be repeated with Pp
< an asterisks "*" in the text is replaced by the text defined with command
COMM-OPID
M98,Text CANNED TEXT VERTICAL
XxYy < the characters are crossed for the observer
< otherwise like M97
M99,file name USER DEFINED STORED PATTERN
XxYy < the production program just executed is quitted for a short time in order to
execute the subroutine file name
< all coordinates of the subroutine are completed by XxYy
PpXxYy REPEAT STORED PATTERN
< the last pattern is repeated
Pp XxYy
8 8
number of distance between
repetitions the patterns
(max. 9,999)
RrXxYy REPEAT HOLE
< the last hole is repeated
Rr XxYy
8 8
number of distance between
repetitions the holes
(max. 9,999)
RrM02XxYy REPEAT BLOCK
< is useful for generating a row of patterns, of which the distance is constant
Rr M02 XxYy
8 8
number of distance between
repetitions the patterns
(max. 9,999)
Ss SPINDLE RPMs
< is programmed in a Tt block
< has always leading zeros
< Examples: S 385 38,500 RPM
S 38 38,000 RPM
S3 30,000 RPM

- 22 - Excellon Interpreter Format 1 / Format 2


! Command Repertoire of Excellon Format 2

Format 2 Short Description


Tt TOOL SELECTION
< tool change command
< T01 = T1
< the values of the respective tool table apply
TcCc TOOL SELECTION/DIAMETER
< only useful for drill bits
< the execution is continued with Tt
< Cc copies the corresponding parameters from the tool table DIAMETER into
the tool table TOOLS
Tti TOOL SELECTION/INDEX
< only useful for cutters
< has always be programmed with 4 digits, e. g. T0116;
01 = tool number
16 = index
< the cutter diameter (for computing the cutter radius compensation is deter-
mined by means of the index of the tool table INDEX

Format 1 / Format 2 Excellon Interpreter - 23 -


Appendix: Revisions !
7 Appendix: Revisions

The appendix describes alterations, made in comparison to the version with the
identification number "044-cnc-bed-excellon/r05-sm-en-dn/dj/fk/ca" of January 5,
2000.

Appendix: Excellon Interpreter


044-cnc-bed-excellon/r06-sm-en-dn/dj/fk
March 15, 2005
The section Tool Table has been moved to the operating manual.

Appendix: Excellon Interpreter


084-cnc-bed-excellon/r07-sm-en-dn/dj/fk
May 25, 2005
The section COMM commands has been moved to the manual COMM Commands.

Appendix: Excellon Interpreter


084-cnc-bed-excellon/r08-sm-en-dn/dj/cg
December 20, 2007
IJ-figure modified.

- 24 - Excellon Interpreter Format 1 / Format 2

Vous aimerez peut-être aussi