CNC BRIDGE SAW FOR MARBLE

More
20 Feb 2018 12:33 #106231 by Yannis
Replied by Yannis on topic CNC BRIDGE SAW FOR MARBLE
photo
Attachments:

Please Log in or Create an account to join the conversation.

More
20 Feb 2018 15:06 #106238 by andypugh
Replied by andypugh on topic CNC BRIDGE SAW FOR MARBLE

i follow your instructions in the mdi command
please check the photo is ti ok what you see?


You have to bear in mind that the centre of the polar coordinates is the current X=0 Y=0 position.
So, after jogging to position and aligning the saw you need to either use the "touch off" button to zero X and Y or use G10 L20 X0 Y0

Please Log in or Create an account to join the conversation.

More
20 Feb 2018 16:08 #106240 by Yannis
Replied by Yannis on topic CNC BRIDGE SAW FOR MARBLE
Ok
i will try that tomorrow
any suggestion for glade vcp tutorial?
thanks

Please Log in or Create an account to join the conversation.

More
21 Feb 2018 16:49 #106276 by andypugh
Replied by andypugh on topic CNC BRIDGE SAW FOR MARBLE

Ok
i will try that tomorrow
any suggestion for glade vcp tutorial?
thanks


All I know of is linuxcnc.org/docs/2.7/html/gui/gladevcp.html

Be aware that Glade is only any help for onscreen virtual buttons.
MDI_COMMAND is better for physical buttons.
(You can use a G-code subroutine to link MDI_COMMAND to a multi-line G-code)
The following user(s) said Thank You: Yannis

Please Log in or Create an account to join the conversation.

More
21 Feb 2018 16:52 #106277 by Todd Zuercher
The following user(s) said Thank You: Yannis

Please Log in or Create an account to join the conversation.

More
24 Feb 2018 07:44 #106425 by Yannis
Replied by Yannis on topic CNC BRIDGE SAW FOR MARBLE
Hi
since i want to create physical buttons the best approach is to create a MDI_COMMAND with a multi line code
here is the moves needed
FIRST MDI
1)Z-50 F50
2)zero the x y(to start the polal coordinates)
3) G1 F100 @2000 ^#<_c>
4)G0 Z50
i don't now if the second line must be first


SECOND MDI
1) stop all the moves
2) G0 Z50
suggestions?

Please Log in or Create an account to join the conversation.

More
24 Feb 2018 21:17 - 24 Feb 2018 21:18 #106458 by Todd Zuercher
MDI commands can only be single lines. But there is a simple work around, put the commands in a subprogram and call the sub with the MDI command.

For your 2nd line I think I would use a G92 X0 Y0.

You might find it advantageous to have a G92.2 to cancel the G92 at the end of the sub.
Last edit: 24 Feb 2018 21:18 by Todd Zuercher.
The following user(s) said Thank You: Yannis

Please Log in or Create an account to join the conversation.

More
08 Aug 2018 17:00 #115822 by Yannis
Replied by Yannis on topic CNC BRIDGE SAW FOR MARBLE
Hi
today i experiment with the mdi command
the g code is.

G17 G21
G92 X0 Y0
S2000 M3
G1 Z-20 F50
G1 F100 @2000 ^#<_c>
G0 Z5
G92.2
M30
it s working nice
i build a virtual machine for test using the stepconfig
I try to use it as mdi command
i make the button in the xml file and its work fine
but when i try to link the button with hal pin
i have several crush
any suggestions for tutorial on this?
thanks

Please Log in or Create an account to join the conversation.

More
08 Aug 2018 17:07 #115823 by Yannis
Replied by Yannis on topic CNC BRIDGE SAW FOR MARBLE
and one more question
how can i replace the @2000 (move 2000 units) with move until you hit limit switch in tis line ? G1 F100 @2000 ^#<_c>

Please Log in or Create an account to join the conversation.

More
11 Aug 2018 21:39 #115921 by andypugh
Replied by andypugh on topic CNC BRIDGE SAW FOR MARBLE
LinuxCNC will never allow a move that hits the limit switch.
You will have to find a different way to achieve whatever it is you want to do.
(What is it you want to do?)

Please Log in or Create an account to join the conversation.

Time to create page: 0.099 seconds
Powered by Kunena Forum