Escolar Documentos
Profissional Documentos
Cultura Documentos
• Unique strengths
– Animation of values for each logic instance reduces debugging
– Pre-scan and false state scan modes provide for advanced operation control
– Automatically generated online-help reduces documentation development
Pass-
through
Other add-on- descriptions
instructions can be
nested and will show Default
up as local tags values
• All add-on instructions referenced in a project are included as part of the full project L5K
import/export
– Ensures imported project is complete and executable
– Instructions can be manipulated / created in L5K
• Add-on Instructions can be individually exported / imported to a file – on a server for example
– Uses XML formatted L5X file
– Exchange between projects
– Store to folders for re-use
• If Add-on instruction is protected, the L5K/L5X contents will be encoded if you do not have the
password key on your computer
• To turn on the ability to configure source protection for an Add-On Instruction, first run
the Source Protection enabling utility in the Tools folder on the install CD.
• You can then configure source protection in RSLogix 5000 under Tools Security
Configure Source Protection
Encrypted code
Execution
1. JSR/SBR/RTN add overhead
2. All data is copied
1. Call is more efficient
2. InOut passed by reference
☺
Performance 3. Indexed reference impact 3. References are automatically offset from
passed in backing tag location
Memory Management Manually manage all data not passed in/out Own data instance for each calling instance
to avoid conflicts, overlaps, etc. ☺
Edit / Modification On-line / Off-line ☺ Off-line Only
Import/Export LD Rungs and referenced tags / UDTs Full Instruction definition and code to L5X ☺
Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 17
RSLogix 5000 User Defined Add-On Instruction
Competitive Strengths
• Pass by Reference • Description Pass-through for calling instance tags
– InOut Tag brings an entire UDT available to AOI code – Another Logix Exclusive
with one Reference pointer – Automatically generates the descriptions for call to the
• Instance based monitoring instruction (less typing)
– Some competitors do not provide a unique view per • Controller Run Mode Pre-Scan / SFC Step Post-
data instance. Scan execution
• Memory management made easy – None of the environments we reviewed had a controller
– Datablob management is eliminated pre-scan or SFC step post-scan
• Flexible Routine naming – easy, unique (re-use) – Resets instructions to get them ready to run from a
known state (OTE off, TON reset...)
• Automatic Datatype conversion for Atomic Input and – Allows custom instruction to perform operations
Output parameters typically on done by build in Instructions
– Other vendors require user to add datatype conversion • EnableIn (Rung state) False Execution
instructions / blocks
– All of the vendors we reviewed only executed the code
– Fewer instructions to code and debug means faster when the EnableIn / rung was true
development
– We let you set up some code to initiallize the instruction
• Source password protection that works for transition based operations (TON reset,
– Some vendor’s code protection schemes can be Oneshots...)
hacked • Automatic Help Generation with Extended
– In Logix the PW, source and export are encrypted to Description
prevent hacking
– None of the environments we reviewed provided any
• Locked view only source option help for UDFs
– Most vendors can lock but source is not visible – Helps programmer and maintenance people
– Permits the application critical code from being understand what the instruction does
modified but allows monitor and debug • Create in LD, ST and FBD
Copyright © 2008 Rockwell Automation, Inc. All rights reserved. 18
Factory Talk Asset Centre
Audit trail: log what changes are made to the asset's configuration, which individual
performed the change, when and from where.
• Create a new Add On Instruction in Ladder Logic, FBL, & Structured Text
• Examine and Monitor an AOI executing a program
• Nest AOI’s and Import / Export to new programs
• Setup OEM protection for AOI.
• Learn about the FT Asset Centre environment