24.01.2015 Views

CoDeSys on CCP XS for Bromma Conquip - Research

CoDeSys on CCP XS for Bromma Conquip - Research

CoDeSys on CCP XS for Bromma Conquip - Research

SHOW MORE
SHOW LESS
  • 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 />

The parts of the software tool <strong>for</strong> c<strong>on</strong>verting that is not complete:<br />

- It needs to be updated to handle all available comp<strong>on</strong>ents<br />

- It needs additi<strong>on</strong>al parts to handle larger applicati<strong>on</strong> files that use networks<br />

- Calculating and positi<strong>on</strong>ing( x and y coordinates) in the comp<strong>on</strong>ent board<br />

5.2.1 Name of C<strong>on</strong>verter Dem<strong>on</strong>strator<br />

One software tool has been developed, the ABE to <str<strong>on</strong>g>CoDeSys</str<strong>on</strong>g> c<strong>on</strong>verter. It is programmed to show<br />

and verify the theory of the “c<strong>on</strong>verting the applicati<strong>on</strong> descripti<strong>on</strong>” part of the thesis.<br />

It is programmed in C++ and the interface is developed with the MFC applicati<strong>on</strong> Wizard 19 .<br />

Figure 24: The Graphical interface <strong>for</strong> the ABE to <str<strong>on</strong>g>CoDeSys</str<strong>on</strong>g> c<strong>on</strong>verter<br />

In appendix 1 you will find a ‘quick start guide’ <strong>for</strong> using the software tool and the necessary<br />

steps that need to be taken in order <strong>for</strong> a complete transacti<strong>on</strong> of an ABE applicati<strong>on</strong>.<br />

5.2.2 Pseudo code <strong>for</strong> the c<strong>on</strong>verting tool<br />

Pseudo code is a simplified variant of the implemented C++ code that mixes ordinary words with<br />

the most comm<strong>on</strong> computer words.<br />

Table 1<br />

Descripti<strong>on</strong> of the computer terms used in the pseudo code<br />

{<br />

Lines of code<br />

}<br />

The lines of code inside the brackets are executed depending <strong>on</strong> the statement<br />

be<strong>for</strong>e the starting bracket ({ ).<br />

19<br />

A help <strong>for</strong> developing computer programs using the Microsoft Foundati<strong>on</strong> Classes<br />

38 (55)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!