Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: Beer1970 on January 15, 2020, 01:54:54 AM

Title: Turning Wizard
Post by: Beer1970 on January 15, 2020, 01:54:54 AM
Good day.
Can I get info how to write my own wizard.
From scratch. FOR DUMMIES. ME as the dummy.
Thanks
Title: Re: Turning Wizard
Post by: Tweakie.CNC on February 02, 2020, 02:30:07 AM
This would be a good place to start;
 https://www.machsupport.com/wp-content/uploads/2013/02/Mach2_6.11_Custom.pdf
Title: Re: Turning Wizard
Post by: Beer1970 on March 10, 2020, 10:18:08 AM
Good day.I have a inductive proximity switch fitted to my lathe with a Mach3 mod. It is a AE1/AP-1A.I want to use it foe speed and threadcutting. It is set up on my spindel to read once per revolution. Can you help me with the wiring and setup on pins and ports please? It is a PNP switcj.with 3 wires. Brown Black and Blue. Thank you
Title: Re: Turning Wizard
Post by: TPS on March 11, 2020, 04:23:34 AM
first off all we Need to know witch BOB/Motion controler you are using.
Title: Re: Turning Wizard
Post by: Beer1970 on March 11, 2020, 05:52:40 AM
Hi. I have a Mach 3. Motion card
MKX-IV
Usb conection
Title: Re: Turning Wizard
Post by: TPS on March 11, 2020, 06:32:23 AM
in this case you have to use a NPN sensor.
Title: Re: Turning Wizard
Post by: Beer1970 on March 11, 2020, 07:15:36 AM
Thank you. So if I change the PNP TO A NPN IT WILL WORK? I AM NOT SO CLUED UP ON ELECTRONICS.
Title: Re: Turning Wizard
Post by: TPS on March 11, 2020, 07:53:42 AM
Normaly yes, but you never know on this chinese stuff, until you have tryed it.
Title: Re: Turning Wizard
Post by: Beer1970 on March 12, 2020, 06:58:23 AM
Thanks. I got a npn switch. Can you help me with the pin and ports please. I have it wired to the OV and 6-24V and pin 14 on input control ports. 
Title: Re: Turning Wizard
Post by: TPS on March 12, 2020, 07:10:21 AM
IMHO i would say set INDEX Input to port 1 pin 14.

but i do not have any documentation of your controller