90
96-8000 Rev AC
May 2010
offsets can be set in each program so that setup procedures become easier
and less error-prone (macro variables #2001-2800).
•
Probing
Using a probe enhances the capabilities of the machine, some ex-
amples are:
1. Profiling of a part to determine unknown dimensions for machining.
2. Tool calibration for offset and wear values.
3. Inspection prior to machining to determine material allowance on castings.
4. Inspection after machining to determine parallelism and flatness values as
well as location.
Useful G and M Codes
M00, M01, M30 - Stop Program
G04 - Dwell
G65 Pxx - Macro subprogram call. Allows passing of variables.
M96 Pxx Qxx - Conditional Local Branch when Discrete Input Signal is 0
M97 Pxx - Local Sub Routine Call
M98 Pxx - Sub Program Call
M99 - Sub Program Return or Loop
G103 - Block Lookahead Limit. No cutter comp allowed
M109 - Interactive User Input (see “M Codes” section)
Settings
There are 3 settings that can affect macro programs (9000 series programs),
these are 9xxxx progs Lock (#23), 9xxx Progs Trace (#74) and 9xxx Progs
Single BLK (#75).
Lookahead
Lookahead is of great importance to the macro programmer. The control will at
-
tempt to process as many lines as possible ahead of time in order to speed up
processing. This includes the interpretation of macro variables. For example,
#1101=1
G04 P1.
#1101=0
This is intended to turn an output ON, wait 1 second, and then turn it off. How
-
ever, lookahead will cause the output to turn on then immediately back off while
the dwell is being processed. G103 P1 can be used to limit lookahead to 1
blocks. To make this example work properly, it must be modified as follows:
G103 P1 (See the G-code section of the manual for a further explana
-
tion of G103)
;
#1101=1
G04 P1.
;
Summary of Contents for 96-8000
Page 15: ...6 96 8000 Rev AC May 2010 Mill Warning Decals ...
Page 16: ...7 96 8000 Rev AC May 2010 Safety Lathe Warning Decals ...
Page 41: ...32 96 8000 Rev AC May 2010 ...
Page 93: ...84 96 8000 Rev AC May 2010 ...
Page 129: ...120 96 8000 Rev AC May 2010 ...
Page 133: ...124 96 8000 Rev AC May 2010 ...
Page 268: ......
Page 269: ......