際際滷

際際滷Share a Scribd company logo
Industrial Project Report 2
Topic: Implementation Controller
for Dispensing Robot
Made by: Vu, Trung Son
Nguyen, Ngoc An
Supervisor: Huynh, Nguyen Dang Khoa
Vietnamese-German
University
Pepperl + Fuchs
Contents
Summary Content of Report 1
Machine Description
G-code commands
Software Techniques
Our Current Situation
Q & A
Summary of Report 1
 About Pepperl + Fuchs company
 Situation of the machines
 Planning & Schedule
 Interpolation Algorithm
Machine Description
 3 DOFs along to X-Y-Z axes
 Working space: 300x300x100 [mm3]
 Base Length Unit (BLU): 0.05 [mm]
 Speed: 5  100 [mm/sec]
 Motion control:
 Linear interpolation in 3D.
 Circular interpolation in XY plane.
 5-phase Stepper Motors with drivers
(24V / 1.4A).
 3 end-position sensors for machine
reference point.
 3 user outputs (1 for PWM / 2 for
digital IO).
Machine Description
OLED LCD
MODE
<< >> START STOP
ORG
SET
REF
X+
X-
Y+
Y-
Z+
Z-
G-code commands
 Design by MIT in 1960s.
 The most popular CNC programming language.
 Especially in lathe and milling machines.
But, where is G come from?
 G-Command  tell machine where and how to go.
 M-Command  Miscellaneous commands, tell
machine how to act.
G-code Commands
 G0  rapid moving
 G1  linear moving
 G2  CW arc
 G3  CCW arc
 G4  dwell time
 G28  searching
machine reference point
 G90  absolute
programming
 G91 incremental
programming
 M3  switch on user
output
 M4  switch off user
output
 M98  start of loop
 M99  end of loop
Software Technique  Multithreading
 Synchronous message
 Events
 Messages
 Asynchronous message
 Mailbox
 Semaphore and Mutex
Software Technique
 Double buffering (LCD)
 Prevent tearing of objects
 Semi-hosting environment
 Using JTAG SWO wire to dump debug data back to
debug server
 Allow usage of normal C function like printf(),
 This is accomplished by create a virtual stdout and stderr
channel
 In fact, our JLINK semi-hosting capabilities support 32 virtual
channel
 Hardware Abstraction Layer (HAL)
 Allow changing of hardware later
Current status of Project
 Complete interpolation with acceleration control.
 Almost complete implementation of G-code (7/12
commands).
 Complete programming the driver for HMI devices
(keypad, screen, and SD card reader.)
 Complete the design of PCBs.
Plan for two last weeks
 Connect HMI module and Motion Control module.
 Testing whole system and making demo run.
 Making PCBs and wiring.
 Check & Take over
Q&A
 If you have any questions, please tell!

More Related Content

What's hot (9)

Fleet Management Telematics Devices
Fleet Management Telematics DevicesFleet Management Telematics Devices
Fleet Management Telematics Devices
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
Mini CNC PLOTTER
Mini CNC PLOTTERMini CNC PLOTTER
Mini CNC PLOTTER
MD Shuzaur Rahman
A project report of map of india made by the CNC SIMULATOR PRO software Mech...
A  project report of map of india made by the CNC SIMULATOR PRO software Mech...A  project report of map of india made by the CNC SIMULATOR PRO software Mech...
A project report of map of india made by the CNC SIMULATOR PRO software Mech...
Jayant Tailor
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
NECST Lab @ Politecnico di Milano
PC based controller introduction
PC based controller introductionPC based controller introduction
PC based controller introduction
Jimmy Hsu
Fyp ca4 yss_ver2
Fyp ca4 yss_ver2Fyp ca4 yss_ver2
Fyp ca4 yss_ver2
Sishuo Yang
BHEL INDUSTRIAL SEMINAR BY PREM NARAYAN
BHEL INDUSTRIAL SEMINAR BY PREM NARAYAN BHEL INDUSTRIAL SEMINAR BY PREM NARAYAN
BHEL INDUSTRIAL SEMINAR BY PREM NARAYAN
PREM NARAYAN MAITHIL
Gateway
GatewayGateway
Gateway
bngreenbank
CNC Plotter Using Spare Parts
CNC Plotter Using Spare PartsCNC Plotter Using Spare Parts
CNC Plotter Using Spare Parts
Sasukeo1
A project report of map of india made by the CNC SIMULATOR PRO software Mech...
A  project report of map of india made by the CNC SIMULATOR PRO software Mech...A  project report of map of india made by the CNC SIMULATOR PRO software Mech...
A project report of map of india made by the CNC SIMULATOR PRO software Mech...
Jayant Tailor
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
OXiGen: A tool for automatic acceleration of C functions into dataflow FPGA-b...
NECST Lab @ Politecnico di Milano
PC based controller introduction
PC based controller introductionPC based controller introduction
PC based controller introduction
Jimmy Hsu
Fyp ca4 yss_ver2
Fyp ca4 yss_ver2Fyp ca4 yss_ver2
Fyp ca4 yss_ver2
Sishuo Yang
BHEL INDUSTRIAL SEMINAR BY PREM NARAYAN
BHEL INDUSTRIAL SEMINAR BY PREM NARAYAN BHEL INDUSTRIAL SEMINAR BY PREM NARAYAN
BHEL INDUSTRIAL SEMINAR BY PREM NARAYAN
PREM NARAYAN MAITHIL
CNC Plotter Using Spare Parts
CNC Plotter Using Spare PartsCNC Plotter Using Spare Parts
CNC Plotter Using Spare Parts
Sasukeo1

Similar to Report 2 (20)

RAD Industrial Automation, Labs, and Instrumentation
RAD Industrial Automation, Labs, and InstrumentationRAD Industrial Automation, Labs, and Instrumentation
RAD Industrial Automation, Labs, and Instrumentation
Embarcadero Technologies
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiHoneywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak gorai
DEEPAK GORAI
Lo #5 manufacturing technology (jan 2016)
Lo #5 manufacturing technology (jan  2016)Lo #5 manufacturing technology (jan  2016)
Lo #5 manufacturing technology (jan 2016)
Abdulaziz AlSuwaidi
U50202126129
U50202126129U50202126129
U50202126129
IJERA Editor
U50202126129
U50202126129U50202126129
U50202126129
IJERA Editor
Electronic Control of Unguided Airborne Vehicle (UAV)
Electronic Control of Unguided Airborne Vehicle (UAV)Electronic Control of Unguided Airborne Vehicle (UAV)
Electronic Control of Unguided Airborne Vehicle (UAV)
IJERA Editor
Ullas_CV
Ullas_CVUllas_CV
Ullas_CV
Ullas Hasyagar
2D Plotter Presentation
2D Plotter Presentation2D Plotter Presentation
2D Plotter Presentation
Mahmoud Kandil
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh ShekhawatPLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
Jitender Singh Shekhawat
Madhuraveeran g automation application engineer
Madhuraveeran g   automation application engineerMadhuraveeran g   automation application engineer
Madhuraveeran g automation application engineer
Madhura Magesh
Lessons Learned from Building 100+ C++/Qt/QML Devices
Lessons Learned from Building 100+ C++/Qt/QML DevicesLessons Learned from Building 100+ C++/Qt/QML Devices
Lessons Learned from Building 100+ C++/Qt/QML Devices
ICS
CNC Basic For Manufacturing Processes Subject
CNC Basic For Manufacturing Processes SubjectCNC Basic For Manufacturing Processes Subject
CNC Basic For Manufacturing Processes Subject
ManitGrover
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
IRJET Journal
IRJET- Project Didactic of a Mini CNC Milling Machine
IRJET- Project Didactic of a Mini CNC Milling MachineIRJET- Project Didactic of a Mini CNC Milling Machine
IRJET- Project Didactic of a Mini CNC Milling Machine
IRJET Journal
Exor e top513_specsheet
Exor e top513_specsheetExor e top513_specsheet
Exor e top513_specsheet
Electromate
Ls catalog thiet bi tu dong gm e_0908_dienhathe.vn
Ls catalog thiet bi tu dong gm e_0908_dienhathe.vnLs catalog thiet bi tu dong gm e_0908_dienhathe.vn
Ls catalog thiet bi tu dong gm e_0908_dienhathe.vn
Dien Ha The
Ls catalog thiet bi tu dong gm e_0908
Ls catalog thiet bi tu dong gm e_0908Ls catalog thiet bi tu dong gm e_0908
Ls catalog thiet bi tu dong gm e_0908
Dien Ha The
DEVENDRAPLC .pptx
DEVENDRAPLC .pptxDEVENDRAPLC .pptx
DEVENDRAPLC .pptx
DEVENDRA SHRIVASH
Exor e top515_specsheet
Exor e top515_specsheetExor e top515_specsheet
Exor e top515_specsheet
Electromate
JVL SoftNC Software used with JVL MAC Motors
JVL SoftNC Software used with JVL MAC MotorsJVL SoftNC Software used with JVL MAC Motors
JVL SoftNC Software used with JVL MAC Motors
Electromate
RAD Industrial Automation, Labs, and Instrumentation
RAD Industrial Automation, Labs, and InstrumentationRAD Industrial Automation, Labs, and Instrumentation
RAD Industrial Automation, Labs, and Instrumentation
Embarcadero Technologies
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiHoneywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak gorai
DEEPAK GORAI
Lo #5 manufacturing technology (jan 2016)
Lo #5 manufacturing technology (jan  2016)Lo #5 manufacturing technology (jan  2016)
Lo #5 manufacturing technology (jan 2016)
Abdulaziz AlSuwaidi
Electronic Control of Unguided Airborne Vehicle (UAV)
Electronic Control of Unguided Airborne Vehicle (UAV)Electronic Control of Unguided Airborne Vehicle (UAV)
Electronic Control of Unguided Airborne Vehicle (UAV)
IJERA Editor
2D Plotter Presentation
2D Plotter Presentation2D Plotter Presentation
2D Plotter Presentation
Mahmoud Kandil
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh ShekhawatPLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
Jitender Singh Shekhawat
Madhuraveeran g automation application engineer
Madhuraveeran g   automation application engineerMadhuraveeran g   automation application engineer
Madhuraveeran g automation application engineer
Madhura Magesh
Lessons Learned from Building 100+ C++/Qt/QML Devices
Lessons Learned from Building 100+ C++/Qt/QML DevicesLessons Learned from Building 100+ C++/Qt/QML Devices
Lessons Learned from Building 100+ C++/Qt/QML Devices
ICS
CNC Basic For Manufacturing Processes Subject
CNC Basic For Manufacturing Processes SubjectCNC Basic For Manufacturing Processes Subject
CNC Basic For Manufacturing Processes Subject
ManitGrover
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
IRJET- A Sequential Control for Full Size Converter Wind Turbine Generating S...
IRJET Journal
IRJET- Project Didactic of a Mini CNC Milling Machine
IRJET- Project Didactic of a Mini CNC Milling MachineIRJET- Project Didactic of a Mini CNC Milling Machine
IRJET- Project Didactic of a Mini CNC Milling Machine
IRJET Journal
Exor e top513_specsheet
Exor e top513_specsheetExor e top513_specsheet
Exor e top513_specsheet
Electromate
Ls catalog thiet bi tu dong gm e_0908_dienhathe.vn
Ls catalog thiet bi tu dong gm e_0908_dienhathe.vnLs catalog thiet bi tu dong gm e_0908_dienhathe.vn
Ls catalog thiet bi tu dong gm e_0908_dienhathe.vn
Dien Ha The
Ls catalog thiet bi tu dong gm e_0908
Ls catalog thiet bi tu dong gm e_0908Ls catalog thiet bi tu dong gm e_0908
Ls catalog thiet bi tu dong gm e_0908
Dien Ha The
Exor e top515_specsheet
Exor e top515_specsheetExor e top515_specsheet
Exor e top515_specsheet
Electromate
JVL SoftNC Software used with JVL MAC Motors
JVL SoftNC Software used with JVL MAC MotorsJVL SoftNC Software used with JVL MAC Motors
JVL SoftNC Software used with JVL MAC Motors
Electromate

