Sunteți pe pagina 1din 52

Process Add-On Instructions and Graphics:

Discrete Input (P_DIn)

Compatible with the Plant-wide Integrated Architecture


Reference Manual

Important User Information


Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (publication SGI-1.1 available from your local Rockwell Automation sales office
or online at http://rockwellautomation.com/literature) describes some important differences between solid state equipment and hard-wired
electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.
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

IMPORTANT
ATTENTION

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.

Identifies information that is critical for successful application and understanding of the product.
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.

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.

Allen-Bradley, Rockwell Automation, and TechConnect are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation, Plant PAx Process Automation System, and TechConnect are property of their respective companies.

Summary of Changes

Introduction

This release of this document is updated throughout for version 2.0 of the
Discrete Input (P_DIn) Add-On Instruction and Graphics. Please refer to the
Release Notes that are distributed with version 2.0 of the Library.

Updated Information

This document contains the following changes:

iiiPublication SYSLIB-RM003C-EN-E - October 2011

Change:

See:

Version 2.0 of instruction

All

iii

Summary of Changes

Notes:

iv

Publication SYSLIB-RM003C-EN-E - October 2011

Table of Contents
Preface

Use of this Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii


Conventions and Related Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Set and Clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Edge and Level. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii
Relay Ladder Rung Condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Pre-Scan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Function Block States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Entering Text in FactoryTalk View SE. . . . . . . . . . . . . . . . . . . . . . xi

Chapter 1
Overview

Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Primary Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Alarms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Implementation Using the EnableIn FALSE Feature . . . . . . . . . . . . . . 5
Revision Compatibility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Chapter 2
Configuration Options

Configuration Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Chapter 3
Instruction Data Reference

vPublication SYSLIB-RM003C-EN-E - October 2011

Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Inputs (Inp_) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Configurations (Cfg_) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Configurations in Local Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Operator Settings, Maintenance Settings, Other Settings
(OSet_, MSet_, Set_) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Program Commands (PCmd_) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Alarm Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Operator Commands, Maintenance Commands, Command Readies
(OCmd_, MCmd_, Rdy_) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Device Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Alarm Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Device Command Readies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Alarm Command Readies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Values (Val_) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Status (Sts_) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Device Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Alarm Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Table of Contents

Chapter 4
HMI Reference

vi

Graphic Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Process Variable State Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Alarm Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Using Graphics Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Faceplate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Operator Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Alarms Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Maintenance Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Engineering Tab. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Alarm Configuration Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Discrete Input Faceplate Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

Publication SYSLIB-RM003C-EN-E - October 2011

Preface

Use of this Document

This document provides a programmer with details on the P_DIn instruction


for a Logix-based controller. You should already be familiar with how the
Logix-based controller stores and processes data.
Novice programmers should read all the details about an instruction before
using the instruction. Experienced programmers can refer to the instruction
information to verify details.

Conventions and Related


Terms

Set and Clear


This manual uses set and clear to define the status of bits (booleans) and values
(non-booleans):

viiPublication SYSLIB-RM003C-EN-E - October 2011

This term:

Means:

Set

The bit is set to 1 (ON)


A value is set to any non-zero number

Clear

The bit is cleared to 0 (OFF)


All the bits in a value are cleared to 0

vii

Preface

Edge and Level


This manual uses Edge and Level to describe how bit (BOOL) Commands,
Settings, Configurations and Inputs to this instruction are sent by other logic
and processed by this instruction.
Send/Receive Method: Description:
Edge

Action is triggered by "rising edge" transition of input (0-1)


Separate inputs are provided for complementary functions
(such as "enable" and "disable")
Sending logic SETS the bit (writes a 1) to initiate the
action; this instruction CLEARS the bit (to 0) immediately,
then acts on the request if possible
Ladder Diagram (LD): use conditioned OTL (Latch) to send
Structured Text (ST): use conditional assignment [if
(condition) then bit:=1;] to send
Function Block Diagram (FBD): OREF writes a 1 or 0 every
scan, should use Level, not Edge
Edge triggering allows multiple senders per Command,
Setting, Configuration or Input (many-to-one relationship)

Level

Action (enable) is triggered by input being at a level (in a


state, usually 1)
Opposite action ("disable") is triggered by input being in
opposite state (0)
Sending logic SETS the bit (writes a 1) or CLEARS the bit
(writes a 0); this instruction does not change the bit
LD: use OTE (Energize) to send
ST: use unconditional assignment
[bit:= expression_resulting_in_1_or_0;] or
"if-then-else" logic [if (condition) then bit:= 1; else bit:= 0;]
FBD: use OREF to the input bit
Level triggering allows only one sender to drive each Level
input on the instruction (one-to-one relationship restriction)

IMPORTANT

viii

All Operator Commands (OCmd_) and Maintenance Commands


(MCmd_) are Edge triggered. The HMI graphic symbols or
faceplate SETS (writes a 1 to) each Command bit and the
Instruction CLEARS (writes a 0 to) the Command bit, then
performs the function, if possible.

Publication SYSLIB-RM003C-EN-E - October 2011

Preface

IMPORTANT

This instruction has Program Commands (PCmd_) which are


selectable as Edge or Level, depending on the Configuration
Parameter Cfg_PCmdClear. If Cfg_PCmdClear is 1 (the default),
all Program Commands are CLEARED when received (edge). If
Cfg_PCmdClear is 0, Program Commands as noted in the
Instruction Data Reference become Level triggered, and
opposite functions are triggered by the primary Program
Command being CLEARED to 0.

Relay Ladder Rung Condition


The controller evaluates ladder instructions based on the rung condition
preceding the instruction (rung-in condition). Based on the rung-in condition
and the instruction, the controller sets the rung condition following the
instruction (rung-out condition), which in turn, affects any subsequent
instruction.

If the rung-in condition to an input instruction is true, the controller evaluates


the instruction and sets the rung-out condition based on the results of the
instruction. If the instruction evaluates to true, the rung-out condition is true;
if the instruction evaluates to false, the rung-out condition is false.
IMPORTANT

The rung-in condition is reflected in the EnableIn parameter and


determines how the instruction performs each Process Add-On
Instruction. If the EnableIn signal is TRUE, the instruction
performs the instructions main logic routine. Conversely, if the
EnableIn signal is FALSE, the instruction performs the
instructions EnableInFalse routine.
The instructions main logic routine sets/clears the EnableOut
parameter, which then determines the rung-out condition. The
EnableInFalse routine cannot set the EnableOut parameter. If
the rung-in condition is FALSE, then the EnableOut parameter
and the rung-out condition will also be FALSE.

Publication SYSLIB-RM003C-EN-E - October 2011

ix

Preface

Pre-Scan
On the transition into RUN, the controller performs a pre-scan before the first
logic scan. pre-scan is a special scan of all routines in the controller. The
controller scans all main routines and subroutines during Pre-Scan, but ignores
jumps that could skip the execution of instructions. The controller executes all
FOR loops and subroutine calls. If a subroutine is called more than once, it is
executed each time it is called. The controller uses Pre-Scan instructions to
reset non-retentive data values.
During pre-scan, input values are not current and outputs are not written. The
following conditions generate pre-scan:
toggle from Program to Run mode.
automatically enter Run mode from a power-up condition.
pre-scan does not occur for a program when:
the program becomes scheduled while the controller is running.
the program is unscheduled when the controller enters Run mode.
IMPORTANT

The pre-scan process carries out the Process Add-On


Instructions logic routine as FALSE and then carries out its
Pre-Scan routine as TRUE.

Function Block States


The controller evaluates function block instructions based on the state of
different conditions.

Possible Condition:

Description:

Pre-scan

pre-scan for function block routines is the same as for relay


ladder routines. The only difference is that the Enableln
parameter for each function block instruction is cleared during
pre-scan.

Instruction first scan

Instruction first scan refers to the first time an instruction is


executed after pre-scan. The controller uses instruction first
scan to read current inputs and determine the appropriate
state to be in.

Instruction first run

Instruction first run refers to the first time the instruction


executes with a new instance of a data structure. The
controller uses instruction first run to generate coefficients
and other data stores that do not change for a function block
after initial download.

Publication SYSLIB-RM003C-EN-E - October 2011

Preface

Every function block instruction also includes EnableIn and EnableOut


parameters.
If the EnableIn parameter is not wired, the instruction always executes as
normal and EnableIn remains set. If you clear EnableIn, it changes to set the
next time the instruction executes.
IMPORTANT

When programming in function block, restrict the range


of engineering units to 1015 because internal floating
point calculations are done using single precision floating
point. Engineering units outside of this range may result in
a loss of accuracy if results approach the limitations of
single precision floating point (1038).

Entering Text in FactoryTalk View SE


When entering data into String Input fields in FactoryTalk View SE, the data is
not saved to the tag until the user presses the Enter key. When the Input Field
is enabled, its border changes based on the state of the input:
When the Input Field is Active (the cursor is in the field), the Input Field border is a
solid line.

EXAMPLE

If the user modifies the data in the input field and moves to a different field without
pressing the Enter key, the border remains a solid line indicating that the data has not
been saved to the tag.

EXAMPLE

If the data in the Input Field has not changed or has been written to the controller
tag, the border is a dashed line.

EXAMPLE

Publication SYSLIB-RM003C-EN-E - October 2011

xi

Preface

Notes:

xii

Publication SYSLIB-RM003C-EN-E - October 2011

Chapter

Overview

The Discrete Input Add-On Instruction is used to receive and process a single
discrete condition (a bit, the Process Variable or PV), typically for a channel of
a discrete input card. It can be used with any discrete (BOOL) signal. The
Discrete Input Add-On Instruction includes the capability to generate a
discrete input Status, such as from a low level switch, high vibration switch, or
flow switch, plus a Target Disagree Status and Alarm.
Use when:
You want to display the state of a process temperature, level, flow,
proximity, pressure or other switch.
You need any of these signal processing or alarming features for a
Discrete Input or any Discrete (bit) value:
Debounce of the discrete input signal.
Target Disagree Status and optional Alarm when the Discrete
Input is not in a Target state for some period of time.
Target Disagree Status and optional Alarm when a gating condition
is true for some period of time.
Display of the input state with configurable text on an HMI object
with operator faceplate call-up.
Ability for Maintenance to provide a substitute value when the
device has failed.
Do NOT use when:
You only need to show or not show the state of a bit on an HMI display.
Use basic display objects (text, multi-state indicators) with appropriate
animation instead.
You only need to generate an alarm from some condition you already
have in your code. Use the P_Alarm Add-On Instruction or the ALMD
built-in instruction instead.

1Publication SYSLIB-RM003C-EN-E - October 2011

Chapter 1

Overview

Functional Description

The functions of the P_DIn Instruction are shown in the following figure:

Publication SYSLIB-RM003C-EN-E - October 2011

Overview

Primary Operations

Chapter 1

The primary operations of the Discrete Input Add-On Instruction and its
faceplate are to:
Provide display of the input state; the 0-state and 1-state names are
configurable. The input state is also displayed independently, even when
the input is substituted.
Provide a Target Disagree Status and optional Alarm based on
comparing the input state against a target (good) state. The Target
Disagree Status is enabled by a gating input signal with a configurable
gate delay. The Target Disagree Status and Alarm On-Delay and
Off-Delay are configurable.
Handle an I/O Fault input by displaying the communication fault to the
operator.
Provide for selection and entry of a manual (substitute) PV. This manual
override is made clearly visible to the operator.
Provide support for a simulated PV for use in instruction testing,
demonstration or operator training.

Operating Modes

The Discrete Input Add-On Instruction does not use Modes, and the P_DIn
instruction does not contain an embedded P_Mode Add-On Instruction.
Alarm Acknowledge, Reset, Disable, Suppress and Inhibit and related
Commands are accepted at any time. Operator Commands are restricted via
the security functions of the HMI; see the HMI Reference.
Enabling and Disabling the Substitute PV function can be done by
Maintenance personnel, subject to HMI security rights and Engineering
configuration at any time. Once the Substitute PV function is Enabled, the
Operator can enter a Substitute PV Value, subject to HMI security rights, at
any time.

Publication SYSLIB-RM003C-EN-E - October 2011

Chapter 1

Overview

Alarms

The following Alarms, implemented using the P_Alarm Add-On Instruction,


are used by the Discrete Input Add-On Instruction:
Alarm

Description

TgtDisagree

Activated when the PV Input is not equal to the Target Input for a
configured period of time, enabled when the Gate Input is true for a
configured period of time.

Refer to the P_Alarm Instruction Reference Manual, publication


SYSLIB-RM002, for more information.

Execution

The following table explains the handling of instruction execution conditions.


Condition

Description

EnableIn False (False Rung)

Processing for EnableIn False (False Rung) is


handled the same as the main Logic Routine
except that the state of Inp_PV is inverted.
This allows the P_DIn Add-On Instruction in
a Ladder Diagram instance to have its input
mapped by using an XIC of the input on the
rung with the P_DIn instruction instead of
using a separate branch or rung to map the
input. Inp_PV should be set to 1 (or 0 as
appropriate) when using the on-rung
mapping. The illustrations in
Implementation Using the EnableIn FALSE
Feature. show both mapping methods.
The On-Rung Mapping method will be
preferred by many Ladder Diagram users.

Powerup (pre-scan, First Scan)

Since the Discrete Input Add-On Instruction


uses standard TON timers for Status
On-Delay, Off-Delay, and Gate Timing, on
Powerup or pre-scan, the Status will initiate
as if the Gate input had been changed for 0
to 1.

Postscan (SFC Transition)

No SFC Postscan logic is provided.

Refer to Logix5000 Controllers Add-On Instructions: Programming Manual,


publication 1756-PM010, for more information on Add-On Instruction
execution condition handling.

Publication SYSLIB-RM003C-EN-E - October 2011

Overview

Implementation Using the


EnableIn FALSE Feature

Chapter 1

For the convenience of Ladder Diagram programmers, the P_DIn instruction


can be used in a Ladder Diagram Routine with the input condition carried by
the Rung-In condition instead of being mapped on a separate branch.
The following illustration shows normal implementation with the input
condition mapped to Inp_PV on a separate branch.

The following illustration shows EnableIn FALSE implementation with the


input condition mapped to the P_DIn instruction using the Rung-In state.

The Rung-In condition determines whether the Add-On Instruction's normal


code ("Logic" Routine) is executed or its EnableIn False code ("EnableInFalse
Routine) is executed. In the P_DIn instruction, the EnableIn False code is
identical to the Logic code, except it uses the inverse of the Inp_PV signal for
processing. To use the Rung-In mapping, method, set Inp_PV to 1 (its default
value). When the rung is TRUE, Inp_PV (=1) is treated as TRUE (not
inverted), and when the rung is FALSE, Inp_PV (=1) is treated as FALSE
(inverted).

Publication SYSLIB-RM003C-EN-E - October 2011

Chapter 1

Overview

Revision Compatibility

The P_DIn Add-On Instruction in RSLogix 5000 software and the Faceplate
in FactoryTalk View software are marked with revision information as shown
in the following table:.
Component

Example

The Add-On Instruction in RSLogix 5000 has


revision information visible when the
instruction is selected in the Controller
Organizer.

The Faceplate in FactoryTalk View has


revision information visible when the
pointer is paused just inside the lower
left-hand corner of the Faceplate when
called up on a running HMI Client.

The Instruction and Faceplate are compatible if they have the same Major and
Minor Revision numbers.
The Major Revision is the first number, before the period.
The Minor Revision is the second number, after the period and before the
hyphen or space.
Information after the hyphen or space indicates the Tweak Revision. The
Instruction and Faceplate do not have to have the same Tweak Revision to be
compatible.
In the table above, the Add-On Instruction and Faceplate shown are
compatible because they have the same Major.Minor (1.1).

Publication SYSLIB-RM003C-EN-E - October 2011

Chapter

Configuration Options

Configuration Parameters

Enter the appropriate values from the following table into the P_DIn
Instructions Configuration Parameters to configure it for your application.
Use the HMI Faceplate or the RSLogix 5000 Tag Monitor function to set the
applicable Configuration Parameters.

Parameter:

Default:

Faceplate
Tab
Location:

Cfg_0StText

Off

Engineering

Cfg_1StText

On

Cfg_Desc

Discrete Input

Cfg_Label

Discrete Input

Cfg_Tag

P_DIn

Usage:
These Local Tags determine
the text displayed on the
various graphic symbols and
faceplates for:

Associated Parameters:
None

Off State
On State
Description
Label (if used)
Tagname

Cfg_Debounce

0.0 sec

Maintenance Use when the discrete input


has noise or contact bounce
and you are scanning this
instruction at a fast enough
rate to see the bounce.

Inp_PV
Set_SimPV
This time determines how long
after an input (or simulated
input) state change further
state changes are ignored as
noise

Cfg_TgtDisagreeOnDly

0 sec

Maintenance Minimum time (sec) the Input


and Target must disagree and
the Gate timer must be done in
order to set the Target
Disagree Status and Alarm

Sts_TgtDisagree

Cfg_TgtDisagreeOffDly

0 sec

Maintenance Minimum time (sec) the Input


and Target must agree or the
Gate input must be cleared in
order to clear the Target
Disagree Status and Alarm

Sts_TgtDisagree

7Publication SYSLIB-RM003C-EN-E - October 2011

Chapter 2

Configuration Options

Faceplate
Tab
Location:

Usage:

Associated Parameters:

Parameter:

Default:

Cfg_GateDly

0 sec

Maintenance Use this parameter when you


use the Inp_Gate signal to
enable and disable the Target
Disagree Status and Alarm.
The Cfg_GateDly configuration
specifies the amount of time
that the Inp_Gate signal must
be TRUE before Target
Disagree Status and Alarm
checking is enabled.

Inp_Gate

Cfg_HasTgtDisagreeAlm

OFF

Alarm
This parameter determines
Configuration whether the Target Disagree
alarm exists and will be
checked, or doesnt exist and
will not be used.

Alm_TgtDisagree

When the parameter is:


ON, the Alarm exists and
will be checked
OFF, the Alarm does not
exist and will not be used
Cfg_NormTextVis

ON

Engineering

Set this parameter to:


ON when you want the
state text visible at all
times.
OFF when using certain
Graphic Symbols to make
them not visible when the
Input is in the normal
(same as target) state. The
Graphic Symbol acts as a
pop up for exceptional
conditions.

Cfg_NoSubstPV

OFF

Engineering

Set this parameter to:


ON to disallow the
Substitute PV Maintenance
function.
OFF to allow use of the
Substitute PV Maintenance
function.

When Cfg_NoSubstPV is in the


OFF state, the instruction accepts
either of the following commands:
MCmd_SubstPV
MCmd_InpPV
Sts_SubstPV is 1 when the
instructions Substitute PV is
selected

Publication SYSLIB-RM003C-EN-E - October 2011

Configuration Options

Parameter:

Default:

Faceplate
Tab
Location:

Cfg_PCmdClear

ON

Engineering

Chapter 2

Usage:

Associated Parameters:

Set this parameter:

The Cfg_PCmdClear parameter


configures all Program Commands
(PCmd_) for either Level or Edge
triggering.

On to use Edge-triggered
Program Commands.
Off to use Level-triggered
Program Commands.
See the Edge and Level section
in the Preface for more
information.
Cfg_TgtDisagreeAckReqd

OFF

Alarm
When this parameter is:
Configuration
ON, the Acknowledge (Ack)
bit is cleared when an
alarm occurs, indicating an
unacknowledged alarm. An
Acknowledge Command is
required to acknowledge
the alarm (set the Ack bit).

Ack_TgtDisagree
PCmd_TgtDisagreeAck
TgtDisagree.OCmd_Ack

OFF, the Acknowledge (Ack)


bit is set when an alarm
occurs, indicating an
acknowledged alarm. No
Acknowledge Command is
required.
Cfg_TgtDisagreeResetReqd

OFF

Alarm
When this parameter is:
Configuration
ON, the alarm status is
latched ON when an alarm
occurs. After the alarm
condition returns to normal,
a Reset is required to clear
the alarm status.

Alm_TgtDisagree
PCmd_Reset
Inp_Reset

IMPORTANT
If the Reset clears the alarm, it
also acknowledges the alarm.
OFF, the alarm status is set
when an alarm occurs and
cleared when the alarm
condition returns to normal.
No Reset is required.

Publication SYSLIB-RM003C-EN-E - October 2011

Chapter 2

Configuration Options

Parameter:

Default:

Cfg_TgtDisagreeSeverity

Faceplate
Tab
Location:

Usage:

Associated Parameters:

Alarm
This parameter determines the
Configuration Severity of the Target Disagree
alarm, and thus the color of
alarm animations for the alarm.
Valid values are:

Val_Notify

1 = Information (blue)
2 = Warning (yellow)
3 = Exception (red)
4 = Fault (magenta)

10

Publication SYSLIB-RM003C-EN-E - October 2011

Chapter

Instruction Data Reference

This chapter describes the P_DIn Instructions public parameters.


The descriptions in the tables below show how these data elements are used
with the P_DIn Add-On Instruction.

Execution

Execution parameters are included with every Add-On Instruction. See the
Logix5000 Controllers Add-On Instructions Programming Reference Manual,
publication 1756-PM010, for more information on these data elements.

Name:

Data Type:

Usage:

Default:

EnableIn

BOOL

Input

Enable Input:
1 = Normal scan. The instruction updates
status and generates alarms.
0 = Inverts signal Inp_PV to allow mapping
input using XIC/XIO on LD rung.

EnableOut

BOOL

Output

Enable Output: The EnableOut signal is not


manipulated by this instruction. Its output
state always reflects the EnableIn input state.

Inf_Tab

SINT

Output

Tab to display (FTView ME)

Inf_Type

STRING_16

Output

P_DIn

Must contain AOI name, used for HMI and


Information S/W

P_DIn

BOOL

Output

Unique Parameter Name for auto - discovery

11Publication SYSLIB-RM003C-EN-E - October 2011

Style: Description:

Associated
Configuration
Parameter

11

Chapter 3

Instruction Data Reference

Inputs
(Inp_)

Input data elements are used connect field inputs from I/O modules or signals
from other objects to the P_DIn instruction. Each Input used should have
mapping logic or a function block wire to get the input value from the input
card or other instruction every scan.

Name:

Data
Type:

Usage:

Default:

Style: Description:

Inp_PV

BOOL

Input

Level

Input Signal (process variable)


from Sensor

Inp_PVBad

BOOL

Input

Level

Input Comm Status or Quality


1 = Bad
0 = OK

Inp_Target

BOOL

Input

Level

Target State of Input (Alarm if


not in Target State)

Inp_Gate

BOOL

Input

Level

Gate Condition (=1 to enable


Alarm)

Inp_Sim

BOOL

Input

Level

1 = Use simulated PV
(Set_SimPV)
0 = Use Input (Inp_PV)

Inp_Reset

BOOL

Input

Level

1 = Reset Alarm requiring reset

Configurations
(Cfg_)

Associated Configuration
Parameter
Cfg_Debounce

Cfg_GateDly

Cfg_TgtDisagreeResetReqd

Configuration data elements are used to set configurable capabilities, features


and functions of the P_DIn Instruction.
The following Configuration data may be modified by controller application
logic, using the HMI Faceplate, or using the Tag Monitor in RSLogix 5000
software.

Name:

Data
Type:

Usage:

Default:

Style:

Description:

Cfg_NoSubstPV

BOOL

Input

Level

1 = Disallow Substitute PV
selection.

Cfg_NormTextVis

BOOL

Input

Level

1 = Display state text in


"normal" state (= target)
0 = Hide (some HMI objects)

Cfg_PCmdClear

BOOL

Input

Level

1 = Clear Program
Commands on receipt
0 = Leave Set

Cfg_HasTgtDisagreeAlm

BOOL

Input

Level

1 = Target Disagree Alarm


exists and will be
checked

Cfg_TgtDisagreeResetReqd

BOOL

Input

Level

1 = Target Disagree Alarm is


latched in, requires
Reset Command to clear

12

Associated
Configuration
Parameter

Publication SYSLIB-RM003C-EN-E - October 2011

Instruction Data Reference

Name:

Data
Type:

Usage:

Default:

Style:

Description:

Cfg_TgtDisagreeAckReqd

BOOL

Input

Level

1 = Target Disagree Alarm


must be acknowledged

Cfg_TgtDisagreeSeverity

SINT

Input

Decimal Target Disagree Alarm


Severity:
1 = Information
2 = Warning
3 = Exception
4 = Fault

Cfg_GateDly

DINT

Input

Decimal Time Inp_Gate must be true


before Alarm is checked (sec)

Cfg_Debounce

REAL

Input

0.0

Float

Cfg_TgtDisagreeOnDly

DINT

Input

Decimal Minimum time for Input to


disagree with Target to raise
Status (sec)

Cfg_TgtDisagreeOffDly

DINT

Input

Decimal Minimum time for Input to


agree with Target to clear
Status (sec)

Publication SYSLIB-RM003C-EN-E - October 2011

Chapter 3

Associated
Configuration
Parameter

Minimum time Status must


maintain state, (sec)

13

Chapter 3

Instruction Data Reference

Configurations in Local Tags


Because they contain arrayed or structured data types, the following
Configuration data elements use P_DIn Add-On Instruction Local Tags.
These may be modified using RSLogix 5000 or using the HMI Faceplates, but
cannot be modified using controller logic:

Name:

Data Type:

Cfg_0StText

Usage:

Associated
Configuration
Parameter

Default:

Style: Description:

STRING_8

Off

String

Text to display in PV 0 State

Cfg_1StText

STRING_8

On

String

Text to display in PV 1State

Cfg_Desc

STRING_40

Discrete Input

String

Description for display on HMI

Cfg_Label

STRING_20

Discrete Input

String

Label for graphic symbol displayed on


HMI

Cfg_Tag

STRING_20

P_DIn

String

Tagname for display on HMI

Operator Settings,
Maintenance Settings,
Other Settings
(OSet_, MSet_, Set_)

Operator, Maintenance and Other Setting data elements are used by the HMI
faceplate to let the operator establish setpoints, thresholds and other settings
of the P_DIn Instruction.

Associated
Configuration
Parameter

Name:

Data
Type:

Usage:

Default:

Style: Description:

MSet_SubstPV

BOOL

Input

Level

Operator-Entered Substitute PV

Cfg_NoSubstPV

Set_SimPV

BOOL

Input

Level

PV used in Simulation (Inp_Sim=1)

Cfg_Debounce

14

Publication SYSLIB-RM003C-EN-E - October 2011

Instruction Data Reference

Program Commands
(PCmd_)

Chapter 3

Program Command Data Elements are used by application logic to request


P_DIn Instruction actions, such as acknowledging alarms, or specific P_DIn
actions. Application logic sets the Program Command to 1 to request the
action. (See the Edge and Level section in the Preface for more information).
The P_DIn Instruction then performs the requested action if the action can
be performed.

Alarm Commands

Name:

Data
Type:

Usage:

Default:

Style: Description:

PCmd_Reset

BOOL

Input

Program Command to
Reset all latched Alarms

PCmd_TgtDisagreeAck

BOOL

Input

Program Command to
Acknowledge the Target
Disagree Alarm

PCmd_TgtDisagreeInhibit

BOOL

Input

Program Command to
Inhibit the Target Disagree
Alarm

PCmd_Tgt DisagreeUninhibit

BOOL

Input

**

Program Command to
Uninhibit the Target
Disagree Alarm

Associated Configuration
Parameter

Cfg_TgtDisagreeAckReqd

* Primary Function:
If Cfg_PCmdClear = 0, triggered by Level = 1
If Cfg_PCmdClear = 1, triggered by rising Edge
* * Opposite Function:
If Cfg_PCmdClear = 0, triggered by primary function bit Level = 0 (this bit NOT USED)
If Cfg_PCmdClear = 1, triggered by rising Edge of this bit

Publication SYSLIB-RM003C-EN-E - October 2011

15

Chapter 3

Instruction Data Reference

Operator Commands,
Maintenance Commands,
Command Readies
(OCmd_, MCmd_, Rdy_)

Operator Commands and Maintenance Commands are used by the operator at


the HMI to request instruction actions, such as acknowledging, enabling or
disabling, suppressing or unsuppressing alarms; or other instruction-specific
actions. These Commands are set (latched) by the HMI and are read and then
cleared (unlatched) and acted upon by the P_DIn instruction, allowing a
many-to-one relationship between HMI requestors and each Command.
Commands are implemented as public Input Parameters of the instruction or
as Input Parameters of instructions internal to the P_DIn instruction
("embedded Commands").

Device Commands
Associated
Configuration
Parameter

Name:

Data
Type:

Usage:

Default:

Style: Description:

MCmd_SubstPV

BOOL

Input

Edge

Maintenance Command to use


Substitute PV (override input)

Cfg_NoSubstPV

MCmd_InpPV

BOOL

Input

Edge

Maintenance Command to use Input PV


(normal)

Cfg_NoSubstPV

Alarm Commands
IMPORTANT

Alarm Commands are sent to P_Alarm Instructions embedded


within the P_DIn Instruction. Each P_Alarm Instruction instance
is named for the alarm condition.

Name:

Data
Type:

Usage:

Default:

Style: Description:

OCmd_Reset

BOOL

Input

Edge

Operator Command to
Reset all latched Alarms

OCmd_ResetAckAll

BOOL

Input

Edge

Operator Command to
Reset and Acknowledge all
Alarms

TgtDisagree.OCmd_Reset

BOOL

Input

Edge

Operator Command to
Reset latched Target
Disagree Alarm

16

Associated Configuration
Parameter
Cfg_TgtDisagreeResetReqd

Cfg_TgtDisagreeResetReqd

Publication SYSLIB-RM003C-EN-E - October 2011

Instruction Data Reference

Name:

Data
Type:

Usage:

Default:

Style: Description:

TgtDisagree.OCmd_Ack

BOOL

Input

Edge

Associated Configuration
Parameter

Operator Command to
Acknowledge Target
Disagree Alarm

TgtDisagree.OCmd_Disable

BOOL

Input

Edge

Operator Command to
Disable Target Disagree
Alarm

TgtDisagree.OCmd_Enable

BOOL

Input

Edge

Operator Command to
Enable Target Disagree
Alarm

Chapter 3

Cfg_TgtDisagreeAckReqd
Cfg_HasTgtDisagreeAlm

Device Command Readies


IMPORTANT

Each Operator or Maintenance Command has a corresponding


Ready bit which indicates whether the Command will be
accepted and acted upon when received. The Ready bit is used
to enable (1) or gray-out (0) the Operator Command button on
the Faceplate.

Name:

Data
Type:

Usage:

Default:

Rdy_SubstPV

BOOL

Output

1 = Ready for MCmd_SubstPV (enables


HMI button)

Rdy_InpPV

BOOL

Output

1 = Ready for MCmd_InpPV (enables


HMI button)

Publication SYSLIB-RM003C-EN-E - October 2011

Style: Description:

Associated
Configuration
Parameter

17

Chapter 3

Instruction Data Reference

Alarm Command Readies


IMPORTANT

Alarm Command Readies are provided by P_Alarm Instructions


embedded within the P_DIn Instruction. Each P_Alarm
Instruction instance is named for the alarm condition.
Associated
Configuration
Parameter

Name:

Data
Type:

Usage:

Default:

Rdy_Reset

BOOL

Output

1 = Ready for OCmd_Reset


(enables HMI button)

Rdy_ResetAckAll

BOOL

Output

1 = Ready for OCmd_ResetAckAll


(enables HMI button)

TgtDisagree.Rdy_Reset

BOOL

Output

1 = Ready for
TgtDisagree.OCmd_Reset
(enables HMI button)

TgtDisagree.Rdy_Ack

BOOL

Output

1 = Ready for
TgtDisagree.OCmd_Ack
(enables HMI button)

TgtDisagree.Rdy_Disable

BOOL

Output

1 = Ready for
TgtDisagree.OCmd_Disable
(enables HMI button)

TgtDisagree.Rdy_Enable

BOOL

Output

1 = Ready for
TgtDisagree.OCmd_Enable
(enables HMI button)

Values
(Val_)

Style: Description:

Value data elements contain process or device variables, the notification level
for alarm animation, and the current accepted values of any Program,
Operator or Maintenance Settings for the P_DIn Instruction. The HMI
displays these Values, and they are available for use by other application logic.

Name:

Data
Type:

Usage:

Default:

Style:

Description:

Val_Fdbk

DINT

Output

Decimal

This shows the (usually raw,


uninterpreted) input from the device.
0 = Off
1 = On

Val_Sts

DINT

Output

Decimal

This is the PRIMARY STATUS, used


to show the operator the
"confirmed" device status.
0 = PV Good
6 = PV Bad
7 = Subset PV

18

Associated Configuration
Parameter

Publication SYSLIB-RM003C-EN-E - October 2011

Instruction Data Reference

Name:

Data
Type:

Usage:

Default:

Style:

Description:

Val_Fault

DINT

Output

Decimal

This is the DEVICE FAULT STATUS,


used to show the operator the most
sever device fault.
0 = None
16 = Target Disagree
34 = Configuration Error

Val_Notify

DINT

Output

Decimal

Current Alarm Level and


Acknowledgement (enumeration):
0 = No alarm
1 = Alarm cleared, not
acknowledged
2 = Information alarm
3 = Unacknowledged Info. alarm
4 = Warning alarm
5 = Unacknowledged Warning alarm
6 = Exception alarm
7 = Unacknowledged Exception
alarm
8 = Fault alarm
9 = Unacknowledged Fault alarm

Publication SYSLIB-RM003C-EN-E - October 2011

Chapter 3

Associated Configuration
Parameter

Cfg_TgtDisagreeSeverity

19

Chapter 3

Instruction Data Reference

Status
(Sts_)

Status data elements contain process or device states and Alarm status. The
HMI displays these Status points, and they are available for use by other
application logic.

Device Status

Name:

Data
Type:

Usage:

Default:

Associated Configuration
Parameter

Sts

BOOL

Output

Discrete Input Status (incl.


Debounce, Manual Override, if
used)

Sts_PV

BOOL

Output

Discrete Input Status (actual, not


subject to Override)

Sts_SubstPV

BOOL

Output

1 = Using Substitute PV (Input


being overridden)

Sts_InpPV

BOOL

Output

1 = Using Input PV (normal)

Sts_PVBad

BOOL

Output

Input Comm Status/Quality


0 = OK
1 = Bad

Sts_MaintByp

BOOL

Output

1 = Device has a Maintenance


Bypass function active

Sts_AlmInh

BOOL

Output

1 = One or more Alarms


Inhibited, Disabled or
Suppressed

Sts_Err

BOOL

Output

1 = Error in Config: See detail


bits for reason

Err_Timer

BOOL

Output

1 = Error in Config: Invalid Timer


Preset (use 0 to 2147483)

Style: Description:

Cfg_NoSubstPV

Cfg_Debounce
Cfg_GateDly
Cfg_TgtDisagreeSeverity

Err_Alarm

BOOL

Output

1 = Error in Config: Invalid Alarm


Min. Duration or Severity

Alarm Status

20

Publication SYSLIB-RM003C-EN-E - October 2011

Instruction Data Reference

Chapter 3

Name:

Data
Type:

Usage:

Default:

Sts_TgtDisagree

BOOL

Output

1 = Input is not in Target


state

Alm_TgtDisagree

BOOL

Output

1 = Discrete Input Target


Disagree Alarm

Cfg_TgtDisagreeResetReqd

Ack_TgtDisagree

BOOL

Output

1 = Target Disagree
Alarm
Acknowledged

Cfg_TgtDisagreeAckReqd

Sts_TgtDisagreeDisabled

BOOL

Output

1 = Target Disagree
Alarm Disabled (not
saved or sent)

Sts_TgtDisagreeInhibited

BOOL

Output

1 = Target Disagree
Alarm Inhibited by
Logic

Sts_TgtDisagreeSuppressed

BOOL

Output

1 = Target Disagree
Alarm Suppressed
(logged only)

Publication SYSLIB-RM003C-EN-E - October 2011

Style: Description:

Associated Configuration
Parameter

21

Chapter 3

Instruction Data Reference

Notes:

22

Publication SYSLIB-RM003C-EN-E - October 2011

Chapter

HMI Reference

This chapter describes the Graphic Symbols and Faceplates provided for
human-machine interface (HMI) for the P_DIn Instruction.

Graphic Symbols

Graphic symbols are provided for use on end-user process graphic displays.
Indicator

Description
Standard Discrete Input

Discrete Input object with Visibility - This


discrete input object can be configured so it
is not visible when the state of the discrete
input is normal. This object does not include
a label, but it does have all of the remaining
features of the standard discrete input.

Discrete Input Graphic Symbols have the following common attributes:


Alarm Border

Label

Alarm Indicator

Maintenance
Bypass Indicator

Quality / Status
Indicator
State Text Color Indicates
PV in / not in Target state

The Discrete Input Graphic Symbol displays the objects label (if included), the
current state of the Process Variable (PV), and various status indicators. The
PV current state graphics and alarm border changes and blink color depending
on the state of the PV.
The overall Graphic Symbol includes a touch field over it which calls up the
objects Faceplate. In addition, pausing the pointing device over the Graphic
Symbol displays a tooltip showing the objects configured Tag and Description.

23Publication SYSLIB-RM003C-EN-E - October 2011

23

Chapter 4

HMI Reference

Process Variable State Indicator


User-configurable text is shown for the On state and the Off state of the
discrete Process Variable (PV). In addition, the text changes color depending
on the PV state and the Target input state:
Color

State

Black text on light gray

PV state matches Target state

White or alarm color text on black

PV state does not match Target state

Status / Quality Indicators


One of these symbols appears to the left of the Process Variable when the
described condition is true
Indicator

Description
Invalid Configuration
PV Quality Bad: Communication Failure
Input matches Target
Input does not match Target

No symbol
displayed

No Invalid Configuration and PV Quality Good

TIP
When the Invalid Configuration Indicator appears, you can find what
configuration setting is invalid by following the indicators like a "trail of
breadcrumbs". Click the Graphic Symbol to call up the Faceplate. The Invalid
Configuration indicator will appear next to the appropriate tab at the top of the
Faceplate to guide you in finding the configuration error. Once you navigate to the
tab, the misconfigured item will be flagged with this indicator or appear in a
magenta box.

24

Publication SYSLIB-RM003C-EN-E - October 2011

HMI Reference

Chapter 4

For the Discrete Input Instruction, the Invalid Configuration Indicator


appears under the following conditions:
The Debounce Time is set to a value less than zero or greater than
2,147,483 seconds.
The Alarm Gate Delay is set to a value less than zero or greater than
2,147,483 seconds.
The Alarm Minimum Duration is set to a value less than zero or greater
than 2,147,483 seconds.
An Alarm Severity is set to a value other than 1 (information), 2
(warning), 3 (exception) or 4 (fault).

Maintenance Bypass Indicator


This symbol appears to the right of the Label or Process Variable to indicate
that a Maintenance Bypass has been activated:
Graphic Symbol

Description
A Maintenance Bypass is active

No symbol displayed

No Maintenance Bypass active

TIP
When the Maintenance Bypass Indicator appears, you can find what condition
was bypassed by following the indicators like a "trail of breadcrumbs". Click the
Graphic Symbol to call up the Faceplate. The Maintenance Bypass Indicator will
appear next to the appropriate tab at the top of the Faceplate to guide you in
finding the bypass. Once you navigate to the tab, the bypassed item will be
flagged with this indicator.
For the Discrete Input Instruction, the Maintenance Bypass Indicator appears
under the following condition:
The Substitute PV function has been enabled. The "live" Process
Variable is being superseded by a Maintenance-entered value.

Publication SYSLIB-RM003C-EN-E - October 2011

25

Chapter 4

HMI Reference

Alarm Indicators
One of these symbols appears to the left of the Label to indicate the described
alarm condition. The alarm border and label background blink if
Acknowledgement of an alarm condition is required.
Symbol
Black "I" in white box with black
border

Description
Alarm Inhibit: an alarm is Inhibited by the
Program, Disabled by Maintenance or
Suppressed by the Operator.

White bell, border, and text


background

Return to Normal (no Alarm condition), but a


previous Alarm has not been acknowledged

Blue border and text background


Yellow rectangle with exclamation
point (!)

Information Severity Alarm

Yellow border and text background


Orange triangle with exclamation
point (!)

Warning Severity Alarm

Red border and text background


Orange diamond with exclamation
point (!)

Exception Severity Alarm

Magenta border and text background Fault Severity Alarm


Red circle with two exclamation
points (!!)
No symbol or border displayed, text is on
normal (light gray) background, not blinking

26

No Alarm or Alarm Inhibit condition, and all


Alarms are Acknowledged

Publication SYSLIB-RM003C-EN-E - October 2011

HMI Reference

Chapter 4

Using Graphics Symbols


The graphic symbol for P_DIn can be found in the global object file
(RA-BAS) Process Graphics Library.ggfx. To use the graphic symbol, copy it
from the global object file and paste it in the display file. Next, right click on
the global object file in the display file and select "Global Object Parameter
Values" and the following window appears:

Enter the tag(s) in the "Value" column as specified in the "Description"


column.
Note: Values for items marked (optional) may be left blank.

Faceplate

The Discrete Input Faceplate consists of five tabbed pages. The Operator tab
is displayed when the Faceplate is initially called up. Click the appropriate icon
at the top of the screen to access a specific tab.
Maintenance Alarms Configuration

Operator

Engineering

Alarms

Help

Exit

The Faceplate provides the means for Operators, Maintenance, Engineers and
others to interact with the P_DIn Instruction instance, including viewing its
Status and Values and manipulating 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 tables that follow.

Publication SYSLIB-RM003C-EN-E - October 2011

27

Chapter 4

HMI Reference

Operator Tab
The Operator tab shows the following information:
The current Process Variable (PV)
The input value
Communication Status (OK or Fault)

Reset Acknowledge All


Alarms Command Buttons

Process Variable

Input Value

Input in use indicator

Use Input
Command Button

Use Substitute Process


Variable Command
Button
Substitute Process Variable

Input Status

When a Maintenance-level user is logged in, the Operator tab also shows:
The substitute Process Variable
Whether the input, substitute Process Variable, or simulation Process
Variable is in use

28

Publication SYSLIB-RM003C-EN-E - October 2011

HMI Reference

Chapter 4

The following table shows the alarm status indicators on the Operator tab.
Graphic Symbol

Alarm Status
In Alarm (Active Alarm)
In Alarm and Acknowledged

Out of Alarm but Not Acknowledged


Alarm Suppressed (by Operator) (Alarm is
logged but not displayed)
Alarm Disabled (by Maintenance)
Alarm Inhibited (disabled by Program Logic)

The following table shows the functions on the Operator tab:.


Button/Field

Security Required

Select Input (normal) PV

Select Substitute PV

Code C

Code C

Code F
Reset and Acknowledge All Alarms

Set Substitute Process Value to State 0


Set Substitute Process Value to State 1
Set Simulation Process Value to State 0
Set Simulation Process Value to State 1

Publication SYSLIB-RM003C-EN-E - October 2011

Code C
Code C
Code C
Code C

29

Chapter 4

HMI Reference

Alarms Tab
The Alarms tab bell icon at the top of the Faceplate changes color based on
the current active alarms. The Alarms tab icon blinks if an alarm is
unacknowledged or if the device or one of its alarms needs to be reset.

Alarm Acknowledge
Command Button
Reset and
Acknowledge All
Alarms Command
Button

The Alarms tab displays each alarm for this device. If the alarm is active, the
panel behind the alarm will change color to match the severity of the alarm.

30

Color

Definition

Magenta

Fault

Red

Exception

Yellow

Warning

Blue

Information

Background (Light Gray)

No alarm

Publication SYSLIB-RM003C-EN-E - October 2011

HMI Reference

Chapter 4

The following table lists the functions on the Alarm tab.


Button

Action

Security Required

Alarm Acknowledge

Code F

Reset and Acknowledge All


Alarms

Code F

The panel behind the alarm blinks if the alarm requires acknowledgement.
Click the button with the check mark to acknowledge the alarm.
Each Alarm Acknowledge button is enabled if the corresponding Alarm
requires acknowledgement.
The Reset and Acknowledge All Alarms button is enabled if any alarm
requires reset or acknowledgement.

Publication SYSLIB-RM003C-EN-E - October 2011

31

Chapter 4

HMI Reference

Maintenance Tab

The Maintenance tab shows the following information:


Current Process Variable
Input Process Variable (or Simulated Process Variable when simulation
is enabled)
Selected and debounced Input Process Variable
Target Process Variable
Gate Enabled/Disabled State
Animation highlights how the final PV Current Value was determined

32

Publication SYSLIB-RM003C-EN-E - October 2011

HMI Reference

Chapter 4

The Discrete Input alarm status appears on the Maintenance tab. The
following table shows the alarm status indicators:
Graphic Symbol

Alarm Status
In Alarm (Active Alarm)
In Alarm and Acknowledged

Out of Alarm but Not Acknowledged


Alarm Suppressed (by Operator) (Alarm is
logged but not displayed)
Alarm Disabled (by Maintenance)

Alarm Inhibited (by Program logic)

The following table shows the data entries available on the Maintenance tab.

Publication SYSLIB-RM003C-EN-E - October 2011

Field

Security Required

Gate Delay (seconds)

Code D

Debounce Time (seconds)

Code D

Target Disagree
Status On Delay (seconds)

Code D

Target Disagree
Status Off Delay (seconds)

Code D

33

Chapter 4

HMI Reference

Engineering Tab

On the Engineering tab, users can configure the description, label, tag and 0
and 1 state text, and other features of the P_DIn Instruction.

34

Field / Selection

Action

Security
Required

Description

Type a description for the device.

Code E

Label

Type a label for the device.

Code E

Tag

Type a tag for the device.

Code E

Text to Display in PV = 0 State

Type the text to be displayed when Code E


the Process Variable is 0.

Text to Display in PV = 1 State

Type the text to be displayed when Code E


the Process Variable is 1.

Publication SYSLIB-RM003C-EN-E - October 2011

HMI Reference

Field / Selection

Action

Disallow selection of Substitute


PV

Code E
Check this box to disallow
Maintenance use of the Substitute
PV function.

Clear Program Commands on


Receipt

Check this box to have the


Instruction clear Program
Commands on receipt (Edge
triggering).

Chapter 4

Security
Required

Code E

Uncheck this box to leave Program


Commands in their last state
(Level triggering).
Display state text in "normal"
state (when PV = Target)

For Graphic Symbols with visibility, Code E


check this box to display the
symbol regardless of whether the
PV is in the Target state.
Uncheck this box to display the
symbol only when the PV is not in
the Target state.

Publication SYSLIB-RM003C-EN-E - October 2011

35

Chapter 4

HMI Reference

Alarm Configuration Tab

36

Publication SYSLIB-RM003C-EN-E - October 2011

HMI Reference

Chapter 4

The Alarm Configuration tab contains configuration related to the alarms


for the device. For each alarm, the following attributes may be configured.
Check Box/Field

Action

Security
Required

Alarm

The alarm exists for the device.

Code E

Acknowledge Required

Require acknowledgement of the alarm.

Code E

IMPORTANT
If using FTView Alarm and Events,
configure its Alarm Tag for Acknowledge
Required. The controller handles
acknowledgement within this instruction.
Reset Required

Require a reset to clear the alarm status.


There is a single alarm reset that resets
all of the alarms for the device.

Code E

IMPORTANT
If using FTView Alarms and Events, DO
NOT check the "Latched" checkbox as the
controller handles the alarm reset within
this instruction.
Code E

Severity

Configure the severity level of the alarm:


1 = Information
2 = Warning
3 = Exception
4 = Fault

Minimum On Time

When an Alarm occurs, the Alarm output Code D


will be held on for at least this amount of
time (sec). If set to 5 seconds or less, the
Alarm output will be held on for at least 5
seconds to ensure it is seen by polling.
Set this time higher if you want an Alarm
to be held in the Alarm state (and on the
Alarm summary) longer. This will keep it
visible to the Operator, or keep the Alarm
from clearing and being set again (for an
intermittent condition) until the Operator
has had time to perform any
Alarm-related actions.
Note: If the alarm is configured with
Reset Required (Cfg_ResetReqd = 1), the
operator can reset the alarm before this
time expires if the input condition has
returned to normal.

Publication SYSLIB-RM003C-EN-E - October 2011

37

Chapter 4

HMI Reference

Discrete Input Faceplate Help

38

Publication SYSLIB-RM003C-EN-E - October 2011

Rockwell Automation Support


Rockwell Automation provides technical information on the Web to assist you in using its products.
At http://www.rockwellautomation.com/support/, you can find technical manuals, a knowledge base of FAQs, technical and
application notes, sample code and links to software service packs, and a MySupport feature that you can customize to
make the best use of these tools.
For an additional level of technical phone support for installation, configuration, and troubleshooting, we offer
TechConnectSM support programs. For more information, contact your local distributor or Rockwell Automation
representative, or visit http://www.rockwellautomation.com/support/.

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/support/americas/phone_en.html, or contact your local Rockwell


Automation representative.

New Product Satisfaction Return


Rockwell Automation tests all of its products to 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 erenky, stanbul, Tel: +90 (216) 5698400

www.rockwel lautomation.com
Power, Control and Information Solutions Headquarters
Americas: Rockwell Automation, 1201 South Second Street, Milwaukee, WI 53204-2496 USA, Tel: (1) 414.382.2000, Fax: (1) 414.382.4444
Europe/Middle East/Africa: Rockwell Automation NV, Pegasus Park, De Kleetlaan 12a, 1831 Diegem, Belgium, Tel: (32) 2 663 0600, Fax: (32) 2 663 0640
Asia Pacific: Rockwell Automation, Level 14, Core F, Cyberport 3, 100 Cyberport Road, Hong Kong, Tel: (852) 2887 4788, Fax: (852) 2508 1846

Publication SYSLIB-RM003C-EN-E - October 2011


Copyright 2011 Rockwell Automation, Inc. All rights reserved. Printed in the U.S.A.

S-ar putea să vă placă și