Electronic Lead Screw Project

Advert

Electronic Lead Screw Project

Viewing 25 posts - 226 through 250 (of 285 total)
  • Author
    Posts
  • #501999
    Roy Vaughn
    Participant
      @royvaughn26060

      James has just released another video describing his software modifications. He does now disable all buttons except feed rate settings while the spindle is turning, with a configuration option to disable the latter also. Time to replace my version.

      Roy

      Advert
      #502006
      Tony Pratt 1
      Participant
        @tonypratt1

        I'm going to leave well alone atm, if I get a problem later on I will get the change done to the latest update but the control panel is currently behaving itself.thumbs up

        Tony

        #505145
        Tony Pratt 1
        Participant
          @tonypratt1

          Grr, installed the TI board etc in it's final location but now playing up with random data changes! I tried to install latest software but I think my micro USB cable is kaput so waiting for a new one so i can flash the board. I'm also going for a CAT5 unscreened cable as per Clough42 installation but my question is how is best to connect the 3 data earths to the board earths, are there any relevant YouTube vids or websites? I've now got a spare keypad on top of the electronics enclosure [cable about 2" long] & all is steady again so it must be the screened cable I'm using?? Can't believe how frustrating this is.

          Tony

          #505150
          Alan Wood 4
          Participant
            @alanwood4

            There is a later video on YT by Clough that explains how he wired the CAT5 and also explaining the software changes.

            I confess I ignored James' recommendations and grounded everything to everything via the enclosure connector panel.

            Alan

            #505157
            Tony Pratt 1
            Participant
              @tonypratt1

              Alan,

              Thanks for that!

              Tony

              #505184
              Roy Vaughn
              Participant
                @royvaughn26060

                Hi Tony, I tried Cat5 cable as suggested on this forum but it performed worse than the screened cable I had previously tested. My control panel is housed in a die cast box so I was able to connect it to earth as well via the screen and it helped. However, I couldn't get the noise down to zero (a glitch every few hours) which is why I was forced to implement the changes to the original software release I have mentioned previously. James has now implemented these changes and more. I regard them as essential for safety. Roy

                #505185
                Tony Pratt 1
                Participant
                  @tonypratt1

                  Thanks Roy, I'm going to update the software asap.

                  Tony

                  #509305
                  Dennis R
                  Participant
                    @dennisr

                    Problem with ELS

                    Having set up my hardware on the lathe using a stepper/servo motor and driver CL57Y , the motor encoder resolution being 1000 and the motor to leadscrew drive being 1:2 ratio. Decided to test the set up whilst all the electrical side was still on the bench, with a light cut on scrap went through most of the thread TPIs and feed rates and all seemed well.
                    Finally finished fitting all cabling and installing in cabinet, upgraded to software version 1.301.

                    However on attempting to cut a 20 tpi thread it turned out very rough and difficult to see exactly why, so cleaned up end of bar, blackened with permanent marker, changed to 8tpi, put on 0.003" cut and got a perfect first pass, but on second pass with same 0.003" cut was approx 1/16" away and on subsequent cuts filled the bar end. Even tried changing software back to version 1.1 made no difference. See photos
                    Could this be an encoder or a software problem?
                    Any help much appreciated.

                    photo 1.jpg

                    photo 2.jpg

                    photo 3.jpg

                    photo 4.jpg

                    Thanks Dennis

                    #509306
                    Mike Poole
                    Participant
                      @mikepoole82104

                      Are you engaging the half nuts at the correct indicator figure? Try leaving the half nuts engaged and reversing the lathe back to the start as you would with metric threading.

                      Mike

                      #509309
                      Dennis R
                      Participant
                        @dennisr

                        The half nuts were left engaged and the lathe reversed after backing off the cut.

                        Dennis

                        #509323
                        Tony Pratt 1
                        Participant
                          @tonypratt1
                          Posted by Dennis R on 22/11/2020 23:30:58:

                          The half nuts were left engaged and the lathe reversed after backing off the cut.

                          Dennis

                          I have zero knowledge of electronics but if you are 100% sure there is nothing wrong mechanically [nothing loose etc. etc.] I would imagine it is the code you put in? I suggest you double check all your parameters & settings & please report back, also check you have got the right lead screw pitch specified.

                          Tony

                          #509327
                          Roy Vaughn
                          Participant
                            @royvaughn26060

                            Difficult to imagine how this could be caused by the electronics. As Tony says, more likely to be a mechanical issue, e.g. pulley loose on shaft.

                            Roy

                            #509333
                            simondavies3
                            Participant
                              @simondavies3

                              Dennis,

                              Some thoughts:

                              1. backlash through the encoder – so when you go from forward to reverse there are a number of missed pulses.
                              2. stepper missing steps – maybe at the point of reverse direction, maybe during the screwcutting run or when returning
                              3. noise into the encoder path
                              4. since you keep the halfnuts engaged, I don't think the issue can be the config settings since errors here should only result in incorrect pitches/TPIs and not a loss in sync

                              #1 would appear to be most consistent with the reported symptoms – missing pulses to lose the sync between the leadscrew and the mandrel.

                              #2 again, I can only see this related to the change of direction at each end of the run. Any inconsistency during the cutting run should be visible as a lack of parallelism between the first and second cuts.

                              #3 same as above…

                              I can run my ELS by turning the mandrel by hand so in your case, I would:

                              • put a long throw dti on the bed/saddle junction to see how much the saddle moved when I moved the mandrel by a full turn
                              • observe the effects of reversing direction

                              Both observations may shed more light on what is going on and turning the mandrel by hand will also eliminate your motor as a noise source.

                              Also, check that the various 0V connections are not linked – in particular, the Launchpad 0V and those for the stepper driver – including screen path connections.

                              Hope this helps, I have had my ELS running for a couple of weeks and it is really good once it is running.

                              Simon

                              #509486
                              Dennis R
                              Participant
                                @dennisr

                                Thankyou for the replies and suggestions, over the next few days will check everything that I can and report back hopefully reporting a success.

                                Thanks again

                                Dennis

                                #509607
                                Lofty
                                Participant
                                  @lofty83899

                                  Dennis, may be you have your encoders mixed up, the motor encoder 1000 pulses per rev used for tracking missed steps and setting the alarm state via the driver and the spindle tracking encoder, the ones I have is

                                  1024 x 4 = 4096.

                                  #define ENCODER_RESOLUTION 4096

                                  Lofty

                                  #509620
                                  Alan Wood 4
                                  Participant
                                    @alanwood4

                                    Not sure if it is relevant but a good check that all is well would be to set the TPI setting on the control panel so it matches the leadscrew characteristic and then put an optical tacho on the leadscrew and see if it matches the control panel readout.

                                    I put a request into James to have an enhancement whereby there was an ability on the control panel to get a readout of the user settings as feedback that the config was set to what was expected.

                                    I had a similar problem to Denis but not as severe which was a mixture of the slop on the end of the leadscrew and slop on the half nut.

                                    Alan

                                    #510068
                                    Dennis R
                                    Participant
                                      @dennisr

                                      A quick update.
                                      Checked all the pulleys tight on the shafts and belt tension sufficient.
                                      Set up DTI to check saddle movement with one turn of spindle when set to 8tpi and got 0.125.
                                      Reversed spindle to pass start position, then forward to take out any backlash until chuck marks lined up and got 0.125 again. Also checked leadscrew speed against tacho on control box and they tallied.
                                      Tried screw cutting again with similar results as before.

                                      Finally got a very good thread 3/8" x 16tpi ( thread picked because had a nut and die ), by leaving the half nuts engaged but using the VFD reverse function rather than reverse on the control box.

                                      Thanks again for the tip Alan

                                      So will leave for now, more experimentation if time allows.
                                      Thanks for all the replies.

                                      Dennis

                                      #510711
                                      Dennis R
                                      Participant
                                        @dennisr

                                        Further update.

                                        Somewhere along the line of building and installing the ELS I missed or skipped the Part 7 Video by Clough42 see

                                        ( https://www.youtube.com/watch?v=10Ketpqq-eM )

                                        on metric and hybrid threading. In this video he cuts imperial threads on an imperial lathe using a thread dial indicator ( ie opening and closing the half nuts ) and metric threads leaving the half nuts closed and reversing with the forward/reverse switch on the lathe itself.
                                        The reverse function on the ELS control box he uses for left hand threads.

                                        So problem solved I think.

                                        Dennis

                                        #510890
                                        Tony Pratt 1
                                        Participant
                                          @tonypratt1

                                          Dennis, sorry I should have picked that up as another possibility but forgot to ask what combination of imperial/metric you were working with. I have a metric Warco & the only thread I have cut so far was imperial in which i did indeed use the lathe forward & reverse to achieve a good result. Let us know if you have any more problems as I'm very interested in this project.

                                          Tony

                                          #514716
                                          Graham Titman
                                          Participant
                                            @grahamtitman81812

                                            Could somebody give me some help i cannot get the ELS software to go on the Code Composer studio work space every time i click on the download folder it just keeps breaking it up into smaller and smaller folders.When you watch James you tube number 10 on flashing the board he just drags it into the workspace and CCS just extracts it.I am useing win 10 home 64bit it will not put the folder anywhere just smaller and smaller folders then puts a few lines in from the extraction.Thanks Graham

                                            #514725
                                            Roger Clark
                                            Participant
                                              @rogerclark

                                              Are you holding the mouse button down while dragging onto code composer?

                                              #514727
                                              Graham Titman
                                              Participant
                                                @grahamtitman81812

                                                Hi yes i tried that and deleted the program and reinstalled it

                                                Edited By Graham Titman on 21/12/2020 11:02:02

                                                #514733
                                                Roger Clark
                                                Participant
                                                  @rogerclark

                                                  Have you tried file open, navigate to the folder etc?

                                                  #514762
                                                  Graham Titman
                                                  Participant
                                                    @grahamtitman81812

                                                    Hi Rockingdoge i have put four photos in my album ELS i think they will come up in the order that i am trying to load the software i hope you can see where i am going wrong Thanks Graham

                                                    #514795
                                                    Roger Clark
                                                    Participant
                                                      @rogerclark

                                                      start up code composer, you should see 'import project', click on that and use browse from the window that opens and go to your 'electronic-leadscrew-1.3.01' folder, open it and highlight the 'els-f280049c' folder and then click finish if your project has appeared in the window.

                                                      That should get your ELS code into composer. If you need further help ask in this thread as others have got a lot further than I have. wink

                                                      Best of luck devil

                                                      Roger

                                                    Viewing 25 posts - 226 through 250 (of 285 total)
                                                    • Please log in to reply to this topic. Registering is free and easy using the links on the menu at the top of this page.

                                                    Advert

                                                    Latest Replies

                                                    Viewing 25 topics - 1 through 25 (of 25 total)
                                                    Viewing 25 topics - 1 through 25 (of 25 total)

                                                    View full reply list.

                                                    Advert

                                                    Newsletter Sign-up