Report 2

  • 1. Industrial Project Report 2 Topic: Implementation Controller for Dispensing Robot Made by: Vu, Trung Son Nguyen, Ngoc An Supervisor: Huynh, Nguyen Dang Khoa Vietnamese-German University Pepperl + Fuchs
  • 2. Contents Summary Content of Report 1 Machine Description G-code commands Software Techniques Our Current Situation Q & A
  • 3. Summary of Report 1 About Pepperl + Fuchs company Situation of the machines Planning & Schedule Interpolation Algorithm
  • 4. Machine Description 3 DOFs along to X-Y-Z axes Working space: 300x300x100 [mm3] Base Length Unit (BLU): 0.05 [mm] Speed: 5 100 [mm/sec] Motion control: Linear interpolation in 3D. Circular interpolation in XY plane. 5-phase Stepper Motors with drivers (24V / 1.4A). 3 end-position sensors for machine reference point. 3 user outputs (1 for PWM / 2 for digital IO).
  • 5. Machine Description OLED LCD MODE << >> START STOP ORG SET REF X+ X- Y+ Y- Z+ Z-
  • 6. G-code commands Design by MIT in 1960s. The most popular CNC programming language. Especially in lathe and milling machines. But, where is G come from? G-Command tell machine where and how to go. M-Command Miscellaneous commands, tell machine how to act.
  • 7. G-code Commands G0 rapid moving G1 linear moving G2 CW arc G3 CCW arc G4 dwell time G28 searching machine reference point G90 absolute programming G91 incremental programming M3 switch on user output M4 switch off user output M98 start of loop M99 end of loop
  • 8. Software Technique Multithreading Synchronous message Events Messages Asynchronous message Mailbox Semaphore and Mutex
  • 9. Software Technique Double buffering (LCD) Prevent tearing of objects Semi-hosting environment Using JTAG SWO wire to dump debug data back to debug server Allow usage of normal C function like printf(), This is accomplished by create a virtual stdout and stderr channel In fact, our JLINK semi-hosting capabilities support 32 virtual channel Hardware Abstraction Layer (HAL) Allow changing of hardware later
  • 10. Current status of Project Complete interpolation with acceleration control. Almost complete implementation of G-code (7/12 commands). Complete programming the driver for HMI devices (keypad, screen, and SD card reader.) Complete the design of PCBs.
  • 11. Plan for two last weeks Connect HMI module and Motion Control module. Testing whole system and making demo run. Making PCBs and wiring. Check & Take over
  • 12. Q&A If you have any questions, please tell!

Editor's Notes

  • #4: We have a lot of conceptual things in report 1 but today there will be more detail and more interesting things.
  • #7: Actually, it is not a programming language. It is just the instruction program to tell the machine what to do. It do not have something like for loop, while loop, if..else, etc. There are more than 100 G&M commands use for lathe and milling machines. However, we re-define our set of commands smaller and suitable with the needs of he machine