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

28.03.2014 Views

PLC error and failure handling 2nd stage 1st alternative Cause Reaction Supply voltage rises back to 24 V DC ± 20% -- "failure" LED will extinguish -- error byte "ERR00.00" will be reset -- the program run will be continued without interruption 2nd alternative Cause Supply voltage continues to fall, c. < 8.5 V Reaction 5 V system voltage will be interrupted => - STOP: the program run will be stopped - RESET: outputs, error byte (ERR00.00) and -- unbuffered markers, timers and counters will be reset - all LEDs off Remedy -- as a precaution, in the user program, to save buffered operands: Processing of the user program should be interrupted until the 2nd stage of the cause has been reached or until a realistic delay period has elapsed. program example for interrupt module no. 17: WAIT 5 ;wait 5 * 10 ms=50 ms L ERR00.00 ;scan error byte CMP 2 ;still undervoltage? JP RETURN ; jump if not RETURN WAIT 5 ;wait for 5*10ms=50ms CMP 2 ;still undervoltage? RESET ; RESET and Stop PLC NOP 4 - 72

PC Control 645-12M used as PLC 4.10.3. Watchdog (program runtime exceeded, failure #3) Cause Indication Reaction Remedy -- runtime of a module > 50...70 ms or -- runtime of the overall program > 2 s -- "failure" LED flashes (if exists) -- KUBES outputs failure message in plain text -- STOP: program run will be stopped -- RESET: outputs and unbuffered markers, timers and counters will be reset -- external outputs (PROFIBUS) off -- change the program architecture to achieve shorter run times -- restart the controller: by hardware: switch supply off and back on again, or by software: KUBES RESET command followed by the RUN command 4 - 73

<strong>PC</strong> <strong>Control</strong> <strong>645</strong>-<strong>12M</strong> used as PLC<br />

4.10.3. Watchdog (program runtime exceeded, failure #3)<br />

Cause<br />

Indication<br />

Reaction<br />

Remedy<br />

-- runtime of a module > 50...70 ms<br />

or<br />

-- runtime of the overall program > 2 s<br />

-- "failure" LED flashes (if exists)<br />

-- KUBES outputs failure message in plain text<br />

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

-- RESET: outputs and unbuffered markers, timers and<br />

counters will be reset<br />

-- external outputs (PROFIBUS) off<br />

-- change the program architecture to achieve shorter run<br />

times<br />

-- restart the controller:<br />

by hardware: switch supply off and back on again,<br />

or<br />

by software: KUBES RESET command followed by the<br />

RUN command<br />

4 - 73

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

Saved successfully!

Ooh no, something went wrong!