ATC with carousel.comp and M6 remap

More
27 Feb 2019 16:53 #127267 by gmarconi2
Ok andypugh with the new version of carousel.comp:

float pin fwd-dc "Velocity or duty cycle when forward rotation is desired";
pin in float rev-dc "Velocity or duty cycle when reverse rotation is desired";

My step by step driver has 2 pins step and excuse my ignorance but how do I reverse the rotation, output of:

float fwd-dc ## produces a square wave
float rev-dc ## produces a reverse square wave

How should I wire these pins to the driver step dir.

Greetings Giampiero

Please Log in or Create an account to join the conversation.

More
27 Feb 2019 16:58 #127269 by andypugh
Are you using software stepping, a Pico card, a Mesa card or something else?

Most support velocity-mode, but the way the mode is set is different.

Please Log in or Create an account to join the conversation.

More
27 Feb 2019 17:05 - 27 Feb 2019 17:05 #127271 by gmarconi2
Andypugh you're too good and fast

I use a mesa 5i25 and 7i76 for i / o and for stepdir my drivers I would like to use for ATC are normal driver step dir
Thanks anyway now I do some tests then I resent

Greetings gmarconi2
Last edit: 27 Feb 2019 17:05 by gmarconi2.

Please Log in or Create an account to join the conversation.

More
27 Feb 2019 18:16 #127277 by andypugh

I use a mesa 5i25 and 7i76 for i / o and for stepdir my drivers I would like to use for ATC are normal driver step dir


Presumably these steppers are connected to the 7i76?

If so, then you set the stepgen to velocity mode with control-type
setp hm2_5i25.0.stepgen.4.control-type 1
and connect the carousel component
net carousel-rotate carousel.0.motor-vel hm2_5i25.0.stepgen.4.velocity-command



linuxcnc.org/docs/2.7/html/man/man9/hostmot2.9.html#3ppwmgen

Please Log in or Create an account to join the conversation.

More
01 Mar 2019 21:33 #127462 by gmarconi2
Andy pugh help me

My carousel Index + pulse sense-0 sense-1
Tool 01 pocket 01
I have this problem (besides others !!!)
car-pos-s32 = 0
car-pos-req = 0
I run M6 T1
car-pos-s32 = 2 !!! (it should be 1 no 2)
car-pos-req = 2 !!! (it should be 1 no 2)

greetings gmarconi2

carousel.comp MASTER
Attachments:

Please Log in or Create an account to join the conversation.

More
02 Mar 2019 19:52 - 02 Mar 2019 19:54 #127538 by gmarconi2
I added in the .ini file the parameter from:
RANDOM_TOOLCHANGER = 0
and now it seems to work

Greetings gmarconi2
Last edit: 02 Mar 2019 19:54 by gmarconi2.

Please Log in or Create an account to join the conversation.

More
02 Mar 2019 20:38 #127541 by andypugh
Is it a random tool changer

Please Log in or Create an account to join the conversation.

More
02 Mar 2019 20:46 #127544 by gmarconi2
Ok andypugh because it works with RANDOM_TOOLCHANGER = 0
and it does not work with RANDOM_TOOLCHANGER = 1

greetings gmarconi2

Please Log in or Create an account to join the conversation.

More
04 Mar 2019 08:37 #127668 by pl7i92
if it is posible can you add your Complete Folder from a Working Mashine
so others can see how to do

Please Log in or Create an account to join the conversation.

More
04 Mar 2019 09:51 #127672 by gmarconi2
Now I'm at work tonight when I can send the complete configuration.

Greetings gmarconi2

Please Log in or Create an account to join the conversation.

Time to create page: 0.099 seconds
Powered by Kunena Forum