On Saturday 31 October 2015 20:56:53 Gene Heskett wrote:

> On Saturday 31 October 2015 06:42:25 andy pugh wrote:
> > On 31 October 2015 at 02:59,  <[email protected]> wrote:
> > >if the Carousel is not homed, and I set "enable" true, it should
> > > stop rotating when it sees the sense.0 pin "home position" go
> > > true, then report back out on the carousel.0.current-position as
> > > being pocket 1 correct?
> >
> > It needs to see both the index and the pocket pin, ie it will
> > consider itself homed when it sees sense0 and sense1 go true.
> >
> > > And this should be done with out telling it go to pocket 1 on the
> > > carousel.0.pocket-number input during the homing routine?
> >
> > No, it will "stick" in state 1 until the pocket-number pin is >=1
> > and <= num-pockets.
> >
> > > Reason I ask, the only way I could get it to stop on the home
> > > position switch " pocket 1" during homing, was to use an
> > > assignment block in my ladder logic that I set to "1", at the same
> > > time I start the carousel homing sequence. Then it works as
> > > intended I believe.
> >
> > You need to give it a pocket number to go to before it will get to
> > the "finished" state. There is probably a bit of an error there, as
> > setting enable in the either the homed or un-homed state without
> > providing a pocket number will leave it "stuck" in state 1, and it
> > will stay there even if enable goes false.
> >
> > So, if you want to home the carousel as part of the homing sequence
> > you currently have to supply a pocket number to go to during that
> > sequence. I should probably change things slightly so that enable
> > going to false always takes the component back to state 0.
>
> Where can I get the source Andy?
>
> What I have in mind will take quite some interaction between the
> machine and this component.
>
> What I have in mind would follow this general outline of action when
> an M6 Tx is encountered.
>
> 1.The first thing is to run the head to the top of the post.
>
> 2. When the head has arrived, trigger a motor to swing the changer
> from its parking position to the right of the post, bringing its wheel
> into position under the spindle. This pocket would belong to the
> loaded tool, which if its in the spindle, would be empty.
>
> 3. At this point, start the spindle at about 20 revs in fwd.  At the
> same time, run another motor attached to the gearshift, while the
> wrench is looking to grab the drawbar.
>
> 4. I'll have a switch there to tell LCNC or the carousel that the
> wrench is engaged. Give it about half a turn of slack.  When the motor
> is stalled against the wrench, reverse the motor to fwd and raise the
> speed to 120% for perhaps 1/2 second, then back to 20 rpms still in
> fwd for perhaps another second, which should drop the TTS adaptor into
> the empty pocket.
>
> 5.  Raise the head about 2.25" for turning clearance, then tell
> carousel what tool pocket is needed next & turn the wheel until that
> pocket and tool is under the spindle.  Lower the head, running in
> reverse until its pushing gently on the TTS big ring or has engaged
> the drawbar, possibly clearing the bottom of the tool pocket by a
> couple thou.
>
> 6. If this condition can be detected, (switch on the wrench?) hit the
> motor with about 40% fwd power for a very short (.1 seconds?) time to
> back it away from the stop, then bang it with 30% until its stalled,
> giving it a bit of a run before it hits the stop, which will snug the
> R8 up on the adapter quite nicely.
>
> 7. Run the head up enough to lift the adapter out of its pocket, and
> swing the whole thing back out of the way to the right of the post.
>
> 8. Carousel will obviously need help since it will also be controlling
> Z movements in addition to whailing away on the spindle motor, AND be
> running 2 other motors at the same time.  All in the proper sequence.

Correction, 4 motors or? because moving the carousel will need two and 
the drawbar wrench is 3, and the head into low gear is 4. All 2 way 
motions.

> Homing it should consist of finding pocket 1, and then recording any
> empty pockets.
>
> I have a handfull of 52oz/in steppers, one of which could run the
> swing mechanism, and a handfull of geared steppers that could do away
> with the pocket motions by just issueing the correct # of steps to
> take it to the next pocket.  Ditto for the swing power, one of these
> geared down steppers could be enabled to run until it hits the switch,
> 2, one in the parked position & one to stop it under the spindle. 
> With my 500hz charge pump as stepper drive, I could probably hack that 
up in the .hal file.
>
> But that will still need another 4 or 6 bit pins out of carousel to 
steer & sequence all the .hal stuffs.
>
> A scan of the wooden wheel I made today is attached.  The smaller,
> fuzzy inside hole just clears the TTS nut.  Carved in 1/2" alu, it
> should work well once the motors & driver electronics are sorted.
>
> Cheers, Gene Heskett


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to