- Posts: 25
- Thank you received: 2
Run Mesa 7i76e + 7i85 with 3 servos and 1 stepper motor
The motor is directly attached to the carousel. There is no gear. Microstepping is 1.600. Seems to be ok.
Next issue is to figure out, how to drive the carousel to pocket-1-position after/within the init-sequence.
Please Log in or Create an account to join the conversation.
It needs so time to realize, that the carousel.*-dc has no effect, but has to exist regardless. I changed now the max_vel and max_acc to get proper speed.
The "dc" outputs ought to work.
github.com/LinuxCNC/linuxcnc/blob/master...s/carousel.comp#L266
Shows that the motor-vel pin should be the same as the duty cycle.
I suspect that you had simply set the fwd-dc and rev-dc too high. 2 = 2 revs per second...
Try numbers less than 1.
Next issue is to figure out, how to drive the carousel to pocket-1-position after/within the init-sequence.
Does it need to? It should home itself the first time that it is enabled. Though I don't see any connection to the "sense-0" pin (home sensor) in your HAL file.
Please Log in or Create an account to join the conversation.
I'am sorry - I didn't attach my lastest config files. They're added now.Does it need to? It should home itself the first time that it is enabled. Though I don't see any connection to the "sense-0" pin (home sensor) in your HAL file.
The sense-o pin is connected to a digital-in and works fine. While doing M13, the carousel stops at sense-0 = high as expected. Unfortunately the position of the pockets will not fit with needed position. So I have to offset - just like in a typical axis homing too. In the moment I have no idea, how to make that best. Is it a good way, to config the carousel stepper as a axis and do a usual axis homing?
And another issue I think about: After correct homing I obviously do not need the step-calculation in M11 and M12...I just have to jog n times where n is the amount of pockets to move. Is this correct? As I'am not a software developer: How can I code a carousel jog in the M12 ngc file?
Please Log in or Create an account to join the conversation.
Would a home-offset pin help? I have added one.
Please Log in or Create an account to join the conversation.
The carousel component has jogging built in. Just connect buttons (physical or software) to the carousel.0.jog-plus and jog-minus pins.
And another issue I think about: After correct homing I obviously do not need the step-calculation in M11 and M12...I just have to jog n times where n is the amount of pockets to move. Is this correct? As I'am not a software developer: How can I code a carousel jog in the M12 ngc file?
Please Log in or Create an account to join the conversation.
So cool image missing /media/kunena/emoticons/w00t.png Thanks a lot. I'll try that an be back.Would a home-offset pin help? I have added one.
Regarding the jogging: I'm wondering, if I could do that in the easy way (n-times x jog). I'am afraid, I could to pipeline n jog commands...
Please Log in or Create an account to join the conversation.