01.07.2013 Views

Programming manual M238 | 3 MB - BERGER - POSITEC

Programming manual M238 | 3 MB - BERGER - POSITEC

Programming manual M238 | 3 MB - BERGER - POSITEC

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.

Error Detection, Types, and Management<br />

Detected Error Management<br />

The controller manages 3 types of detected errors:<br />

external detected errors<br />

application detected errors<br />

system detected errors<br />

Controller States and Behaviors<br />

The following table describes the types of errors that may be detected:<br />

Type of<br />

Error<br />

Detected<br />

External<br />

Error<br />

Detected<br />

Application<br />

Error<br />

Detected<br />

System<br />

Error<br />

Detected<br />

Description Resulting<br />

Controller<br />

State<br />

External errors are detected by the system while RUNNING or<br />

STOPPED but do not affect the ongoing controller state. An<br />

external error is detected in the following cases:<br />

The controller is configured for an expansion module that<br />

is not present or not detected<br />

The boot application in Flash memory is not the same as<br />

the one in RAM.<br />

An application error is detected when improper programming<br />

is encountered or when a task watchdog threshold is<br />

exceeded.<br />

Examples:<br />

task (software) watchdog exception<br />

execution of an unknown function<br />

etc.<br />

A system error is detected when the controller enters a<br />

condition that cannot be managed during runtime. Most such<br />

conditions result from firmware or hardware exceptions, but<br />

there are some cases when incorrect programming can result<br />

in the detection of a system error, for example, when<br />

attempting to write to memory that was reserved during<br />

runtime.<br />

Examples:<br />

System (hardware) watchdog overflow<br />

exceeding the defined size of an array<br />

etc.<br />

RUNNING with<br />

External Error<br />

Detected<br />

Or<br />

STOPPED<br />

with External<br />

Error Detected<br />

NOTE: refer to the <strong>M238</strong> PLCSystem Library Guide (see Modicon <strong>M238</strong> Logic<br />

Controller, System Functions and Variables, <strong>M238</strong> PLCSystem Library Guide) for<br />

more detailed information on diagnostics.<br />

EIO0000000384 04/2012 63<br />

HALT<br />

BOOTING →<br />

EMPTY

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

Saved successfully!

Ooh no, something went wrong!