Mach3 Edge Finder and knife code

Source: Internet
Author: User

MACH3 Chinese Version

The Code of the knife:

'Rem Probe down by PEU (Based in Erniebro work)Feedcurrent = Getoemdro (818)'Read F valueSafez = Getoemdro ( Wu)'reading security Z-valuesZcurrent = Getdro (2) Code"G4 P1"            'Pause 1 second to give time to position probe plateCode"F100"            'Slow feed rate to Mm/minGageh = Getoemdro (1002)RemProbe down by PEU (Based in Erniebro work)Feedcurrent = Getoemdro (818)'Get The current settingsZcurrent = Getoemdro (802) Code"G4 P1"            'Pause 1 second to give time to position probe plateCode"F100"            'Slow feed rate to Mm/minGageh = Getuserdro (1152) Znew= Zcurrent- -        'Z drops up to 30mm when the knife is onCode"G31 Z"&znew whileismoving () WendPagerSetdro (2, Gageh) Finalmove= Gageh + Safez'Z axis: Height of cutter block + safety HeightIfSafez<finalmove ThenCode"G0 Z"&FinalmoveElseCode"G0 Z"&safez'back to Security ZEnd ifCode"F"&feedcurrent'Restore starting Feed rate

Seek Edge code:

RemProbe down by PEU (Based in Erniebro work)Feedcurrent = Getoemdro (818)'Get The current settingsXcurrent = Getoemdro (802) Code"G4 P1"            'Pause 1 second to give time to position probe plateCode"F100"            'Slow feed rate to Mm/minGageh = Getuserdro (1152) ' read out the thickness of the knife block xnew=xcurrent + -        'probe down (mm)Code"G31 X"&xnew whileismoving () WendPagerSetdro (0, Gageh *-1) Finalmove= (Gageh *-1)-3    'negative on the knife block, then retract the knife -3Code"G0 X"&Finalmovecode"F"&feedcurrent'Restore starting Feed rate

Mach3 Edge Finder and knife code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.