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:08:23 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 with G31 problem
Pages:
1
Go Down
« previous
next »
Author
Topic: Probing with G31 problem (Read 1429 times)
0 Members and 1 Guest are viewing this topic.
Ben
Active Member
Offline
Posts: 73
Probing with G31 problem
«
on:
September 05, 2008, 05:32:20 PM »
Riddle me this. G31Y0.7 will work in MIDI, it will advance to touch and stop, if no touch it will stop when reaching Y=0.7. As it should.
I attach it to a button. Press the button and nothing happens. Choose Operator > Edit button script> select the button, change nothing and save. The file runs as soon as I close the editor (if reset allows). But wont run when the button is pressed. Any ideas? TIA Ben
SetUserLabel 200,"Start probing"
Code "G31 Y0.7"
While IsMoving()
Wend
SetUserLabel 200,"Finished probing"
Logged
Ben
Active Member
Offline
Posts: 73
Re: Probing with G31 problem
«
Reply #1 on:
September 07, 2008, 05:54:18 PM »
No more riddle. I took out the ismoving statements and it works OK.
Logged
Ben
Active Member
Offline
Posts: 73
Re: Probing with G31 problem
«
Reply #2 on:
September 07, 2008, 10:11:27 PM »
Riddle back. Take out the ismoving and the code runs to end before the probe stops. Therefor I cant get the touch position. I need the ismoving but it hangs up when ever i put it in no matter where and nothing will move, the program stops at the While ismoving() statement as shown below.
Logged
Bodini
Active Member
Offline
Posts: 112
Re: Probing with G31 problem
«
Reply #3 on:
September 08, 2008, 09:00:14 AM »
I use this:
Code:
While IsMoving()
sleep 100
Wend
I
believe
that if you are using v2.63 or later, you do not need the Declare sub sleep thing at the start of the macro. Otherwise, it's:
Code:
Declare Sub Sleep Lib "Kernel32" (ByVal dwMilliseconds As Long)
-Nick
Logged
Ben
Active Member
Offline
Posts: 73
Re: Probing with G31 problem
«
Reply #4 on:
September 08, 2008, 12:57:45 PM »
Thanks for the help. Im using Ver R3.038. I tried both and the same result. The program hangs up on the ismoving() statement. But Z dosent move
SetUserLabel 200,"Start probing"
Code "G31 Z0.7"
While IsMoving()
sleep 100
Wend
SetUserLabel 200,"Finished probing"
Im trying to get my probe to find the top surface and then move to Z=0.100.
Logged
Ben
Active Member
Offline
Posts: 73
Re: Probing with G31 problem
«
Reply #5 on:
September 08, 2008, 04:05:49 PM »
I went back to Ver2.63 and it all works fine. Something wrong in Ver3.038. Ben
Logged
Bodini
Active Member
Offline
Posts: 112
Re: Probing with G31 problem
«
Reply #6 on:
September 08, 2008, 05:25:23 PM »
FIFY (fixed it for you).
"I went back to Ver2.63 and it all works fine. Something wrong in Ver3+. Ben"
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...