CNC Sewing machine question

More
07 Feb 2020 14:49 #156699 by andypugh
Does it give a clue as to why it is e-stopping? Is there a message about following error, for example?

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

More
07 Feb 2020 15:23 - 08 Feb 2020 08:53 #156703 by ahmetbm
Replied by ahmetbm on topic CNC Sewing machine question

Does it give a clue as to why it is e-stopping? Is there a message about following error, for example?


The dac module gives the error that no uart signal is received, may be this gives a clue.
This may be because i made a mistake while configuring linuxcnc. I made axis0 and axis1 use stepgen module and axis2 use pid. Is this true to use stepgen and pid in one conf?
Last edit: 08 Feb 2020 08:53 by ahmetbm.

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

More
15 Feb 2020 00:13 #157390 by andypugh

Is this true to use stepgen and pid in one conf?


That shouldn't be a problem.

Have you tried asking the GM folk for help?

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

More
15 Feb 2020 06:07 - 15 Feb 2020 07:08 #157396 by ahmetbm
Replied by ahmetbm on topic CNC Sewing machine question

Is this true to use stepgen and pid in one conf?


That shouldn't be a problem.

Have you tried asking the GM folk for help?


Some times they give answer helpfully, however other times i wait too long.
Last edit: 15 Feb 2020 07:08 by ahmetbm.

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

More
19 Feb 2020 15:41 #157863 by andypugh
Sorry to also be slow. I am away from home skiing.
It should not be a problem to have stepgen and PID. In fact the Mesa configs almost always have both.
The following user(s) said Thank You: ahmetbm

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

More
20 Feb 2020 13:13 #157993 by ahmetbm
Replied by ahmetbm on topic CNC Sewing machine question

Sorry to also be slow. I am away from home skiing.
It should not be a problem to have stepgen and PID. In fact the Mesa configs almost always have both.


Thank you, however when i use this config, i face the problem that i earlier mentioned above posts.

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

More
28 Feb 2020 13:17 #158749 by andypugh
I don't think that the problem is related to having both PID and Stepper. If the system says that there is no UART for the DAC then I would expect that the problem is exactly that.
It is possible that the GM hardware or fimrware does not support having both analogue output and stepgen, but I would be rather surprised.

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

More
10 Mar 2020 19:59 #159694 by ahmetbm
Replied by ahmetbm on topic CNC Sewing machine question
At last i was able to rotate motor with dac. Unfrtunately i have 2 issues:

1) Can i run 2 motors with dac, synchronously(exact timing), one motor for turning needle and the other motor is for turning the bobbin, since needle penetrates into to bobbin hole hundreds of times in a minute i need exact timing not to hit and break needle?

2) I can use needle and bobbin motors as third and fourth axis. However after thread break the machine needs to go back and all the motors rotates back, and this is expected. I wonder if there is a way to make third and fourth axis motors not to rotate back but decrease their coordinate value?

I hope the questions are clear.

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

More
10 Mar 2020 20:28 #159695 by andypugh
You should be able to slave one motor to the other, then only drive one of them.
ie, the position command of one motor is connected to the position feedback of the other, possibly with scaling and phase offset.

Look at the recent "hexagonal boring" post on the forum for an example of the power of that.

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

More
11 Mar 2020 14:55 #159776 by ahmetbm
Replied by ahmetbm on topic CNC Sewing machine question
We are preparing the setup for master slave running. However i was not able to find hexagonal boring post.
Thanks.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum