User manual
Publication 1768-UM001C-EN-P - November 2007
Develop Applications 75
Selecting a Programming
Language
The CompactLogix controller supports these programming languages, both
online and offline.
Add-On Instructions
With RSLogix 5000 programming software, version 16, you can design and
configure sets of commonly used instructions to increase project consistency.
Similar to the built-in instructions contained in Logix5000 controllers, these
instructions you create are called Add-On Instructions. Add-On Instructions
reuse common control algorithms. With them, you can:
• ease maintenance by animating logic for a single instance.
• protect intellectual property with locking instructions.
• reduce documentation development time.
You can use Add-On Instructions across multiple projects. You can define
your instructions, obtain them from somebody else, or copy them from
another project.
Logix5000 Programming Languages
Required Language Programs
Ladder diagram (LD) Continuous or parallel execution of out-of-sequence
operations
Boolean or bit-based operations
Complex logical operations
Message and communication processing
Machine interlocking
Operations that service or maintenance personnel may
have to interpret in order to troubleshoot the machine
or process
Function block diagram (FBD) Continuous process and drive control
Loop control
Calculations in circuit flow
Sequential function chart (SFC) High-level management of multiple operations
Repetitive sequence of operations
Batch process
Motion control using structured text
State machine operations
Structured text (ST) Complex mathematical operations
Specialized array or table loop processing
ASCII string handling or protocol processing