I need some help writing a code that sets a bit to 1 with a push on a button, and the same button should put the bit to 0 if pushed again, if its set to 1. ...
Try This: #include "KMotionDef.h"  #define BITNO 46 // change this to the bit that should toggle  main() {    SetBitDirection(BITNO,1); // makes...
I bought the MPG from kelinginc and connected it to my kflop. All worked great apart from the enable button on the MPG. It works when i dont hold down the...
Stefan, Isn't that the way it is supposed to work? I found this: http://cnc4pc.com/images/MPG2_F.jpg I think that S1 is the enable switch and basically is...
This is a sefty feature. It should not work if u dont hold down the button. That way u cant by misstake jog. If its the other way around the enable button...
I want to modify my machine so i can program M3 and M4, now i have to start and stop the motors manualy. I need a C code that when M3 it checks that the pin...
Good question. Below (and attached) are 3 C programs that I think do what you require. If an M4 is called after an M3, then the M3 bit will be turned off,...
To Whom It May Concern: I recently purchased a KFlop motion control board. I have three stepper motor drivers that accept optically isolated differential 5v...
I see one problem with your configuration for axis channels 1 and 2. But axis channel 0 should work properly. The issue is that some type of axes modes...
Thank you for your help of the configuration of each of the channels. There is something else that I am missing. I cycled the power on so that there was a...
Yes, selecting output chan0=0 selects "open collector" mode which is a "sinking" output (meaning it can drain current to ground, but it can't provide the...
What advantages\disadvantages does going through Mach3 and KFlop give over going through KMotionCNC and KFlop? I want to control Kflop with a C program, Are...
Thanks Tom I did actually find that diagram after I had posted but I was wanting to focus on the software objects. I have designed a 3a PKM and began building...
Derek, Try this: http://www.dynomotion.com/Help/LibrariesFlowDiagram.PNG But yes, it should be almost as simple as swapping your kinematics for the "3Rod"...
I doubt if there is a simple answer to this question :} If you are one of the thousands of users already familiar with Mach3 and you like VB Script then it...
Hi Tom (or other knowledgable chaps) I am nearing completion of wiring up my first control box (10 more to go after this one), and have a quick question. I am...
Hi Andrew, Yes you may disconnect JP5 and use it for step and direction. You will loose Kanalog differential inputs 8-15 however. Differential inputs 0-7 (4 ...
Hi Tom Thanks for the prompt reply. That all sound great to me, except loosing differentials 8-15. I am not running my encoder A or B back to the Kanalog but...
Hi Tom Thanks for the promp reply. Sounds great except for the loosing differentails 8-15. I am not running the A or B of my encoders back to the Kanalog, but...
Hi Tom Another quick question, I have wired in my boards and I am trying to test and configure my settings, but when I start the KMotion suite and go to the...
Hi Tom Another quick question, I have wired in my boards and I am trying to test and configure my settings, but when I start the KMotion suite and go to the...
Hi Tom Thanks for the info. OK I am onto my next problem (by the time I get all 10 machines ready I will be an expert).....I am now setting up Mach3 and I have...