The M6 command also has an output that can be enabled (a single pulse that comes on whenever the M6 command is issued. It stays on for a fixed amount of time). The manual states that the M6 command sends out a number of pulses equal to the tool number, but this is not correct. It sends out one pulse no matter what. I'm using the M6 command for toolchange, and the M73 to check for PLC input (when the ATC is done, it will tell TCNC that it can continue with the program).


LinkBack URL
About LinkBacks
). After some thinking I ended up with this design which uses a M71 and M70 commands. All electronics contains a couple of relays and some simple logic IC (SN74xx series). When it came to replace a tool (M06 M71 Txx command) TCNC make defined LPT port output active which enables toolchanger logic. In next step we need to enter a tool number from keypad-it starts an asinchronous motor to move an instrumental disc. If position is the same with choosed tool, circuit reverses motor spining direction. When disc became fixed it push the end switch- it disable motor spining. Thats all folks! Tool is changed and we can push the button OK and lathe can continue work. You can see a concept of the circuit in attached picture (circuit is done in simulator so it is slightly simplified). I hope that I will make a PCB this week. Cant wait to see it working!





