Syslib rm005 - en e
Syslib rm005 - en e
IMPORTANT This manual applies to the Rockwell Automation Library of Process Objects version 3.5 or earlier.
For Rockwell Automation Library of Process Objects version 5.0, see
• PROCES-RM200
For Rockwell Automation Library of Process Objects version 4.0 or later, use the following manuals:
• PROCES-RM013 contains logic instructions
• PROCES-RM014 contains display elements
Important User Information
Read this document and the documents listed in the additional resources section about installation, configuration, and
operation of this equipment before you install, configure, operate, or maintain this product. Users are required to
familiarize themselves with installation and wiring instructions in addition to requirements of all applicable codes, laws,
and standards.
Activities including installation, adjustments, putting into service, use, assembly, disassembly, and maintenance are required
to be carried out by suitably trained personnel in accordance with applicable code of practice.
If this equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be
impaired.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the
use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and
requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or
liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or
software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation,
Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware of safety considerations.
WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property damage, or economic loss.
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence.
IMPORTANT Identifies information that is critical for successful application and understanding of the product.
SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous
voltage may be present.
BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may
reach dangerous temperatures.
ARC FLASH HAZARD: Labels may be on or inside the equipment, for example, a motor control center, to alert people to
potential Arc Flash. Arc Flash will cause severe injury or death. Wear proper Personal Protective Equipment (PPE). Follow ALL
Regulatory requirements for safe work practices and for Personal Protective Equipment (PPE).
Allen-Bradley, Rockwell Software, Rockwell Automation, RSLogix, Logix5000, FactoryTalk, PlantPAx, and ControlLogix are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Table of Contents
Notes:
This manual contains new and updated information. Changes throughout this
revision are marked by change bars, as shown to the right of this paragraph.
For the latest compatible software information and to download the Rockwell
Automation® Library of Process Objects, see the Product Compatibility and
Download Center at
http://www.rockwellautomation.com/rockwellautomation/support/pcdc.page.
Additional Resources These documents contain additional information concerning related products
from Rockwell Automation.
Resource Description
PlantPAx® Distributed Control System Selection Guide, Provides information to assist with equipment
publication PROCES-SG001 procurement for your PlantPAx system.
PlantPAx Distributed Control System Reference Manual, Provides characterized recommendations for
publication PROCES-RM001 implementing your PlantPAx system.
Rockwell Automation Library of Process Objects, Provides general considerations for the PlantPAx system
publication PROCES-RM002 library of process objects.
FactoryTalk® View Machine Edition User Manual, Provides details on how to use this software package for
publication VIEWME-UM004 creating an automation application.
FactoryTalk View Site Edition User Manual, Provides details on how to use this software package for
publication VIEWSE-UM006 developing and running human-machine interface
(HMI) applications that can involve multiple users and
servers, distributed over a network.
Logix5000™ Controllers Add-On Instructions Programming Provides information for designing, configuring, and
Manual, publication 1756-PM010 programming Add-On Instructions.
Notes:
Add-On Instruction
IMPORTANT Many other library instructions already incorporate the P_Mode instruction.
Functional Description The following diagram shows how the various modes are acquired and released
and their priority. Note that each layer is always active; that is, Program and
Operator mode commands affect the state of the innermost part of the state
model. Even a higher priority mode, such as Maintenance, is active.
Required Files Add-On Instructions are reusable code objects that contain encapsulated logic
that can streamline implementing your system. This lets you create your own
instruction set for programming logic as a supplement to the instruction set
provided natively in the ControlLogix® firmware. An Add-On Instruction is
defined once in each controller project, and can be instantiated multiple times in
your application code as needed.
Controller File
The P_Mode_3_5-00_AOI.L5X Add-On Instruction must be imported into
the controller project to be used in the controller configuration. The service
release number (boldfaced) can change as service revisions are created.
Visualization Files
http://www.rockwellautomation.com/global/support/pcdc.pageThis Add-On
Instruction has associated visualization files that provide a common user
interface. These files can be downloaded from the Product Compatibility and
Download Center at
http://www.rockwellautomation.com/rockwellautomation/support/pcdc.page.
IMPORTANT The visualization file dependencies require Process Library content imports to
occur in a specific order as reflected in the following tables:
• Images
• Global Objects
• Standard Displays
• HMI Tags
• Macros
Images are external graphic files that can be used in displays. They must be
imported for FactoryTalk View to make use of them.
When PNG files are imported, they are renamed by FactoryTalk View with
a .bmp file extension, but retain a .png format.
Table 2 - Visualization Files: Images (.png)
FactoryTalk View SE Software FactoryTalk View ME Software Description
All .png files in the images folder All .png files in the images folder These are the common icons used in the global objects and
standard displays for all Process Objects.
The Global Object files (.ggfx file type) in the following table are Process Library
display elements that are created once and referenced multiple times on multiple
displays in an application. When changes are made to a Global Object, all
instances in the application are automatically updated.
Table 3 - Visualization Files: Global Objects (.ggfx)
FactoryTalk View SE Software FactoryTalk View ME Software Description
(RA-BAS) Common Faceplate Objects (RA-BAS-ME) Common Faceplate Objects Global objects used on process object faceplates.
The Standard Display files (.gfx file type) in the following table are the Process
Library displays that you see at runtime.
Controller Code This section describes the parameter references for this Add-On Instruction.
Operations This section describes the primary operations for Add-On Instructions.
The primary operations of the P_Mode Add-On Instruction are the following:
• Manage the transitions between modes based on user and application
requests.
• Enforce prioritization between modes.
• Allow options to lock modes where applicable.
TIP Lesser priority mode requests are still processed and retained by the
instruction, but the resultant mode is that of the highest priority request.
Modes
The P_Mode instruction uses the following standard modes. The descriptions
identify how modes are typically used in a device whose Add-On Instruction uses
P_Mode. +
Mode Description
Operator Control of the device is owned by the operator. Operator Commands (OCmd_) and
Operator Settings (OSet_) from the HMI are accepted.
Program Control of the device is owned by Program logic. Program Commands (PCmd_) and
Program Settings (PSet_) are accepted.
Override Control of the device is owned by priority logic, superseding Operator and Program
control. Override Inputs (Inp_OvrdCmd and other Inp_OvrdXxxx values) are accepted.
If so configured, bypassable interlocks and permissives are bypassed.
Maintenance Control of the device is owned by maintenance. Operator Commands and Settings
from the HMI are accepted. Bypassable interlocks and permissives are bypassed, and
device timeout checks are not processed.
Hand Control of the device is owned by hard-wired logic or other logic outside the
instruction. The instruction tracks the state of the device for bumpless transfer back to
one of the other modes.
No Mode The device is disabled and has no owner because the EnableIn input is false. The main
instruction Logic routine is not being scanned.
See Execution on page 17 for more information on EnableInFalse processing.
The following table shows how to request, verify, and release a mode. It also
shows the input trigger style.
When no mode is being requested, the mode is set to the configured default:
• If Cfg_ProgDefault = 1, the mode defaults to Program.
• If Cfg_ProgDefault = 0, the mode defaults to Operator.
Operator Mode
How Operator commands work depends on the configuration for the default
mode (Cfg_ProgDefault = 0 or 1) and on whether Program has acquired or is
actively holding Program mode.
Rdy_OAcq = 1
Program acquiring OCmd_AcqLock Set mode to Operator (locked )
(PCmd_Acq = 1) OR Mode
is Operator
Rdy_OLock = 1
Program is Default OCmd_UnlockRel Set mode to Program (unlocked)
(Cfg_ProgDefault = 1) AND
Mode is Operator
(Unlocked)
Rdy_ORel = 1
Mode is Operator (LOCKED) OCmd_UnlockRel Set mode to Operator (unlocked)
Rdy_OUnlock = 1
Program Mode
Associated Tags
Hand Mode
Tag Description
Inp_Hand 1 = Hand mode request.
Sts_Hand 1 = Mode is Hand.
Maintenance Mode
Tag Description
MCmd_Acq Maintenance command to acquire.
MCmd_Rel Maintenance command to release.
Sts_Maint 1 = Mode is Maintenance.
Sts_MAcqRcvd 1 = MCmd_Acq received this scan.
Override Mode
Tag Description
Inp_Ovrd 1 = Override mode request.
Cfg_OvrdOverLock 1 = Override request takes ownership even if
Program/Operator mode is locked.
0 = Override cannot take ownership if Program/Operator
mode is locked.
Sts_Ovrd 1 = Mode is Override.
Operator Mode
Setting Description
OCmd_AcqLock= 1 (edge) If the mode is Program, requests transition to Operator
mode (unlocked). If the mode is operator, requests
Operator mode be locked.
OCmd_Unlock= 1 (edge) If the mode is Operator (locked), requests mode be
unlocked. If the mode is Operator (unlocked), requests
mode be released (to program).
Sts_ProgOperLock 1 = Program or Operator mode is locked.
If Locked, Operator cannot take from Program, Program
cannot take from Operator, and Override cannot take from
Program / Operator unless Cfg_OvrdOverLock = 1.
Sts_ProgOperSel 1 = Program selected.
0 = Operator selected.
Sts_Oper 1 = Mode is Operator.
Program Mode
Tag Description
PCmd_Acq Program command to acquire from Operator.
PCmd_Rel Program command to release to Operator.
PCmd_Lock Program command to lock mode.
PCmd_Unlock Program command to unlock mode.
Tag Description
Sts_ProgOperLock 1 = Program or Operator mode is locked.
If locked, Operator cannot take from Program, Program
cannot take from Operator, and Override cannot take from
Program/Operator unless Cfg_OvrdOverLock = 1.
Sts_ProgOperSel 1 = Program selected.
0 = Operator selected.
Sts_Prog 1 = Mode is Program.
Alarms
The P_Mode Add-On Instruction does not generate any alarms. The individual
input conditions can be alarmed, if necessary, in other logic before they are sent
to the inputs of the P_Mode instruction.
Simulation
Execution
Condition Description
EnableIn False (false rung) If the P_Mode instruction is placed on a false rung or if the EnableIn pin is set to 0,
processing proceeds as normal except that all ownership status bits (Sts_Hand,
Sts_Maint, Sts_Ovrd, Sts_Prog and Sts_Oper) are cleared to 0.
Commands are still received for Maintenance, Operator, and Program and are
processed behind the scenes, just as they are in Hand mode. The HMI shows the
underlying requests so the Operator knows what mode is active when the
instruction is again enabled.
Powerup (prescan, first scan) On prescan, the Program/Operator Mode selection is set based on the Default
Mode configuration (Cfg_ProgDefault):
• Cfg_ProgDefault = 1 Set Program/Operator selection to Program
• Cfg_ProgDefault = 0 Set Program/Operator selection to Operator
The Program or Operator lock selection is set to unlocked.
The Maintenance Mode acquired/released state is not modified and persists
through a controller powerup or PROG-to-RUN transition.
Hand and Override Mode selections are based on their Input states in the normal
Logic scan; they are not modified in prescan.
Postscan (SFC transition) No SFC Postscan logic is provided.
Display Elements There are no display elements or graphic symbols in P_Mode instruction.
This section describes the functions and displays for the P_Mode instruction that
can appear on other faceplates.
Mode Indicator
The following table shows the Mode Indicator display for each mode.
Transparent Program mode (if the default mode is Program and in Program mode, the mode indicator is
transparent)
Program mode (if the default mode is Operator)
Override mode
Maintenance mode
No mode
When the object is in the Default mode, the mode indicator is transparent.
The Mode Totem Pole shows all of the modes that have been requested. These
modes have a white background color. The leftmost mode that is highlighted is
the active mode.
The small black triangle, in the upper left corner of the above example, indicates
the Default mode.
Operator Buttons
The Operator Lock buttons on device faceplates are used to lock and unlock
Operator mode. The buttons also show the current mode status.
Function Action Security
Click to lock in Operator mode. Function locks the mode in Manual Device
Operator mode, preventing the program from taking control. Operation (Code B)
Maintenance Buttons
The Maintenance buttons on device faceplates are used to request and release
Maintenance mode.
Function Action Security
Click to acquire Maintenance mode. Equipment
Maintenance (Code C)
Engineering Buttons
This display lets you set the Cfg_ProgDefault parameter for the object, which
sets the default mode when no mode is being requested. Changing the parameter
requires security code E.
IMPORTANT If no mode is being requested, changing the default mode changes the mode
of the instruction.
Notes:
In addition, we offer multiple support programs for installation, configuration, and troubleshooting. For more
information, contact your local distributor or Rockwell Automation representative, or visit
http://www.rockwellautomation.com/services/online-phone.
Installation Assistance
If you experience a problem within the first 24 hours of installation, review the information that is contained in this
manual. You can contact Customer Support for initial help in getting your product up and running.
United States or Canada 1.440.646.3434
Outside United States or Canada Use the Worldwide Locator at http://www.rockwellautomation.com/rockwellautomation/support/overview.page, or contact your local
Rockwell Automation representative.
Rockwell Automation tests all of its products to help ensure that they are fully operational when shipped from the
manufacturing facility. However, if your product is not functioning and needs to be returned, follow these procedures.
United States Contact your distributor. You must provide a Customer Support case number (call the phone number above to obtain one) to your
distributor to complete the return process.
Outside United States Please contact your local Rockwell Automation representative for the return procedure.
Documentation Feedback
Your comments will help us serve your documentation needs better. If you have any suggestions on how to improve this
document, complete this form, publication RA-DU002, available at http://www.rockwellautomation.com/literature/.
Rockwell Otomasyon Ticaret A.Ş., Kar Plaza İş Merkezi E Blok Kat:6 34752 İçerenköy, İstanbul, Tel: +90 (216) 5698400