39
PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 1 L14 - Experience Connected Components Workbench™ Software to Develop Your Basic Standalone Machine Application

Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

Embed Size (px)

Citation preview

Page 1: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC

Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 1

L14 - Experience Connected Components Workbench™

Software to Develop Your Basic Standalone Machine

Application

Page 2: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 2

Connected Components Workbench™ Software

Page 3: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 4

Connected Components Workbench™ SoftwareSingle Software for All Your Component Devices

Easy to Configure

Easy to Program

Easy to Visualize

Page 4: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 5

PowerFlex® Compact AC Drive Family

Compact PowerFlex® drives deliver a simple and cost-effective solution for

machine level, standalone control applications or simple system integration.

Designed for ease of use, this general-purpose class of drives provides a compact package to optimize panel space and application versatility.

0.2–22 kW / 0.25–30 Hp

Page 5: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 6

Micro800® Controller Family

Micro820®

For smaller standalone

machines and remote

automation

Perf

orm

an

ce/F

eatu

res

Local I/O

Embedded

Analog I/O

12 pts.

20-36 pts.10-88 pts.

24-132 pts.Each controller is cost and performance

optimized for specific applications

Micro870™

For larger standalone

machines with motion,

even more I/O, more

memory and Ethernet

connectivity.

24-296 pts.

Micro830®

For standalone

machines with motion

Micro810®

Programmable relay

replacer and timer8 A relay outputs,

Analog inputs

Micro850®

For standalone

machines with motion,

more I/O, and Ethernet

connectivity.

Page 6: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 7

PanelView™ 800 Graphic Terminal Family

Ethernet & Serial

Communications

65K Colors

Touch screen

IP65, NEMA 4X

Rated

Virtual Network

Computing (VNC)

Server

Tactile Keypad

(4”)Class 1 Division 2

Certified

Quick Lever

Panel Mount

microSDTM for

Datalog /

Recipe / File Transfer

Built-in Real-time Clock

High-resolution Display

with light-emitting diode (LED)

Backlight

Controllers Supported:

MicroLogix™, Micro800®

and CompactLogix™ 5370

3 Sizes – 4”, 7”, 10”

Landscape / Portrait

Applications

Page 7: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 8

“Connected Components Machine”

Micro850®

Controller(PLC)

PowerFlex® 4MVariable

Frequency Drive(VFD)

7-inch PanelView™ 800Graphic Terminal

(HMI)

Kinetix® 3 Servo Drive

Page 8: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 9

Standard Edition Developer Edition

Price Free for download

or on DVD

Contact local distributor or

Rockwell Automation®

Sales

Common environment to configure all your

component devices

Yes Yes

Project import/export Yes Yes

Archive manager No Yes

Micro800® Controllers Programming

- IEC 61131-3 ladder diagram, function block

diagram, and structured text programming languages

Yes Yes

- User-defined Function Blocks (UDFBs) Yes Yes

- Run Mode Change (RMC) No Yes

- User-defined Data Types (UDTs) Use UDTs Create/Edit/Use UDTs

- Spy Lists (custom data monitors) Use Spy Lists Create/Edit/Use Spy Lists

- Intellectual Property Protection (passwords) Use passwords Create/Edit/Use passwords

Connected Components Workbench™ Software Comparison of Standard Versus Developer Editions

Standard Edition is meant to be installed on many Personal Computers (PCs) to help ensure availability for simple debugging and configuring devices.

Developer Edition is for machine developers to reduce their time to Design, Develop and Deliver.

Page 9: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 10

Lab Exercises

1. Create a new project, add a controller to the project and configure controller plug-in modules.

2. Add a drive to the project using Discover mode and configure the drive using a Startup Wizard.

3. Add a ladder diagram program, rename the program and create one rung of ladder logic to start/stop the motor.

4. Build, download and test the program.

5. Using Run Mode Change, add a Structured Text (ST) program to control motor speed, then test and accept the change.

6. Import completed controller project, add a graphic terminal and define tags using direct referencing.

7. Create a new graphic terminal screen with push buttons and numeric entry, then download and test the terminal application.

8. Use a Virtual Network Computing (VNC) client to operate the graphic terminal screens remotely from your PC.

Extra – Demo of controlling machine remotely from a cell phone using VNC

Page 10: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 11

Lab Exercise #1

Create a new project, add a controller to the project and configure controller

plug-in modules.

Pages 5-10, Steps 1-8

4 minutes

Page 11: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 12

0001020304 00003000300030003000

Pages 5-10, Steps 1-8

Page 12: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 13

Connected Components Workbench™ SoftwareStart Page

Start Page provides

Easy Project Navigation

Create New project from catalog list or network browse

Open Existing project

Discover – create new project uploaded from an existing device

Helpful Getting Started with clickable links to online resources

Convenient access to Recentprojects that have been opened

Page 13: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 14

Connected Components Workbench™ SoftwareProject Organizer

Project Organizer displays the devices in your project,

Controller,

Graphic terminal,

Drive(s),

Soft starter(s),

Safety relay, and/or

Light curtain(s),

in an organized tree view.

Double-click on the device icon to display it in the workspace to the right.

Page 14: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 15

Lab Exercise #2

Add a drive to the project using Discover mode and configure the drive

using a Startup Wizard.

Pages 11-19, Steps 9-21.

4 minutes

Page 15: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 16

0001020304 00003000300030003000

Pages 11-19, Steps 9-21

Page 16: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 17

Connected Components Workbench™ SoftwareDrive Support

Drive support is included for all PowerFlex® drive families, as well as for the Kinetix® 3 servo drive.

Wizards provide easy step-by-step drive configuration.

