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 27, 2012, 01:04:20 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
Mach Screens
CVI MachStdMill (MSM)
(Moderator:
DaveCVI
)
Touch off
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Touch off (Read 1096 times)
0 Members and 1 Guest are viewing this topic.
Alan B
Active Member
Offline
Posts: 56
Touch off
«
on:
September 07, 2010, 11:29:51 AM »
Hi Dave
I am experiencing two problems at the moment , the first one does relate to touching off every time I try to use the Set Z zero on the touch off screen I get the message ( Can't set Z0 in master mode w/o master tool ) now I do have a master tool set up so I have tried all ways that I can think of to overcome this problem without any luck , tried without master tool , turning master mode off /on does not seem to make any difference , if I use my probe it works every time , the other problem that I am getting may be down to Mach itself not sure so I am sure you will point me in the correct direction , everything seems to be running fine including the auto tool changer but every now and again when I am on the RUN screen you have the DRO's on the left of screen on the "X" axis DRO just below the Zero DRO button there is a small DRO which I think is the scale reading it should read +1.0000 but every now and again it changes to -1.0000 which causes the yellow LED to come on , I did think it may be caused by noise but have eliminated that , have tried changing over stepper drives , stepper motors and wiring etc but I still get the same problem and it only happens on the "X" axis , now I never had this problem with Mach version 40 so again not sure where to look , I am at the moment using version 19 of Mach and beta 9 of MSM , thanks
in advance for any help
Alan
Logged
DaveCVI
Active Member
Offline
Posts: 532
Re: Touch off
«
Reply #1 on:
September 07, 2010, 10:01:26 PM »
Hi Alan,
Sorry if this seems a bit rushed, I'm traveling the rest of this week.
Issue 1 (MT touch off):
From my tired brain's memory, if you have MT mode on, then the only tool that can be used to set Z zero is the MT. The T# of the MT is set on the tooling page, master tool mode options. The message "Can't set Z0 in master mode w/o master tool" tells me MT mode is on, but the MT T# is not mounted at the time the button is clicked.
I did modify the code in beta 9 for touch plates - perhaps something happened....
please make the problem happen and then get the probing log file and email it to me to look at.
(C:\mach3\MachStdMill\Logs\MSMProbingDebugLog.txt)
Issue 2 (scaling DROs):
The DROs i think you are you referring to are the scale factor DROs for each axis. The LED next to them turns on whenever the scale factor is not equal 1 (i.e. the axis is being scaled).
If an axis DRO value is -1, that indicates that the axis is being reversed + for -
I can't think of any way MSM could change those DRO values on it's own. They are just Mach's DROs.
Electrical noise seems an unlikely candidate to change a DRO value. A input signal bit yes, but not a DRO value.
When the scale is -1, is the axis motion in fact reversed from "normal" for your machine?
Do you have any G-Ccode doing G51? That is how scaling factors get set via G-Code.
Dave
«
Last Edit: September 07, 2010, 10:03:02 PM by DaveCVI
»
Logged
Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com
Alan B
Active Member
Offline
Posts: 56
Re: Touch off
«
Reply #2 on:
September 08, 2010, 05:26:32 AM »
Hi Dave
Issue 1 (MT touch off)
Done exactly what you said but still get the same message ( "Can't set Z0 in master mode w/o master tool" ) I started from the beginning remeasured PTL of Master tool etc touched off and got my reading of Zero then went straight over to the touch off screen and clicked on the "Z"0 arrow and got the same message .
Issue 2
(Scaling DRO's)
This problem sometimes happens when I am just pressing buttons ie: I could be homing machine or just pressing the Mach3 ready/not ready button , it just happens for no reason , I will check over machine again and see if I can find anything else which might be causing this problem
Thanks
Alan
MSMProbingDebugLog.txt
(8.21 KB - downloaded 66 times.)
Logged
DaveCVI
Active Member
Offline
Posts: 532
Re: Touch off
«
Reply #3 on:
September 09, 2010, 08:00:44 PM »
Alan,
I inquired about this issue with the guys at Newfangled - they asked that I have you contact them directly.
Please email Scott (
scottn@machsupport.com
), tell him that you are the fellow I talked to them about re the axis scaling flipping.
Dave
Logged
Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com
Alan B
Active Member
Offline
Posts: 56
Re: Touch off
«
Reply #4 on:
September 10, 2010, 02:54:16 AM »
Hi Dave
will contact Scott and see if he can help me , have you got any idea's on the problem with the Master tool and touch off problem ??
Thanks
Alan
Logged
DaveCVI
Active Member
Offline
Posts: 532
Re: Touch off
«
Reply #5 on:
September 10, 2010, 09:57:17 PM »
Alan,
I'm traveling and can't do any hands on testing as I'm away from the shop.
In MT mode, the master tool has to be the tool used to touch and set Z Zero.
Looking at the code, I'm thinking that the issue is that the Master Tool is not mounted when the WC Offset page, Touch tab, Set Z zero button is clicked.
Here is the relevant code from the "Set Z Zero" button:
Code:
'
Code "G92.2"
If Not (GetUserDRO(MasterToolModeLED) = 1 ) Then
' we are not in Master tool mode
Call SetOEMDRO(MachMultiModeZAxisWCOEMDRO , Abs(GetUserDRO(TLOGageBlockHeightDRO )))
Else
' we are in master tool mode
' do we have the master tool mounted?
If GetCurrentTool() = GetUserDRO(MasterToolNumberDRO) Then
' we have the master tool
<<< here is where the MT Set Z Zero action is done - you don't get here>
Else
<<<< here is the message you are seeing >>>>>>
' can't do it - need master tool, tell user
MsgBox "Can't set Z0 in master tool mode w/o master tool",0,"Master Tool Mode"
End If
End If
What is the # of the master tool set to on the Tooling page?
(TC and master tool mode options panel)
What is the value of the Current Tool DRO when you click the Set Z zero button?
You will get the message when they are not the same number - i.e. when the currently mounted tool is not the master tool.
Dave
Logged
Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com
Alan B
Active Member
Offline
Posts: 56
Re: Touch off
«
Reply #6 on:
September 11, 2010, 05:30:18 AM »
Hi Dave
I have attached a new probe log for you to take a look at , Tool #1 is the master tool , on the Tooling screen it is shown as the current tool and when I go to the WC Touch off screen it shows tool#1 and that it is set as the master tool , I cannot see what else there is every thing is done as you have advised but I still get the same message as before ( "Can't set Z0 in master mode w/o master tool" ) , I appreciate that you are away this matter is not a case of life and death , see if you can see anything when you return
Thanks
Alan
MMSMProbingDebugLog.txt
(8.18 KB - downloaded 37 times.)
Logged
DaveCVI
Active Member
Offline
Posts: 532
Re: Touch off
«
Reply #7 on:
September 12, 2010, 01:43:48 PM »
Alan,
I think I found the problem: the GetCurrentTool() API for scripts is broken.
When the script calls it to get the current tool number an incorrect value is being returned.
The bad value is compared to the MT # and things fail rapidly from there.
This is a Mach bug - I'll have to get Brian to look at it.
Dave
Logged
Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com
Alan B
Active Member
Offline
Posts: 56
Re: Touch off
«
Reply #8 on:
September 12, 2010, 02:40:57 PM »
Hi Dave
thanks for the info , spent hours trying different ways of doing things and kept getting the same message but I am pleased that you have been able to track down the problem , Brian is now also trying to sort out my problem with the scaling , anyway thanks again for all your help will wait for the next Mach update
Cheers
Alan
Logged
DaveCVI
Active Member
Offline
Posts: 532
Re: Touch off
«
Reply #9 on:
September 12, 2010, 02:53:16 PM »
Alan,
I'll put a code "work around" into MSM for the GetCurrentTool() API bug until the API is fixed in Mach.
It will be in the next MSM release (Beta 10).
Dave
Logged
Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com
Pages:
1
2
»
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...