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

Page 416

Advertising
background image

L-force | PLC Designer

The Resources

414

DMS 3.2 EN 02/2011 TD29



For example: If the target system defines %MX1.1 and %IB4 as Singleton-Events,
using the following variables as event variables will produce two errors (a and b as
well as c and d each have the same address).

VAR_GLOBAL

a AT %MX1.1: BOOL;

b AT %MX1.1: BOOL;

c AT %MB4: BOOL;

d AT %MD1: BOOL;

END_VAR

If there is no entry in both fields 'Interval' and 'Event', then the task interval will

depend on which runtime system is used (see runtime documentation); e.g. in this
case for »PLC Designer« SP NT V2.2 and higher an interval of 10 ms will be used).

Watchdog

For each task a time control (watchdog) can be configured. If the target system
supports an extended watchdog configuration, possibly there are predefined upper
and lower limits and a default for the watchdog time are defined, as well as a time
definition in percent.

Activate watchdog: When this option is activated ( ) then, regarding the currently
set sensitivity (see below), the task will be terminated in error status as soon as the
processing takes longer than defined in the 'Time' field (see below).



Stop!

Target system PLC Designer SP 32 Bit Full switches off the watchdog function when
the flow control is active or when the execution currently is stopped at a
breakpoint.

Time (e.g.: t#200ms): Watchdog time; after the expiration of this term, regarding the
currently set sensitivity (see below), the watchdog will be activated unless the task
has not been terminated already. Depending on the target system the time has to be

entered as percent of the task interval. In this case the unit selection box is greyed and
shows "%".

Sensitivity: Here you can enter in integer numbers at which overrun of the watchdog
time an error should be generated. The default entry is "1", i.e. at the first overrun of
the watchdog time an error occurs. Attention: If "0" is entered, the watchdog will be
deactivated!

Advertising