View/edit parameters and view/clear faults.

DeviceLogix™ editor is included for drives that support this embedded control capability.

Page 17: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 18

Lab Exercise #3

Add a ladder diagram program, rename the program and create one rung of

ladder logic to start/stop the motor.

Pages 20-29, Steps 22-40.

9 minutes

Page 18: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 19

00010203040506070809 0000300030003000300030003000300030003000

Pages 20-29, Steps 22-40

Page 19: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 20

Connected Components Workbench™ SoftwareLadder Logic Programming

Toolbox displays icons for items that you can add to programs. You can either drag and drop or copy and paste these items into the design workspace.

The LD Toolbox lists the elements, like contacts and coils, that are used to program rungs of ladder logic.

Dropping an Instruction Block on a rung brings up the Instruction Block Selector, which lists over 150 additional instructions that you can choose from, like Timer ON-delay (TON).

Page 20: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 21

Connected Components Workbench™ SoftwareToolbox

There is editor-specific toolbox contents for

Ladder Diagram (LD)

Structured Text (ST)

Function Block Diagram (FBD)

Graphic Terminal Screens

Page 21: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 22

Lab Exercise #4

Build, download and test the program.

Pages 30-35, Steps 41-51.

4 minutes

Page 22: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 23

0001020304 00003000300030003000

Pages 30-35, Steps 41-51

Page 23: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 24

Connected Components Workbench™ SoftwareLadder Logic Programming

Turn and hold the Start Motor switch for 1 second.

The TON ‘Q’ output turns on when the timer is done – that is, the Preset/ Programmed Time (‘PT’) input equals the Elapsed Time (‘ET’) output.

The motor output turns on and the branch seals the start circuit so that the Start Motor switch can be released.

The Stop Motor switch interrupts the circuit and turns off the motor output.

Page 24: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 25

Lab Exercise #5

Using Run Mode Change, add a Structured Text (ST) program to control

motor speed, then test and accept the change.

Pages 36-43, Steps 52-68.

8 minutes

Page 25: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 26

000102030405060708 000030003000300030003000300030003000

Pages 36-43, Steps 52-68

Page 26: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 27

Connected Components Workbench™ SoftwareRun Mode Change (RMC) and Structured Text (ST)

RMC allows changes to be made to a running controller without interruption.

Structured Text is similar to high-level computer programming languages and includes common constructs such as

IF THEN ELSE

FOR

REPEAT UNTIL

WHILE

CASE

ST is the most memory efficient programming language for Micro800®

and simplifies complicated computations.

Page 27: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 28

Connected Components Workbench™ SoftwareProgram Execution

The programs in Project Organizer can be a mixture of Ladder Diagram, Structured Text and Function Block Diagram.

The programs are executed in the order they appear from top to bottom.

You can click and drag a program to another position to change the order of execution.

Page 28: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 29

Lab Exercise #6

Import completed controller project, add a graphic terminal and define tags

using direct referencing.

Pages 44-54, Steps 69-100.

7 minutes

Page 29: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 30

0001020304050607 00003000300030003000300030003000

Pages 44-54, Steps 69-100

Page 30: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 31

Connected Components Workbench™ SoftwareTag Browsing

Tag browsing of variable addresses that exist in the Micro800® project makes it easy to configure new HMI tags.

Page 31: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 32

Lab Exercise #7

Create a new graphic terminal screen with push buttons and numeric entry,

then download and test the terminal application.

Pages 55-71, Steps 101-167.

18 minutes

Page 32: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 33

00010203040506070809101112131415161718 0000300030003000300030003000300030003000300030003000300030003000300030003000

Pages 55-71, Steps 101-167

Page 33: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 34

Connected Components Workbench™ SoftwareScreen Creation

Toolbox and Properties windows are all you need to easily create your application screens

Page 34: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 35

Lab Exercise #8

Use a Virtual Network Computing (VNC) client to operate the graphic

terminal screens remotely from your PC.

Pages 72-77, Steps 168-187.

5 minutes

Page 35: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 36

000102030405 000030003000300030003000

Pages 72-77, Steps 168-187

Page 36: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 37

Connected Components Workbench™ SoftwareVirtual Network Computing (VNC)

Configure VNC server on PanelView™ 800 terminal for view-only and/or control access.

Use widely available VNC client software to connect from PC, tablet or mobile phone (one at a time).

If a password is forgotten, then re-flashing the terminal firmware will clear the passwords.

Page 37: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 38

Connected Components Workbench™ SoftwareVirtual Network Computing (VNC)

Guidelines for using VNC

It is recommended that you only enable the view-only access to the terminal. Enabling control access increases the security risk if the password is compromised.

Only one active VNC connection is supported.

Terminate the VNC connection before performing a firmware update as it may interfere with the process.

The mouse action “press and hold” is not supported over VNC.

Recommended VNC Clients

Tight VNC: for PC/Laptop

Real VNC: for mobile and tablet (iOS and Android), PC/Laptop

Mocha VNC: for mobile and tablet (iOS, Android, Windows)

Ultra VNC: for PC/Laptop

See the PanelView™ 800 User Manual (2711R-UM001) for more detailed guidelines and recommended VNC Client configuration.

Page 38: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

PUBLIC Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 39

Demo of Controlling Machine Remotely from a Cell Phone

Using VNC

Page 39: Software to Develop Your Basic Standalone Machine …PLC) PowerFlex ® 4M Variable ... Lab Exercises 1. Create a new project, add a controller to the project and configure controller

www.rockwellautomation.com

PUBLIC

Copyright © 2018 Rockwell Automation, Inc. All Rights Reserved. 40

Thank You!