Hello Guest it is October 15, 2019, 08:00:08 AM

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.

Messages - jbzy324

Pages: 1
General Mach Discussion / Question on digital outputs in Mach3
« on: June 08, 2012, 02:48:25 AM »
Hey all; apologies in advance if this is a silly question.  I'm working on my senior engineering project, which is a cnc controlled painting table.  Besides the 3 normal axes of motion, we have a solenoid that grips the paint brush.  Now, after we create the g-code for a specific drawing, we run the code through a processor that inserts extra g-code lines for the brush changes (in between layers we travel to the brush rack, drop a brush off, then move to the next brush and grip it).  In these g-code lines that we insert, a command for the turning on and off of the solenoid needs to be included; after hunting around, it seems like the easiest thing to do is use M commands and treat the solenoid as if it were the spindle or the coolant system (as these actions are already tied to a specific g-code command).  Will that be the cleanest way to do it?  I've hunted around on the forums regarding using the digital output pins and people are talking about writing in visual basic and doing this and that and truth be told, it's all way over my head; if I can link the gripping mechanism to the program with a known g-code command control, that would be ideal.  Thanks in advance to everybody, and like I said, my apologies if this post is amateur.


Pages: 1