21
General Mach Discussion / Re: Mach 3 outputs and e stop behavior
« on: February 10, 2018, 12:12:16 AM »
Hi Russ,
yes 2 outputs total per vise per se, since i ultimately desire to control each vise independently. if you look at the movements in the video i posted earlier, i have 10 macros basically, 1 to open/close all vises, and 1 to open close each vise independently. in the video i make use of all macros to get that sequence. So that uses 4 outputs which is all i have actually per card free in my current config. the macros are all basically de/ActiveateSignal(xx), there is not much magic there and it works nicely other than the estop issue.
i also have 2 larger cncs than shown in video that can hold actually 8-10 of such vises so i try to keep the io required as low as possible for now which is why originally i had bought a modbus relay card to expand the output capability of my machines, and intended to not even use any of the outputs from the controller cards since there are only a few free on the cards i have.it;s possible eventually this card will work out but i spent about 3 days reading and trying things, and beyond the modbus setup window i could not get mach3 to communicate with the card, so i gave up.
re voltages of device:
the cnc card is a "leafboy77" card that has open drain outputs so you can use whatever voltage yo would like. in all my cabinets i have a 24v supply for most things and then either a 48 or 60v supply for the steppers. so i have 24 v relays and air solenoids etc. since the leafboy outputs are open drain it is no problem to interface them with 5V arduino but i did not think hard enough about then putting the arduino on the relays i have wired to the air solenoids which require 24V.
re: electric vise
probably i should have said pneumatic vise, because it is actually just an air cylinder with a jaw on it. by electric i just meant it is controlled electronically, with an air solenoid, very similar to the collet example you gave in your own work i would guess. so the solenoid directs the air to either open or close the vise. i can take more pictures on monday if you are interested in how it is setup. but is basically mach3->leafboy77 card->a bunch of relays and water pumps etc at 24V and a bunch of steppers at 48-60 VDC + a vfd.
have a great weekend!
yes 2 outputs total per vise per se, since i ultimately desire to control each vise independently. if you look at the movements in the video i posted earlier, i have 10 macros basically, 1 to open/close all vises, and 1 to open close each vise independently. in the video i make use of all macros to get that sequence. So that uses 4 outputs which is all i have actually per card free in my current config. the macros are all basically de/ActiveateSignal(xx), there is not much magic there and it works nicely other than the estop issue.
i also have 2 larger cncs than shown in video that can hold actually 8-10 of such vises so i try to keep the io required as low as possible for now which is why originally i had bought a modbus relay card to expand the output capability of my machines, and intended to not even use any of the outputs from the controller cards since there are only a few free on the cards i have.it;s possible eventually this card will work out but i spent about 3 days reading and trying things, and beyond the modbus setup window i could not get mach3 to communicate with the card, so i gave up.
re voltages of device:
the cnc card is a "leafboy77" card that has open drain outputs so you can use whatever voltage yo would like. in all my cabinets i have a 24v supply for most things and then either a 48 or 60v supply for the steppers. so i have 24 v relays and air solenoids etc. since the leafboy outputs are open drain it is no problem to interface them with 5V arduino but i did not think hard enough about then putting the arduino on the relays i have wired to the air solenoids which require 24V.
re: electric vise
probably i should have said pneumatic vise, because it is actually just an air cylinder with a jaw on it. by electric i just meant it is controlled electronically, with an air solenoid, very similar to the collet example you gave in your own work i would guess. so the solenoid directs the air to either open or close the vise. i can take more pictures on monday if you are interested in how it is setup. but is basically mach3->leafboy77 card->a bunch of relays and water pumps etc at 24V and a bunch of steppers at 48-60 VDC + a vfd.
have a great weekend!