On Sun, 10 Jan 2021 at 09:45, Andreas Linnarsson
<andreas.linnars...@gmail.com> wrote:
>
>  Andy: Here's my first shot at using the HAL scope. As you can se the motor
> is stopped as soon as the pocket sensor that it backed away from triggers
> again. Thus the current-position increase at every push of the "fwd jog"

There is no obvious sign of the new line (curent_position -= 1) taking effect.

I think the trace needs to include the carousel.N.state parameter, so
we can follow the flow through the logic.

But, my first thought is that jogging uses state-5, whereas tool
change uses state-2 -> state-3 ->  state-4.
The state-5 logic is rather different (and does not include the timer
logic for the reverse lock move)

In fact I would say that the jog logic might be broken for your style
of tool changer.

You shouldn't actually need an M6 remap to run the carousel component,
it should connect to the standard HAL pins.
Part of the point of carousel was to remove the need of a remap in many cases.

It should just need iocontrol.0.tool-change connected to "enable" and
iocontro.0.tool-changed connected to "ready" in addition to the links
you already have.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to