Spindle indexing signal direction
14 Feb 2022 19:58 #234859
by rider-83
Replied by rider-83 on topic Spindle indexing signal direction
Oh, OK. Good call.
I'm going to have to make a trip to the workshop for the sample code.
This is a syntax example:
G76 P- Z- I- J- R- K- Q- H- E- L-
I'm going to have to make a trip to the workshop for the sample code.
This is a syntax example:
G76 P- Z- I- J- R- K- Q- H- E- L-
Please Log in or Create an account to join the conversation.
14 Feb 2022 20:01 #234860
by rider-83
Replied by rider-83 on topic Spindle indexing signal direction
By the way Clive, some months back I used your ATC code on my Boxford and It worked faultlessly without issue. I thought I was in for a rough ride getting the ATC working until I used your code. So thanks very much for that.
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
14 Feb 2022 22:23 #234868
by Clive S
This is what I use for a 10mm thread on my Myford (not sure if you are using a Boxford ie back tool M4)
G0 G40 G18 G80 G21 G49 G95
G90 G7
( it needs an F number otherwise it doe not work)
F1.5 S470
M3
G4 P1
M7
(Change the fist X to the Dia P = the Pitch K = Thread depth)
G0 X10 Z10
G76 P1.5 Z-12 I-0.1 J0.1 R1 K1.5 Q29.5 L0 H1
g0 X30
g0 Z50
M9
M5
M2
%
Replied by Clive S on topic Spindle indexing signal direction
Oh, OK. Good call.
I'm going to have to make a trip to the workshop for the sample code.
This is a syntax example:
G76 P- Z- I- J- R- K- Q- H- E- L-
This is what I use for a 10mm thread on my Myford (not sure if you are using a Boxford ie back tool M4)
G0 G40 G18 G80 G21 G49 G95
G90 G7
( it needs an F number otherwise it doe not work)
F1.5 S470
M3
G4 P1
M7
(Change the fist X to the Dia P = the Pitch K = Thread depth)
G0 X10 Z10
G76 P1.5 Z-12 I-0.1 J0.1 R1 K1.5 Q29.5 L0 H1
g0 X30
g0 Z50
M9
M5
M2
%
Please Log in or Create an account to join the conversation.
15 Feb 2022 06:10 #234890
by rider-83
Replied by rider-83 on topic Spindle indexing signal direction
The use of that F1.5 is interesting. What is happening there ?
Yes, it is a Boxford using M4.
Yes, it is a Boxford using M4.
Please Log in or Create an account to join the conversation.
15 Feb 2022 06:20 - 15 Feb 2022 08:25 #234891
by rider-83
Replied by rider-83 on topic Spindle indexing signal direction
When the spindle is turning using M4, should the 'B' Phase be leading 'A' ?
Also,
I feel a bit of a challange. The spindle servo drive has a differential encoder with A+ A- / B+ B- / Z+ Z-
Is it possible to connect LinuxCNC to this type encoder? I assume there will be the need of a special counter circuit?
Should I start a thread based on this project?
Also,
I feel a bit of a challange. The spindle servo drive has a differential encoder with A+ A- / B+ B- / Z+ Z-
Is it possible to connect LinuxCNC to this type encoder? I assume there will be the need of a special counter circuit?
Should I start a thread based on this project?
Last edit: 15 Feb 2022 08:25 by rider-83.
Please Log in or Create an account to join the conversation.
15 Feb 2022 18:05 #234962
by Clive S
I think that using the servo drive encoder might be too fast for the PPort.
The problem with the rpm showing up and down might need a filter. Not sure though
It might help to move that to a new post and hope PCW will take a look.
Don't forget to add the config files
Replied by Clive S on topic Spindle indexing signal direction
When the spindle is turning using M4, should the 'B' Phase be leading 'A' ?
Also,
I feel a bit of a challange. The spindle servo drive has a differential encoder with A+ A- / B+ B- / Z+ Z-
Is it possible to connect LinuxCNC to this type encoder? I assume there will be the need of a special counter circuit?
Should I start a thread based on this project?
I think that using the servo drive encoder might be too fast for the PPort.
The problem with the rpm showing up and down might need a filter. Not sure though
It might help to move that to a new post and hope PCW will take a look.
Don't forget to add the config files
Please Log in or Create an account to join the conversation.
15 Feb 2022 21:03 #234980
by rider-83
Replied by rider-83 on topic Spindle indexing signal direction
Yes, I might start a new thread for this one. Its defiantly got me interested, and I think other people could make good use of it too.
I have a parameter on the drive module to vary the PPR all the way down to 16.
So I could set it at 100 as per usual Boxford.
I've done some digging around and found an appropriate IC to rectify the +/- Phase signals to just A,B etc.
Also there are some ready built suitable optocouplers, but I did notice complete opto counter units designed to handle all the servo encoder signals ready for the LPT port. Just a little pricey for a hobby project though.
I have a parameter on the drive module to vary the PPR all the way down to 16.
So I could set it at 100 as per usual Boxford.
I've done some digging around and found an appropriate IC to rectify the +/- Phase signals to just A,B etc.
Also there are some ready built suitable optocouplers, but I did notice complete opto counter units designed to handle all the servo encoder signals ready for the LPT port. Just a little pricey for a hobby project though.
Please Log in or Create an account to join the conversation.
15 Feb 2022 21:31 #234982
by rider-83
Replied by rider-83 on topic Spindle indexing signal direction
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
15 Feb 2022 22:33 #234987
by tommylight
Replied by tommylight on topic Spindle indexing signal direction
If the encoder is 5V, there is no need for anything, just use the A+, B+, Z+ signals and GND, leave all the other wires not connected.
Please Log in or Create an account to join the conversation.
16 Feb 2022 06:14 #235011
by rider-83
Replied by rider-83 on topic Spindle indexing signal direction
I've seen other thread suggesting that method, and was wondering if that would be succsessful. What are the advantages/disadvantaegs of using only + signals rather that +/- ?
From what I can understand from the manual, I can supply a voltage upto 30vdc to the encoder. So I think I can use my existing 5v supply that I'm using already.
From what I can understand from the manual, I can supply a voltage upto 30vdc to the encoder. So I think I can use my existing 5v supply that I'm using already.
Please Log in or Create an account to join the conversation.
Time to create page: 0.086 seconds