148
« on: November 06, 2017, 01:26:18 PM »
Rich,
The problem of Mach 3 being able to run an axis continuously is the whole problem for turn/mill machines. Currently my machine has DL06 plc in it that handles all the I/O like coolant, two different mill spindles and 3d printing extruder, lights, vacuum, heat for 3d printing etc.
I just got a DoMore BRX plc to replace the DL06. AWESOME little PLC! It has analog inputs and autotune PID to control heaters and such. Analog outputs to control spindle speed for conventional drives that don’t use PWM, and can accept PWM from Mach 3 and translate it. It has high speed inputs for encoders, and high speed outputs to drive servos or steppers and can do 2 axis coordinated motion on its own. It speaks modbus, USB, Ethernet, serial Rs232 and Rs485.
So I am going to drive my lathe spindle stepper driver through a double pole double throw relay getting pulses for postiong as 4th axis from Mach 3 or as spindle drive from BRX reading Mach 3 PWM spindle output. It can also generate an index pulse for threading. The analog inputs will read the thermocouple sensors from the 3d extruder and the heated bed and PWM outputs to the heater solid state relays will control temperature. M code inputs from Mach 3 can turn heat on and off and change set points. I am hoping this will end all the crazy work arounds and give me capabilites for othe stuff like an auto tool changer too.