Claudiu
Wed 03 February 2010, 08:25
Hello all,
I tried to set up a the Auto Zero sequence in Mach 3.
I followed indications on cockrum.net which I found:
First defined Ports and Pins for the touch Probe. In my case it was necessary to mark active low.
8409
First we need to add a Visual Basic code to the button we want to use. We go to the Operator menu then click on Edit Button Script. The configurable buttons will now be flashing and we click on the Auto Tool Zero button.
This will bring up an editor that may have a Not Implemented message in it. Copy the code into this editor replacing any existing code.
You have to set the .060 value to match the thickness of your touch plate. Save the file (same name) and exit the editor then restart Mach3. You should now be able to press the Auto Tool Zero button and have the Z-axis lower until the touch plate connection is made. I suggest that you try touching the alligator clip and plate together the first few times with the Z-axis nohwere near the table to make sure that this is working.
This is the VB Code written initially by Greg (Greolt) I used for the Setup ( I really cant find the thread where I picked it up from) 8410
I modified the Code to my demands as follows:
ProbeDist = "-50.0" 'Set the maximum distance to move the Z-axis before probe touches contact plate.
ProbeFeed = "100" 'Set the plunge speed for the probe
DelayTime = "3" 'Set the delay time in seconds from probe verify to start of Z-motion
VerifyTimeout = "10" 'Set timeout to wait for probe verify in seconds
Retract = "10" 'Set distance to retract after probe
The auto Zero routine starts ok with the timeout sequence of 10 sec. waiting for an verification input by touching the probe. Next after 3 more sec. it starts moving down.
All values are respected, only the speed I cannot get to work properly.
The Problem is that it seems to override my stated value of 100 and it moves too slow! My beard is growing meanwhile. It must be mooving with some 5mm/min !!!
Any proposals?
I tried to set up a the Auto Zero sequence in Mach 3.
I followed indications on cockrum.net which I found:
First defined Ports and Pins for the touch Probe. In my case it was necessary to mark active low.
8409
First we need to add a Visual Basic code to the button we want to use. We go to the Operator menu then click on Edit Button Script. The configurable buttons will now be flashing and we click on the Auto Tool Zero button.
This will bring up an editor that may have a Not Implemented message in it. Copy the code into this editor replacing any existing code.
You have to set the .060 value to match the thickness of your touch plate. Save the file (same name) and exit the editor then restart Mach3. You should now be able to press the Auto Tool Zero button and have the Z-axis lower until the touch plate connection is made. I suggest that you try touching the alligator clip and plate together the first few times with the Z-axis nohwere near the table to make sure that this is working.
This is the VB Code written initially by Greg (Greolt) I used for the Setup ( I really cant find the thread where I picked it up from) 8410
I modified the Code to my demands as follows:
ProbeDist = "-50.0" 'Set the maximum distance to move the Z-axis before probe touches contact plate.
ProbeFeed = "100" 'Set the plunge speed for the probe
DelayTime = "3" 'Set the delay time in seconds from probe verify to start of Z-motion
VerifyTimeout = "10" 'Set timeout to wait for probe verify in seconds
Retract = "10" 'Set distance to retract after probe
The auto Zero routine starts ok with the timeout sequence of 10 sec. waiting for an verification input by touching the probe. Next after 3 more sec. it starts moving down.
All values are respected, only the speed I cannot get to work properly.
The Problem is that it seems to override my stated value of 100 and it moves too slow! My beard is growing meanwhile. It must be mooving with some 5mm/min !!!
Any proposals?