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 24, 2012, 12:40:14 PM
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
VB and the development of wizards
Probing Z gives problem
Pages:
1
Go Down
« previous
next »
Author
Topic: Probing Z gives problem (Read 866 times)
0 Members and 2 Guests are viewing this topic.
dhookings
Active Member
Offline
Posts: 36
Probing Z gives problem
«
on:
May 16, 2009, 12:39:16 PM »
I have been working on a Z probe macro, similar to a recent post.
I use the keygrabber to input joystick signals.
I have 6 jogging buttons, 3 buttons to set the jog rate, 1 button to zero X and Y, and 1 button to zero Z.
The jogging buttons are routed directly using Config - Ports and Pins
I have been successfully using these for months.
Now added 2 more buttons through the keygrabber. One of them initiates M991.m1s through the oem(301) and the other is routed to input#1.
The codes are attached.
My problem is that everything works perfectly, except that after doing a Z probe the two buttons that move X and Y and Z to zero do not work. Everything else in the macropump.m1s does work. I have to close down Mach3 and start again to get my normal buttons working again. Any suggestions as to where I have gone wrong?
M991.m1s
(0.19 KB - downloaded 57 times.)
Logged
dhookings
Active Member
Offline
Posts: 36
Re: Probing Z gives problem
«
Reply #1 on:
May 16, 2009, 12:43:48 PM »
Sorry the macropump.m1s did not attach.
Here it is:
MACROPUMP.M1S
Option Explicit
Dim jog_rate
jog_rate = getoemdro(3)
If isactive(29) Then
jog_rate = 4
elseif isactive(30) Then
jog_rate = 40
elseif isactive(31) Then
jog_rate = 100
elseif isactive(33) Then
code("g0 x0 y0")
elseif isactive(34) Then
code("g0 z0")
End If
setoemdro(3,jog_rate)
and M991.m1s
M991.M1S
Code "G71 G91" ' METRIC And INCREMENTAL
Code "F500"
Do While Not isactive(18)
Code "G1 Z -.01"
While ismoving()
Wend
Loop
setoemdro(802,0.1) 'set Z height to thickness of brass shim
Logged
dhookings
Active Member
Offline
Posts: 36
Re: Probing Z gives problem
«
Reply #2 on:
May 17, 2009, 08:13:49 AM »
Panic over - I was still leaving incremental mode on in my probe macro. So when I subsequently asked it to go to Z0 nothing happened.
Dave
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...