Hello Guest it is March 28, 2024, 09:52:01 PM

Author Topic: Getting small movements which not supposet to..  (Read 25778 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Getting small movements which not supposet to..
« Reply #30 on: June 06, 2013, 02:45:48 AM »
Are you using the parallel port or an external controller such as the SmoothStepper?
Hood
Re: Getting small movements which not supposet to..
« Reply #31 on: June 06, 2013, 02:56:22 AM »
I'm using SS, USB.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Getting small movements which not supposet to..
« Reply #32 on: June 06, 2013, 02:58:02 AM »
Ok encoder index will work great. I would suggest you connect it to Port3  as they are likely a bit faster seeing as they are intended for encoder input.
Hood
Re: Getting small movements which not supposet to..
« Reply #33 on: June 06, 2013, 03:55:54 AM »




Assigning Pins:
A-Port # = 3
A-Pin #= 1

B-port # =3
B-pin # = 2

As for Index....

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Getting small movements which not supposet to..
« Reply #34 on: June 06, 2013, 04:29:37 AM »
As far as I know the SS does not support full encoder input for syncing Z to spindle so there is no real benefit of connecting the A and B channels.
You do however want to connect the Z signals, if it is a differential encoder then connect Z+ and Z- to the differential pins on port 3. You then go to Ports and Pins, Inputs and scroll down to Index and enter Port3 and whatever pin you have the index connected to.
In Config, Spindle Pulleys you make sure you have your Max and Min speed  set and also set the ratio to 1 (assuming encoder is direct connection to spindle)
You should now have spindle speed readout when you command a spindle rotation (M3 or M4) The Index will also be used for lathe threading.
Hood
Re: Getting small movements which not supposet to..
« Reply #36 on: June 06, 2013, 10:33:02 PM »
This came to my mind, If M03/M04  is called it won't start the spindle Automatically because it is using a Variable speed controller connected to CN1B, If I take the CN1A step and Dir wires to SS port 1 Pin 8 & 9, what else do I need to configure in order to make it spin when M03 command is called?



Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Getting small movements which not supposet to..
« Reply #37 on: June 07, 2013, 02:46:08 AM »
What is CN1A and CN1B?
Hood
Re: Getting small movements which not supposet to..
« Reply #38 on: June 07, 2013, 03:58:10 AM »




When connecting to BOB CN1A is used, if using varialble speed control mode CN1B is used:


Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Getting small movements which not supposet to..
« Reply #39 on: June 07, 2013, 04:20:14 AM »
Yes, definitely set it up as Step/Dir spindle, it will work much better with one exception. Spindle override with the SS/ESS and Step/Dir spindles is not perfect, unless it has been sorted recently, I waited for  3 years but it never got done and I have now moved on. With a light spindle you may not notice the problem as it is not nearly so noticeable on my mill as it was on the big lathe. Other than that however it works very well.

Hood