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.

Function Libraries<br />

configuration to it, the project must not contain module<br />

PLC_PRG. (If it is a part of the project it will not be run if a<br />

task configuration is defined.)<br />

PLC_PRG is a module free-wheeling through 800µs time<br />

slices.<br />

At the end of the time slice, processing of PLC_PRG is<br />

interrupted to give way to the handling of other registered<br />

processes.<br />

When the task manager reactivates PLC_PRG it will pick<br />

up the thread at the point where it was interrupted.<br />

Once the last PLC_PRG command has been executed<br />

the actions linked to PLC_PRG, i.e. refreshing the<br />

process chart, CANopen ∗ , communication etc., will be<br />

taken only to start the task afresh afterwards.<br />

A long PLC_PRG runtime is an extra burden to<br />

communication:<br />

- To program non-time-critical sections, use a thread<br />

instead (see page 71)<br />

∗ Controllers featuring a CANopen interface only<br />

62 E 700 GB

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

Saved successfully!

Ooh no, something went wrong!