HomHWLimit.ACD
(156.85 KB, 售價: 1 E幣)
2019-3-25 23:46 上傳
點擊文件名下載附件
售價: 1 E幣 [記錄]
[ 購買]
SED HW:
Tested on democase CLX C2 custom & K2K DEMO
FUNCTIONALITY:
Routine R02_HomeRoutine_Limit: first moves to positive overtravel, recover from overtravel fault and then home to marker pulse.
Routine R30_OvertravelRecovery: resets errors, disable overtravel checking, moves from positive or negative overtravel limit switch and reenable overtravels back.
How to import routines into your code:
If you are using standart modular programming datatypes, just add command to Move_off_Limits to servo command UDT
and Move_off_limits_Done to your status UDT.
To motion instruction UDT copy all instructions from UDT Motion_Instructions
Then Copy routines which you would like to reuse(including all needed local variables)
WARNING:
For demo purpose, all MAJ and MAM instructions have fixed parameters, so please change it in your code, if you have different axis units then 1unit = 1rev
HOW TO TEST:
Homing to the limit switch:
1. Toggle command to Home in homing routine. -> Motor starts jogging in positive direction to find positive overtravel
2. On Demo case switch on +overtravel and keep it on till axis doesn't move by halve rev to oposite direction. Then release switch and axis should home to marker pulse in negative direction.
Overtravel recovery only:
1. Generate positive or negative overtravel fault
2. Toggle command to Move_off_Limits(keep overtravel limit switch pressed as long as axis doesn't move halve rev in oposite direction, then release)
【必讀】版權免責聲明
1、本主題所有言論和內容純屬會員個人意見,與本論壇立場無關。2、本站對所發內容真實性、客觀性、可用性不做任何保證也不負任何責任,網友之間僅出于學習目的進行交流。3、對提供的數字內容不擁有任何權利,其版權歸原著者擁有。請勿將該數字內容進行商業交易、轉載等行為,該內容只為學習所提供,使用后發生的一切問題與本站無關。 4、本網站不保證本站提供的下載資源的準確性、安全性和完整性;同時本網站也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的損失或傷害。 5、本網站所有軟件和資料均為網友推薦收集整理而來,僅供學習用途使用,請務必下載后兩小時內刪除,禁止商用。6、如有侵犯你版權的,請及時聯系我們(電子郵箱1370723259@qq.com)指出,本站將立即改正。
|