design for reuse: increase your productivity with modular programming

9
Copyright © 2014 Rockwell Automation, Inc. All Rights Reserved. PUBLIC INFORMATION Design for Reuse Studio 5000 – Logix Designer

Upload: rockwell-automation

Post on 22-Jun-2015

389 views

Category:

Technology


0 download

DESCRIPTION

Modular programming is a way to increase your productivity by using reusable logic and objects. This session will cover the basics of modular programming from development to deployment. Come see what Rockwell Automation has to offer! The session includes both instructor-led demonstrations as well as hands-on activities.

TRANSCRIPT

Page 1: Design for Reuse: Increase Your Productivity with Modular Programming

Copyright © 2014 Rockwell Automation, Inc. All Rights Reserved.

PUBLIC INFORMATION

Design for Reuse Studio 5000 – Logix Designer

Page 2: Design for Reuse: Increase Your Productivity with Modular Programming

Copyright © 2014 Rockwell Automation, Inc. All Rights Reserved.

Lab Overview

Learn how to improve efficiencies using modular programming

Learn about new features that enhance modular programming within Studio

5000

Hands-On experience with a pre-release build of Studio 5000

3

Explore the Studio 5000 Automation Engineering and Design Environment™

CompactLogix

1769-L36ERM Demo box

Page 3: Design for Reuse: Increase Your Productivity with Modular Programming

Copyright © 2014 Rockwell Automation, Inc. All Rights Reserved.

Modular Programming Concepts

The Fundamentals

Page 4: Design for Reuse: Increase Your Productivity with Modular Programming

Copyright © 2014 Rockwell Automation, Inc. All Rights Reserved.

My Engineering Team

What is Modularity?

Each team member has their own module

Each module has Inputs/Outputs

Each module does something different

Outputs from one module are used as input

into another module

5

Modularity is the degree to which a system's components may be separated and recombined

Breaking apart a larger problem and providing flexibility later

Page 5: Design for Reuse: Increase Your Productivity with Modular Programming

Copyright © 2014 Rockwell Automation, Inc. All Rights Reserved.

Interface

Modular Programming Conceptual Image

6

Pieces and Parts

Leave the details to the designer

Input1

Input2 Output1

Code

Local Tags

Connections

My_Module

The module contains the “details” of the solution,

The

“Details”

The output is the “Result”

The

“Result”

Page 6: Design for Reuse: Increase Your Productivity with Modular Programming

Copyright © 2014 Rockwell Automation, Inc. All Rights Reserved.

Non-Modular Programming Conceptual Image

7

With no clear interface defined, we have a harder time determining interaction between sections of code

Main

code

code

code

code

code

code

code

code

code

Page 7: Design for Reuse: Increase Your Productivity with Modular Programming

Copyright © 2014 Rockwell Automation, Inc. All Rights Reserved.

Modular Programming Conceptual Image

8

My Machine Code

code

Interface

Local tags

code

Interface

Local tags

code

Interface

Local tags

The interface and local tags are key to modularity

Page 8: Design for Reuse: Increase Your Productivity with Modular Programming

Copyright © 2014 Rockwell Automation, Inc. All Rights Reserved.

We care what you think!

On the mobile app:

1. Locate session using

Schedule or Agenda Builder

2. Click on the thumbs up icon on

the lower right corner of the

session detail

3. Complete survey

4. Click the Submit Form button

9

Please take a couple minutes to complete a quick session survey to tell us how we’re doing.

2

3

4

1

Thank you!!

Page 9: Design for Reuse: Increase Your Productivity with Modular Programming

Copyright © 2014 Rockwell Automation, Inc. All Rights Reserved.

www.rsteched.com

Follow RSTechED on Facebook & Twitter. Connect with us on LinkedIn.

PUBLIC INFORMATION

Thank You for Attending!