Integrating KFLOP with a relay
Posted: Thu May 02, 2019 6:48 pm
Hi Tom,
I am using the KFLOP board with 2 Kstep boards to control a concrete 3D printer. Everything works great!
Now that everything works, I am trying to add a ball valve to shut on/off the flow of concrete (with the help of a relay). How do I use the I/O on the KFLOP to do this ?
1) I don't know which port to use : JP4 or JP6 or JP2
2) how do I intialize or set up the c program to set the appropriate pin (on JP4/JP6) as output.
3) Can I create my own custom G-code (M) or use an existing one, to turn the output pin on/off in my G-code program
I will be highly obliged if you can help me out here and send me your suggestions or a solution that can do this for us.
Really appreciate your help on this!
Thank you.
Best,
Sagar
I am using the KFLOP board with 2 Kstep boards to control a concrete 3D printer. Everything works great!
Now that everything works, I am trying to add a ball valve to shut on/off the flow of concrete (with the help of a relay). How do I use the I/O on the KFLOP to do this ?
1) I don't know which port to use : JP4 or JP6 or JP2
2) how do I intialize or set up the c program to set the appropriate pin (on JP4/JP6) as output.
3) Can I create my own custom G-code (M) or use an existing one, to turn the output pin on/off in my G-code program
I will be highly obliged if you can help me out here and send me your suggestions or a solution that can do this for us.
Really appreciate your help on this!
Thank you.
Best,
Sagar