Create custom scicoslab function blocks

A forum useful to discuss the details of the ScicosLab code generator.

Moderator: paolo.gai

Locked
Thom314
Newbie
Posts: 4
Joined: Wed Apr 13, 2011 2:32 pm

Create custom scicoslab function blocks

Post by Thom314 » Wed Apr 13, 2011 2:39 pm

Hello,

I am currently studying for a master’s degree in electronic engineering and industrial computing. I want to use a FLEX base board (full version) to develop a digital control system for controlling the speed of a DC motor.
I would like to know how to create custom scicoslab function blocks which are used to program the dsPIC. Could you please send me some documentation or informations on your way to create these function blocs.

Best Regards

Thomas

paolo.gai
Administrator
Posts: 857
Joined: Thu Dec 07, 2006 12:11 pm

Re: Create custom scicoslab function blocks

Post by paolo.gai » Wed Apr 13, 2011 2:48 pm

Hi Thomas!

i'm Paolo... Thanks for posting on the Forum!

About DC Motor Control:

- we already made a set of blocks that can be used for motor control of DC motors. In particular there is also an example in the ScicosLab Pack example directory with a DC motor simulation and control.

- The blocks use directly the FLEX Demo2 Pack, available at
http://www.evidence.eu.com/content/view/360/430/

- some instructions on how to create a new ScicosLab block are available in the Wiki. In particular here:
http://erika.tuxfamily.org/wiki/index.p ... #Scicoslab
there is a tutorial on how to create new blocks, and there is the online material of the course in Florence made this october

- Note that some of these topics will be covered at the course below
http://www.artist-embedded.org/artist/O ... ,2225.html

- the code of the ScicosLab Pack is available on the ERIKA repository, just do a checkout! Instructions here:
http://erika.tuxfamily.org/wiki/index.p ... SVN_Access

Let us know if you need any more information...

Ciao,

PJ

Locked