100% found this document useful (4 votes)
740 views140 pages

RA Foundations - Studio 5000 and Logix

Studio 5000 y Logix
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
100% found this document useful (4 votes)
740 views140 pages

RA Foundations - Studio 5000 and Logix

Studio 5000 y Logix
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 140

ROCKWELL AUTOMATION | FOUNDATIONS

Studio 5000 and Logix


ROCKWELL AUTOMATION | FOUNDATIONS

Class Format

Part 1 – Instructor lead introduction


Instructor leads class through each of the sections
Part 2 – Independent self-paced labs
Instructor gives a 10 minute overview.
The list of available sections are briefly covered.
Students pick and choose the self-passed labs to suit themselves.

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 2


ROCKWELL AUTOMATION | FOUNDATIONS

Introduction – Part 1
ROCKWELL AUTOMATION | FOUNDATIONS

Studio 5000 Logix Designer®

V20 and back V21 and forward

RSLogix 5000® Studio 5000 ®


Logix Designer application

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 4


ROCKWELL AUTOMATION | FOUNDATIONS

Studio 5000® Components

Application Code
Manager

Architect

View
Designer

Logix
Designer

Intuitive, integrated design and configuration suite


with multiple plug-in components
PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 5
ROCKWELL AUTOMATION | FOUNDATIONS

Controller Portfolio
Micro Control Platform Standard Machines Complex Machines & Process Process Safety
Micro800™ Controller CompactLogix™ Controller ControlLogix Controller
®
AADvance® /Trusted®

• Low acquisition cost • Multiple control disciplines • Scalable redundancy for


• Easy connectivity • Flexible and scalable fault tolerance
• Simple programming tools • Real time information-enabled • Provides safety and
• Ideal for standalone machines • Standard, unmodified Ethernet availability requirements
• One common integrated design environment • Distributed processing power
• Local and distributed I/O options

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 6


ROCKWELL AUTOMATION | FOUNDATIONS

CompactLogix™ Controllers
CompactLogix™ 5370
• Integrated Motion on EtherNet/IP up to 16 axes
• Linear and Device Level Ring network topologies for up to 48 nodes
• Integrated safety up to SIL 3, PLe CAT 4 versions
• On-Machine™ version

CompactLogix™ 5380
• Integrated Motion on EtherNet/IP up to 32 axes
• Two Ethernet ports for dual IP or support for linear and Device Level Ring topologies for up to 80 nodes
• Enables high-speed I/O, motion control
• Enhanced security features

CompactLogix™ 5480
• Enables high-speed I/O, and Integrated Motion on EtherNet/IP up to 150 axes
• Includes three GbE EtherNet/IP ports supporting both linear or Device Level Ring topologies up to 250
nodes
• Provides a Logix based real-time controller that runs in parallel to an instance of
Windows 10 IoT Enterprise
• Enhanced security features PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 7
ROCKWELL AUTOMATION | FOUNDATIONS

ControlLogix® Controllers

ControlLogix® 5570
• Integrated motion on EtherNet/IP up to 100 axes
• Integrated safety up to SIL 3, PLe CAT 4 versions
• On-Machine™ versions
• Conformal coat and extreme environment versions
• Redundancy and removal insertion under power

ControlLogix® 5580
• Integrated motion on EtherNet/IP up to 256 axes
• 1 gigabit (Gb) embedded Ethernet port enables high-
speed I/O and motion control for up to 300 nodes
• Conformal coat versions
• Removal insertion under power
• Enhanced security features

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 8


ROCKWELL AUTOMATION | FOUNDATIONS

Integrated Motion, Safety and Drive Control

Controller
Controller owns
owns Stratix
Stratix®® config
config and
and
everything
everything diagnostics
diagnostics

Standard
Standard
Ethernet
Ethernet via
via
EtherNet/IP
EtherNet/IP

Safety
Safety I/O
I/O

Motion
Motion and
and
safety
safety control
control

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 9


ROCKWELL AUTOMATION | FOUNDATIONS

Lab Format

 10 short labs
 Each has a presentation
 Each is independent (more or less) from the others

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 10


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

New Project
New Project Download
Download

I/O
I/O UDTs
UDTs

Tags
Tags AOIs
AOIs

Programming
Programming STX and
STX and FBD
FBD

Tasks and
Tasks and Programs
Programs Logical Org
Logical Org // Trends
Trends

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 11


ROCKWELL AUTOMATION | FOUNDATIONS

New Project
Logix
Logix
Controller Selection Designer
Designer

Project Window

Controller organizer CompactLogix™


CompactLogix™
&
& ControlLogix
ControlLogix®®
Instruction Toolbar

Controller Faceplate Memory


Memory sizes
sizes

“ACD”
“ACD” file
file

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 12


ROCKWELL AUTOMATION | FOUNDATIONS

New Project

Controller Selection

Project Window
Revision
Revision
Controller organizer
Chassis
Chassis size
size
Instruction Toolbar
Slot
Slot
Controller Faceplate

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 13


ROCKWELL AUTOMATION | FOUNDATIONS

New Project
Instruction
Instruction palette
palette 250+
250+
Controller Selection predefined
predefined instructions
instructions

Project Window
Controller
Controller faceplate
faceplate
Controller organizer

Instruction Toolbar
Controller
Controller organizer
organizer

Controller Faceplate
Programming
Programming area
area

Quick
Quick view
view

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 14


ROCKWELL AUTOMATION | FOUNDATIONS

New Project
Descriptive
Descriptive tags
tags

Controller Selection
Integrated
Integrated safety
safety
Project Window

Controller organizer Integrated


Integrated motion
motion

Instruction Toolbar
Integrated
Integrated alarming
alarming
Controller Faceplate

Definitions
Definitions

I/O
I/O

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 15


ROCKWELL AUTOMATION | FOUNDATIONS

New Project
Instructions
Instructions
Controller Selection
Instruction
Instruction toolbar
toolbar
Instruction
Instruction groups
groups
Project Window

Controller organizer

Instruction Toolbar

Controller Faceplate

Drag
Drag and
and drop
drop
instructions
instructions
PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 16
ROCKWELL AUTOMATION | FOUNDATIONS

New Project

Controller Selection

Project Window
Online/offline
Online/offline Online
Online program
program edits
edits
Controller organizer

Instruction Toolbar

Controller Faceplate

Controller
Controller status
status

Controller
Controller properties
properties
PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 17
ROCKWELL AUTOMATION | FOUNDATIONS

New Project

 Lab 1 – Create a project


 3 minutes

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 18


ROCKWELL AUTOMATION | FOUNDATIONS

New Project
Discussion

 Questions?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 19


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

New Project
New Project Download
Download

I/O
I/O UDTs
UDTs

Tags
Tags AOIs
AOIs

Programming
Programming Structured Text
Structured Text

Tasks and
Tasks and Programs
Programs Logical Org
Logical Org // Trends
Trends

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 20


I/O
ROCKWELL AUTOMATION | FOUNDATIONS

A controller can handle many (different) devices


Modules and Devices

I/O Configuration folder

Adding I/O Profiles

I/O Properties

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 21


ROCKWELL AUTOMATION | FOUNDATIONS

I/O
Some I/O families
Modules and Devices

I/O Configuration folder

Adding I/O Profiles

I/O Profile Properties

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 22


ROCKWELL AUTOMATION | FOUNDATIONS

I/O

Modules and Devices

I/O Configuration folder

Adding I/O Profiles

Local
LocalI/O
Local I/O
I/O
I/O Profile Properties

Ethernet
Ethernet adapter
adapter
(node)
(node)

Remote
Remote I/O
I/O

Controller
Controller organizer
organizer

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 23


ROCKWELL AUTOMATION | FOUNDATIONS

I/O

Modules and Devices Objects in the I/O tree are called “Profiles”

I/O Configuration folder

Right-click
Right-click
Adding I/O Profiles
to
to add
add profile
profile

I/O Profile Properties

Each
Each remote
remote rack
rack or
or
device
device is
is aa node
node
(5580
(5580 and
and 5380)
5380)

Module
Module discovery
discovery when
when
online
online

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 24


ROCKWELL AUTOMATION | FOUNDATIONS

I/O
Search
Search by
by part
part number
number
Modules and Devices
Manufacturer
Manufacturer filter
filter

I/O Configuration folder


I/O
I/O type
type filter
filter
Adding I/O Profiles

I/O Profile Properties

List
List of
of available
available
modules
modules

Do
Do we
we want
want to
to add
add
more
more modules?
modules?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 25


ROCKWELL AUTOMATION | FOUNDATIONS

I/O

Modules and Devices Slot


Slot number
number

I/O Configuration folder Catalog


Catalog number
number

Adding I/O Profiles


Module
Module Name
Name

I/O Profile Properties

Revision
Revision info
info

Keying
Keying

Data
Data format
format

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 26


ROCKWELL AUTOMATION | FOUNDATIONS

I/O
Three choices for keying
Modules and Devices
• Exact Match
• Catalog and revision must exactly match
I/O Configuration folder
• Regulated Industries
Adding I/O Profiles • Compatible Module
• Module will determine if it can support features
I/O Profile Properties • This is recommended setting
• Disable Keying
• Always try to connect regardless of match.
• Only use if manufacturer advices

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 27


ROCKWELL AUTOMATION | FOUNDATIONS

I/O

Modules and Devices


Configuration
Configuration Other
Other options
options
I/O Configuration folder
Module
Module info
info
Adding I/O Profiles

I/O Profile Properties


Multiple
Multiple tabs
tabs

Information/
Information/
config
config area
area

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 28


ROCKWELL AUTOMATION | FOUNDATIONS

I/O

 Lab 2 – Adding I/O


 4 minutes

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 29


ROCKWELL AUTOMATION | FOUNDATIONS

I/O
Discussion

 Where is I/O located in a project?


 I/O configuration folder
 What is keying?
 Determines if a module is compatible with profile

 Questions?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 30


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

New Project
New Project Download
Download

I/O
I/O UDTs
UDTs

Tags
Tags AOIs
AOIs

Programming
Programming Structured Text
Structured Text

Tasks and
Tasks and Programs
Programs Logical Org
Logical Org // Trends
Trends

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 31


ROCKWELL AUTOMATION | FOUNDATIONS

Tags
Viewing Tags Tag
Tag list
list
Scope
Scope selection
selection

I/O Tags Tag


Tag window
window
Controller
Controller scope
scope tags
tags

Adding Tags

Controller vs Program Scope

Alias Tags

Program
Program scope
scope tags
tags

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 32


ROCKWELL AUTOMATION | FOUNDATIONS

Tags
Only
Only I/O
I/O tags
tags have
have colons
colons
Viewing Tags Controller
Controller scope
scope in
in the
the tag
tag name
name

I/O Tags

Adding Tags

Controller vs Program Scope

Alias Tags

Remote
Remote modules
modules begin
begin with
with
the
the adapter
adapter name
name

Local
Local modules
modules begin
begin with
with
“Local”
“Local”

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 33


ROCKWELL AUTOMATION | FOUNDATIONS

Tags
Viewing Tags
Available Data Types
 Atomic types - BOOL, SINT, INT, DINT, REAL, STRING
I/O Tags  Structures - Timer, counter, message, UDT and more
Adding Tags

Controller vs Program Scope

Alias Tags

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 34


ROCKWELL AUTOMATION | FOUNDATIONS

Tags
Viewing Tags
Arrays
Data
Data type
type
I/O Tags Array
Array index
index [xxx]
[xxx]

Adding Tags

Controller vs Program Scope

Alias Tags

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 35


ROCKWELL AUTOMATION | FOUNDATIONS

Tags
Viewing Tags

I/O Tags

Adding Tags

Controller vs Program Scope

Alias Tags

Tag
Tag data
data type
type
Select
Select edit
edit tags
tags Scroll
Scroll to
to bottom
bottom
New
New tag
tag tab
tab
(blank
(blank line)
line)

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 36


ROCKWELL AUTOMATION | FOUNDATIONS

Tags
Viewing Tags
Controller-scoped tags
 Accessible by any program (global in scope)
I/O Tags  I/O module tags

Adding Tags
 Produce and consume tags

Controller vs Program Scope


Any
Any program
program in
in the
the
controller
controller can
can access
access
Alias Tags these
these tags
tags

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 37


ROCKWELL AUTOMATION | FOUNDATIONS

Tags
Viewing Tags
Program-scoped tags
 Local in nature
I/O Tags  Local tag names can be reused
Adding Tags  Makes code more modular

Controller vs Program Scope

Alias Tags
Only
Only the
the routines
routines of
of the
the same
same
program
program can
can access
access local
local tags
tags

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 38


ROCKWELL AUTOMATION | FOUNDATIONS

Tags

Viewing Tags

I/O Tags

Adding Tags

Controller vs Program Scope

Alias Tags

Alias
Alias tag
tag Aliased
Aliased to?
to? Alias
Alias of
of an
an Alias?
Alias?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 39


ROCKWELL AUTOMATION | FOUNDATIONS

Tags

 Lab 3 - Tags
 A few minutes

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 40


ROCKWELL AUTOMATION | FOUNDATIONS

Tags
Discussion

 Where are I/O tags located?


 Controller scope
 What are alias tags?
 Alias tags are an alternate name for another tag to allow a more relevant name, such as for an I/O point or an
array member

 Questions?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 41


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

New Project
New Project Download
Download

I/O
I/O UDTs
UDTs

Tags
Tags AOIs
AOIs

Programming
Programming Structured Text
Structured Text

Tasks and
Tasks and Programs
Programs Logical Org
Logical Org // Trends
Trends

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 42


ROCKWELL AUTOMATION | FOUNDATIONS

Programming
Routines

Ladder
Task
Task folder
folder
Structured Text

Function Blocks
Task
Task
SFC Code
Code is
is
stored
stored in
in
routines
routines
Program
Program

Program
Program tags
tags

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 43


ROCKWELL AUTOMATION | FOUNDATIONS

Programming
Routines

Ladder
Rungs
Rungs
Structured Text (of
(of aa ladder)
ladder)

Function Blocks

SFC

Input
Input Instructions
Instructions
on
on left
left of
of rung
rung Output
Output instructions
instructions
on
on right
right of
of rung
rung

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 44


ROCKWELL AUTOMATION | FOUNDATIONS

Programming
Routines

Ladder

Structured Text

Function Blocks

SFC

Similar
Similar to
to Pascal
Pascal
(C
(C or
or Java
Java like)
like)

Typically
Typically one
one instruction
instruction
per
per line
line

Conditional
Conditional sections
sections
PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 45
ROCKWELL AUTOMATION | FOUNDATIONS

Programming
Routines
Multiple
Multiple sheets
sheets
Ladder

Structured Text

Function Blocks

SFC
Wire
Wire connector
connector
Function
Function block
block

Pins
Pins

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 46


ROCKWELL AUTOMATION | FOUNDATIONS

Programming

Routines

Ladder

Structured Text Actions


Actions (in
(in STX)
STX)

Function Blocks

SFC

Steps
Steps
Transitions
Transitions

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 47


ROCKWELL AUTOMATION | FOUNDATIONS

Programming

Routines
• Note: There are different flavors of Logix Designer
Ladder • Not all version offer STX, FBD, SFC
Structured Text • Professional Edition has all languages
• This is what we will be using
Function Blocks

SFC

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 48


ROCKWELL AUTOMATION | FOUNDATIONS

Programming

Lab 4 – Adding Logic


 3 minutes

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 49


ROCKWELL AUTOMATION | FOUNDATIONS

Programming
Discussion

 What are some of the available languages?


 Ladder, FBD, STX, SFC

 Questions? Comments?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 50


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

New Project
New Project Download
Download

I/O
I/O UDTs
UDTs

Tags
Tags AOIs
AOIs

Programming
Programming Structured Text
Structured Text

Tasks and
Tasks and Programs
Programs Logical Org
Logical Org // Trends
Trends

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 51


ROCKWELL AUTOMATION | FOUNDATIONS

Tasks and Programs


Tasks
• Three types of tasks
Continuous • Tasks control when code runs

Periodic
• Should use tasks to run code only when necessary

Event

Programs

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 52


ROCKWELL AUTOMATION | FOUNDATIONS

Tasks and Programs


Tasks
• Continuous task
Continuous • Runs in free time

Periodic
Continuous
Continuous task
task
configuration
configuration
Event

Programs

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 53


ROCKWELL AUTOMATION | FOUNDATIONS

Tasks and Programs


Tasks
• Periodic task
Continuous • Runs per defined period

Periodic

Event

Programs

Period
Period

Priority
Priority

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 54


ROCKWELL AUTOMATION | FOUNDATIONS

Tasks and Programs


• Event task
Tasks
• Runs per defined Event
Continuous

Periodic

Event

Programs Configurable
Configurable
event
event

Optional
Optional execution
execution

Priority
Priority

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 55


ROCKWELL AUTOMATION | FOUNDATIONS

Tasks and Programs


Tasks
Tasks
Tasks hold
hold programs.
programs.
Continuous All
All programs
programs execute
execute
when
when task
task does
does
Periodic

Event Programs
Programs hold
hold
routines
routines
Programs

Main
Main routine
routine is
is
defined
defined under
under
program
program properties
properties
and
and has
has aa “1”
“1” for
for 1st
1st

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 56


ROCKWELL AUTOMATION | FOUNDATIONS

Tasks and Programs


Tasks Programs: Can be used to modularize code parts of a:
Continuous  Machine
 Process Multiple
Multiple programs
programs
Periodic
 System
Event

Programs

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 57


ROCKWELL AUTOMATION | FOUNDATIONS

Tasks and Programs


Tasks Routines: Can be used to further modularize code for sub parts of
a machine.
Continuous

Periodic

Event

Programs
Multiple
Multiple routines
routines

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 58


ROCKWELL AUTOMATION | FOUNDATIONS

Tasks and Programs

 Lab 5
 3 minutes

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 59


ROCKWELL AUTOMATION | FOUNDATIONS

Tasks and Programs


Discussion

 What types of tasks are available?


 Continuous, Periodic, Event
 What are programs?
 Programs hold routines, have a defined main routine, and are assigned to tasks

 Questions?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 60


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

New Project
New Project Download
Download

I/O
I/O UDTs
UDTs

Tags
Tags AOIs
AOIs

Programming
Programming Structured Text
Structured Text

Tasks and
Tasks and Programs
Programs Logical Org
Logical Org // Trends
Trends

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 61


ROCKWELL AUTOMATION | FOUNDATIONS

Download
Download / Upload
Terms - Download
RSLinx®

Mode
AA download
download compiles
compiles
Run the
the ACD
ACD file
file and
and loads
loads itit
into
into the
the controller
controller

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 62


ROCKWELL AUTOMATION | FOUNDATIONS

Download
Download / Upload
Terms - Upload
RSLinx®

Mode An
An upload
upload reads
reads the
the
controller
controller memory
memory and
and
Run reconstructs
reconstructs the
the ACD
ACD file
file

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 63


ROCKWELL AUTOMATION | FOUNDATIONS

Download
Download / Upload
RSLinx®
RSLinx®

Mode

Run

We
We will
will be
be using
using the
the
EtherNet/IP
EtherNet/IP driver
driver

RSLinx
RSLinx®® has
has aa selection
selection
of
of available
available drivers
drivers

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 64


ROCKWELL AUTOMATION | FOUNDATIONS

Download
Download / Upload
Who Active
RSLinx®  uses RSLinx®
Mode

Run
Who
Who active
active screen,
screen,
browses
browses network
network

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 65


ROCKWELL AUTOMATION | FOUNDATIONS

Download
Download / Upload
Key switch position
RSLinx®
 Program
Mode
 Remote
Key
Key switch
switch
Run  Run position
position

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 66


ROCKWELL AUTOMATION | FOUNDATIONS

Download
Download / Upload
Remote position
RSLinx®
 Run/Program controlled by
Mode software
Run
Use
Use drop
drop down
down to
to
change
change mode
mode

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 67


ROCKWELL AUTOMATION | FOUNDATIONS

Download
Download / Upload

Faceplate
Faceplate and
and controller
controller
RSLinx® LED
LED show
show run
run

Mode
Green
Green power
power rails
rails
Run

Buttons
Buttons and
and
instructions
instructions reflect
reflect
live
live state
state

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 68


ROCKWELL AUTOMATION | FOUNDATIONS

Download
Download / Upload Online edits
RSLinx®
 Except if key switch is in “Run”

Mode

Run

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 69


ROCKWELL AUTOMATION | FOUNDATIONS

Download

 Lab 6 – Download and test the program


 5 minutes
 Open this ACD file
C:\Lab Files\Basics Logix\Logix_Basics_Lab_Demo_Project.ACD

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 70


ROCKWELL AUTOMATION | FOUNDATIONS

Download
Discussion

 What is online? What is offline?


 Offline is not monitoring controller, online shows live data and states
 What is indication controller is running?
 Controller LED. When online - faceplate, green rails

 Questions?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 71


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

New Project
New Project Download
Download

I/O
I/O UDTs
UDTs

Tags
Tags AOIs
AOIs

Programming
Programming Structured Text
Structured Text

Tasks and
Tasks and Programs
Programs Logical Org
Logical Org // Trends
Trends

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 72


ROCKWELL AUTOMATION | FOUNDATIONS

User Defined Type

UDT • Can I keep data together in one place?


Define • What if I have 10,000 sets of data?
(That a lot of tags!)
Tag
22 doors
doors Color
Color is
is red
red
Array

Access

Weight
Weight is
is 22 Kilos
Kilos
Basic
Basic model
model

17
17 inches
inches rims
rims

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 73


ROCKWELL AUTOMATION | FOUNDATIONS

User Defined Type

UDT User Defined Type


 Made of simpler types
Define
 Organizes related information
Tag
 Defined under Data Types folder
Array

Access

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 74


ROCKWELL AUTOMATION | FOUNDATIONS

User Defined Type

UDT
Create a UDT type with desired members
Define  Good practice - Use descriptions

Tag

Array

Access

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 75


ROCKWELL AUTOMATION | FOUNDATIONS

User Defined Type

UDT

Define
Once a UDT is defined, a tag can be
created with this type
Tag

Array

Access

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 76


ROCKWELL AUTOMATION | FOUNDATIONS

User Defined Type

UDT

Define Tag can be expanded to see members


Tag

Array

Access

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 77


ROCKWELL AUTOMATION | FOUNDATIONS

User Defined Type

UDT
• A UDT can be used as array
• A UDT can contain arrays or other UDTs
Define

Tag

Array

Access

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 78


ROCKWELL AUTOMATION | FOUNDATIONS

User Defined Type

UDT
Tags appear in instructions just like they do in the tag list
Define
Car1_Data.Weight
Car1_Data.Weight isis the
the
Tag
same
same in
in tags
tags as
as in
in
instructions
instructions
Array

Access

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 79


ROCKWELL AUTOMATION | FOUNDATIONS

User Defined Type

 Lab 7 – UDT

A few minutes

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 80


ROCKWELL AUTOMATION | FOUNDATIONS

UDT Discussion

 Why use a UDT?


 For simple and easy organization and documentation of related data
 Can a UDT contain other UDTs?
 Yes!

 Questions?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 81


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

New Project
New Project Download
Download

I/O
I/O UDTs
UDTs

Tags
Tags AOIs
AOIs

Programming
Programming Structured Text
Structured Text

Tasks and
Tasks and Programs
Programs Logical Org
Logical Org // Trends
Trends

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 82


Add-On Instruction ROCKWELL AUTOMATION | FOUNDATIONS

Concepts and Guidelines

Parameters and Tags

Code

Instantiation

Samples

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 83


ROCKWELL AUTOMATION | FOUNDATIONS

Add-On Instruction AOI


Local Tags
Concepts and Guidelines
INPUT Code OUTPUT

Routine
Parameters and Tags
• Modular program design
Parameters
Code • Well-defined interface InOut

• Well-defined function
Instantiation • Defined once
• Used many
Samples
• Should have a clearly defined purpose
• Not editable online
• Needs to be testable and manageable with a reasonable amount of code
• Single routine

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 84


ROCKWELL AUTOMATION | FOUNDATIONS

Add-On Instruction
When creating or changing an AOI
Concepts and Guidelines
 Give it a name, rev, and who created it.
Parameters and Tags

Code

Name
Name
Instantiation

Samples

Revision
Revision

Vendor
Vendor

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 85


ROCKWELL AUTOMATION | FOUNDATIONS

Add-On Instruction

Concepts and Guidelines Input


Input
(Uses
(Uses copy
copy of
of data)
data)
Parameter
Parameter list
list
Parameters and Tags

Code

Instantiation

Samples

Output
Output
(Updates
(Updates data
data when
when done)
done)

InOut
InOut
(Direct
(Direct tag
tag memory
memory reference)
reference)

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 86


ROCKWELL AUTOMATION | FOUNDATIONS

Add-On Instruction
Local Tags
Concepts and Guidelines
 Local to the AOI
Parameters and Tags  Not accessible by outside ladder

Code

Instantiation

Samples

Local
Local tag
tag list
list

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 87


ROCKWELL AUTOMATION | FOUNDATIONS

Add-On Instruction

Concepts and Guidelines

Parameters and Tags

Code

Written
Written Used
Used in
in any
any
Instantiation
in
in any
any language
language
language
language
Samples

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 88


ROCKWELL AUTOMATION | FOUNDATIONS

Add-On Instruction

Concepts and Guidelines Each AOI needs a unique backing tag

Parameters and Tags

Unique
Unique backing
backing tag
tag
Code Unique
Unique backing
backing tag
tag

Instantiation

Samples

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 89


ROCKWELL AUTOMATION | FOUNDATIONS

Add-On Instruction
Concepts and Guidelines

Parameters and Tags

Code

Instantiation

Samples

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 90


ROCKWELL AUTOMATION | FOUNDATIONS

Add-On Instruction
Concepts and Guidelines
 PlantPax objects
Parameters and Tags  Source of AOIs and Faceplates for:
Code
 Device control (like valves)
 Hart modules
Instantiation
 Process instructions
Samples

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 91


ROCKWELL AUTOMATION | FOUNDATIONS

Add-On Instruction

 Lab 8 – AOI

A few minutes

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 92


ROCKWELL AUTOMATION | FOUNDATIONS

AOI Discussion

• Why use an AOI?


• Encapsulate common code and well-defined function that
can easily be reused with a single instruction
• What are the parts of an AOI?
• Input, output, and local tags, with one routine

• Questions? Comments?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 93


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

New Project
New Project Download
Download

I/O
I/O UDTs
UDTs

Tags
Tags AOIs
AOIs

Programming
Programming Structured Text
Structured Text and
and FBD
FBD

Tasks and
Tasks and Programs
Programs Logical Org
Logical Org // Trends
Trends

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 94


ROCKWELL AUTOMATION | FOUNDATIONS

Structured Text
Similar to C or Java
STX - Text based

STX - Conditionals / Loops

STX – V31

FBD – Block based

Adding Function Blocks

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 95


ROCKWELL AUTOMATION | FOUNDATIONS

Structured Text
STX - Text based • IF. . . THEN
• Do something if or when specific conditions occur
STX - Conditionals / Loops
• CASE. . . OF
STX – V31 • Select what to do based on a numerical value
• FOR. . . DO
FBD – Block based • Do something a specific number of times before doing anything
else
Adding Function Blocks
• WHILE. . . DO
• Keep doing something as long as certain conditions are true
• REPEAT. . . UNTIL
• Keep doing something until a condition is true

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 96


ROCKWELL AUTOMATION | FOUNDATIONS

Structured Text
V31 or later
STX - Text based
 Displayed values
STX - Conditionals / Loops  Numbered lines
 Look ahead when typing
STX – V31

FBD – Block based

Adding Function Blocks

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 97


ROCKWELL AUTOMATION | FOUNDATIONS

Structured Text
STX - Text based  Example logic

STX - Conditionals / Loops


 Instructions are called Function Blocks
 Connected by lines
STX – V31  Instruction order determined by connections

FBD – Block based

Adding Function Blocks

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 98


ROCKWELL AUTOMATION | FOUNDATIONS

Structured Text
 Right-click to add instructions or drag and drop from
STX - Text based instruction bar
 Drag and drop between pins on the blocks
STX - Conditionals / Loops
 Can have multiple sheets
STX – V31

FBD – Block based

Adding Function Blocks

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 99


ROCKWELL AUTOMATION | FOUNDATIONS

Structured Text

 Lab 9 – Structured Text and Function Blocks

A few minutes

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 100


ROCKWELL AUTOMATION | FOUNDATIONS

Structured Text Discussion

• Questions? Comments?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 101


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

New Project
New Project Download
Download

I/O
I/O UDTs
UDTs

Tags
Tags AOIs
AOIs

Programming
Programming Structured Text
Structured Text and
and FBD
FBD

Tasks and
Tasks and Programs
Programs Logical Org
Logical Org // Trends
Trends

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 102


System Organizer Logical View ROCKWELL AUTOMATION | FOUNDATIONS

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 103


Why Use A Logical Organizer? ROCKWELL AUTOMATION | FOUNDATIONS

• To create an organizational model of the system from the user’s perspective


