Rockwell Automation Logix5000 Logix5000 Controllers Quick Start User Manual
Page 5

5
Publication 1756-QS001E-EN-P - October 2009
5
Table of Contents
About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Required Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Program and Test a Simple Project
What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Before You Begin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Create a Project for the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Conventions for Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Add Your I/O Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Look at Your I/O Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Ladder Logic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Enter Ladder Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Enter a Function Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Create a Routine. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Call the Routine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Enter a Function Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Configure a Function Block Instruction. . . . . . . . . . . . . . . . . . . . . 24
Assign Alias Tags for Your Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Show or Hide Alias Information. . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Establish a Serial Connection to the Controller . . . . . . . . . . . . . . . . . . 28
Download a Project to the Controller. . . . . . . . . . . . . . . . . . . . . . . . . . 30
Select the Operating Mode of the Controller . . . . . . . . . . . . . . . . . . . . 32
What You Need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Before You Begin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Follow These Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Configure the Task Execution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Create Additional Programs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Create User-defined Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Define Your Routines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Define a Routine for Each Section of a Machine or Process . . . . 44
Identify the Programming Languages That Are Installed . . . . . . . 44
Assign a Programming Language to Each Routine . . . . . . . . . . . . 45
Divide Each Routine Into More Meaningful Increments . . . . . . . 46
Assign Main Routines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Configure the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Configure I/O Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49