(P Intlk) Instuction
(P Intlk) Instuction
(P Intlk) Instuction
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
Preface
Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Required Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Controller File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Visualization Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Controller Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Interlocks Input Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Interlocks Output Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Interlocks Local Configuration Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Alarms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Display Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Status and Bypass Indicators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Using Display Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Faceplate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Operator Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Maintenance Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Engineering Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Interlock Faceplate Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table of Contents
Notes:
Preface
This manual contains new and updated information. Changes throughout this
revision are marked by change bars, as shown to the right of this paragraph.
Page
15
Added Important note concerning selections on page 2 of the Engineering tab and on the
Maintenance tab.
17
Using Display Elements: Modified introductory text concerning navigation to faceplate from
associated objects.
20
21
For the latest compatible software information and to download the Rockwell
Automation Library, see the Product Compatibility and Download Center at
http://www.rockwellautomation.com/rockwellautomation/support/
downloads.page?.
For general library considerations, see Rockwell Automation Library of Process
Objects, publication PROCES-RM002.
Additional Resources
Description
Preface
Notes:
The P_Intlk (Interlocks with First Out and Bypass) Add-On Instruction is used
to collect (sum up) the interlock conditions that stop or de-energize a running or
energized piece of equipment and prevent it from starting or being energized.
Interlocks are always evaluated to de-energize equipment. For permissive
conditions that must be made to start the equipment, but are ignored once the
equipment is running, use the Permissives (P_Perm) Add-On Instruction.
Faceplate
Global Object
Add-On Instruction
Guidelines
Functional Description
The following diagram shows the functional characteristics of the P_Intlk AddOn Instruction.
The primary operations of the P_Intlk Add-On Instructions and its faceplate are
the following:
Interlock input OK Check: Each input is compared with its configured
OK state. If the input is not in its OK state, it raises an interlock condition
unless bypassed by Maintenance. (See Interlock Bypass on page 8.)
Interlock Condition Latching: If the input is configured as latched, the
interlock condition is latched in until reset unless the latch defeat input is
true. See Latch Defeat on page 9. If the input is not configured as latched,
the interlock condition clears when the input is again in its OK state.
Interlock Bypass: If the input is configured as able to be bypassed and
interlocks are bypassed, the input does not raise an interlock condition,
even if it is not in its OK state. If the input is configured as not able to be
bypassed or if interlocks are not bypassed, the input raises an interlock
condition.
Engineering configures which interlocks are allowed to be bypassed.
Maintenance then picks the ones to bypass from the interlocks allowed by
Engineering.
First Out: If no interlock conditions are raised (OK to run), the first
interlock condition to be raised is marked as the first out. If multiple such
interlock conditions are raised in the same scan, they are all marked as
first out.
10
Add-On Instructions are reusable code objects that contain encapsulated logic
that can streamline implementing your system. This code 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.
Required Files
Controller File
The P_Intlk_3_1-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
The following files for this Add-On Instruction can be downloaded from the
Product Compatibility and Download Center at
http://www.rockwellautomation.com/rockwellautomation/support/pcdc.page.
IMPORTANT
Files must be imported in the following order: image files, then global object
files, and then graphic files. This order is required to configure the visualization
files properly.
File Type
Description
Graphics - Displays
GFX
(RA-BAS) P_Intlk-Faceplate
(RA-BAS-ME) P_Intlk-Faceplate
(RA-BAS) P_IntlkPerm-Help
(RA-BAS-ME) P_IntlkPerm-Help
Graphics - Global
Objects
GGFX
Graphics - Images
PNG
HMI Tags
CSV
N/A
FTVME_PlantPAxLib_Tags_3_1_00.csv(1)
Macros
MCR
NavToObject
N/A
(1) The service release number (boldfaced) can change as service revisions are created.
11
This section describes the parameter references for this Add-On Instruction.
Controller Code
Data
Type
EnableIn
BOOL
Inp_Intlk00Inp_Intlk15
BOOL
Inp_BypActive
Default
Description
Ladder Diagram:
If the rung-in condition is true, the instructions Logic routine executes. If the rungin condition is false, the instructions EnableInFalse routine executes.
Function Block Diagram:
If true, or not connected, the instructions Logic routine executes. If the parameter
is exposed as a pin and wired, and the pin is false, the instructions EnableInFalse
routine executes.
Structured Text:
No effect. The instructions Logic routine executes.
BOOL
Inp_LatchDefeat
BOOL
Inp_Reset
BOOL
Cfg_OKState
INT
2#0000_0000_
0000_0000
Cfg_Latched
INT
2#0000_0000_
0000_0000
Set bits determine the conditions that are latched (sealed in).
Cfg_Bypassable
INT
2#0000_0000_
0000_0000
Cfg_HasNav
INT
2#0000_0000_
0000_0000
Cfg_PCmdClear
BOOL
When this parameter is 1, program commands are cleared once they are acted
upon. When set to 0, program commands remain set until cleared by the
application program logic.
IMPORTANT: Clearing this parameter online can cause unintended program
command execution.
12
Alias For
Wrk_Inp.0Wrk_Inp.15
Data
Type
Alias For
Default
Description
MSet_Bypass00
MSet_Bypass15
BOOL
Wrk.MSet.0Wrk.MSet.15
PCmd_Reset
BOOL
OCmd_Reset
BOOL
Data Type
Description
EnableOut
BOOL
Enable Output: The EnableOut signal is not manipulated by this instruction. Its output state always reflects EnableIn input
state.
Sts_IntlkOK
BOOL
Sts_NBIntlkOK
BOOL
Sts_BypActive
BOOL
Sts_Intlk
INT
Sts_FirstOut
INT
Rdy_Reset
BOOL
P_Intlk
BOOL
13
Data Type
Cfg_CondTxt
Cfg_CondTxt[0]
Cfg_CondTxt[1]
Cfg_CondTxt[15]
STRING_20[16]
Cfg_Desc
STRING_40
'Interlocks with First Out' Description for display on HMI. This string is shown in the title bar of the faceplate.
Cfg_Label
STRING_20
'Interlocks'
Label for graphic symbol that is displayed on HMI. This string appears on the graphic symbol.
Cfg_NavTag
STRING_20[16]
''
Cfg_Tag
STRING_20
'P_Intlk'
Tag name for display on the HMI. This string is shown in the title bar of the faceplate.
Operations
Default
Description
Short HMI descriptions of 16 interlock conditions.
Modes
The P_Intlk Add-On Instruction does not have modes and does not contain a
P_Mode instruction instance. The Operator and Program reset commands for
the latched inputs are accepted at any time.
Alarms
The P_Intlk 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_Intlk instruction. In many applications, status bits from
P_AIn Analog Input or P_DIn Discrete Input instructions are sent to the
P_Intlk inputs, and those instructions provide alarms.
ATTENTION: Status bits are normally used as interlock conditions. Use alarm
bits as interlock conditions only if you intend that the interlock condition be
ignored when the corresponding alarm is disabled, suppressed, or shelved.
14
Simulation
The P_Intlk Add-On Instruction does not have a Simulation capability.
Execution
The following table explains the handling of instruction execution conditions.
Condition
Description
The latch and first out states of the P_Intlk Add-On Instruction are
maintained through a power-down/power-up or Run/Program/Run cycle.
Any commands that are received before first scan are discarded.
15
Programming Example
This example uses the P_Intlk instruction to concentrate the interlock conditions
that allow the functioning of the refiner plates that are used for grinding wood as
part of the pulp manufacturing process.
Perform the following steps to import an Add-On Instruction to your project.
1. Right-click 'Add-On Instructions' and select 'Import Add-On
Instruction'
2. On the Import Add-On Instruction dialog box, select the P_ Intlk
instruction and click Import.
3. Add the P_ Intlk instruction to your project:
a. Click the Add-On tab on the Language Element toolbar.
b. Click the P_ Intlk instruction.
c. Also add the P_ Motor instruction that controls the refiner plates.
4. Double-click the interlock instruction name and create the tag name for it.
The naming convention that makes navigation from the motor faceplate
work automatically is to use the motors tag name followed by _Intlk.
5. Create the input references necessary to ensure the appropriate operation
of the refiner plates and create their appropriate tags.
6. Expose the Sts_BypActive pin on P_Motor. Wire this pin back to
Inp_BypActive on P_Intlk, and mark this wire 'Assume Data Available'.
The following image is what the instruction looks like when connected
correctly.
16
17
18
IMPORTANT
19
Display Elements
A display element (global object) is created once and can be referenced multiple
times on multiple displays in an application. When changes are made to the
original (base) object, the instantiated copies (reference objects) are
automatically updated. Use of global objects, with tag structures in the
ControlLogix system, aid consistency and save engineering time.
Display Element Name
Display Element
GO_P_Intlk
Description
Standard Interlock Global Object.
Graphic symbols are provided for use on end-user process graphic displays.
Interlock graphic symbols have the following common attributes.
Status Indicator
Bypass Indicator
The Interlock graphic symbol displays the current summary state of the
interlocks and whether interlocks that can be bypassed are bypassed. These
indicators are described in detail in Status and Bypass Indicators on page 19.
The overall graphic symbol includes a touch field that opens the instructions
faceplate. In the SE version of the library, pausing the pointing device over the
graphic symbol displays a tooltip that describes the symbols function.
20
Description
Not ready to run or energize. One or more interlock
conditions are not OK.
The P_Intlk instruction does not have bypass commands, as they are in the
associated device instruction. If you would like the graphic symbol and faceplate
to display the equipments bypass state, connect the equipments bypass status to
the P_Intlk instructions Inp_BypActive input.
21
22
2. In the display, right-click the global object and choose Global Object
Parameter Values.
The Global Object Parameter Values dialog box appears.
Required
Description
#102
#103
Path that is used for display navigation features to other objects. Include
program scope if tag is a program scope tag.
#120
#121
3. Type the tag or value in the Value column as specified in the Description
column.
TIP
4. Click OK.
23
Faceplate
The P_Intlk faceplate consists of three tabs and each tab consists of one or more
pages.
Each faceplate contains the value of local configuration tags Cfg_Tag and
Cfg_Desc in the title bar.
The Operator tab is displayed when the faceplate is initially opened. Click the
appropriate icon at the top of the screen to access a specific tab.
Exit
Maintenance
Operator
Engineering
Help
The faceplate provides the means for operators, maintenance workers, engineers,
and others to interact with the P_E300Ovld instruction instance. You can also
view its status and values and manipulate it through its commands and settings.
When a given input is restricted via FactoryTalk View security, the required user
Security Code letter is shown in the faceplate description tables.
24
Operator Tab
The Faceplate initially opens to the Operator (Home) Tab. From here, an
operator can monitor the device status.
The Operator tab shows the following information:
A status indicator, identical to the one on the graphic symbol, shows the
current interlock state (all conditions met, non-bypassed conditions met,
or some conditions not met)
Interlock Bypass status indicator
Each configured interlock along with the current state of the interlock
Latch Defeat status indicator
The following figure shows the Operator tab in a non-bypassed condition.
Status Indicator
Reset Button
Condition OK
Condition Not OK
First-Out Indicator
If navigation is enabled, click a condition to open the faceplate of the object that
is associated with the condition.
25
Bypass Indicator
26
Action
Security Required
Normal Operation of
Devices (Code A)
None
Description
Condition OK
Condition Not OK
Bypassed, but OK
Not OK, but bypassed
27
Maintenance Tab
Maintenance personnel use the information and controls on the Maintenance tab
to make adjustments to device parameters. They also troubleshoot and
temporarily work around device problems, and disable the device for routine
maintenance.
IMPORTANT
Individual Enable
Bypass Checkboxes
Interlocks
28
Action
Security
Enable Bypass
Bypass
Cfg_Bypassable
Permissives
and Interlocks
(Code H)
Configuration Parameters
29
Engineering Tab
The Engineering tab provides access to device configuration parameters and
ranges, options for device and I/O setup, displayed text, and
faceplate-to-faceplate navigation settings, for initial system commissioning or
later system changes.
The Engineering tab is divided into three pages.
Configure Description,
Label, and Tag
30
The following table lists the functions on page 1 of the Engineering tab.
Table 9 - Engineering Tab Page 1 Descriptions
Function
Action
Security
Configuration Parameters
Description
Engineering
Configuration
(Code E)
Cfg_CondTxt[0]Cfg_CondTxt[15]
Label
Cfg_Label
Tag
Cfg_Tag
Clear Program
Commands on
Receipt
Cfg_PCmdClear
31
32
Function
Action
Security
Required
Configuration Parameters
Descriptions
Engineering
Configuration
(Code E)
Cfg_Desc
OK State
Cfg_OKState
Can Bypass
Cfg_Bypassable
Must Reset
Cfg_Latched
Action
Security
Required
Configuration Parameters
Allow Navigation to
Interlock Input
Objects
Engineering
Configuration
(Code E)
Cfg_HasNav
Navigation Tag
Cfg_NavTag[0]Cfg_NavTag[15]
33
34
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
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.
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 erenky, stanbul, Tel: +90 (216) 5698400
Copyright 2015 Rockwell Automation, Inc. All rights reserved. Printed in the U.S.A.