Hello Guest it is October 22, 2021, 10:40:32 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Riddler

Pages: 1
I am a little old school, in that I use a piece of paper under my tool as a feeler guage, to set the Z zero position. I use a mini wireless keyboard as my "pendant" to jog the machine around. I hit the pgup pgdown buttons and the machine jogs the Z axis at the rapid rate. This works great to get me close. I then mapped CTRL-PGDWN to jog at the incremental rate. Whatever rate was last selected. All good up to this point. This is where I am looking for some help. I would like to set CTRL-PGDWN to jog Z at a rate of 0.001 and have ALT-PGDWN jog Z at a rate of 0.010. I am having trouble figuring out how to do this or even how to approach it. Is it a key mappable thing or do I need to write some code?

Mach4 General Discussion / Mach4, Esc key to stop program running
« on: June 02, 2019, 04:41:41 PM »
How can Mach 4 be modified so the Esc key, when hit, will stop a program currently running? Like the old Mach 3 did. I tried mapping the Esc key in the keyboard inputs under plugins but I don't know what input to map the ESC key to on the Config-Inputs page to make it work. E-stop has to be mapped to Input#52 (the message that pops up if you do anything else)

Mach4 General Discussion / Pokeys 57CNC board setup
« on: May 28, 2019, 12:33:20 PM »
I am having problems trying to connect up a Pokeys 57CNC board to Mach 4. I previously had mach3 and ran directly from the parallel port to my Gecko G540 controller. I have a newer Win10 64bit computer and I am using Ethernet to talk to the Pokeys board. It connects and talks just fine. I made a IDC to DB25 adapter cable and then plug in my old parallel port cable to it to go to my Gecko G540. I verified that all pins had continuity on my adapter.
What is confusing me is how to just talk to the motors and make them move. The Pokeys tech support says that all the IDC/DB25 pins are fixed mapped and that I dont have to map them. So what do I do in Mach 4 to make it work? I have enabled motors X,Y,Z,A to motors 0,1,2,3 and set their step parameters the same as was in Mach 3. Do I need to go into "outputs" and define anything for things like "Spindle On", "Jog X++" etc.
I dont have a charge pump so that is disabled on the G540 and is not Enabled in the Mach 4 config.
I have tried to follow what Pokeys published for mach 4 setup but it does not cover setting mach 4 up. It stops at that point.
I would appreciate any help from someone who has connected up a Pokeys 57CNC board before.


Tangent Corner / Gear cutting end mill search
« on: March 20, 2010, 11:05:44 PM »
I came across the video below of a guy using a endmill to cut gear teeth into a brass blank. Very cool, but I am looking to do the same thing and I can not find a end mill like the one used in the video. I can find gear tooth milling cutters galore but not end mills with gear tooth profiles. Can any one point me to where I might find them? Or what are they called to search for them.



This is driving me nuts. I am trying to write a simple G-code program for Mach 3 that needs a simple loop. I have been searching for some example code of how to do a "WHILE" or "FOR" loop and I find examples but when I go to use them in Mach 3 it keeps giving me a error on the first line. Here is a example I tried and did not get to work.
N20 $WHILE P1<= 10
N30 P1=P1+1

Here is another that I tried and did not get to work

I am at a total loss as to what the proper syntax and structure is for Mach 3. Can anyone help with this simple loop?
Another question, is there a PDF or tutorial some where that documents all the loops and how to properly code them? I am also looking for a good book. I have seen the reccomendations on CNC by peter smid. It sounds good but does it cover the mach 3 flavor of G-code? I talked to several people where I worked about my problem and they said it all depends on what controlled you are using. They work in 2-3 different ones and they siad that they are similar but very different also.



Pages: 1