Beruflich Dokumente
Kultur Dokumente
CNC Machining
CNC Machine
Drive Motors
Position Feedback
Incremental encoder Quadrature Absolute encoder Resolver Tachometer No feedback (open loop)
Mechanical Components
Control
3-axis position control (encoder feedback) Velocity control (tachometer feedback) Torque control (current feedback) Linear interpolation Circular interpolation Complex path interpolation (contouring)
Path generator
CNC Programming
Manual
Write code directly Draw cutter path Draw the part Cutter path is generated
Computer-assisted
CAD/CAM
CNC Integration
Program is stored in a computer Program is loaded to CNC machine and executed automatically CNC commands are individually transmitted from a computer to the CNC machine and executed immediately
All units are counts Independent axis movements Coordinated (vector mode) movements Typical sequence
Scale
Motion
PA position absolute PR position relative BG begin motion AM after motion ST stop motion
Parameters
Sequence control
Parameters
Motion
VP linear position
CR circular arc
Sequence control
Labels
Remarks
Begin with # 8 characters total #DRILL Begin with letter 8 characters total SAFEZ=8000
Line begins with REM Ignored during load Begin with label #MY_PROG End with EN
Program structure
Variables
Galil Subroutines
Jump to subroutine (by label) from main program: JS #MYSUB Place subroutine after main program When subroutine end (EN) is encountered, returns to main program just after JS statement One subroutine can be called many times