8.23
EDH0162En1040 – 06/99
MM4005
Appendix D — Motion Program Examples
Example 4
Lets assume we want to write the
from the Newport logo. We have a
X-Y table and a 0.5 mm plotter pen (or a laser beam) controlled by a TTL
line. One possibility is to scan the symbol with a 0.5 mm spacing and fill it
in with 0.5 mm lines. The result will be similar to Fig. D.5.
Fig. D.5
.
The solid lines show the actual pen trajectory.
Next, we need to select a coordinate system. For simplicity, lets make the
lower left corner of the trajectory the origin (zero), as shown in Fig. D.6.
Fig. D.6
.
We decide to make the symbol 13 mm high and 17.5 mm wide. But, using a
pen with a 0.5 mm wide tip, the actual trajectory must be shrunk to 12.5 ¥
17 mm. To control the pen up and down we will use bit #8 of the I/O output
port, where logic high means pen down.
First, we need to make sure that there is no other program in memory with
the same name (number). We do this by listing the program number select-
ed or just by erasing it with the XX command.
Assuming that this program is being edited on a computer and then down-
loaded to the controller, we also need to send the commands to enter and
terminate the programming mode.
Y
Axis #2
Axis #1
X
0
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com