From HFML-FELIX Wiki
Jump to: navigation, search

If the VIPA PLC on the FLARE gun deck stops altogether (because of loss of program error), the following steps may help you resolve this error.

Wiping the memory card

[edit | edit source]

This step is required if the SF led keeps turning on, and the diagnostic buffer shows errors similar to this:

DEFECTIVE: canceled by watchdog/processor exceptions
No relevance for user: 0302 00cd ffff
Previous operating mode: Configuration in RUN
Requested operating mode: Configuration in RUN
External error, Incoming event.

Event ID: 16# E0CC (communication error)
OB: 16# 00
PK: 16# 00
DatID 1/ 2: 16# 09  00
Additional info1 / 2 / 3: 16# 0001  132D  0000
Outgoing event
12:47:21.680 PM  12/13/2017

STOP caused by error when allocating local data
Caused by OB:    0 Priority class:    0
Previous operating mode: STARTUP (warm restart)
Requested operating mode: STOP (internal)
Priority class:  6
Internal error, Incoming event
12:29:27.090 PM  12/13/2017
The following approach deletes the internal RAM of the CPU completely and sets it back to the delivery state. Please regard that the MPI address is also set back to default 2!
  • Push down the reset lever for app. 30 seconds. The ST-LED blinks. After a few seconds the LED turns to static light. Count the number of static light phases because now the LED switches between static light and blinking.
  • After the 6th static light you release the reset lever and push it down again shortly. Now the green RUN-LED is on once. This means that the RAM is totally deleted.
  • Turn the power supply off and on again.

Reprogamming the CPU

[edit | edit source]
  • Not sure if this is needed, but if you did the previous step, the RUN/STOP lever is probably still in STOP.
  • Log into linac-control.
  • Start the SIMATIC software, open the FLARE ESOURCE CONTROL project (hopefully from the library of recent projects, otherwise you have to find it on the flare-inst share.
  • Expand the VIPA module, right click the CPU and choose Download, then flash all the blocks. Then put the lever in RUN mode.
  • Check with SIMATIC software if the run mode is actually in RUN, if not, start it.
  • Now things should work as intended.
Reprogram the CPU by right clicking the PLC and choosing PLC->Download