EasyManuals Logo

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #638 background imageLoading...
Page #638 background image
638 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 20 Debug Instructions (BPT, TPT)
Example: You can display many tag values with the BPT instruction. However, the
formatting string can contain only 82 characters. Because the formatting string
requires two characters for each tag you want in the breakpoint, you cannot trace
more than 41 tags with a single BPT instruction. However, to separate tag data in
your traces, you will need to include spaces and other formatting, thus reducing
the number of tag values that one BPT instruction can effectively display to far
fewer than 41.
This rung shows a breakpoint that stops program execution when an analog value
is greater than 3.02 or less than 2.01.
You want to display the breakpoint information in the Format string (myformat).
In this case, the format string contains the following text:
Breakpoint:The input value is %f
When the breakpoint triggers, the breakpoint trace window shows the characters
before the colon (‘Breakpoint’) in the title bar of the trace window. The other
characters make up the traces. In this example, %f represents the first (and in this
case, the only) tag to be traced (‘analogvalue’).
The resulting traces appear as shown here.

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals