• No results found

Software Components

In document CONTROLLOGIX (Page 51-55)

Software Components

In this exercise, you will practice identifying RSLogix 5000 software components.

Directions:

For help performing steps in this exercise, see the associated job aid(s).

1.

1. Start RSLogix 5000 software.

2.

2. Open the PR3_1756r_A1.acd PR3_1756r_A1.acd project file.

3.

3. In the Controller Orga nizer, expand the MainProgram folder and then double-click the Lights Lights routine.

4.

4. Place a check in the box after you locate eac h of the following software components:

- Standard toolbar - Online toolbar - Path toolbar

- Language Element toolbar - Routine Editor/Tags window

If you do not see all of the toolbars, from the View menu, select Toolbars . . .

Toolbars . . . then click Restore Factory Toolbar Layout Restore Factory Toolbar Layout. 5.

5. In the Language Eleme nt toolbar, find and click the Move/Logical

Move/Logical tab.

6.

6. On the Move/Logic al tab, scroll to the last instruc tion button on the right.

7.

7. Use ToolTips to identify the button.

8.

8. What is the instruction?

9.

9. In the Language Eleme nt toolbar, find and click the Favorites Favorites tab.

Exercise A Exercise A

"

Tip

Tip

2--12

2--12 Exercise: Identifying RSLogix 5000 Software Components

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved. Rev. Rev. February February 20072007 PR3e56r 10.

10. Customize the Favorites tab of the Langua ge Element toolbar by performing the following actions:

A.

A. Add one new instruction button.

B.

B. Move one button to a diff erent position.

11.

11. In the main screen, in the Language Element toolbar , review the resulting changes to the Favorites tab.

12.

12. In the Controller Organizer, double-click the Controller Tags icon.

13.

13. Switch between the Monitor Tags and Edit Tags windows.

14.

14. Hide the Controller Organizer.

15.

15. Close the Tags window.

16.

16. Configure the RSL ogix 5000 software dis play by performing the following actions:

C

Caatteeggoorry y OpOpttiioonn Application

Application Set the number of project backuSet the number of project backups to 1ps to 1 T

Tag ag EdiEditor tor DisDisplaplay y SeSet t the the DeDefaufault lt DatData a TTypype e to to DINDINTT Ladd

Ladder er EditEditor or DispDisplay lay Show Show RouRoutine tine DescDescriptiriptionsons Ladder

Ladder Editor Editor Font/Color Font/Color Change Change the enthe end rund rung colog color to r to a coloa color other other than r than blackblack FBD

FBD EditEditor or FonFont/Cot/Color lor Change Change the the FBD FBD wire wire colocolorr

Be sure to apply these changes.

17.

17. Re-open the Controller Organizer.

18.

18. In the Help system , locate informa tion about the Online bar (toolbar) in the Index.

19.

19. In the Instruction Help section of the Help sys tem, locate information on the XIC bit instruction.

Click the link to the Alphabetical Listing Alphabetical Listing and then click X X. 20.

20. Access the Quick Start page . 21.

21. View the tutorial on crea ting a new project.

22.

22. Access the Learning Center and explore some of the available topics.

23.

23. Close the Help system.

24.

24. Close the file without saving it.

25.

25. Open the PR3_1756r_A2.acd PR3_1756r_A2.acd project file.

26.

26. In the Controller Organizer, in the MainProgram folder, double-click the Ladder Ladder routine.

"

2--13 2--13 Exercise: Identifying RSLogix 5000 Software Components

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved.

Rev. February 2007 Rev. February 2007

PR3e56r 27.

27. Scroll to the end rung.

28.

28. Are your changes to the softwar e display still maintained ?

29.

29. To create data for the Results window, from the Logic menu, select Verify Verify RoutineRoutine.

30.

30. Scroll through the errors in the Results window . 31.

31. Close the Results window.

32.

32. Return to the Workstation Options dialog box and click Reset Reset Category

Category for all applicable Editor categories.

Some Editor categories cannot be reset automatica lly. If changes are needed to the options in these categories, they must be made manually.

33.

33. Close the project file without saving it.

Turn to the Answers section.

"

Tip Tip

How Did You Do?

How Did You Do?

2--14

2--14 Exercise: Identifying RSLogix 5000 Software Components

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved. Rev. Rev. February February 20072007 PR3e56r

Exercise A Exercise A

4.

4. The software components ca n be found in the following default locations:

Controller Controller Organizer Organizer

Routine Editor/

Routine Editor/

Tags Window Tags Window Standard Toolbar

Standard Toolbar Online Toolbar Online Toolbar

Path Toolbar

Path Toolbar Language Language Element Element ToolbarToolbar

8.

8. The last instruc tion is BTD, or Bit Field Distri bute.

28.

28. Yes. Your configuration will be maintained because display and toolbar configurations apply to the computer and not to particular projects.

Answers

Answers

Lesson Lesson 3 3

E 2007 Rockwell Automation, Inc. All rights reserved.2007 Rockwell Automation, Inc. All rights reserved.

Rev. February 2007

After completing this lesson, you should be able to create and modify an RSLogix 5000 project by performing the following tasks:

• Identify tasks, programs, and routines

• Create a new RSLogix 5000 project file

• Modify the default task, progr am, and routine

• Create a task, program, and routine

Why These Skills Are Important Why These Skills Are Important

Outputs are controlled based on the organization and execution of a project. Having the skills to properly organiz e or interpret project structure may reduce errors and future downtime.

RSLogix 5000 Project Files RSLogix 5000 Project Files Project/Pr

Project/Project oject File:File: An RSLogix 5000 software file that stores all programming and configuration information for a Logix5000 t controller.

RSLogix 5000 project files have the extension .acd.

Project files should be opened directly from the computer hard drive or network. Files on a disk or CD-ROM should first be copied to the hard drive or network.

Project Components Project Components

The following three components are used to organize a project and direct the execution of code:

• Task: Task: A scheduling mechanism for executing programs.

• Program: Program: A set of related routines and tags.

• Routine: Routine: A set or sequence of programming code executed as a block.

Code is executed to completion when a routine runs.

What You Will Learn What You Will Learn

Before You Begin Before You Begin

Note that by default project files Note that by default project files will savewill save back to the directory where they were back to the directory where they were opened. If this is a disk or CD-ROM, the opened. If this is a disk or CD-ROM, the save will not work.

save will not work.

Tip Tip "

If you are teaching the standard If you are teaching the standard course, note that tags are data storage course, note that tags are data storage mechanisms that will be covered later mechanisms that will be covered later inin the course.

the course.

"

Tip

Tip

In document CONTROLLOGIX (Page 51-55)