Zwei von einander abhaengige Achsen ansteuern

More
13 Apr 2017 22:35 #91330 by tommylight
tommylight replied the topic: back to the problem... ;-)
If i understod that correctly, you have the pin names wrong
"X.newpin" is "outx" while further down it keeps reffering to "xou".
More
14 Apr 2017 06:10 #91343 by wicki
wicki replied the topic: back to the problem... ;-)

tommylight wrote: If i understod that correctly, you have the pin names wrong
"X.newpin" is "outx" while further down it keeps reffering to "xou".


no, it isn't wrong - its obsolete...

the naming of the new defined pins outx, inx,outz... is for future use.

the work-var for the x-position is xou. it gets the position from hat.stat
xou=stat.axis[0]["output"]
and compares it with its last value. if it differs, the movement of x-axis should
be stopped until the correction of y-axis is done.

and here are the problems:

how to stop movement of X in mdi-mode? (JOG_xxx does not work in mdi-mode)
and how to continue it, if the corrected Y-position is reached?
and how to update the positiondisplay of Y? (I think, that can be done by mdi-G-command)

maybe, the whole job can be done by inserted G-code at runtime?
is it possible, to pause a running G-Command, insert a new G-command (move offset of Y-axis)
and continue with the paused command?
could this be done by a python-job?

maybe, these questions are better asked in another category of this forum.... ?

it does not sound very deutsch here any more ;-)
More
14 Apr 2017 11:43 #91356 by tommylight
tommylight replied the topic: back to the problem... ;-)
:)
While reading your post i was thinking the same thing about starting a new thread. There are forum members that are much more experienced in this than i am, So please do start a new thread,
Thank you.
MFG
Tom
More
18 Apr 2017 12:31 #91574 by andypugh
andypugh replied the topic: back to the problem... ;-)
I don't think I have ever seen a file that creates more than one component in the same file before.
I don't even know if that is legal.
The following user(s) said Thank You: tommylight
More
19 Apr 2017 06:35 #91621 by wicki
wicki replied the topic: back to the problem... ;-)

andypugh wrote: I don't think I have ever seen a file that creates more than one component in the same file before.
I don't even know if that is legal.


it's not illegal - not even a problem - I've done this more then one times.

The linked axes are running fine now - next step is to put it all on a nativ raspberry 2.
I only added a ls7404 for ttl-level-shifting. (the chinese ta6560-boards are using a very
strange kind of "opto-isolation") ;-)
Moderators: tommylight
Time to create page: 0.283 seconds
Powered by Kunena Forum