• Helps facilitate good modular automation design practices
• Paradigm shift from how the “controller executes code” to how the “user views
the system”

Logically
Organized

Programs Span
the Tasks

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 104


Library .ACD Deployment ROCKWELL AUTOMATION | FOUNDATIONS

Library .ACD My Project .ACD


Create from Library

Add to Library

This includes
Dependencies
(UDT, AOI’s)

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 105


ROCKWELL AUTOMATION | FOUNDATIONS

Trends
Trends graph data
Trends
 Part of project file
Running Trend
 Atomic data types
Adding a trend
 Samples as fast as 1ms for fast applications
Properties

Start Stop triggers

Tag
Tag list
list

Configurable
Configurable graph
graph

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 106


ROCKWELL AUTOMATION | FOUNDATIONS

Trends

Trends

Run/stop
Run/stop
Running Trend

Adding a trend

Properties

Start Stop triggers

Scroll
Scroll buttons
buttons

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 107


ROCKWELL AUTOMATION | FOUNDATIONS

Trends

Trends
Many trends can be created
Running Trend  Unique name
 Sample period
Adding a trend

Properties New
New

Start Stop triggers

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 108


ROCKWELL AUTOMATION | FOUNDATIONS

Trends

Trends Display properties


Running Trend

Adding a trend

Properties

Start Stop triggers


Many
Many options
options

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 109


ROCKWELL AUTOMATION | FOUNDATIONS

Trends

Trends Display properties


Running Trend

Adding a trend

Properties
Multiple
Multiple tags
tags
Start Stop triggers

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 110


ROCKWELL AUTOMATION | FOUNDATIONS

Trends

Trends Config - Start and Stop Triggers


Running Trend

Adding a trend

Properties

Start Stop triggers

Condition
Condition

Extra
Extra samples
samples

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 111


ROCKWELL AUTOMATION | FOUNDATIONS

Trends

Trends
Example
Start
Start trigger
trigger Stop
Stop trigger
trigger
Running Trend

Adding a trend

Properties

Start Stop triggers

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 112


ROCKWELL AUTOMATION | FOUNDATIONS

Trends

 Lab 10 – Logical Organizer


 Lab 11 – Trends

A few minutes

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 113


ROCKWELL AUTOMATION | FOUNDATIONS

Questions?

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 114


ROCKWELL AUTOMATION | FOUNDATIONS

Introduction – Part 2
ROCKWELL AUTOMATION | FOUNDATIONS

Lab Objectives

 Explore the Studio 5000 Logix Designer® Environment


 Hands-on labs with V32 of Logix Designer application
 Learn a new feature in Logix Designer application
 Choose self-contained labs for the topics that you want to
cover
 10 labs covering a variety of advanced topics

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 116


ROCKWELL AUTOMATION | FOUNDATIONS

Agenda

1 2 3 4
Project Design Studio 5000® V32 Release Notable Mentions
New Look Update

5
Lab Format

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 117


ROCKWELL AUTOMATION | FOUNDATIONS

Project Design
ROCKWELL AUTOMATION | FOUNDATIONS

User Defined Data Types

Group Like Tags


Together

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 119


ROCKWELL AUTOMATION | FOUNDATIONS
Add-on Instructions Programs with Parameters

Subroutines

 Flexible and scalable code “Containers”


 Make changes simpler and better understand how
they will affect overall design
 Reference: Modular Programming Tips in Studio
5000 Logix Designer® (9324-WP007)
Modular Containers

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 120


ROCKWELL AUTOMATION | FOUNDATIONS

New Look
ROCKWELL AUTOMATION | FOUNDATIONS

Studio 5000 Logix Designer

Version 31 and up
• Common look and feel across all Studio
5000® applications
• Modernization of programming language
editors
• Improved workflows for multi-monitors,
tabbed views, quick navigation
• Clearly convey state and identification of
errors
ROCKWELL AUTOMATION | FOUNDATIONS

Modernized User Interface


Tabbed Windows

Increased usability with tabbed windows


All editing windows are now tabbed
Logic, Parameters, Trends, AOPs, UDTs
Quick close capability
Reduced number of clicks
Re-ordering of tabs

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 123


ROCKWELL AUTOMATION | FOUNDATIONS

Multi-Monitor Support
Organize your view the way you like in a productive manner

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 124


ROCKWELL AUTOMATION | FOUNDATIONS

Multi-Monitor Support
Organize your view the way you like in a productive manner

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 125


ROCKWELL AUTOMATION | FOUNDATIONS

Multi-Monitor Support
Organize your view the way you like in a productive manner

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 126


ROCKWELL AUTOMATION | FOUNDATIONS

V32 Release Update


ROCKWELL AUTOMATION | FOUNDATIONS

FBD Functions
New functions to replace existing instructions
Faster troubleshooting with simpler user interface
Drag and drop functions available without
additional configuration
Increased function performance leads to lower
controller utilizations
New functions to replace existing instructions
Smaller visual footprint
No backing tag
More intuitive symbol-based functions
Compare/Compute/Boolean Logic Instructions
Available for 5380/5480/5580 Logix Controllers

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 128


