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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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 />

Save id and port name <strong>for</strong> the source comp<strong>on</strong>ent in the destinati<strong>on</strong> comp<strong>on</strong>ent object<br />

}<br />

}<br />

Load the <str<strong>on</strong>g>CoDeSys</str<strong>on</strong>g> file (.pou)<br />

(Write the in<strong>for</strong>mati<strong>on</strong> saved in the list of comp<strong>on</strong>ent objects to the <str<strong>on</strong>g>CoDeSys</str<strong>on</strong>g> file )<br />

Write to declare all comm<strong>on</strong> comp<strong>on</strong>ents<br />

Write to declare all input comp<strong>on</strong>ents<br />

Write to declare all output comp<strong>on</strong>ents<br />

While (until the list of comp<strong>on</strong>ent objects is traversed)<br />

{<br />

Write the element type of the comp<strong>on</strong>ent to the file<br />

Write the id of the comp<strong>on</strong>ent to the file<br />

Write the name of the comp<strong>on</strong>ent to the file<br />

If (It is comm<strong>on</strong> comp<strong>on</strong>ents)<br />

{<br />

Write the type of the comp<strong>on</strong>ent to the file<br />

}<br />

For (all ports with destinati<strong>on</strong> c<strong>on</strong>necti<strong>on</strong>s)<br />

{<br />

Write id and port <strong>for</strong> the comp<strong>on</strong>ent being the source of the c<strong>on</strong>necti<strong>on</strong><br />

}<br />

}<br />

For an example of how the <str<strong>on</strong>g>CoDeSys</str<strong>on</strong>g> (.pou) file could look like after running the c<strong>on</strong>verter tool,<br />

see appendix 3.<br />

40 (55)

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

Saved successfully!

Ooh no, something went wrong!