Author Topic: Undef. Interrupt Error Message  (Read 11031 times)

mvincent

  • Newbie
  • Posts: 8
  • Ska Brew!
    • View Profile
Undef. Interrupt Error Message
« on: March 23, 2012, 09:19:19 AM »
I keep getting this random error message:

Undef. Interrupt
CF# 0005:01CB


Can anyone give me some insight on why it is happening randomly and few and far between?

Thanks
Matt

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Undef. Interrupt Error Message
« Reply #1 on: March 23, 2012, 11:45:25 PM »
Undef. Interrupt means a system crash which can be caused by a number of factors.  CF#0005:01CB  means that the crash occur when the CPU was executing custom function 5 at code location 01CB hex. It does not necessarily mean that code at this location caused the crash, but it simply tells you where was the last code that the CPU was running when the crash occur.

You can open up custom function #5 and press <F8> key to open up a LIST window which list the code addresses in this function. Look for a location where 01CB hex falls and see what command it is .

If your crash is always showing at the same location, it is likely that the command itself may be a problem. For example if you run a command that disable an interrupt when an interrupt is pending it can occasionally cause an Undef. Interrupt.

If the crash appears to be happening at different location every time then it could be caused by external events such as receiving broken command packets from Ethernet or serial port  that accesses illegal locations or corrupting the memory. The probable cause is more complex and we may need to examine your system to better understand what might have caused the crash. Please write to support@tri-plc.com and provide more details about your system setup and what other devices it is communicating with.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS