Kuhnke Electronics Instruction Manual
Kuhnke Electronics Instruction Manual
Kuhnke Electronics Instruction Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Function Libraries<br />
The main program, PLC_PRG, is a free-wheeling task<br />
equivalent to the organisation module of KUBES<br />
programs. PLC_PRG runs exactly once in every control<br />
cycle. PLC_PRG is the plug board for other actions such<br />
as refreshing the process chart or communicating with the<br />
CoDeSys programming system.<br />
Event-controlled tasks configured using the Task<br />
Configurator (see page 61) are picked from a task list<br />
whenever the specified event occurs. They act as<br />
interrupt handlers. Their processing starts when the<br />
current task has stopped running.<br />
Example: a cyclic task to be run at an interval t#10ms will<br />
not be processed after every timer interrupt if the main<br />
program runs for longer than 10ms.<br />
Use function calls to set up event-controlled tasks to run<br />
as interrupt service routines. They can interrupt the<br />
processing of the current task.<br />
To know how to use functions for setting up special tasks,<br />
refer to section: 4.4 P690.lib<br />
60 E 700 GB