News:

  • June 09, 2026, 11:33:01 AM

Login with username, password and session length

Author Topic: PLC crashes after syntax check  (Read 11999 times)

kmuldrew

  • Newbie
  • *
  • Posts: 1
PLC crashes after syntax check
« on: March 07, 2011, 10:48:43 PM »
DL 205 with DS260 and a whole lot of I/O cards running a reasonably large plant. I rerouted an input wire to a different card, changed the input location using DirectSoft 32 v.4, saved to disk (but not to PLC) and then ran a syntax check (I didn't mean to, but that is what I did). The PLC crashed and brought the plant down. After turning the PLC from "term" to "stop", then to "run" and back to "term", everything came back on line (whew!).

Should this have happened? Can a syntax check when the PLC and the saved program are out of sync really bring down the whole operation? I wonder if a careless click of the syntax check function should put so much automation in jeopardy.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: PLC crashes after syntax check
« Reply #1 on: March 07, 2011, 11:57:00 PM »
Whoa!?!  Syntax Check is done by the PLC firmware in the PLC.  Not sure what happened there.  You may want to contact AutomationDirect techsupport.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: PLC crashes after syntax check
« Reply #2 on: March 08, 2011, 07:08:22 AM »
I wonder if a Syntax check while running a very large program could trigger a Watchdog timeout?
An output is a PLC's way of getting its inputs to change.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3827
    • Host Engineering
Re: PLC crashes after syntax check
« Reply #3 on: March 08, 2011, 08:47:50 AM »
I don't know, but that would be a good question to ask ADC Tech Support.

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 702
  • Hmmm...
    • Host Engineering, Inc.
Re: PLC crashes after syntax check
« Reply #4 on: March 09, 2011, 02:05:22 PM »
My understanding of this after talking to AD about it, is the CPU does the syntax check (not DirectSOFT), but the issue is it cannot do that in RUN mode. The CPU should be put in the STOP mode before doing this.
There are two types of people in the world; those that can extrapolate from incomplete data sets.