Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: toad_master45 on November 14, 2009, 10:25:49 AM
-
i have landed my self thr job of converting a denford easyturn3 lathe all is going well for the basic convertion. However i now need to get mach3 to talk to the toolchanger, it is an 8 position turret running from 24ac, the board that runs it orignally is fairly simple, there is a manual activate switch and then 3 opti sensors that tell where it is but these are about 12volts high. was planing to use a relay to run the manual over ride and then when it get the right responce from he opti sensors stop but i have no real idea how to do this any help would be much apricated
Thanks Tom
-
Basically what I did with my Dorian Power Dex is write out a flow chart of what needs to happen and when.
Then you need to write a macro in VB to do these things.
The motor is pretty easy.
You just need a run and direction relay.
That can be handled with two outputs.
Mine was a little more involved because I used a stepper to rotate the turret.
The inputs will depend on how the turret works.
I used a second Printer port to provide the inputs and outputs.
There should be no need for a separate manual turret activation.
You can accomplish the same thing with a VB button in mach.
If you only need to go in one direction the logic is simple and you can eliminate the direction relay.
If you want shortest path it gets more involved.
Monty