System events, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 418

Advertising
background image

L-force | PLC Designer

The Resources

416

DMS 3.2 EN 02/2011 TD29



8.7.3

System Events

Instead of a "task" also a "system event" can be used to call a POU of your project. The
available system events are target specific (definition in target file). The list of the
standard events of the target may be extended by customer specific events. Possible
events are for instance: Stop, Start, Online Change.

The assignment of system events to POUs is also done in the Task configuration
editor. Use the dialog 'Events', which will be opened as soon as the entry " System-
events" is selected in the task configuration tree:

Table for Assigning POUs to System Events

Each event is represented in a line: Name and Description are displayed as defined in
the target file, in the column called POU you can enter the name of the project POU
which should be called and processed as soon as the event occurs.

For this use the input assistant (<F2>) or enter manually the name of an already
existing POU (e.g. "PLC_PRG" or "PRG.ACT1"), or insert a name for a not yet existing
POU.

Attention for RISC and 68K Motorola target systems: The name of a function
assigned to a system event (callback function) must start with "callback"!

Advertising