EasyManuals Logo

Allen-Bradley 2080-LC10-12AWA User Manual

Allen-Bradley 2080-LC10-12AWA
102 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 #47 background imageLoading...
Page #47 background image
Rockwell Automation Publication 2080-UM001B-EN-E - November 2011 39
Running Programs with Micro800 Appendix B
A User Defined Function Block (UDFB) can be executed within another
UDFB, with a limit of 5 nested UDFBs. Avoid creating UDFBs with
references to other UDFBs, as executing these UDFBs too many times may
result in a compile error.
Structured Text (ST) is much more efficient and easier to use than Ladder
Logic, when used for equations. if you are used to using the RSLogix500
CPT Compute instruction, ST combined with UDFB is a great
alternative.
As an example, for an Astronomical Clock Calculation, Structured Text
uses 40% less Instructions.
Display_Output LD:
Memory Usage (Code) : 3148 steps
Memory Usage (Data) : 3456 bytes
Display_Output ST:
Memory Usage (Code) : 1824 steps
Memory Usage (Data) : 3456 bytes
You may encounter an issue with downloading and compiling a program
over a certain size. One workaround is to use arrays, especially if there are
many variables.
Program
UDFB1
UDFB2
UDFB3
UDFB4
UDFB5
Example of 5 nested UDFBs

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley 2080-LC10-12AWA and is the answer not in the manual?

Allen-Bradley 2080-LC10-12AWA Specifications

General IconGeneral
BrandAllen-Bradley
Model2080-LC10-12AWA
CategoryController
LanguageEnglish

Related product manuals