17.02.2013 Views

Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual

Kuhnke Electronics Instruction Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.3.1 Operating System<br />

Function Libraries<br />

The operating system defines all of the controller's<br />

properties. It is part of the Ventura Remote PLC delivery<br />

package and is stored in the internal flash EPROM.<br />

The best part of the operating system is made up of its<br />

real-time kernel, ARTOS.<br />

ARTOS provides options for optimising the control<br />

processes with regard to the installation of interrupt<br />

routines or parallel programs, for example.<br />

To be able to make best use of these options, you should<br />

have some understanding of how the operating system<br />

actually works.<br />

ARTOS provides Ventura Remote PLC with pre-emptive<br />

multitasking.<br />

Pre-emptive multitasking means that several processes<br />

(tasks) can be run and that the processor's computing<br />

time is cut up into slices of a defined size.<br />

A Scheduler (dispatcher) allocates time slices to the<br />

processes during which program actions can be<br />

performed.<br />

When a process's time slice comes to an end the process<br />

is interrupted and another process is allocated a time<br />

slice.<br />

A process could be anything like the CoDeSys runtime<br />

system (see section 4.3.2) or PROFIBUS communication<br />

routines. Running a function would set up another process<br />

which is capable of interrupting the CoDeSys runtime<br />

system.<br />

Programs that the CoDeSys Task Configurator utility<br />

assigned to specified events will not interrupt the<br />

CoDeSys runtime system, though, because they are<br />

processed only when they are "out of the way", e.g. when<br />

the main program, PLC_PRG, has been completed.<br />

(See pages 59 and 70)<br />

4.3.2 The CoDeSys Runtime System<br />

The CoDeSys runtime system is a process embedded in<br />

the multitasking system of Ventura Remote PLC.<br />

59

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

Saved successfully!

Ooh no, something went wrong!