8/8/2019 CNC Introduction - CNC
1/16
Introduction about CNC and EMC2
Zhang [email protected]
Distributed & Embedded Systems Lab
Lanzhou Universtiy, P.R.Chinadslab.lzu.edu.cn
2007.6.7
Power Open Day http://dslab.lzu.edu.cn
mailto:[email protected]://www.ibm.com/cn/mailto:[email protected]8/8/2019 CNC Introduction - CNC
2/16
Content
What is CNC
EMC & EMC2 introduction
RS274/NGC language introduction
What we do for CNC and EMC2
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
3/16
What is CNC
Computer Numerical Control Control automatically Manufacture complex parts Compare with NC
Easy to control Process various materials and shapes
Widely used
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
4/16
What is EMC
Enhanced Machine Controller Free and open source CNC controller program Control automated devices
Robot ...
Control the devices related to machine tools Step motor Servo motor ...
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
5/16
Comparison
Traditional CNC controller program Expensive Difficult to extend
Open Architecture EMC
Free Modularization Transportability
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
6/16
EMC2 introduction New generation of EMC
Friendly interface Compiled on almost any real time linux Benefit from Linux
Stability Performance
Use CNC language RS274/NGC Can not take in CAD or any image
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
7/16
Typical 3-axis EMC2 system
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
8/16
EMC2 graphical interface
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
9/16
Manual mode: Enter command separately
Auto mode: Run a whole file
MDI mode: Type in a block of code
Three major modes
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
10/16
RS274/NGC language
Standardized language Based on lines of code Consists of one or more words
Word: letter + number Example: G0 X0 Y2
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
11/16
Letters and their meanings
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
12/16
Command
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
13/16
Application demoG21 (mm)G17 (xy plane)
#100 = 200 (feed rate)#101 = 70 (x length)......
G0 Y0G0 X40G1 X#101 Y4.8 F#100......
M2
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
14/16
Application demo
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
15/16
What we do for CNC
New version of RTLinux
XtratuM to PowerPC
RTLinux to PowerPC
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/8/8/2019 CNC Introduction - CNC
16/16
Thanks!
http://dslab.lzu.edu.cnPower Open Day
http://www.ibm.com/cn/