GearHeads Corner
March 21, 2019, 03:17:22 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: relay function with pokeys57u  (Read 327 times)
0 Members and 1 Guest are viewing this topic.
Richard Cullin
Full Member
***
Posts: 138


View Profile
« Reply #15 on: January 07, 2019, 05:19:36 PM »

posupport suggest that  PoExtBusO C16CNC  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 attractiv e 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

Logged
ArtF
Administrator
Hero Member
*****
Posts: 5183



View Profile
« Reply #16 on: January 08, 2019, 07:40:31 AM »

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
everythin g 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
Logged
Richard Cullin
Full Member
***
Posts: 138


View Profile
« Reply #17 on: January 08, 2019, 04:06:57 PM »

thanks for that , i will get an extender.
i'm still intereste d in the 8 pin idea and happy to be a guinea pig if it will help
Logged
ArtF
Administrator
Hero Member
*****
Posts: 5183



View Profile
« Reply #18 on: January 08, 2019, 05:05:38 PM »

Ill let you know when the code is added.

Art
Logged
ArtF
Administrator
Hero Member
*****
Posts: 5183



View Profile
« Reply #19 on: January 09, 2019, 08:25:45 AM »

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 informati on to the pokeys. The Pokeys deals out the motions
from those 500 waypoint packets in which are encoded axis moves and power
informati on. DigitialI O 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
disruptio n.
  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 operation s.

  In the end it means the only control byte I have is power and only the
 control microproc essor in the 57cnc or extender has the code to understan d 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
 
Logged
Richard Cullin
Full Member
***
Posts: 138


View Profile
« Reply #20 on: January 09, 2019, 05:25:31 PM »

the pobus16cn c 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 alternati ve when auggie works so well as it stands
Logged
ArtF
Administrator
Hero Member
*****
Posts: 5183



View Profile
« Reply #21 on: January 09, 2019, 08:48:00 PM »

Richard:

  Thx. I try not to get too obtrusive in the code base for Auggie, Ive forgotten
many of its developme nt 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.. Smiley

Art
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!