EasyManuals Logo

Allen-Bradley Micro820 User Manual

Allen-Bradley Micro820
184 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 #73 background imageLoading...
Page #73 background image
Rockwell Automation Publication 2080-UM005B-EN-E - March 2015 65
Program Execution in Micro800 Chapter 6
Each program/POU can use up to 64 Kb of internal address space. It is
recommended that you split large programs into smaller programs to
improve code readability, simplify debugging and maintenance tasks.
A User Defined Function Block (UDFB) can be executed within another
UDFB, with a limit of five nested UDFBs. Avoid creating UDFBs with
references to other UDFBs, as executing these UDFBs too many times may
result in a compile error.
Example of Five Nested UDFBs
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 RSLogix 500
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 Insufficient Reserved Memory error while
downloading and compiling a program over a certain size. One
workaround is to use arrays, especially if there are many variables.
UDFB1
UDFB2
UDFB3
UDFB4
UDFB5

Table of Contents

Other manuals for Allen-Bradley Micro820

Questions and Answers:

Question and Answer IconNeed help?

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

Allen-Bradley Micro820 Specifications

General IconGeneral
Processor32-bit
Power Supply24V DC
Programming SoftwareConnected Components Workbench
SeriesMicro800
MountingDIN Rail
MemoryEmbedded
ExpansionYes
Controller TypeProgrammable Logic Controller (PLC)
CommunicationEthernet/IP
Programming LanguageLadder Diagram, Function Block Diagram, Structured Text
I/OEmbedded

Related product manuals