ROCKWELL AUTOMATION | FOUNDATIONS

Extended Data Types


64-Bit Math

Additional Data Types Added in Version 32


Calculate more precise values with higher resolution
More flexibility to comply with open/ third-party
communications standards (e.g. HART)
Available for 5380/5480/5580 Logix Controllers

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 129


ROCKWELL AUTOMATION | FOUNDATIONS

New ControlFLASH Plus™ Functionality


Improved, Productivity, Usability and Scalability

New generation firmware update tool

• Modern and simple to use for better


Product Compatibility
firmware management and Download Center

• Allows for multiple devices flash operations


• Optional connectivity to Product
Compatibility and Download Center (PCDC)
• Firmware revisions favorites support

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 130


ROCKWELL AUTOMATION | FOUNDATIONS

New ControlFLASH Plus™ Functionality


Improved, Productivity, Usability and Scalability

Benefits

• Improves productivity by allowing shorter time to


update multiple devices
• Easy access to latest firmware releases and
release notes for improved devices’ firmware
lifecycle management
• Easily apply firmware standards
• Can coexist with ControlFLASH™
Product Compatibility
and Download Center

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 131


ROCKWELL AUTOMATION | FOUNDATIONS

Notable Mentions
ROCKWELL AUTOMATION | FOUNDATIONS

Quick Watch
Quickly Monitor Tag Values

 Quickly monitor tags based an open


routine
 Select the Routine to monitor from the
dropdown menu
 Routines are listed at the bottom
 Watch pane tags are updated based on
the tags that are used in the selected
Routine

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 133


ROCKWELL AUTOMATION | FOUNDATIONS

Productivity Enhancements
Version 32 Updates

• Close All But This Tab


• Quickly cleans up your workspace!
• Only affect the frame that is in focus.

Function Block Wire-Jumps

• Troubleshoot more clearly


with improved FBD visibility
that now includes wire-jump
graphics automatically at
intersections.
PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 134
ROCKWELL AUTOMATION | FOUNDATIONS

ControlLogix 5580®, CompactLogix™ 5380


Embedded Web Page

 Controller embedded webpage updated to include


new attributes
 4-character LCD display information
 Key switch position
 Controller mode
 LED status
 Forces status
 Controller change log signature
 Controller change log
 Major and minor faults
 Safety diagnostics (GuardLogix® 5580 & Compact
GuardLogix® 5380)
PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 135
ROCKWELL AUTOMATION | FOUNDATIONS

ControlLogix 5580®, CompactLogix™ 5380


4-Character Scrolling Status Display Updates

 Extended messages on display


 “Download in progress”
 “Aborting download”
 “Flash In Progress”

Full list found in ControlLogix 5580 and GuardLogix


5580 Controllers User Manual (
Publication 1756-UM543).
PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 136
ROCKWELL AUTOMATION | FOUNDATIONS

Lab Format
ROCKWELL AUTOMATION | FOUNDATIONS

Pick and Choose Your Lab Sections

Format Allows You to Run in Any Order and Select the Labs
That Are Relevant to You

 All labs are self-contained and do not build on each other


 You can skip labs and start with any lab you want There is not enough time
 Starting a lab does not mean you need to finish it in this session to
 Estimated lab completion times are located in the Table of complete all of the
Contents material.
 Using these estimated lab completion times users can gauge
how many of the labs they can complete for the allotted time
available

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 138


ROCKWELL AUTOMATION | FOUNDATIONS

Advanced Labs
These labs focus on recent features

 Lab 1 – New Features in Version 32


 Variety of topics including FBD functions, Logix Tag-Based Alarms, ControlFLASH Plus and more
 Lab 2 – Usability Enhancements
 Updates introduced in v31
 Review of usability enhances that is included in v28 and greater.
 Lab 3 - Logical Organizer
 The Logical Organizer lets you organize your Logix application any way you would like without affecting the
application execution
 Lab 4 - Compare and Merge Tool
 Updated for compatibility with the new features of Studio 5000®
 Lab 5 - Add-On Instruction Access to Module Object
 New Logix feature to allow one Add-On Instruction to be accessing the module object
 New GSV Module Object Path Attribute

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 139


ROCKWELL AUTOMATION | FOUNDATIONS

Advanced Labs
These labs focus on existing Studio 5000 features

 Lab 6 - Partial Import Online (PIO)


 Feature that allows the user to view/handle collisions, rename items and configure connections
 Lab 7 - Program Parameters
 Code modules at the Program level linked together by clearly defined input and output parameters
 Lab 8 - Add-On Instructions (AOIs)
 Add-On Instruction Creation and reuse
 Add-On Instruction signatures
 Lab 9 - Using an SD Card with a Logix Controller
 Hands-on example of reading and writing data to the SD Card from a Logix application
 Have one of the instructors give you an SD Card before starting the lab.
 Lab 10 - Logix Controller Change Log
 Examples of what is logged
 How to read the log file on the SD card

PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 140

You might also like