jraef
Electrical
- May 29, 2002
- 11,364
Forgive me brothers, for I have sinned...
Not really, but I am about to. I have a project with a SLC5/03 processor, W98 laptop with a serial port (so rare now I dare not give it up) and RSLogix 500. When I first power up my SLC system AND do a fresh boot on the laptop, I can download my program into the SLC. Then I go on line and everything is fine. After being on line I can view my program (troubleshooting it right now), but as soon as I go into my Alarm subroutine for any reason, I loose comms! Once lost, I can't re-establish it. I keep getting the timeout on the RSLogix program essentially telling me it can't find the processor at that node / address. At first the PLC processor kept locking up on hardware watchdog timeouts, but I think I figured that out because I had forces in the test program, and when it loses comms when forces are enabled, the SLC CPU must go into lockdown as a fail-safe condition. I removed all the forces, killed power everywhere, was able to reload the program, and it worked. But again, as soon as I went into the Alarm subroutine, I lost comms again! I have a backup processor card and stabbed it in, does the same thing. I tested the RS232 cable, no apparent problems. And like I said, I can load the new program ONCE when everything is fresh, but sooner or later I lose comms, and it seems to only happen when I enter that Alarm subroutine. Arrrrrgghhh!
Any ideas?
JRaef.com
Eng-Tips: Help for your job, not for your homework Read faq731-376![[pirate] [pirate] [pirate]](/data/assets/smilies/pirate.gif)
Not really, but I am about to. I have a project with a SLC5/03 processor, W98 laptop with a serial port (so rare now I dare not give it up) and RSLogix 500. When I first power up my SLC system AND do a fresh boot on the laptop, I can download my program into the SLC. Then I go on line and everything is fine. After being on line I can view my program (troubleshooting it right now), but as soon as I go into my Alarm subroutine for any reason, I loose comms! Once lost, I can't re-establish it. I keep getting the timeout on the RSLogix program essentially telling me it can't find the processor at that node / address. At first the PLC processor kept locking up on hardware watchdog timeouts, but I think I figured that out because I had forces in the test program, and when it loses comms when forces are enabled, the SLC CPU must go into lockdown as a fail-safe condition. I removed all the forces, killed power everywhere, was able to reload the program, and it worked. But again, as soon as I went into the Alarm subroutine, I lost comms again! I have a backup processor card and stabbed it in, does the same thing. I tested the RS232 cable, no apparent problems. And like I said, I can load the new program ONCE when everything is fresh, but sooner or later I lose comms, and it seems to only happen when I enter that Alarm subroutine. Arrrrrgghhh!
Any ideas?
JRaef.com
Eng-Tips: Help for your job, not for your homework Read faq731-376
![[pirate] [pirate] [pirate]](/data/assets/smilies/pirate.gif)