U600 User’s Guide
Programming
Version 1.4
Aerotech, Inc.
3-5
3.3.
CNC G-code Programming
G-code motion consists of RS-274 compatible programs executed on the UNIDEX 600
Series controller. The user compiles, downloads, and starts these programs using library
interface calls, but the actual program execution is performed independent of the PC
processor. Therefore, program execution speed is totally independent of what programs
are running on the PC, the speed of the ISA bus, and the speed of the PC.
Another major advantage to CNC programming is, it uses the RS-274 standard, a industry
standard programming language accepted and understood in many manufacturing
environments. Furthermore, many third party applications exist that can translate CAD
data into RS-274 G-code programs.
A serious drawback of the CNC interface is it lacks the language sophistication of PC
languages like Visual C++ and Visual Basic. Most notably, the only GUI interface
capability available in the CNC language is the DISPLAY command, as opposed to the
full range of GUI capabilities in Visual C++ or Visual Basic. For this reason, CNC
language users usually use the U600 MMI to control their programs from a visual
environment, or they write their own library interface GUI application that controls the
CNC.
Although the CNC language is not as rich as C or C++, it should be mentioned here that
the AEROTECH U600 CNC language goes far beyond the RS-274 language in providing
language structures normally only found in languages such as C. Refer to the UNIDEX
600 CNC Programming Manual Win NT/95, P/N EDU 158 for more details.
•
Block structures (if-endif, while-endwhile, etc.)
•
Subroutines with parameters, returns and full stack capabilities
•
Full access to all parameters and I/O (digital and analog)
•
Full “define” capabilities, allowing for user-defined G-codes or M-codes.
In addition the AEROTECH CNC language offers a wide range of motion capabilities
beyond the RS-274 standard:
•
Coordinate system rotation and mirroring
(G83, G84)
•
Asynchronous Motion
(STRM)
•
Up to sixteen spindles
(S word)
•
Simultaneous rotational and linear movement
(G98, G99)
•
Cutter Compensation
(G40)
•
Normalcy Motion
(G20)
•
PSO support
(PSOC)
•
Data Collection
(DATACOLLECT)
•
HandWheel Support
(HAND)
•
Analog and Digital Probe Support
(PROBE)
•
Disk file I/O
(FILEOPEN)
•
Continuous I/O monitoring
(ON/ONGOSUB)
Unlike the library interface, modifications to the sequence and types of motion executed
can be made at any time by the user by modifying the G-code program and re-
downloading the file to the UNIDEX 600 controller (using the U600 MMI program).
Also, the end-user can stop and restart applications at will with the U600 MMI
application. This may or may not be an advantage depending on the particular
application.
Summary of Contents for UNIDEX 600 Series
Page 19: ...Table of Contents U600 User s Guide xviii Aerotech Inc Version 1 4...
Page 27: ...Preface U600 User s Guide xxvi Aerotech Inc Version 1 4...
Page 163: ...AerPlot U600 User s Guide 6 6 Aerotech Inc Version 1 4...
Page 169: ...AerReg U600 User s Guide 8 4 Aerotech Inc Version 1 4...
Page 177: ...AerPlotIO U600 User s Guide 10 4 Aerotech Inc Version 1 4...
Page 179: ...Filter U600 User s Guide 11 2 Aerotech Inc Version 1 4...
Page 219: ...PrmSetup U600 User s Guide 13 2 Aerotech Inc Version 1 4...
Page 223: ...Glossary of Terms U600 User s Guide A 4 Aerotech Inc Version 1 4...
Page 353: ......