ECMO VMC100 Retrofit with Carousel/Toolchanger

More
1 year 1 month ago #334699 by hitchhiker
i have only sense 0 and sense 1 linked. sense 0 is index and sense 1 is the sensor on the slotted disc. i use index configuration.

strobe is everytime high. i dont know to what i need it to llink. sense 1 and strobe together?!

Please Log in to join the conversation.

More
1 year 1 month ago #334701 by hitchhiker
The issue is in the hal... i delete the hal with failures ... not that someone use it and wondering...

Please Log in to join the conversation.

More
1 year 1 month ago #334702 by andypugh
You might want to insert the carousel in one of these loops.
(depending on the style of the toolchanger)
Code:
net tool-change-confirmed iocontrol.0.tool-changed <= iocontrol.0.tool-change net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

Often you will have
Code:
net tool-prep iocontrol.0.tool-prepare => carousel.0.enable net tool-ready carousel.0.ready => iocontrol.0.tool-prepared

This is not always the case, though.
The tool-prep handshake is typically used with random toolchangers, where there is a tool swapper. If you need to put away the current tool first, then tol-prep will be looped, and the logic will be in the tool-change handshake.

You should probably toggle "tool changed" from your tool-change ngc file. That ensures that the system stops if there is a failure in the tool change routine.

Please Log in to join the conversation.

More
1 year 1 month ago #334704 by andypugh
You can link both sense0 and strobe with something like:
Code:
net carousel-index-filtered carousel.0.sense-0 carousel.0.strobe

Though I think that strobe defaults to high, so can often be left unconnected.

Please Log in to join the conversation.

More
1 year 1 month ago #334708 by hitchhiker
yes strobe is always high thats why i never connect it. now i hae connect it with sense-01 which is the counter.

the stuff about linking into tool-prep stuff i would done when everything works... but fromm there i am far away.. on the table with switches it works.. on the machine... it shoots over.. or stops in the middle ... cant discribe .. its terrible... thats why i was thinking to debounce via hardware like its original.. original control works flawless.

Please Log in to join the conversation.

More
1 year 1 month ago #334711 by andypugh
Maybe the real sensors have a different polarity to your bench test setup?
Halscope should help understand what is going on, if you scope the inputs and the carousel.0.state (with reference to:
github.com/LinuxCNC/linuxcnc/blob/2.9/sr...s/carousel.comp#L309

Please Log in to join the conversation.

More
1 year 1 month ago #334715 by hitchhiker
you mean that i need a rising instead falling edge? or a falling instead a rising?

this i must check... when exact the state change....

Please Log in to join the conversation.

More
1 year 1 month ago #334719 by hitchhiker
Wrong infos! Dont want people to go on the wrong path!

Please Log in to join the conversation.

More
1 year 1 month ago #334750 by hitchhiker
Deleted message because of wrong informations!

Please Log in to join the conversation.

More
1 year 1 month ago #334820 by hitchhiker
I debounce the signals... with a schmitttrigger like from the original controller.

Still issue with state 9.

Please Log in to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum