CoDeSys on CCP XS for Bromma Conquip - Research
CoDeSys on CCP XS for Bromma Conquip - Research
CoDeSys on CCP XS for Bromma Conquip - Research
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Student<br />
Joel Ek<br />
Supervisor at CC-Systems<br />
Fredrik Löwenhielm<br />
Dok Nr<br />
1.0<br />
Date<br />
2006-08-08<br />
Rev<br />
PA1<br />
Säk klass<br />
F<br />
Filname<br />
Thesis.doc<br />
CODESYS ON <strong>CCP</strong> <strong>XS</strong> FOR BROMMA CONQUIP<br />
5.1 Porting of comp<strong>on</strong>ents ........................................................................................................ 30<br />
5.1.1 Functi<strong>on</strong> Block with External library ........................................................................... 30<br />
5.1.2 Implementing the library functi<strong>on</strong>s .............................................................................. 31<br />
5.1.3 Porting of the comp<strong>on</strong>ents C++ code into ANSI C ...................................................... 31<br />
5.1.4 Changing comp<strong>on</strong>ent parameters ................................................................................. 35<br />
5.1.5 Change number of in/out- puts .................................................................................... 36<br />
5.1.6 Retain variables ............................................................................................................ 36<br />
5.2 C<strong>on</strong>verting the Applicati<strong>on</strong> descripti<strong>on</strong> ............................................................................. 37<br />
5.2.1 Name of C<strong>on</strong>verter Dem<strong>on</strong>strator ................................................................................ 38<br />
5.2.2 Pseudo code <strong>for</strong> the c<strong>on</strong>verting tool ............................................................................. 38<br />
5.3 Replacing system <strong>for</strong> logging and diagnostic ................................................................... 41<br />
5.4 C<strong>on</strong>clusi<strong>on</strong> of soluti<strong>on</strong> ......................................................................................................... 42<br />
6 Testing ...................................................................................................................................... 43<br />
6.1 Per<strong>for</strong>mance Test ................................................................................................................. 44<br />
6.2 Size of ported code .............................................................................................................. 45<br />
6.3 Efficiency of produced code ................................................................................................ 46<br />
7 Discussi<strong>on</strong> and C<strong>on</strong>clusi<strong>on</strong>s (Survey) ..................................................................................... 47<br />
8 References .................................................................................................................................. 48<br />
Appendix 1 Quick start guide ................................................................................................... 50<br />
Appendix 2 Terms och definiti<strong>on</strong>s ............................................................................................ 51<br />
Appendix 3 <str<strong>on</strong>g>CoDeSys</str<strong>on</strong>g> file in XML representati<strong>on</strong> ................................................................... 52<br />
4 (55)