Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 28, 2012, 02:10:08 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
Input pin and Zero Plate
Pages:
1
Go Down
« previous
next »
Author
Topic: Input pin and Zero Plate (Read 408 times)
0 Members and 2 Guests are viewing this topic.
AlbertaClipper
Active Member
Offline
Posts: 6
Input pin and Zero Plate
«
on:
August 28, 2011, 10:14:05 PM »
Hi. I'm setting up a zero plate and I am having a hard time getting my head around the process.
I have edited the Auto Tool Zero button script by copy/pasting script from another post. I made the plate and wired it to my G540 pin 13. My question...How does the vb script in Auto Tool Zero button know I'm using pin 13 for my touch plate? This is the script I'm using:
CurrentFeed = GetOemDRO(818) 'Get the current feedrate.
PlateThickness =0.059
ProbeFeed = 5
Code "G90 F" &ProbeFeed
If GetOemLed (825)=0 Then
Code "G4 P2" 'Time to get to the z-plate
Code "G31Z-5 F" &ProbeFeed
Code "G4 P0.25"
While IsMoving()
Sleep(100)
Wend
ZProbePos = GetVar(2002)
Code "G0 Z" &ZProbePos
While IsMoving ()
Sleep(100)
Wend
Call SetDro (2, PlateThickness)
Sleep(100)
Code "G4 P0.5" 'Pause for Dro to update.
Code "G0 Z0.25" 'Change the Z retract height here
Code "(Z axis is now zeroed)"
Code "F" &CurrentFeed
Else
Code "(Z-Plate is grounded, check connection and try again)"
Exit Sub
End If
Thks
Logged
Hood
Active Member
Online
Posts: 17,368
Carnoustie, Scotland
Re: Input pin and Zero Plate
«
Reply #1 on:
August 29, 2011, 02:29:16 AM »
You have told Mach that the probe is connected to that pin so thats where it looks
Hood
Logged
AlbertaClipper
Active Member
Offline
Posts: 6
Re: Input pin and Zero Plate
«
Reply #2 on:
August 29, 2011, 09:02:36 AM »
So I set the "Probe" signal to pin 13 not "Input#4"?
Logged
Hood
Active Member
Online
Posts: 17,368
Carnoustie, Scotland
Re: Input pin and Zero Plate
«
Reply #3 on:
August 29, 2011, 09:07:34 AM »
I would think so, why do you think it would be Input 4 you would use?
Hood
Logged
AlbertaClipper
Active Member
Offline
Posts: 6
Re: Input pin and Zero Plate
«
Reply #4 on:
August 29, 2011, 09:27:25 AM »
Because I thought Probe was for a Digitizing Probe and Input #4 was my next (last) available input. Thanks for clearing that up for me.
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Input pin and Zero Plate
«
Reply #5 on:
August 29, 2011, 10:00:34 AM »
For a newbie the verbage we normally use is NOT intuitive to them .
IE:: IF it is an input device then I should use an input# right
?
Just a thought(;-) TP
Logged
Hood
Active Member
Online
Posts: 17,368
Carnoustie, Scotland
Re: Input pin and Zero Plate
«
Reply #6 on:
August 29, 2011, 10:12:58 AM »
Quote from: AlbertaClipper on August 29, 2011, 09:27:25 AM
Because I thought Probe was for a Digitizing Probe and Input #4 was my next (last) available input. Thanks for clearing that up for me.
Ah ok, just wasnt sure if there was a specific reason you were using Input 4 but seems no. As Terry says things can be confusing for a start but hopefully you are on the right track now
Hood
Logged
AlbertaClipper
Active Member
Offline
Posts: 6
Re: Input pin and Zero Plate
«
Reply #7 on:
August 29, 2011, 05:31:32 PM »
Quote from: BR549 on August 29, 2011, 10:00:34 AM
For a newbie the verbage we normally use is NOT intuitive to them .
IE:: IF it is an input device then I should use an input# right
?
Just a thought(;-) TP
This is true BR549...especially when the "Probe" input is labelled "Digitize" on the Diagnostic page. But, with Hood's help, I got my touch off plate to work. Thanks guys.
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Input pin and Zero Plate
«
Reply #8 on:
August 29, 2011, 06:46:40 PM »
Good Job Guys, (;-) TP
Logged
Pages:
1
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...