28.03.2014 Views

PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

PC Control / Profi Control 645-12M Instruction Manual pdf - Kuhnke

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.

PLC error and failure handling<br />

2nd stage<br />

1st alternative<br />

Cause<br />

Reaction<br />

Supply voltage rises back to 24 V DC ± 20%<br />

-- "failure" LED will extinguish<br />

-- error byte "ERR00.00" will be reset<br />

-- the program run will be continued without interruption<br />

2nd alternative<br />

Cause<br />

Supply voltage continues to fall, c. < 8.5 V<br />

Reaction<br />

5 V system voltage will be interrupted<br />

=> - STOP: the program run will be stopped<br />

- RESET: outputs, error byte (ERR00.00) and<br />

-- unbuffered markers, timers and counters<br />

will be reset<br />

- all LEDs off<br />

Remedy<br />

-- as a precaution, in the user program, to save buffered<br />

operands:<br />

Processing of the user program should be interrupted until<br />

the 2nd stage of the cause has been reached or until a<br />

realistic delay period has elapsed.<br />

program example for interrupt module no. 17:<br />

WAIT 5 ;wait 5 * 10 ms=50 ms<br />

L ERR00.00 ;scan error byte<br />

CMP 2 ;still undervoltage?<br />

JP RETURN ; jump if not<br />

RETURN<br />

WAIT 5 ;wait for 5*10ms=50ms<br />

CMP 2 ;still undervoltage?<br />

RESET<br />

; RESET and Stop PLC<br />

NOP<br />

4 - 72

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

Saved successfully!

Ooh no, something went wrong!