CodeMeter Webinar1

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 21

CodeMeter as project and controller

protection solution in Studio 5000


Michal Rogowski• 11 . 22 . 19

PUBLIC
Agenda

1 2
How to activate How to create
CodeMeter license in
Protection CodeMeter
License Portal

3 4
How to protect What do you do if
the project and you encounter a
controller with problem.
CodeMeter
Protection

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


Studio 5000 CodeMeter Protection
Overview

License License
Source Protection Execution Protection

• Access to selected Routines and Add-On A License in the controller can be required to
Instructions can be controlled using Licenses. execute selected Routines and AOIs
• Licenses are managed by the content owner Licenses are managed by the content owner
using a web-based application, and deployed to using a web-based application, and are
secure USB devices deployed to special SD cards

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


Studio 5000 CodeMeter Protection
Requirements

License License
Source Protection Execution Protection

• Studio 5000 • Studio 5000


• Activation license • Activation license
• Protection license • Protection license
• Project • Project
• CM USB dongle • CM SD Card
• Controller

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


Studio 5000 CodeMeter Protection
Timeline and versions

V23: The
V26: License V30: More
CodeMeter
Based Source controllers
Runtime from
Protection for supported,
WIBU has been
ControlLogix 5570 Introduction of
included in the
and CompactLogix Execution
installation of Logix
5370 Protection.
Designer

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


Studio 5000 CodeMeter Protection
Activation

By default - CodeMeter Security: Execution Protection and


License Based Source Protection are not available in studio
5000

• Activation is done through FactoryTalk Activation Manager.

• This activation is not included in the existing software editions.

• Activation for Source Protection and Execution Protection is


independent.

• Activation is assigned either to CM Stick or CM SD Card.

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


Studio 5000 CodeMeter Protection - Activation
Activation

DEMO

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


Studio 5000 CodeMeter Protection
Creating protection licenses in the License Portal

• Source and Execution protection


licenses can be created
in the license portal.

• Each license can have


the expiry date.

• License is loaded from the license


portal to CM Dongle or CM SD Card

• License can be loaded to the container


by the user who do not have access to
the portal.
PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 8
Studio 5000 CodeMeter Protection
Creating Licenses in the license portal

Permissions for Source Protection

Use The minimum permission available for a license. Allows a user to open, import, upload, or download
the project.

View View routine logic for the component or local tags for an Add-On Instruction. Enables printing,
searching, and cross referencing. Limits the components editors and properties dialog boxes to read-only,
and prevents changes.
Tip: To unlock, view, and re-lock a License-Protected component requires a View license.

Edit Edit the routine or Add-On Instruction.


Tip: To unlock, view, and re-lock a License-Protected component requires a View license.

Copy Copy the logic in the routine or Add-On Instruction.

Export Export the routine or Add-On Instruction in a non-encrypted format.

Protect Enable or remove license protection from a component.


PUBLIC | Copyright ©2019 Rockwell Automation, Inc. | 9
Studio 5000 CodeMeter Protection
License Portal

DEMO

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


Studio 5000 CodeMeter Protection
Protecting the project

With the CM stick having


protection license you
can protect the
components.

You can protect the AOI


or Routine – different
languages.

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


Studio 5000 CodeMeter Protection
Protecting the project

And what happens if you unplug


the CM stick?

It depends on the controller.


Either you will not be able to
open a project or you will not be
able to see the logic of AOI or
routine.

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


Studio 5000 CodeMeter Protection
Locking the project
When you lock a component, logic is
compiled into executable code and
encrypted. It is only decrypted by the
controller when it is ready to be executed.
Project files containing locked components
can be shared with users without licenses
to use the locked components. Those
users can use unprotected parts of the
project, upload and download the project
file, and even copy and paste locked
components into other project files.

Tip:
To lock or unlock a component, the license
must contain the View permission.

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


Studio 5000 CodeMeter Protection
License Based Source Protection

DEMO

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


Studio 5000 CodeMeter Protection
Execution Protection - Overview

 Execution Protection:
 What is: without the SD card and the right license there is no way to
run the code on other machines.

 A program that contains code with execution protection will cause a


major fault when going into run mode if the controller is not
authorized.
While, removal at Runtime is a minor fault

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


Studio 5000 CodeMeter Protection
Execution Protection

Requirements:

• Component needs to have license


based protection.
• SD Card for the controller is required.
• Activation for Execution Protection.
• Appropriate project in Studio 5000 v30
or higher.
• Compact GuardLogix 5380,
CompactLogix 5380, CompactLogix
5480, ControlLogix 5580, and
GuardLogix 5580 controllers v32.

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


Studio 5000 CodeMeter Protection
Execution Protection

DEMO

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


Studio 5000 CodeMeter Protection
Troubleshooting

What can you do to avoid problems:

1) Read the “Logix 5000 Controllers Security- 1756-pm016”.


2) Read HELP in your Studio 5000.
3) Reach out to Rockwell KnowlegdeBase.
4) Make sure you have right elements in place
a) Activation license
b) Protection license
c) Appropriate controller and software.
6) Call TechSupport.

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


Studio 5000 CodeMeter Protection
V32
"Use" permission
License Based
Source Protection for Execution required to open
Controller Family Protection -
Safety Routines, SFC, FBD. protection the protected
LOCK Functionality
project.
Not supported unless
CompactLogix 5480
FBD/SFC is used in AOI Available Supported Not required
Not supported unless
ControlLogix® 5580
FBD/SFC is used in AOI Available Supported Not required
Not supported unless
GuardLogix® 5580
FBD/SFC is used in AOI Available Supported Not required
Not supported unless
CompactLogix™ 5380
FBD/SFC is used in AOI Available Supported Not required
Not supported unless
Compact GuardLogix 5380
FBD/SFC is used in AOI Available Supported Not required
FBD/SFC Supported for
ControlLogix 5570
Routines and AOIs Required
FBD/SFC Supported for
GuardLogix 5570
Routines and AOIs Required
FBD Supported for Routines
CompactLogix 5370
and AOIs Required
FBD Supported for Routines
Compact GuardLogix 5370
and AOIs Required

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


Studio 5000 CodeMeter Protection

Questions?

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


Thank you
www.rockwellautomation.com

You might also like