Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Adriaan on May 22, 2019, 04:31:22 AM
-
Good day
I bought a Optimum lathe that has the stepper motors fitted by Optimum.
It however did not have a spindle encoder for spindle speed / thread cutting.
I received a rotary spindle encoder from Optimum and fitted it.
The rotary spindle encoder plugs in with the limit switches at the Ref Switch plug on the controller.
I would really appreciate if someone can help me with the setup of this.
Regards
Adriaan (South Africa)
-
depends on what Hardware (Controller/PP) you are using.
ive us some more Information about your Hardware (Manuals Pictures).
-
I am really new to this.
Some pics of the lathe and controller
-
Another pic
-
did a Little bit of searching. all i found is this pinout:
Pin assignments for the DB 25 male is
Pin Application Description
1 RELAY Switch output eg (motor on)
2 Direction X axis
3 Cycle X axis
4 Direction Y axis
5 Cycle Y axis
6 Direction Z axis
7 Cycle Z axis
8 4th Axis
9 4th Axis
10 Free
11 References switch Z
12 References switch Y
13 References switch X
14 RELAY Output eg coolant
15 Reference switch 4th axis
16 - 24 Free
25 OV DC, Earthing
The 9 pin connection pins are as follows for the reference switches
1 X1 Machine point of origin port 1 X Axis
2 Y1 Machine point of origin port 1 Y Axis
3 Z1 Machine point of origin port 1 Z Axis
4 ROUND TABLE
5 +12V DC
6 X2 Machine point of origin port 2 X Axis
7 Y2 Machine point of origin port 2 Y Axis
8 Z2 Machine point of origin port 2 Z Axis
9 OV DC
but not Information on witch port/pin's the Rotary Encoder will Show up.
maybeyou can run a parallel port test tool like this: http://www.xlentelectronics.nl/LPTTest/LPTTestUtilx64r.htm
and have a look witch Inputs are flashing if you turn the Encoder.
i assume you run at parallel port of your PC
-
Thank you so much for your assistance so far.
I will definitely try this tonight.
Much appreciated.
Adriaan
-
found some german documantation witch says Encoder index pulse is connected to pin15.
but no Information wether port1 or port2.
you can try and error, just set up ports/Pins -> Inputs -> Index to pin15 and
when you turn spindle by Hand you should see something in diagnostic Screen from turn screenset.