© 2013 SPiiPlus Training Class Homing. © 2013 Homing Homing is a very important aspect for almost any motion system. With a wide variety of mechanical.

Slides:



Advertisements
Similar presentations
SPiiPlus Training Class
Advertisements

SPiiPlus Training Class
SPiiPlus Feedback Tuning
Trimble® GradeMax™ What is grade max. Trimble® GradeMax™ What is grade max.
SPiiPlus Training Class
SPiiPlus Training Class
© 2013 SPiiPlus Training Class Multi-Axis Motion 1.
Brio 2000 / Brio 2000-M E-Learning Service Manual Rev. 0.0.
Proportional, Integral, Derivative Line Following October 5, 2013.
KEB COMBIVERT F5-M Exercises.
Working With the GMF Cylindrical Robots Lessons with the Robot System and RC Programming Language.
EECE499 Computers and Nuclear Energy Electrical and Computer Eng Howard University Dr. Charles Kim Fall 2013 Webpage:
Microprocessor Motor Control Spring Introduction  Stamp projects Robots  Sensors  Motor control  Logic Rocketry  Reading acceleration (“g”
5300 CNC CONTROL TRAINING GUIDE. 1. Turning the Control ON After the control has been turned ON press F10 to continue. Then press ENTER to select CNC.
TCS3 Electronics Hazard Analysis and T3 Design. Sources of Hazards  Drive or feedback components: Motor, Amplifier, Tachometer, Encoder  Mechanical:
Z-Axis Feed Tips Use with a boring head. Use when drilling through soft materials that “pull” drill bit when finishing cut. Commonly affected materials:
Advanced Tool Management Information Module Advanced Tool Management Information Module.
Copier Jam Detector Design Problem
Logic Control. What is Logic control Logic control is a control based on a logic concept, that is the on-off state of variable and/or equipment Logic.
Features of CNC Machining Centers
Electrical Fundamentals
Digital I/O Connecting to the Outside World
Backup and Recovery Part 1.
SmoothnessAccuracy Improving Smoothness and Accuracy in Stepper Systems.
Engineer Training Motion Control TJ8300 / TJ8500 Motion Control.
CH 6 Configuring Server Hardware and power options.
Power PMAC Electronic Cam Tables April 2014
1 L Fall 2003 – Introductory Digital Systems Laboratory Motors and Position Determination.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
Software Overview The software that controls the Place n’ Paste is designed to be robust and error proof. With minimal intervention from the user, the.
Gauge Operation and Software by Scott A. Ager. Computer Recommendations 750 MHz Pentium III 64 Meg SRAM 40 Gig Hard Drive 1024 x 768 graphics CD Writer.
GCS 300 System Operation Application – Level 1.
Camera Body and Mechanisms 16 September 2008 Martin Nordby, Pierre Antilogus, Gordon Bowden.
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
Journaled Component Files John Scholes and Richard Smith 13 October, 2008 Or – How to never see FILE DAMAGED again!
JCM TRAINING OVERVIEW DBV-145 Phone # (800) (702) Technical Support # (800) Fax # (702)
AUTOMATIC RAILWAY GATE CONTROLLING AND TRACK SWITCHING
1 RLL: Relay Ladder Logic CONTENTS 1. PLC operation 2. PLC programming 3. Ladder logic 4. Memory and gates.
Variables and Functions ROBOTC Software © 2012 Project Lead The Way, Inc.Principles of Engineering.
The Cartesian Coordinate System
Sequencers SQO,SQC,SQL.
InnoSys Park Brake Tool Master Control Panel Screens Revision A, 12Dec /12/20071.
Spring Hill Assembly1 InnoSys Park Brake Tool Master Control Panel Screens 1 3-Mar-2008.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
Get your software working before putting it on the robot!
SPECIAL FUNCTIONS ON ASDA-A2. To Audience Advance level This slide will teach some special functions on ASDA-A2. For better understanding the content,
Software Troubleshooting Eliminate possible programming and timing errors by stopping all programs ( and ). Use the Executive program terminal and send.
THE MOTION FUNCTION OF ASDA-A2
SPiiPlus Training Class
SPiiPlus Training Class
SPiiPlus Training Class
LG PLC COURSE Beginner Prepared by : -Hossam Mohammed -Ramdan said
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
BRX Technical Training
Sensors Quadrature Encoders Mike Zook 30-Aug-2016.
Programming and File Management Part 2
Features of CNC Machining Centers
Sensors Quadrature Encoders Mike Zook 30-Aug-2016.
Features of CNC Machining Centers
Review and Ideas for future Projects
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Fault Tolerance Distributed Web-based Systems
Copier Jam Detector Design Problem
IENG 475: Computer-Controlled Manufacturing Systems
Registration (position capture)
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
IENG 475: Computer-Controlled Manufacturing Systems
Fix Epson Printer Error Code 0x91 Solution To Fix Epson Printer Error Code 0x91.
HP PRINTER ERROR 59.F0 Fix for HP Printer Error 59.F0 in USA | Hp support 247.
Presentation transcript:

© 2013 SPiiPlus Training Class Homing

© 2013 Homing Homing is a very important aspect for almost any motion system. With a wide variety of mechanical systems, each with it’s own constraints, there can be many different methods to home the system. o Home at current position o Home to hard stop o Home to limit switch o Home to home switch o Home to index o Home to hard stop and index o Home to limit switch and index o Home to home switch and index

© 2013 Homing Because of all the different ways that homing can happen, ACSPL+ does not have a dedicated home command. Instead, a few lines of ACSPL+ code can be written to give the desired behavior. Important Commands and Variables: ENABLEIST JOGIND PTPFAULT SETFPOS TILLFDEF

© 2013 Home at Current Position Homing at the current position is the simplest way to home. o A stage can be moved manually or automatically to a desired position o When at the position, it is set to zero o Method has poor repeatability and requires human intervention Load Home

© 2013 Home at Current Position ACSPL+ Code: SET FPOS(axis) = 0 SET command is required because FPOS cannot simply be written to like any other variables.

© 2013 Home to Hard Stop Homing to a hard stop is a simple way to home when a machine doesn’t have a limit sensor or home switch. o Care needs to be taken so that the load and hard stop are not damaged in the homing process. o Home position is typically offset slightly from the hard stop to make sure load does not contact hard stop in normal operation o Method has poor repeatability Load Home Home Offset

© 2013 Home to Hard Stop Process: 1.Enable motor ( ENABLE ) 2.Reduce motor current saturations to prevent overcurrenting motor or damaging load or hard stop ( XCURI, XCURV ) 3.Turn off default response to critical position error so homing program can detect hard stop collision ( FDEF ) 4.Jog slowly towards negative or position hard stop ( JOG ) 5.Detect critical position error indicating hard stop ( TILL, FAULT ) 6.Set home position as current position + offset and move to home position ( SET FPOS ) 7.Reset motor current saturations and default response to critical position error

© 2013 Home to Hard Stop ACSPL+ Code: ! 1. Enable motor ENABLE (axis) ! 2. Reduce motor current saturations XCURI(axis) = 5 XCURV(axis) = 5 ! 3. Turn off default CPE response FDEF(axis).#CPE = 0 ! 4. Jog towards negative hard stop JOG/v (axis), -home_velocity ! 5. Detect CPE fault TILL ( FAULT(axis).#CPE = 1 ) ! 6. Set home position as current + offset and move to home SET FPOS(axis) = 0 - home_offset PTP/ev (axis), 0, home_velocity ! 7. Reset motor current saturations and CPE response XCURI(axis) = 50 XCURV(axis) = 100 FDEF(axis).#CPE = 1

© 2013 Home to Limit Switch Homing to a limit switch is a simple and safe way to home. o Limit switches are put near the negative and positive travel limits. o Home position is typically offset from the limit sensor o Method has mediocre repeatability because limit switch is detected in software Load Home Home Offset Limit

© 2013 Home to Limit Switch Process: 1.Enable motor ( ENABLE ) 2.Turn off default response to negative or positive limit switch so homing program can detect limit switch trigger ( FDEF ) 3.Jog towards negative or position limit ( JOG ) 4.Detect limit switch ( TILL, FAULT ) 5.Jog slowly in opposite direction and detect when limit is off ( JOG, TILL, FAULT ) 6.Set home position as current position + offset and move to home position ( SET FPOS ) 7.Reset default response to limit switch

© 2013 Home to Limit Switch ACSPL+ Code: ! 1. Enable motor ENABLE (axis) ! 2. Turn off default negative limit switch response FDEF(axis).#LL = 0 ! 3. Jog towards negative limit JOG/v (axis), -home_velocity ! 4. Detect left limit fault TILL ( FAULT(axis).#LL = 1 ) ! 5. Jog slowly in opposite direction and detect when limit is off JOG/v (axis), home_velocity * 0.1 TILL ( FAULT(axis).#LL = 0 ) ! 6. Set home position as current + offset and move to home SET FPOS(axis) = 0 - home_offset PTP/ev (axis), 0, home_velocity ! 7. Reset left limit default response FDEF(axis).#LL = 1

© 2013 Home to Home Switch Homing to a home switch is a simple and safe way to home. o A typical home switch will have low polarity on one side of travel and high polarity on the other side o Homing is done by finding the home switch transition. o Method has mediocre repeatability because home switch is detected in software Load Home Home Switch State

© 2013 Home to Home Switch Process: 1.Enable motor ( ENABLE ) 2.Jog in negative or position direction, dependent on current state of home switch ( JOG, IN ) 3.Detect home switch transition ( TILL, IN ) 4.Move slightly offset from home switch transition in negative or positive direction ( PTP ) 5.Approach home switch slowly to detect home switch transition and set as home position ( JOG, TILL, IN ) 6.Move to home position ( PTP )

© 2013 Home to Home Switch ACSPL+ Code: ! 1. Enable motor ENABLE (axis) ! 2. Jog in negative or positive direction dependent on home switch IF ( IN(0).(home_switch) = 0 ) JOG/v (axis), -home_velocity ! 3. Detect home switch transition TILL ( IN(0).(home_switch) ) = 1 ELSE JOG/v (axis), home_velocity ! 3. Detect home switch transition TILL ( IN(0).(home_switch) ) = 0 END ! 4. Move off home switch in negative direction PTP/rve (axis), -home_offset, home_velocity ! 5. Approach home switch slowly and set as home position JOG/v (axis), home_velocity * 0.1 TILL ( IN(0).(home_switch) ) = 1 SET FPOS(axis) = 0 ! 6. Move to home PTP/e (axis), 0

© 2013 Home to Index Home to index is a very repeatable way of homing a rotary motor. o Typical rotary encoder has one index mark per revolution o Home to index is usually done only on rotary motors with no travel limits o Method has excellent repeatability because index is latched in hardware Motor Index

© 2013 Home to Index Process: 1.Enable motor ( ENABLE ) 2.Reset index latch ( IST ) 3.Jog in negative or position direction ( JOG ) 4.Detect index ( TILL, IST ) 5.Set home position as index position with optional offset ( SET FPOS, IND ) 6.Move to home position ( PTP )

© 2013 Home to Index ACSPL+ Code: ! 1. Enable motor ENABLE (axis) ! 2. Reset index latch by toggling IST(axis).#IND = 1 IST(axis).#IND = 0 ! 3. Jog in negative direction JOG/v (axis), -home_velocity ! 4. Detect index TILL ( IST(axis).#IND = 1 ) ! 5. Set home position with optional offset SET FPOS(axis) = FPOS(axis) - ( IND(axis) - home_offset ) ! 6. Move to home position PTP/e (axis), 0

© 2013 Home to Hard Stop and Index Home to hard stop and index is a very repeatable way to home a linear motor that doesn’t have a limit sensor or home switch o Typical linear encoder has one index mark o For best repeatability the index mark should always be found from the same direction o Care needs to be taken so that the load and hard stop are not damaged in the homing process. Load Index

© 2013 Home to Hard Stop and Index Process: 1.Enable motor ( ENABLE ) 2.Reduce motor current saturations to prevent overcurrenting motor or damaging load or hard stop ( XCURI, XCURV ) 3.Turn off default response to critical position error so homing program can detect hard stop collision ( FDEF ) 4.Jog slowly towards negative or position hard stop ( JOG ) 5.Detect critical position error indicating hard stop ( TILL, FAULT ) 6.Jog in opposite direction, reset index flag, and detect index ( JOG, IST ) 7.Set home position as index position with optional offset ( SET FPOS, IND ) 8.Reset motor current saturations and default response to critical position error

© 2013 Home to Hard Stop and Index ACSPL+ Code: ! 1. Enable motor ENABLE (axis) ! 2. Reduce motor current saturations XCURI(axis) = 5 XCURV(axis) = 5 ! 3. Turn off default CPE response FDEF(axis).#CPE = 0 ! 4. Jog towards negative hard stop JOG/v (axis), -home_velocity ! 5. Detect CPE fault TILL ( FAULT(axis).#CPE = 1 ) ! 6. Jog in opposite direction, reset index flag, and detect index JOG/v (axis), home_velocity IST(axis).#IND = 1 IST(axis).#IND = 0 TILL ( IST(axis).#IND = 1 ) ! 7. Set home position with optional offset SET FPOS(axis) = FPOS(axis) - ( IND(axis) - home_offset ) PTP/ev (axis), 0, home_velocity ! 8. Reset motor current saturations and CPE response XCURI(axis) = 50 XCURV(axis) = 100 FDEF(axis).#CPE = 1

© 2013 Home to Limit Switch and Index Home to limit switch and index is a very repeatable and safe way to home a linear motor o Typical linear encoder has one index mark o For best repeatability the index mark should always be found from the same direction Load Index Limit

© 2013 Home to Limit Switch and Index Process: 1.Enable motor ( ENABLE ) 2.Turn off default response to negative or positive limit switch so homing program can detect limit switch trigger ( FDEF ) 3.Jog towards negative or position limit ( JOG ) 4.Detect limit switch ( TILL, FAULT ) 5.Jog in opposite direction, reset index flag, and detect index ( JOG, IST ) 6.Set home position as index position with optional offset ( SET FPOS, IND ) 7.Reset default response to limit switch

© 2013 ACSPL+ Programming Example: 1 Write a program to home to a limit switch and index. Load Index Limit

© 2013 Home to Home Switch and Index Homing to a home switch and index is a simple, safe and very repeatable way to home. o Homing is done by first finding the home switch transition, and then finding the index. o For best repeatability the index mark should always be found from the same direction Load Home Home Switch State Index

© 2013 Home to Home Switch and Index Process: 1.Enable motor ( ENABLE ) 2.Jog in negative or position direction, dependent on current state of home switch ( JOG, IN ) 3.Detect home switch transition ( TILL, IN ) 4.Jog in direction of index, reset index flag, and detect index ( JOG, IST ) 5.Set home position as index position with optional offset ( SET FPOS, IND ) 6.Move to home position ( PTP )

© 2013 ACSPL+ Programming Example: 2 Write a program to home to a home switch and index. Load Home Home Switch State Index

© 2013 ACSPL+ Programming Example: 3 A robust homing program should have the ability to recover if any physical sensor fails (limit switch, home switch, index). Expand example 1 (home to limit switch and index) to be robust to these failures.