I found that the student edition of C30 often produced unbelievably bad code for simple multiplies and divides. It did not make use of the hardware multiplier at all, so it was 15 times slower.
Floating point ops are probably calculated in assembly optimized function calls as DSC doesn't have FPU. Inserting floating point calculations directly to code would result huge program size.
I hope so... Here is what the Microchip says:
"The PIC24 MCU / dsPIC DSC Math Library is the compiled version of the math library that is distributed with the highly optimized, ANSI-compliant MPLAB® C30 C Compiler (SW006012). It contains advanced single and double-precision floating-point arithmetic and trigonometric functions from the standard C header file. The library delivers small program code size and data size, reduced cycles and high accuracy."
Unless that is something that changes after the 60 days period....
*********Out Of Subject**********************
Hi every body on the forum !
Does any one know how to contact Uli Huber ? i've sent him a mail to the mailbox specified on his website & i also sent him a PM, but no answer from him !
Does any one know if he's all right ? or he might be on hollyday ?
I'm a bit stressed because i know a guy comming from Germany this summer on June 25th & i want Uli to send him the chips before he comes, but no answer from Uli !!!
Please help me ! I read somewhere that Uli gave the hex code for programming the chips to some of his friends in Germany to help him in distribution, does any one know about'em or know an alternative for contacting Uli ?
Thanks !
cnc2.
Hi Kreutz thanks for your reply, you have all my respect for your HPUHU, i saw it driving a big lathe spindle (on youtube) it's GREAT !
Does any one(with a normal brain :-) think 20 days are enough to get the chips from Uli & the kit from http://www.reichelt.de shipped to someone in Germany ?
Thanks !
cnc2.
Might happen, but it is better to get answer first...
In winter for my second order I just sent the "beer money" and then the order... Uli was surprised.. and took about two weeks to arrive to Hungary.
Inside Germany the 20 days must be enough if Uli is not too busy ...
Regards,
Jozsef
just remembered robert from wuselrob.de look at his completed machine
http://www.wuselrob.de/bilder/cnc4.html
I'm putting the finishing touches on the UHU board supplied by Mangeet. This board is for a DC Servo rated at 2.7A 24V at 3300 RPM. I don't see any need to use the IRFP260 when the IRF640's (200V 18A) look like they would work for this size of motor (I have a tube of them).
Anyone see any reason why I shouldn't use these?
Thanks,
John Dammeyer
From may 26 to middle of June Uli is busy with other things.
He had to go to the USA.
He expected to start sending UHU chips again in the middle of june.
Here is the german message where Uli accounced his temporary absence.
http://5128.rapidforum.com/topic=125...37022531088967
Very nice machine and controller boxes. I like the positioning of the UHu drives on the 5.25" PC bays, that is my intention for the next generation drives, to fit those bays, better yet, to fit a mobile rack H.D. enclosure, that is why I specified a 3.5" H.D. form factor...
Kreutz.
Hi guys,
The output below is from my UHU as installed in the original circuit board as supplied by Manjeet. Yeah! It talks. But the C parameter doesn't appear to be setable.
Old message had why C command didn't work. Now I use Y to set Cycle and all is good. Must read screen.. must read screen... must read screen.
Thanks
John
UHU Servo Controller 3.00e-24 (c) Snr: 3362
Help by (?)
EEPROM:
OK
>#
(P)rop 1000
(I)nt. 25
(D)iff 255
(H)iOrd. 1000
Ma(X) 3000
(T)orque 255
I(N)ert. 100
(E)rro 50
(M)ult 0
c(Y)cl 63
(O)verru 0
(L)oad[0,1,2]
(S)ave[0,1,2]
(G)o [Value]
(C)ounter
(R)eset
>
It Works!!!!
This board is much better laid out for the electrical noise. Same Motor, Same wiring, same power supplies but the difference between this board and the Embeddedtronics.com is unbelievable. No more processor resets.
Now got to get the HP-UHUs finished. So much fun. Even just watching being run by the ELS doing screw cutting passes just moving the motor. Takes so little to amuse me.
John
Excuse the messy desk in the picture. Must really clean up....
Hi John,
on the picture I can see the original UHU board (not the HP UHU)...
It is really more stable than Embedded, but I had reseting problems with big motors ( 136V 15 Amp 1kW)...
The real stable one is the HP UHU, I had never proc reset, despite I pushed the Reset button ... With 160V, 23 A ...
Regards,
Jozsef