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 alarm c<strong>on</strong>figurati<strong>on</strong> c<strong>on</strong>sists of two parts: Alarm Class and Alarm Group.<br />

2.2.4.2.1 Alarm Class<br />

The Alarm class works as a general class to the alarm group and decide base c<strong>on</strong>figurati<strong>on</strong> such<br />

as, how to handle acknowledgements and what acti<strong>on</strong> to per<strong>for</strong>m when a specific alarm is<br />

detected.<br />

The different acti<strong>on</strong>s that can be per<strong>for</strong>med at the occurrence of an alarm event are:<br />

- Save: Internally saved in a log file.<br />

- Print: A message is printed.<br />

- Message: A message will be displayed<br />

- E-Mail: A message will be send to an e-mail address.<br />

- Variable: A variable in <str<strong>on</strong>g>CoDeSys</str<strong>on</strong>g> will be assigned the alarm status and a message.<br />

- Executi<strong>on</strong>: An executable file will start.<br />

The above menti<strong>on</strong>ed message can be defined by a number of predefined in<strong>for</strong>mati<strong>on</strong> types:<br />

Date, time, priority, message as defined in the specific alarm am<strong>on</strong>g others.<br />

2.2.4.2.2 Alarm group<br />

All alarms bel<strong>on</strong>g to a specific Alarm group, the comm<strong>on</strong> denominator in the group is a<br />

deactivati<strong>on</strong> variable plus saving opti<strong>on</strong>s <strong>for</strong> the Alarms in the group. But it is possible <strong>for</strong> the<br />

alarms in the group to bel<strong>on</strong>g to different Alarm classes.<br />

When you add a new alarm to a group the following parameters can be set:<br />

- Expressi<strong>on</strong>: Specify the variable or expressi<strong>on</strong> that should trigger the alarm.<br />

- Type: Regards to what value the variable should trigger<br />

- Class: Decide what Alarm class it should bel<strong>on</strong>g to.<br />

- Priority: Priority level 0-152.<br />

- Message: The text that will be showed in case the alarm is triggered.<br />

If a save acti<strong>on</strong> has been selected <strong>for</strong> a class you must specify in the alarm group where to save<br />

the alarm in<strong>for</strong>mati<strong>on</strong>. This file will hold the alarm in<strong>for</strong>mati<strong>on</strong> that is saved <strong>for</strong> all alarms in the<br />

group [19].<br />

2.2.5 <str<strong>on</strong>g>CoDeSys</str<strong>on</strong>g> SP<br />

3S provide a softPLC, basically a software program that acts like a runtime system <strong>for</strong> the<br />

developing tool <str<strong>on</strong>g>CoDeSys</str<strong>on</strong>g>. The runtime was developed to functi<strong>on</strong> <strong>on</strong> many different operating<br />

systems and was there<strong>for</strong>e programmed in ANSI 13 C. The softPLC is programmed by a<br />

programming tool, in this case <str<strong>on</strong>g>CoDeSys</str<strong>on</strong>g> [20].<br />

It is also with these runtimes that 3S get income; the developing tool is free of charge but need a<br />

runtime in order to be of use. Each device must buy a runtime license [21].<br />

13<br />

American Nati<strong>on</strong>al Standards Institute: A n<strong>on</strong>­profit standardizati<strong>on</strong> organizati<strong>on</strong><br />

18 (55)

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

Saved successfully!

Ooh no, something went wrong!