relay function with pokeys57u

Discussions and file drops for Auggie
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

Re: relay function with pokeys57u

Post by Richard Cullin »

posupport suggest that  PoExtBusOC16CNC  add on will allow Motion-synched PWM
what do you think ? i would rather have the full deal .
mind you a 57u version would be attractive to more users being 1/3 the cost of a 57cnc . i could easily pgm a pic chip to read the 8 pin pwm data
and provide the pwm signal.  i would be willing to provide pic code to auggie users

User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: relay function with pokeys57u

Post by ArtF »

Richard:

  Ahh yes, I had forgotten that option. Its true the extender is what makes a  57 what it is,
its basically the external engine for CNC. When added you basically have a 57. If you want
everything to work the same its probably worth getting.

  As to the pinout idea, I will look at adding it over the next couple weeks just in case
the issue arises again. Making a cheap arduino read an 8 bit input and making a pwm
from it is pretty east from there if one wishes to go that way.

  Going with the extender has other benefits though, top speed goes from 25K to 115K
I believe as well. ( The 57U only has internal planner doesnt it?). Auggie will use
the internal if there is no extended planner, but its much slower..

Art
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

Re: relay function with pokeys57u

Post by Richard Cullin »

thanks for that , i will get an extender.
i'm still interested in the 8 pin idea and happy to be a guinea pig if it will help
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: relay function with pokeys57u

Post by ArtF »

Ill let you know when the code is added.

Art
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: relay function with pokeys57u

Post by ArtF »

Richard:

  Bad news. I actually added the code to do the pinout idea before I found why
I didnt do it in the first place. Auggie works on a 1ms waypoint and sends up to
.5 seconds of forward information to the pokeys. The Pokeys deals out the motions
from those 500 waypoint packets in which are encoded axis moves and power
information. DigitialIO and analogue are sent every 50-100ms in a separate call
whenever there are enough packets in the pokeys queue to allow for the time
disruption.
  This means I cannot sync the pinouts to the motion point as I dont really know
it in realtime. The power byte was added by pokeys for me when I decided to
write auggie, they were very nice to adapt their firmware to my idea and I knew
the firmware space was tight so didnt ask for further byte operations.

  In the end it means the only control byte I have is power and only the
control microprocessor in the 57cnc or extender has the code to understand it.
Seemed like a good idea, I guess I should have wondered why I didnt do it
in the first place as its an obvious solution to many ills.

  Ill continue to give thought to the problem , perhaps I may think of something..

Art
Richard Cullin
Old Timer
Posts: 152
Joined: Sat Jun 02, 2012 5:45 am

Re: relay function with pokeys57u

Post by Richard Cullin »

the pobus16cnc extender is only 14 eur ,  so i guess it not a big deal  to add it to the 57u . [when you know its needed]
it may not be cost effective to develop an alternative when auggie works so well as it stands
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4592
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: relay function with pokeys57u

Post by ArtF »

Richard:

  Thx. I try not to get too obtrusive in the code base for Auggie, Ive forgotten
many of its development details and it works well enough that I dont have to
play too often in the code. Leave sleeping dogs lie is probably the
better option.. :)

Art
Post Reply

Who is online

Users browsing this forum: No registered users and 86 guests