login about faq

Is there a method to halt the program scan and step through ladder logic rung by rung using Control Logix for troubleshooting purposes?

asked Apr 07 '10 at 20:32

Jordan%20Querin's gravatar image

Jordan Querin
462


Don't know of an actual "Step" function built-in. However, when I have a difficult or dangerous series of logic (think complex servo motions), I use a "Debug" contact on each rung of logic. They are typically named something like DEBUG001, DEBUG002, DEBUG003, Etc. These contacts have NO LOGIC driving them! When executing the logic, these rungs only run when I am online with Logix5000, and turn the DEBUGxxx bit on using the toggle bit command (Ctl-T, or Right-Click & select from menu). That way I can watch each step complete before allowing the next to activate.

---------------------------------------------------------
For Example:

DEBUG001                                  Step1
-----| |------ ..... Misc Logic ..... -----(  )-----

DEBUG002                                  Step2
-----| |------ ..... Misc Logic ..... -----(  )-----
-----------------------------------------------------------

Hope this helps!

/David/

link

answered Apr 13 '10 at 13:01

DavidHauer's gravatar image

DavidHauer
1

Not that I know of as PLC logic is always supposed to be "scanning". However, you might find the Trend tool useful. You can "watch" a bunch of tags, capture them during the operation of the machine, and then play it back like a logic analyzer. Very useful to capturing quick things that are happening.

I have also put in "trap logic" that looks for specific conditions and sets a bit, etc., just to see if something weird is happening.

Good luck!

link

answered Apr 14 '10 at 00:46

Scott%20Whitlock's gravatar image

Scott Whitlock ♦♦
635115

If you have access to their emulator SW it has a single scan mode. That is all I am familiar with.

link

answered Apr 01 '11 at 04:39

Chris%20Schleich's gravatar image

Chris Schleich
1

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×9
×1
×1
×1

Asked: Apr 07 '10 at 20:32

Seen: 916 times

Last updated: Apr 01 '11 at 04:39