7/30/2019 PPT_GW_T2
1/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved.
Lesley Van Loo Commercial Engineer - Logix/NetLinx
Pavel Matejka Project Engineer
7/30/2019 PPT_GW_T2
2/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 2
1. Introduction
2. Partial import / export
3. XML export / decorated data
4. Produced / Consumed status flag
5. V17 handy features
6. CLX multitasking
7. Firmware Management
7/30/2019 PPT_GW_T2
3/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 3
!"
V17 provides ability to export Programs, Phases,Routines, AOIs, UDTs, String Types and Trends.
Similar to the V13 LD Rung Partial Import/Export
Includes support for FBD, SFC and ST
The export .L5X file includes all pertinent information
Program configuration, code, user defined data-types,tags and descriptions
XML formatted ASCII text file
Distribute code separately from the RSLogix 5000Project .ACD file
The file can be manipulated and even created by othertools
Create larger libraries of reusable code
Provides more control over the scope of what will beextracted from the project
Useful for larger machine, cell or unit control
Promotes standardization and reuse
7/30/2019 PPT_GW_T2
4/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 4
V17 Provides ability to import Programs, Routinesand NEW Add-on Instructions on-line with a runningcontroller
NEW programs, routines and add-on instructions can beadded
Existing Programs and routines can be replaced
New tags and UDTs are created as needed
Name collisions are detected automatically and userprompted to rename or bind to existing components
The data values in the controller are maintained and newtags will have their values initialized from the import file
Changes or additions to a project can be completedoffline and then imported into a running controller. ...vs. on-line editing where you must be connected and tags
needed to be created manually (= time-consuming for largeedits)
.L5X File
Program
Routine
NEW Add-onInstruction
User-DefinedDatatype
Tags
Data
7/30/2019 PPT_GW_T2
5/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 5
#$
Provides a listing of all (referenced) components which will be imported and whether they
conflict with existing components already in the running project.
Allows you to resolve conflicts when collisions occur.
7/30/2019 PPT_GW_T2
6/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 6
%&'$$!
Engineering collaboration is facilitated in that many engineers can work, on one or more
of the project components, independently offline and then merge the changes into a
single project by using import.
Two ways of handling a project with engineering collaboration: Working with a base project and update the base file on a time or change base (see next).
Programmers keeps working on their own project and regularly update it with modifications other usersmake and distribute (export L5X files).
Considerations with multi-user editing: Partial Import/Download (rungs, routines, programs, equipment phase, UDTs, AOIs, strings, trends). Security (avoid others to change the components you are working on)
Define working area references
Impact of changes (when to merge projects)
Tag naming (name collisions are detected on import)
Aliasing (program now and link afterwards)
7/30/2019 PPT_GW_T2
7/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 7
%&()
Programmer 1Programmer 2
Programmer 3Base.ACDfile
Copybase
fileCopy
basefileCopybasefile
Changed.ACDfile
Changed
.ACDfile
Changed.ACDfile
Compare
Copybase
file
Changed.ACDfile
Programmer 4 Import onlydifferencesinto project
The project of programmer 4 is used to merge all
changes of the other programmers in. This will becomethe new base project which gets distributed again.
1
2
3
5
6
Diff.files
(L5X)Diff.
files(L5X)
Diff.files
(L5X)
Export
4
Export
Export
1. Copy base file to each programmer (in this case 4 programmers).
2. Each programmer copies the file and makes his changes.3. After changes, compare projects with the local copy of the base file to check what has changed and to ensure no changes will
be forgotten to export. Comparing to the local file gives the programmers the opportunity to work independent.
4. Export the changed code to L5X files. Only these files (differences between the projects) needs to be imported into the final
project. There is no need to import all programs! Keep in mind that also rungs can be exported still containing all references.
5. When all changed code is gathered into L5X files, these files can be imported into one project (in this case of programmer 4).This doesnt always have to be the same project file. Depending on what has changed (motion, safety, consumed/produced
tags, hardware ), another changed project can be used to import all the changes into. This could be handled by one person.
6. When all changes are merged into one project, this project will become the new base file and can be copied again.
7/30/2019 PPT_GW_T2
8/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 8
!"*+%(,-+. $
Extends RSLogix 5000 to supportimport/export of a FULL project to anXML formatted file
Contains: processor / I/O / motion
configuration, application logic, data /structures / tag definitions, comments anddescriptions
Similar to ASCII Text L5K file but uses anXML Scheme
Open and fully documented in publication1756-RM084
Useful for enhancing developmentproductivity
Manipulate application source using textediting tools
Build tools to auto-generate projects (VB,C-code,)
Extract / merge code fragments to build
new projects (also IO)
7/30/2019 PPT_GW_T2
9/19
7/30/2019 PPT_GW_T2
10/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 10
!#1
With v17, users will be able to includestatus information whenproducing/consuming tags
P/C tags must be structures
First structure member must be of datatype
CONNECTION_STATUS; this datatype
includes:
RunMode
ConnectionFaulted
Provides for easy data quality
validation by accessingincluded status data
7/30/2019 PPT_GW_T2
11/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 11
*2-
Is included in RSLogix 5000 Professional
Redesigned and refined user interface Elimination of a separate configuration mode;
replaced by Controller View Undo/Redo
Improved Produce/Consume tags view foreasily setup of producer-consumer tagrelationship
FactoryTalk Security Support
Automatic Sync of projects on start-up L2X controller support Centralized Library Management of AOIs and
structures Populate from RSLogix 5000 projects or RSLogix
Architect Controller View Facilitates standardization and simplifies reuse to
reduce development cost
Drag and drop AOIs and UDTs between the libraryand RSLogix Architect Controller view
Project Search Search ALL controller projects in Architect for tags,
instructions, AOIs, UDTs, etc.
All of the references are logic references.
Filter options
7/30/2019 PPT_GW_T2
12/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 12
#& *2-
Expected Summer 2009
Revision Management
Keep track of where an AOI is being used
Automatically deploy new versions (projects are selectable).
Generic modules support
Not supported modules will be imported as generic modules with configuration.
Print search results
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 12
7/30/2019 PPT_GW_T2
13/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 13
*3$
Forcing and Toggle Bit Added to Quick WatchWindow
In this version of RSLogix 5000, we have portedthe Force Mask available in the Tag Monitor
dialog also into the Quick Watch window Additionally, we have added the ability to toggle
bits in the Quick Watch window
Improves ease of use and reduces stepsrequired to force and toggle tags
Off-line Partial Import of Modified UDT withData Preservation.
Data values UDT will be maintained wheninserting/ adding/ deleting/ rearranging/renaming/ changing data type of members
Data values for members renamed and movedwill not be maintained
Improves user experience by allowing easy UDTmaintenance off-line
Added member leaves existingdata values unchanged
Updated UDT
7/30/2019 PPT_GW_T2
14/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 14
*3$
Tag Monitor Enhancement
Alarm Grid Display Mode for ALARM_DIGITAL
and ALARM_ANALOG datatypes.
Special grid display was already available forTimers, Counters, Strings and Arrays of type
BOOL, SINT, INT and DINT.
LD Instruction Parameter Display Optimization
Options
Include* / hide instruction description line
Show instruction parameters in a flat list* or
inputs left and outputs right
Control when left/right presentation is used for
AOIs or all instructions Animate Boolean tags via highlighting or via
separate value*
* default setting
7/30/2019 PPT_GW_T2
15/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 15
#+4
CPS (Copy Synchronize), UID, UIE (User Interrupt Disable/Enable) and IOT (Immediate Output) change themultitasking System Overhead Time Slice The time the controller spends on CPU overhead (running its background tasks like communications,
messaging, ASCII) is relative to the time it runs the continuous task.
It is given by the Systen Overhead Time Slice (default 20%)
The minimum allotment of execution time is 1 msec.
Motion
PlannerEvent
Periodic
Continuous
CPUOverhead
Event Task Delayed
by Motion
Periodic Task Delayed2 msec by Motion and
Event Task
ContinuousTask Restarts
10 20 30 40 50 60 70 80
ContinuousTask Restarts
90 100
Overhead Delayed 2msec by Motion and
Event Task
= Suspended Task
7/30/2019 PPT_GW_T2
16/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 16
#+
No continuous task can mean less overhead for task switching
Event tasking can synchronize execution to RTS (real time sampling) orRPI (Requested Packet Interval for I/O)
MotionPlanner
Event
Periodic
Continuous
CPUOverhead
10 20 30 40 50 60 70 80 90 100
= Suspended Task
7/30/2019 PPT_GW_T2
17/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 17
#+%
Minimize number of tasks
Use as many different priorities as possible to avoid timesharing: multiple tasks with the same priority will run in 1ms time slices switching between
the tasks until they have completed execution task switching also costs execution time
Do not unnecessarily execute code
use conditional JSR or inhibits
Use GSV/SSV to do in code what you can also do in RSLogix
Avoid / dont abuse task overlaps
7/30/2019 PPT_GW_T2
18/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved. 18
#0*-5 $04%
Allows ControlFlash to run with no GUI
Reduce training requirements of technicians
Improve time to commission a machine orperforming field upgrades
Command Line Execution Allows command line execution ofControlFlash for simple Batch File flashing orcustom VB app
Script Execution
Allows creation of an ASCII script for
ControlFlash to follow when commissioning orupgrading a machine
Script lists the Modules to flash, firmware revs,and path requirements
Multi- Threaded to allow ControlFlash to flash
up to 5 modules simultaneously for improvedperformance
Success/Fail Programmatic Feedback
Return strings for command line execution aswell as History Log file for interrogation ofsuccess/fail flash events
Example of
custom VBapplication
7/30/2019 PPT_GW_T2
19/19
Copyright 2008 Rockwell Automation, Inc. All rights reserved.
1*3$6
Questions?