Hopefully you can help me with this Brian..
I got the wxlua dialog to display with buttons in the PLC when running a gcode file but it, just displays the dialog box and button's, but doesn't wait for a button press to return to the gcode it just keeps running the gcode with the dialog box still on the screen.. Any way to go about this and not have the gcode keep running?.. till i hit one of the buttons..
Checking to see if a dialog box or messagebox is called from a gcode macro.. yes will allow? the dialog to be displayed on the screen, and all buttons,? but when the dialog is displayed control? is sent right back to the gcode .and doesn't wait for any buttons to be pressed The dialog remains on the screen while the gcode is running now, and i can close it with a button press.
Is it possible to stop the gcode from running while in the dialog box?
Or just not possible?
Thanks Gary
|
Hello,
I think we can make this happen. Are you talking about a dialog
in an Mcode ? Or some function in the screen ? Please tell me what
we are doing and I think we can make it happen :)
Thanks
Brian
______________________________
Brian Barker
Webpage:
On 12/7/2021 12:49 PM, Gary wrote:
toggle quoted message
Show quoted text
Hopefully you can help
me with this Brian..
I got the wxlua dialog to display with buttons in the PLC when
running a gcode file but it, just displays the dialog box and
button's, but doesn't wait for a button press to return to the
gcode it just keeps running the gcode with the dialog box still
on the screen..
Any way to go about
this and not have the gcode keep running?.. till i hit one of
the buttons..
Checking to see if a
dialog box or messagebox is called from a gcode macro..
yes will allow? the
dialog to be displayed on the screen, and all buttons,? but when
the dialog is displayed control? is sent right back to the gcode
.and doesn't wait for any buttons to be pressed
The dialog remains on the screen while the gcode is running now,
and i can close it with a button press.
Is it possible to stop the gcode from running while in the
dialog box?
Or just not possible?
Thanks Gary
|
Hi brian
What i am doing is setting a register flag when in the Macro Mcode and have the dialog in the PLC script, that displays when the flag is set, that seems to works, except it shows the dialog and button's but doesn't stop the Macro it just keeps running with the dialog box on the screen, i still can press the button and the dialog will closed and resets the register flag.
Making any sense?
Thanks gary
|
If you would like to stop the macro you will need to make the
dialog in the Macro... The other way to do it would be with a
semaphore and spin lock looking at the flag... I don't h think
that would be a good way but I have no idea what the screen is
doing.
Thanks
Brian
______________________________
Brian Barker
Engineering / Development
ArtSoft | Newfangled Solutions
Livermore Falls, Maine (USA)
Phone: 207(618)1449
Webpage:
On 12/7/2021 1:43 PM, Gary wrote:
toggle quoted message
Show quoted text
Hi brian
What i am doing is setting a register flag when in the Macro Mcode
and have the dialog in the PLC script, that displays when the flag
is set, that seems to works, except it shows the dialog and
button's but doesn't stop the Macro it just keeps running with the
dialog box on the screen, i still can press the button and the
dialog will closed and resets the register flag.
Making any sense?
Thanks gary
|
Here is an example of the code in the PLC I did try the dialog in the macro but didn't seem to work it would display the dialog, but no text or buttons would display.. and i couldn't close the dialog as far as a a semaphore and spin lock looking at the flag not sure how to implement that above my skill level i'm thinking..
Thanks gary
toggle quoted message
Show quoted text
------------------------------------------------------- --? M6 message ------------------------------------------------------- local M6DialogReg = mc.mcRegGetHandle(inst,"gRegs0/M6Message") local M6Flag = mc.mcRegGetValue(M6DialogReg)
if (M6Flag == 1) then -- and state == idle
ID_RETURN_GCODE = 1 ID_CLOSE_BUTTON = 2
-- create MyDialog1 ???? MyDialog1 = wx.wxDialog (wx.NULL, wx.wxID_ANY, "M6 Manual Tool Change Avtivated", wx.wxDefaultPosition, wx.wxSize( 327,325 ), wx.wxDEFAULT_DIALOG_STYLE ) ?? ? MyDialog1:SetSizeHints( wx.wxDefaultSize, wx.wxDefaultSize )
?? ? gSizer3 = wx.wxGridSizer( 0, 2, 0, 0 )
?? ? m_staticText1 = wx.wxStaticText(? MyDialog1, wx.wxID_ANY, "TURN OFF SPINDLE, then jog to a safe tool change position\n\nSwap to new tool\n\nThen migrate to the probing screen and PRESS PROBE Z\n\nOR mannual jog Z down and use a feeler gauge for Z hight\nWhen Finished move Z up to 1\" or so..\n\nOnce tool probe is finished, or feeler gauge test Complete\nTURN ON SPINDLE\n\nPRESS OK to return control back to the running G_Code\n\nPress ABORT to Stop ALL\nMachine will be disabled and Gcode Stopped", wx.wxDefaultPosition, wx.wxDefaultSize, 0 ) ?? ? m_staticText1:Wrap( -1 )
?? ? gSizer3:Add(? m_staticText1, 0, wx.wxALL, 5 ) ?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 ) ?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 ) ?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 ) ?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 ) ?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 ) ?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 ) ?? ? gSizer3:Add( 0, 50, 1, wx.wxEXPAND, 5 ) ?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 ) ?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? fgSizer1 = wx.wxFlexGridSizer( 0, 2, 0, 50 ) ?? ? fgSizer1:SetFlexibleDirection( wx.wxBOTH ) ?? ? fgSizer1:SetNonFlexibleGrowMode( wx.wxFLEX_GROWMODE_SPECIFIED )
?? ? m_button8 = wx.wxButton(? MyDialog1, ID_RETURN_GCODE, "OK", wx.wxDefaultPosition, wx.wxDefaultSize, 0 ) ?? ? fgSizer1:Add(? m_button8, 0, wx.wxALL, 5 ) ?? ? ?? ? m_button9 = wx.wxButton(? MyDialog1, ID_CLOSE_BUTTON, "Abort", wx.wxDefaultPosition, wx.wxDefaultSize, 0 ) ?? ? fgSizer1:Add(? m_button9, 0, wx.wxALIGN_CENTER+wx.wxALL, 2 )
?? ? gSizer3:Add(? fgSizer1, 1, wx.wxEXPAND, 0 )
?? ? MyDialog1:SetSizer(? gSizer3 ) ?? ? MyDialog1:Layout()
?? ? MyDialog1:Centre( wx.wxBOTH ) ?? ? MyDialog1:Show( true ) ?? ? ???? MyDialog1:Connect(ID_CLOSE_BUTTON, wx.wxEVT_COMMAND_BUTTON_CLICKED, ??? function(event) ???? MyDialog1:Destroy() ??? end) ?? ? ???? MyDialog1:Connect(ID_RETURN_GCODE, wx.wxEVT_COMMAND_BUTTON_CLICKED, ??? function(event) ???? MyDialog1:Destroy() ??? end) ??? wx.wxGetApp():MainLoop()
? ???? local rc = mc.mcRegSetValue(M6DialogReg, 0) end
|
I am assuming its not possible to do this...
But i do have another question.
What mc command can be used and how, to check a button press to see when its up and when its down
Thanks gary
|
We can SO do this! Testing now
______________________________
Brian Barker
Engineering / Development
ArtSoft | Newfangled Solutions
Livermore Falls, Maine (USA)
Phone: 207(618)1449
Webpage:
On 12/7/2021 2:56 PM, Gary wrote:
toggle quoted message
Show quoted text
Here is an example of the code in the PLC
I did try the dialog in the macro but didn't seem to work it would
display the dialog, but no text or buttons would display.. and i
couldn't close the dialog
as far as a a semaphore and spin lock looking at the flag not sure
how to implement that above my skill level i'm thinking..
Thanks gary
-------------------------------------------------------
--? M6 message
-------------------------------------------------------
local M6DialogReg = mc.mcRegGetHandle(inst,"gRegs0/M6Message")
local M6Flag = mc.mcRegGetValue(M6DialogReg)
if (M6Flag == 1) then -- and state == idle
ID_RETURN_GCODE = 1
ID_CLOSE_BUTTON = 2
-- create MyDialog1
???? MyDialog1 = wx.wxDialog (wx.NULL, wx.wxID_ANY, "M6 Manual
Tool Change Avtivated", wx.wxDefaultPosition, wx.wxSize( 327,325
), wx.wxDEFAULT_DIALOG_STYLE )
?? ? MyDialog1:SetSizeHints( wx.wxDefaultSize, wx.wxDefaultSize
)
?? ? gSizer3 = wx.wxGridSizer( 0, 2, 0, 0 )
?? ? m_staticText1 = wx.wxStaticText(? MyDialog1, wx.wxID_ANY,
"TURN OFF SPINDLE, then jog to a safe tool change
position\n\nSwap to new tool\n\nThen migrate to the probing
screen and PRESS PROBE Z\n\nOR mannual jog Z down and use a
feeler gauge for Z hight\nWhen Finished move Z up to 1\" or
so..\n\nOnce tool probe is finished, or feeler gauge test
Complete\nTURN ON SPINDLE\n\nPRESS OK to return control back to
the running G_Code\n\nPress ABORT to Stop ALL\nMachine will be
disabled and Gcode Stopped", wx.wxDefaultPosition,
wx.wxDefaultSize, 0 )
?? ? m_staticText1:Wrap( -1 )
?? ? gSizer3:Add(? m_staticText1, 0, wx.wxALL, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 50, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? fgSizer1 = wx.wxFlexGridSizer( 0, 2, 0, 50 )
?? ? fgSizer1:SetFlexibleDirection( wx.wxBOTH )
?? ? fgSizer1:SetNonFlexibleGrowMode(
wx.wxFLEX_GROWMODE_SPECIFIED )
?? ? m_button8 = wx.wxButton(? MyDialog1, ID_RETURN_GCODE, "OK",
wx.wxDefaultPosition, wx.wxDefaultSize, 0 )
?? ? fgSizer1:Add(? m_button8, 0, wx.wxALL, 5 )
?? ?
?? ? m_button9 = wx.wxButton(? MyDialog1, ID_CLOSE_BUTTON,
"Abort", wx.wxDefaultPosition, wx.wxDefaultSize, 0 )
?? ? fgSizer1:Add(? m_button9, 0, wx.wxALIGN_CENTER+wx.wxALL, 2
)
?? ? gSizer3:Add(? fgSizer1, 1, wx.wxEXPAND, 0 )
?? ? MyDialog1:SetSizer(? gSizer3 )
?? ? MyDialog1:Layout()
?? ? MyDialog1:Centre( wx.wxBOTH )
?? ? MyDialog1:Show( true )
?? ?
???? MyDialog1:Connect(ID_CLOSE_BUTTON,
wx.wxEVT_COMMAND_BUTTON_CLICKED,
??? function(event)
???? MyDialog1:Destroy()
??? end)
?? ?
???? MyDialog1:Connect(ID_RETURN_GCODE,
wx.wxEVT_COMMAND_BUTTON_CLICKED,
??? function(event)
???? MyDialog1:Destroy()
??? end)
??? wx.wxGetApp():MainLoop()
? ???? local rc = mc.mcRegSetValue(M6DialogReg, 0)
end
|
As I thought :) You can do it!
Replace your : wx.wxGetApp():MainLoop()
With : ?? MyDialog1:ShowModal()
And you can put it in your Mcode! It will stop the execution.
______________________________
Brian Barker
Webpage:
On 12/7/2021 2:56 PM, Gary wrote:
toggle quoted message
Show quoted text
Here is an example of the code in the PLC
I did try the dialog in the macro but didn't seem to work it would
display the dialog, but no text or buttons would display.. and i
couldn't close the dialog
as far as a a semaphore and spin lock looking at the flag not sure
how to implement that above my skill level i'm thinking..
Thanks gary
-------------------------------------------------------
--? M6 message
-------------------------------------------------------
local M6DialogReg = mc.mcRegGetHandle(inst,"gRegs0/M6Message")
local M6Flag = mc.mcRegGetValue(M6DialogReg)
if (M6Flag == 1) then -- and state == idle
ID_RETURN_GCODE = 1
ID_CLOSE_BUTTON = 2
-- create MyDialog1
???? MyDialog1 = wx.wxDialog (wx.NULL, wx.wxID_ANY, "M6 Manual
Tool Change Avtivated", wx.wxDefaultPosition, wx.wxSize( 327,325
), wx.wxDEFAULT_DIALOG_STYLE )
?? ? MyDialog1:SetSizeHints( wx.wxDefaultSize, wx.wxDefaultSize
)
?? ? gSizer3 = wx.wxGridSizer( 0, 2, 0, 0 )
?? ? m_staticText1 = wx.wxStaticText(? MyDialog1, wx.wxID_ANY,
"TURN OFF SPINDLE, then jog to a safe tool change
position\n\nSwap to new tool\n\nThen migrate to the probing
screen and PRESS PROBE Z\n\nOR mannual jog Z down and use a
feeler gauge for Z hight\nWhen Finished move Z up to 1\" or
so..\n\nOnce tool probe is finished, or feeler gauge test
Complete\nTURN ON SPINDLE\n\nPRESS OK to return control back to
the running G_Code\n\nPress ABORT to Stop ALL\nMachine will be
disabled and Gcode Stopped", wx.wxDefaultPosition,
wx.wxDefaultSize, 0 )
?? ? m_staticText1:Wrap( -1 )
?? ? gSizer3:Add(? m_staticText1, 0, wx.wxALL, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 50, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? gSizer3:Add( 0, 0, 1, wx.wxEXPAND, 5 )
?? ? fgSizer1 = wx.wxFlexGridSizer( 0, 2, 0, 50 )
?? ? fgSizer1:SetFlexibleDirection( wx.wxBOTH )
?? ? fgSizer1:SetNonFlexibleGrowMode(
wx.wxFLEX_GROWMODE_SPECIFIED )
?? ? m_button8 = wx.wxButton(? MyDialog1, ID_RETURN_GCODE, "OK",
wx.wxDefaultPosition, wx.wxDefaultSize, 0 )
?? ? fgSizer1:Add(? m_button8, 0, wx.wxALL, 5 )
?? ?
?? ? m_button9 = wx.wxButton(? MyDialog1, ID_CLOSE_BUTTON,
"Abort", wx.wxDefaultPosition, wx.wxDefaultSize, 0 )
?? ? fgSizer1:Add(? m_button9, 0, wx.wxALIGN_CENTER+wx.wxALL, 2
)
?? ? gSizer3:Add(? fgSizer1, 1, wx.wxEXPAND, 0 )
?? ? MyDialog1:SetSizer(? gSizer3 )
?? ? MyDialog1:Layout()
?? ? MyDialog1:Centre( wx.wxBOTH )
?? ? MyDialog1:Show( true )
?? ?
???? MyDialog1:Connect(ID_CLOSE_BUTTON,
wx.wxEVT_COMMAND_BUTTON_CLICKED,
??? function(event)
???? MyDialog1:Destroy()
??? end)
?? ?
???? MyDialog1:Connect(ID_RETURN_GCODE,
wx.wxEVT_COMMAND_BUTTON_CLICKED,
??? function(event)
???? MyDialog1:Destroy()
??? end)
??? wx.wxGetApp():MainLoop()
? ???? local rc = mc.mcRegSetValue(M6DialogReg, 0)
end
|
Thanks brian
It seems to work, but always a but!
When i run the M6 Macro alone though the editor or mdi line it seems ok on dro changes..
if i load a Gcode file and run that when it runs the M6 Macro line the Z axis dro on the screen jumps to 5.0 from 0..
There is no code in the Gcode file or the M6 macro to move the Z axis before the M6 T line..
it doesn't move like its jogging it just go's from 0 to 5.0 instantly
also got this error a couple times
Lua: Error while running chunk ?:-1: attempt to yield across a C-call boundary stack traceback: ?? ??: in function <?:59> ?? ?[C]: in method 'ShowModal' ?? ??: in function 'M6Message' ?? ??: in function 'm6'
Thanks gary
|
Guess I need to play with this thing some more. I just did it in
the editor and not in the Gcode file. Let me see what I can do
Thanks
Brian
______________________________
Brian Barker
Engineering / Development
ArtSoft | Newfangled Solutions
Livermore Falls, Maine (USA)
Phone: 207(618)1449
Webpage:
On 12/8/2021 9:57 PM, Gary wrote:
toggle quoted message
Show quoted text
Thanks brian
It seems to work, but always a but!
When i run the M6 Macro alone though the editor or mdi line it
seems ok on dro changes..
if i load a Gcode file and run that when it runs the M6 Macro line
the Z axis dro on the screen jumps to 5.0 from 0..
There is no code in the Gcode file or the M6 macro to move the Z
axis before the M6 T line..
it doesn't move like its jogging it just go's from 0 to 5.0
instantly
also got this error a couple times
Lua: Error while running chunk
?:-1: attempt to yield across a C-call boundary
stack traceback:
?? ??: in function <?:59>
?? ?[C]: in method 'ShowModal'
?? ??: in function 'M6Message'
?? ??: in function 'm6'
Thanks gary
|
Ok Thanks Brian
I have run into another problem, not sure what the cause..
when i load the gcode file it never shows the machining to start in the parts center in the tool path display... form a couple of my profiles, if i start a run and then stop re zero the dro's and regen the tool path its now starting in the middle.. in the tool path display..
but i do have a couple profiles that don't have that problem i don't see any setting's that are different. Do the profiles go bad? or get some sort of glitch, don't see any difference other than the way the tool path starts when the gcode is first loaded and its way off center position
Gary
|
Any word on the fix of the jogging increment problem? I have the
latest version of mach4 available on the web site unless i am
missing something. If I start mach4 and set the jog increment to
.01" Shut down and start again. the increment shown is .01" but it
moves 1"? it is real easy to break bits when it moves out of
control? a while inch. If this is difficult to fix at least make the
default .001" not 1"
开云体育 Links:
You receive all messages sent to this group.
View/Reply Online (#155080) | Reply To Group | Reply To Sender | Mute This Topic | New
Topic
Your Subscription | Contact
Group Owner | Unsubscribe
[spencer@...]
_._,_._,_
--
Spencer Chase
67550 Bell Springs Rd.
Garberville , CA 95542 USPS mail only
Laytonville, CA 9545 UPS/Fedex only
|
All new to me.. Lets get what we can for data and see what we can
find. I think that is the best thing to do.
Thanks
Brian
______________________________
Brian Barker
Webpage:
On 12/9/2021 2:55 PM, Gary wrote:
toggle quoted message
Show quoted text
Ok Thanks Brian
I have run into another problem, not sure what the cause..
when i load the gcode file it never shows the machining to start
in the parts center in the tool path display... form a couple of
my profiles, if i start a run and then stop re zero the dro's and
regen the tool path its now starting in the middle.. in the tool
path display..
but i do have a couple profiles that don't have that problem i
don't see any setting's that are different.
Do the profiles go bad? or get some sort of glitch, don't see any
difference other than the way the tool path starts when the gcode
is first loaded and its way off center position
Gary
|
Ok thanks, but this problem with the toolpath being off center, has become a real problem for me.. ? I just ram a job this morning.. I started by probing to find the center of part, when centered I zeroed the X and Y Then loaded the tool and probed the tool Hight so that was set, then loaded the g code file. Checked the X and Y they were at zero the z was at the correct height. Started to run the job the X and Y went no where near the correct position and the z dove into the part… wrecked part now ? So I flipped over and did the same thing exactly and it cut prefect . . ? I have had this happen before when I run the part the first time if I re zero center everything and try again it runs fine.. ? I have tried this on 3 different computers also ? Any suggestions, ? Gary ? Sent from for Windows ?
toggle quoted message
Show quoted text
From: Brian BarkerSent: Thursday, December 9, 2021 3:46 PM To: [email protected]Subject: Re: [MachCNC] Question about Macros and dialog box's, and or messagebox ? All new to me.. Lets get what we can for data and see what we can find. I think that is the best thing to do. ? Thanks Brian ______________________________ ? Brian Barker ? Webpage: On 12/9/2021 2:55 PM, Gary wrote: Ok Thanks Brian
I have run into another problem, not sure what the cause..
when i load the gcode file it never shows the machining to start in the parts center in the tool path display... form a couple of my profiles, if i start a run and then stop re zero the dro's and regen the tool path its now starting in the middle.. in the tool path display..
but i do have a couple profiles that don't have that problem i don't see any setting's that are different. Do the profiles go bad? or get some sort of glitch, don't see any difference other than the way the tool path starts when the gcode is first loaded and its way off center position
Gary
|
the problem with jogging one inch when it says .01" at startup is
also a problem any news on this? i have thelatest version and
verified the problem.
On 12/10/2021 10:35 AM, Gary wrote:
Ok thanks, but this problem with the
toolpath being off center, has become a real problem for me..
?
I just ram a job this morning.. I started
by probing to find the center of part, when centered I zeroed
the X and Y
Then loaded the tool and probed the tool
Hight so that was set, then loaded the g code file.
Checked the X and Y they were at zero the z
was at the correct height.
Started to run the job the X and Y went no
where near the correct position and the z dove into the part…
wrecked part now
?
So I flipped over and did the same thing
exactly and it cut prefect . .
?
I have had this happen before when I run
the part the first time if I re zero center everything and try
again it runs fine..
?
I have tried this on 3 different computers
also
?
Any suggestions,
?
Gary
?
Sent from for Windows
?
From:
Brian Barker
Sent: Thursday, December 9, 2021 3:46 PM
To: [email protected]
Subject: Re: [MachCNC] Question about Macros and
dialog box's, and or messagebox
?
All new to me.. Lets get what we can for data and see what we
can find. I think that is the best thing to do.
?
Thanks
Brian
______________________________
?
Brian Barker
?
Webpage:
On 12/9/2021 2:55 PM, Gary wrote:
Ok Thanks Brian
I have run into another problem, not sure what the cause..
when i load the gcode file it never shows the machining to
start in the parts center in the tool path display... form a
couple of my profiles, if i start a run and then stop re
zero the dro's and regen the tool path its now starting in
the middle.. in the tool path display..
but i do have a couple profiles that don't have that problem
i don't see any setting's that are different.
Do the profiles go bad? or get some sort of glitch, don't
see any difference other than the way the tool path starts
when the gcode is first loaded and its way off center
position
Gary
--
Spencer Chase
67550 Bell Springs Rd.
Garberville , CA 95542 USPS mail only
Laytonville, CA 9545 UPS/Fedex only
|
I am trying to work on the dialog thing for you still ... One
thing at a time. I have enough work to do and I am trying to fit
this in for you guys. I think I see the issue with the dialog. We
may need to make a frame to have as the parent of the dialog.
Testing that now
Thanks
Brian
______________________________
Brian Barker
Webpage:
On 12/10/2021 1:35 PM, Gary wrote:
toggle quoted message
Show quoted text
Ok thanks, but this problem with the
toolpath being off center, has become a real problem for me..
?
I just ram a job this morning.. I started
by probing to find the center of part, when centered I zeroed
the X and Y
Then loaded the tool and probed the tool
Hight so that was set, then loaded the g code file.
Checked the X and Y they were at zero the z
was at the correct height.
Started to run the job the X and Y went no
where near the correct position and the z dove into the part…
wrecked part now
?
So I flipped over and did the same thing
exactly and it cut prefect . .
?
I have had this happen before when I run
the part the first time if I re zero center everything and try
again it runs fine..
?
I have tried this on 3 different computers
also
?
Any suggestions,
?
Gary
?
Sent from for Windows
?
From:
Brian Barker
Sent: Thursday, December 9, 2021 3:46 PM
To: [email protected]
Subject: Re: [MachCNC] Question about Macros and
dialog box's, and or messagebox
?
All new to me.. Lets get what we can for data and see what we
can find. I think that is the best thing to do.
?
Thanks
Brian
______________________________
?
Brian Barker
?
Webpage:
On 12/9/2021 2:55 PM, Gary wrote:
Ok Thanks Brian
I have run into another problem, not sure what the cause..
when i load the gcode file it never shows the machining to
start in the parts center in the tool path display... form a
couple of my profiles, if i start a run and then stop re
zero the dro's and regen the tool path its now starting in
the middle.. in the tool path display..
but i do have a couple profiles that don't have that problem
i don't see any setting's that are different.
Do the profiles go bad? or get some sort of glitch, don't
see any difference other than the way the tool path starts
when the gcode is first loaded and its way off center
position
Gary
|
Gary,
After testing it can not be done! We need to do the semaphore :(
I can show you how t make your dialog work. We can add a spin lock
to wait for the dialog to say that it has shutdown .. If you want
send me your screen and I will show you how to make it happen .
Thanks
Brian
______________________________
Brian Barker
Webpage:
On 12/10/2021 1:35 PM, Gary wrote:
toggle quoted message
Show quoted text
Ok thanks, but this problem with the
toolpath being off center, has become a real problem for me..
?
I just ram a job this morning.. I started
by probing to find the center of part, when centered I zeroed
the X and Y
Then loaded the tool and probed the tool
Hight so that was set, then loaded the g code file.
Checked the X and Y they were at zero the z
was at the correct height.
Started to run the job the X and Y went no
where near the correct position and the z dove into the part…
wrecked part now
?
So I flipped over and did the same thing
exactly and it cut prefect . .
?
I have had this happen before when I run
the part the first time if I re zero center everything and try
again it runs fine..
?
I have tried this on 3 different computers
also
?
Any suggestions,
?
Gary
?
Sent from for Windows
?
From:
Brian Barker
Sent: Thursday, December 9, 2021 3:46 PM
To: [email protected]
Subject: Re: [MachCNC] Question about Macros and
dialog box's, and or messagebox
?
All new to me.. Lets get what we can for data and see what we
can find. I think that is the best thing to do.
?
Thanks
Brian
______________________________
?
Brian Barker
?
Webpage:
On 12/9/2021 2:55 PM, Gary wrote:
Ok Thanks Brian
I have run into another problem, not sure what the cause..
when i load the gcode file it never shows the machining to
start in the parts center in the tool path display... form a
couple of my profiles, if i start a run and then stop re
zero the dro's and regen the tool path its now starting in
the middle.. in the tool path display..
but i do have a couple profiles that don't have that problem
i don't see any setting's that are different.
Do the profiles go bad? or get some sort of glitch, don't
see any difference other than the way the tool path starts
when the gcode is first loaded and its way off center
position
Gary
|
Spencer, I checked the log and I fixed that issue on the
following day
Revision: 4725
Author: brianb
Date: Friday, May 14, 2021 10:25:03 AM
Message:
Mach4GUI: Update to make sure Inc Jogging is matching what is in
the jogging array
----
?We are testing to get a release out now but please know when you
told me about your issue the first time I fixed it :)
Thanks
Brian
______________________________
Brian Barker
Webpage:
toggle quoted message
Show quoted text
the problem with jogging one inch when it says .01" at startup
is also a problem any news on this? i have thelatest version and
verified the problem.
On 12/10/2021 10:35 AM, Gary wrote:
Ok thanks, but this problem with the
toolpath being off center, has become a real problem for
me..
?
I just ram a job this morning.. I started
by probing to find the center of part, when centered I
zeroed the X and Y
Then loaded the tool and probed the tool
Hight so that was set, then loaded the g code file.
Checked the X and Y they were at zero the
z was at the correct height.
Started to run the job the X and Y went
no where near the correct position and the z dove into the
part… wrecked part now
?
So I flipped over and did the same thing
exactly and it cut prefect . .
?
I have had this happen before when I run
the part the first time if I re zero center everything and
try again it runs fine..
?
I have tried this on 3 different
computers also
?
Any suggestions,
?
Gary
?
Sent from for Windows
?
From:
Brian Barker
Sent: Thursday, December 9, 2021 3:46 PM
To: [email protected]
Subject: Re: [MachCNC] Question about Macros and
dialog box's, and or messagebox
?
All new to me.. Lets get what we can for data and see what
we can find. I think that is the best thing to do.
?
Thanks
Brian
______________________________
?
Brian Barker
?
Webpage:
On 12/9/2021 2:55 PM, Gary wrote:
Ok Thanks Brian
I have run into another problem, not sure what the cause..
when i load the gcode file it never shows the machining to
start in the parts center in the tool path display... form
a couple of my profiles, if i start a run and then stop re
zero the dro's and regen the tool path its now starting in
the middle.. in the tool path display..
but i do have a couple profiles that don't have that
problem i don't see any setting's that are different.
Do the profiles go bad? or get some sort of glitch, don't
see any difference other than the way the tool path starts
when the gcode is first loaded and its way off center
position
Gary
--
Spencer Chase
67550 Bell Springs Rd.
Garberville , CA 95542 USPS mail only
Laytonville, CA 9545 UPS/Fedex only
|
Ok thanks but I don’t think it’s the dialog messing up my position’s when I first run the job and the axis’s go off tract to the wrong start position.. I don’t have any dialogs in the profile I am using on the mill to do cutting, only on my other computer for testing ? Sorry for all the trouble But didn’t want you to look at the dialog for the machine start positioning I seem to be having Gary ? Sent from for Windows ?
toggle quoted message
Show quoted text
From: Brian BarkerSent: Friday, December 10, 2021 2:44 PM To: [email protected]Subject: Re: [MachCNC] Question about Macros and dialog box's, and or messagebox ? Gary, After testing it can not be done! We need to do the semaphore :( I can show you how t make your dialog work. We can add a spin lock to wait for the dialog to say that it has shutdown .. If you want send me your screen and I will show you how to make it happen . ? Thanks Brian ? ______________________________ ? Brian Barker ? Webpage: On 12/10/2021 1:35 PM, Gary wrote: Ok thanks, but this problem with the toolpath being off center, has become a real problem for me.. ? I just ram a job this morning.. I started by probing to find the center of part, when centered I zeroed the X and Y Then loaded the tool and probed the tool Hight so that was set, then loaded the g code file. Checked the X and Y they were at zero the z was at the correct height. Started to run the job the X and Y went no where near the correct position and the z dove into the part… wrecked part now ? So I flipped over and did the same thing exactly and it cut prefect . . ? I have had this happen before when I run the part the first time if I re zero center everything and try again it runs fine.. ? I have tried this on 3 different computers also ? Any suggestions, ? Gary ? Sent from for Windows ? From: Brian Barker Sent: Thursday, December 9, 2021 3:46 PM To: [email protected] Subject: Re: [MachCNC] Question about Macros and dialog box's, and or messagebox ? All new to me.. Lets get what we can for data and see what we can find. I think that is the best thing to do. ? Thanks Brian ______________________________ ? Brian Barker ? Webpage: On 12/9/2021 2:55 PM, Gary wrote: Ok Thanks Brian
I have run into another problem, not sure what the cause..
when i load the gcode file it never shows the machining to start in the parts center in the tool path display... form a couple of my profiles, if i start a run and then stop re zero the dro's and regen the tool path its now starting in the middle.. in the tool path display..
but i do have a couple profiles that don't have that problem i don't see any setting's that are different. Do the profiles go bad? or get some sort of glitch, don't see any difference other than the way the tool path starts when the gcode is first loaded and its way off center position
Gary
|
how do i get the revised version? i downloaded the one on the
site but it has the same revision number. so i didn't bother ti
install it. can you provide a link if it is different from the one
on the site?
On 12/10/2021 11:47 AM, Brian Barker
wrote:
Spencer, I checked the log and I fixed that issue on the
following day
Revision: 4725
Author: brianb
Date: Friday, May 14, 2021 10:25:03 AM
Message:
Mach4GUI: Update to make sure Inc Jogging is matching what is in
the jogging array
----
?We are testing to get a release out now but please know when
you told me about your issue the first time I fixed it :)
Thanks
Brian
______________________________
Brian Barker
Webpage:
the problem with jogging one inch when it says .01" at
startup is also a problem any news on this? i have thelatest
version and verified the problem.
On 12/10/2021 10:35 AM, Gary wrote:
Ok thanks, but this problem with the
toolpath being off center, has become a real problem for
me..
?
I just ram a job this morning.. I
started by probing to find the center of part, when
centered I zeroed the X and Y
Then loaded the tool and probed the
tool Hight so that was set, then loaded the g code file.
Checked the X and Y they were at zero
the z was at the correct height.
Started to run the job the X and Y went
no where near the correct position and the z dove into the
part… wrecked part now
?
So I flipped over and did the same
thing exactly and it cut prefect . .
?
I have had this happen before when I
run the part the first time if I re zero center everything
and try again it runs fine..
?
I have tried this on 3 different
computers also
?
Any suggestions,
?
Gary
?
Sent from for Windows
?
From:
Brian Barker
Sent: Thursday, December 9, 2021 3:46 PM
To: [email protected]
Subject: Re: [MachCNC] Question about Macros and
dialog box's, and or messagebox
?
All new to me.. Lets get what we can for data and see
what we can find. I think that is the best thing to do.
?
Thanks
Brian
______________________________
?
Brian Barker
?
Webpage:
On 12/9/2021 2:55 PM, Gary wrote:
Ok Thanks Brian
I have run into another problem, not sure what the
cause..
when i load the gcode file it never shows the machining
to start in the parts center in the tool path display...
form a couple of my profiles, if i start a run and then
stop re zero the dro's and regen the tool path its now
starting in the middle.. in the tool path display..
but i do have a couple profiles that don't have that
problem i don't see any setting's that are different.
Do the profiles go bad? or get some sort of glitch,
don't see any difference other than the way the tool
path starts when the gcode is first loaded and its way
off center position
Gary
--
Spencer Chase
67550 Bell Springs Rd.
Garberville , CA 95542 USPS mail only
Laytonville, CA 9545 UPS/Fedex only
--
Spencer Chase
67550 Bell Springs Rd.
Garberville , CA 95542 USPS mail only
Laytonville, CA 9545 UPS/Fedex only
|