Hello Guest it is March 29, 2024, 12:42:09 AM

Author Topic: Rotary spindle encoder setup  (Read 1471 times)

0 Members and 1 Guest are viewing this topic.

Rotary spindle encoder setup
« 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)

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Rotary spindle encoder setup
« Reply #1 on: May 22, 2019, 06:14:41 AM »
depends on what Hardware (Controller/PP) you are using.
ive us some more Information about your Hardware (Manuals Pictures).
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Rotary spindle encoder setup
« Reply #2 on: May 22, 2019, 06:38:35 AM »
I am really new to this.
Some pics of the lathe and controller
Re: Rotary spindle encoder setup
« Reply #3 on: May 22, 2019, 06:40:13 AM »
Another pic

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Rotary spindle encoder setup
« Reply #4 on: May 22, 2019, 08:27:08 AM »
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

anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Rotary spindle encoder setup
« Reply #5 on: May 22, 2019, 08:36:27 AM »
Thank you so much for your assistance so far.
I will definitely try this tonight.

Much appreciated.

Adriaan

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: Rotary spindle encoder setup
« Reply #6 on: May 23, 2019, 07:21:16 AM »
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.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.