HPACT Actuators training panel example code?
HPACT Actuators training panel example code?
Hi,
Where can I find the "Free worksheets (code TEFWS)" for this board, or any flowcode examples code for it?
There was a mini CD with it but that didn't seem to contain anything to do with it.
For that matter how do I even find the board on the web site other than searching for HPACT. Under Products the only mention of it that I can find is in one of the brochures, where I think it is classed as an accessory.
Thanks.
Where can I find the "Free worksheets (code TEFWS)" for this board, or any flowcode examples code for it?
There was a mini CD with it but that didn't seem to contain anything to do with it.
For that matter how do I even find the board on the web site other than searching for HPACT. Under Products the only mention of it that I can find is in one of the brochures, where I think it is classed as an accessory.
Thanks.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: HPACT Actuators training panel example code?
Hello
You can find the HPACT board by clicking Products -> Eblock Accessories.
You can find the HPACT board by clicking Products -> Eblock Accessories.
- Attachments
-
- TEFWS.pdf
- (467.43 KiB) Downloaded 670 times
-
- Test RoutineD.FCF
- (9.67 KiB) Downloaded 637 times
-
- Test RoutineB.FCF
- (9.67 KiB) Downloaded 648 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: HPACT Actuators training panel example code?
Thanks.
I was looking on the Home page and selecting subsections of products, where E-block accessories aren't listed, rather than selecting Products which lists a few more subsections. Question over webpage design?
Still not sure where I was supposed to get the TEFWS and example code other than by having to ask for it.
I haven't test it yet, as the code is for an 877 and the only ones we have are 877-04's which probably aren't going to run with the default 19.6608MHz Xtal. I'll have to move parts of the code to the supplied 88. OK some I could use an RC clock for the stepper and DC motor but I'd guess the servo won't work if the timing is way off. Shame the Xtal isn't in a plugin socket so it can be changed.
I was looking on the Home page and selecting subsections of products, where E-block accessories aren't listed, rather than selecting Products which lists a few more subsections. Question over webpage design?
Still not sure where I was supposed to get the TEFWS and example code other than by having to ask for it.
I haven't test it yet, as the code is for an 877 and the only ones we have are 877-04's which probably aren't going to run with the default 19.6608MHz Xtal. I'll have to move parts of the code to the supplied 88. OK some I could use an RC clock for the stepper and DC motor but I'd guess the servo won't work if the timing is way off. Shame the Xtal isn't in a plugin socket so it can be changed.
Last edited by dtstrgt on Thu Jan 15, 2009 5:10 pm, edited 1 time in total.
Re: HPACT Actuators training panel example code?
Appologies, so it is, it's so flush mounting I didn't see it.steve wrote:The crystal is socketted on our EB-006 and HP-488 boards.
However I'm still puzzled by the example code.
Stepper & DC motor are OK.
Is the servo code designed to work at a particular frequency, if so what?
As it seems to use TMR0 overflow to generate the servo period, which is noramally 20ms, and the code had a 64 prescaler that would give Tcs = 20 ms / (256*64), F = 3.2768MHz which is very odd so maybe I got something wrong?
I've previously written ASM code running at 4MHz to drive servos, no problems, but I'm very new to flowcode.
Is there any documentation regards using the servo on the HPACT in flowcode?
Last edited by dtstrgt on Thu Jan 15, 2009 5:09 pm, edited 1 time in total.
- Steve
- Matrix Staff
- Posts: 3431
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: HPACT Actuators training panel example code?
I believe there is an article int he "Articles" section of the forum that may help. I also know that my colleague, Sean, has rewritten the HPACT sample program and he'll post it here sometime soon.
Hopefully these will help...
Hopefully these will help...
Re: HPACT Actuators training panel example code?
Err make that 3.2768MHz, which at least exists.dtstrgt wrote:F = 3.2768KHz

Which has now been corrected.

Last edited by dtstrgt on Thu Jan 15, 2009 5:18 pm, edited 2 times in total.
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: HPACT Actuators training panel example code?
Hi, Ben,
&
attachment’s are corrupt.
Would you mind reposting please?
Code: Select all
Test RoutineB.FCF
Code: Select all
TEFWS.doc
Would you mind reposting please?
Martin
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: HPACT Actuators training panel example code?
Cheers Martin,
I have reloaded the files and they should open correctly now.
I have reloaded the files and they should open correctly now.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times