PlantPAx Process Library Alarm Configuration
PlantPAx Process Library Alarm Configuration
This document provides the Release Notes for the RSLogix 5000 Add-On Instructions
and FactoryTalk View SE Graphic Symbols and Faceplates that make up the PlantPAx
Process Library. This version of the Release Notes document (dated August 13, 2010) is
for Release 1.1-01 of the Library.
This release of the Library includes the following Add-On Instructions, plus Global
Object files and Graphics files for the Graphic Symbols, Faceplates and Help Screens.
Add-On Instructions:
Graphics Files:
The remainder of the document describes all changes made to the objects since Revision
1.0-00 Release (including new or changed Parameters) and why they were made.
1. Ready Bits for Operator Settings
Added “Ready” bits for Operator Settings to the Rdy_xxx bits that already existed for
Operator Commands. The new Ready bits (e.g., Rdy_OSet, Rdy_CV, Rdy_SpeedRef)
are used by the faceplates of all objects with Operator Settings (OSet_xxx) to enable the
Operator Setting data entry fields. Previously, complex animation expressions were used
to enable or gray out these data entry fields. Now the animation logic is pushed to the
controller, which needed the logic anyway to determine when to accept a new value of a
Setting.
3. Updated P_Alarm
Updated the logic of P_Alarm to (a) clear and acknowledge an existing alarm which is
disabled or inhibited after becoming an active alarm, and (b) not require
acknowledgement or reset of a suppressed alarm, even if Cfg_AckReqd and/or
Cfg_ResetReqd is set. This was done in the case of (a) to align with the way the ALMD
instruction works, and in the case of (b) to allow an alarm that is not presented to the
operator (by suppression) to be logged, yet cleared without operator action. NOTE: case
(b) is different from how the ALMD instruction works!. A summary of ALMD and
P_Alarm 1.1-00 operation and a comparison against the ANSI/ISA S18.2 sample alarm
state diagram is available in a Visio drawing included with this document.
Added Cfg_Exists to P_Alarm to allow jumping over most of the code when an alarm is
configured to not exist. This is to align with the V18 version of P_Alarm. Jumpover
logic is removed from the containing AOI, leaving only mapping logic, which will be
removed in the V18 versions of instructions.
Also fixed an error that would have left the Ready bits on (and HMI buttons enabled)
even when an alarm is configured to not exist.
Affected objects: P_Alarm and all objects with P_Alarm embedded within: P_AIn,
P_AInAdv, P_AInDual, P_AOut, P_DIn, P_DoseFM, P_DoseWS, P_Motor,
P_Motor2Spd, P_MotorHO, P_MotorRev, P_ValveHO, P_ValveMO, P_ValveSO,
P_VSD.
Fixed P_AOut output scaling. Previously, the scaling calculation was “backwards”,
using the Raw configuration for the displayed Engineering Units values and vice versa.
In Dosing Instructions, fixed the “Complete” comparison to use GEQ instead of GRT.
This change is significant in configurations where the quantity per pulse input or the
input resolution is large in comparison with the setpoint.
In the P_DoseFM instruction, when configured to use a Pulse Input (Cfg_Rollover > 0),
the pulse count for the “previous scan” was not being retained, resulting in a rapidly
increasing and incorrect Val_Qty and stopping the dose well short of setpoint. Code was
fixed to properly take the difference from the previous scan’s pulse count.
Two fixes the P_VSD: (1) Fixed Err_InpDatalink and Err_OutDatalink to not be set if
the corresponding Datalink is not configured to be used. Previously, if a Datalink scaling
pair (EU Max/Min or Raw Max/Min) were equal but the Datalink was configured as not
used, the user would see a configuration error but would not see the parameter entry
fields and would not be able to fix the error. (2) Fixed the Output Datalink clamping
logic. Previously, the clamping logic prevented valid Output Datalink settings from
reaching the output; only if an invalid value were entered would the output be updated,
and then only to the min or max clamp limit.
In the analog input and analog output objects, logic for generating Err_Raw and Err_EU
(invalid scaling configurations) was dependent on the state of Inp_Sim. The
configuration error indications would not appear, even though the configuration was
invalid, when in Simulation. The logic has been fixed to remove the dependency on the
state of Inp_Sim.
1. An incorrect value in the tag data written in the MSG which gets Memory Usage data
resulted in incorrect data being displayed for the Largest Free Block fields. The tag value
was corrected and is included in the RUNG export.
2. The Minor Fault count is a UINT (unsigned 16-bit integer) internally and was being
copied to an INT. When the count went to 32,768, the INT would wrap negative. The
output value is now a DINT, and the Minor Fault count UINT is copied into the bottom
16 bits of the DINT. The value now correctly shows values of 0 to 65,536 before
wrapping back to zero.
3. Added commands to enable and disable data collection and show data collection
status.
5: Modified Faceplate on multiple tabs with light/dark gray bars on rows of numerical
tables to improve readability. Changed Memory tab to use bar graphs as similar as
possible to those in the RSLogix 5000 Controller Properties dialog Memory tab.
Affected objects: L_CPU_16, L_CPU_17, (RA-BAS) Logix FacePlate Objects.ggfx,
(RA-BAS) L_CPU-Faceplate.gfx
Instructions which have outputs to devices generally go into a “NO MODE” disabled
state when EnableIn is false (false rung in LD routine, EnableIn pin exposed and set low
in FBD routine). In this No Mode state, the instructions will clear (unlatch) their
Operator, Program and Maintenance Command bits (OCmds, PCmds, MCmds) so that
unintended actions do not occur when the EnableIn becomes true. These instructios
should clear their Ready (Rdy_) bits so that command buttons on the HMI will appear
disabled.
Also, the command bits are cleared in Prescan so that commands received while the
controller is in PROGRAM are not executed on transition to RUN; however, there is no
need to clear the Ready bits in Prescan because they will be set/cleared appropriately on
first scan.
Handling of the clearing of Ready bits was handled inconsistently from instruction to
instruction. All instructions were reviewed for consistent unlatching of Ready bits in
their EnableInFalse routines and NOT in their Prescan routines.
Note that many instructions either do not have Ready bits, or have logic in EnableInFalse
that sets up the Ready bits similar to the main Logic routine. These instructions are not
affected by this cleanup.
The L_CPU instructions’ new Enable and Disable Commands were checked to ensure
that the Commands are cleared on Prescan.
Parameter/Interface changes: None. Only the internal logic for unlatching Ready bits
in EnableInFalse and Prescan routines was changed.
The “opened” Status bit for P_ValveHO was named Sts_Open, which is inconsistent with
the other valve instructions (P_ValveMO, P_ValveSO)
Several Device objects have a Local Tag named Wrk_Fault, which was set whenever a
device failure condition occurred (Failure to Start/Stop/Open/Close, I/O Fault, etc.),
regardless of whether the condition raised an alarm. The Wrk_Fault condition would
then de-energize the device.
In the 1.1-00 version of the objects listed below, the Wrk_Fault condition is set (and the
device is de-energized) when the device failure condition is true if the corresponding
Alarm is configured with a Severity of 3 or higher (Exception or Fault). The
Wrk_Fault condition is NOT set (and the device is NOT de-energized) if the configured
Severity is 1 (Info) or 2 (Warning).
Note that the alarm does not have to EXIST – the logic only depends on the configured
Severity, regardless of alarm Enable/Disable, Inhibit/Uninhibit, Suppress/Unsuppress or
Cfg_Exists state.
Affected objects: P_Motor, P_Motor2Spd, P_MotorRev, P_ValveMO, P_ValveSO,
P_VSD
Previously it was possible to have both Err_Has and Err_Use on at the same time on
P_ValveHO. This occurred when the valve was configured with no feedbacks. (A
monitored valve must have at least one input!). The problem is that the Err_Use bit
makes visible the Maintenance Bypass breadcrumb, directing the Maintenance user to the
Maintenance tab on the faceplate to “fix” the problem, but since the valve has no
feedbacks configured (on the engineering tab), there is nothing visible on the
Maintenance tab for the maintenance user to fix.
Now the Err_Use bit is turned off if the Err_Has bit is on. The engineer must first make
the configuration valid; THEN the maintenance user can go to the maintenance tab of the
faceplate and fix the “no feedbacks in use” problem.
18. Breadcrumbs
Affected objects: Faceplate graphic files for P_AIn, P_AInAdv, P_AInDual, P_AOut,
P_Din, P_DoseFM, P_DoseWS, P_Motor, P_Motor2Spd, P_MotorHO, P_MotorRev,
P_ValveHO, P_ValveMO, P_ValveSO, P_VSD
Modified the analog edit pop-up to properly handle exponential notation. Also, added
code to detect and use the decimal separator specified in windows regional settings.
Corrected tool-tips on buttons and other graphics objects. In cases where a global object
was used, the child object was configured to link tool-tip text with the base object.
Affected objects: All version 1.1 graphics and global objects files.
Some of the global objects in the faceplate graphics were not properly linked with the
expressions. Modified the attributes of the global objects to fix this issue
Changed the generic Alarm Reset button from a momentary to a maintained pushbutton
Changed the position & fill animations on the bar graphs, reference line, and slider to use
a fixed min and max in the configuration by moving the min and max tags into the
expression. This allows the graphic to dynamically adjust if the min and max tags are
modified.
Fixed the Parameters passed to the P_MotorHO from the P_MotorHO Graphic Symbols
(in the P_MotorHO Global Objects file). The P_MotorHO Faceplate now correctly
receives the Parameters needed to open the P_Intlk and P_RunTime Faceplates.
Affected objects: (RA-BAS) P_MotorHO Graphics Library.ggfx (1.1-02)
Fixed the (optional) Trip logic to work correctly for two-speed and reversing motors.
An L_CPU instruction was added for RSLogix 5000 release 18 firmware. This version
of L_CPU accounts for the Precision Time task added to the controller for V18.
Corrected the EnableInFalse logic for the Dosing instructions to clear the
“Sts_Available” (available for Program control) status bit when the instruction is scanned
false.
Fixed the Fail to Start and Fail to Stop logic in P_ValveMO to correctly leave the valve
in the “Stopped”, “Opened” or “Closed” state on a fault. Previously the valve was left in
a state in which neither the Open nor the Closed pushbutton was enabled (Ready bits not
set) after a reset to allow moving the valve.
Fixed the visibility problem with the alarm icon animation on the SAMA diagram in the
Maintenance Tab of the P_Din faceplate.
Affected objects: (RA-BAS) P_DIn-Faceplate.gfx (1.1-01)
Changed the security code on Bump parameters to “C” to match the standard.
Changed the order of the Mode Indicators so that “No Mode” was on top of the stack of
mode indicators..
Changed the security code for Update (poll) timers to “C” to match the standard.
Changed help screen header (title bar) to read “Hand Operated Valve Faceplate Help”.
Affected objects: (RA-BAS) P_ValveHO-Help.gfx (1.1-01)
Changed the CV Slider so the visibility on the inactive slider used the Rdy_CV bit.
Removed a space from the parameter list in the display command that prevented the
passing of the P_Runtime object to the faceplate. Corrected an animation expression that
prevented the "Bad Feedback" text from displaying on some of the Motor HO Graphic
Objects.
This section summarizes the modified and added Parameters for each Object
(Instruction). All Parameter changes are from 1.0-00 to 1.1-00; no Parameter changes
were made from 1.1-00 (March 19, 2010) to 1.1-01 (August 13, 2010).
L_CPU_16, L_CPU_17
Modified Parameters:
Added Parameters:
Added Parameters:
P_AInAdv
Added Parameters:
P_AInDual
Added Parameters:
Added Parameters:
P_AOut
Added Parameters:
P_DoseFM
Added Parameters:
Added Parameters:
P_Intlk
Added Parameters:
Deleted Parameters:
P_MotorHO
Added Parameters:
Added Parameters:
P_ValveHO
Modified Parameters:
P_VSD
Added Parameters:
This section provides detailed information for the modified and added Configuration
Parameters for each Object (Instruction).
L_CPU
Faceplate
Tab Associated
Parameter Default Location Usage Parameters
Cfg_SupportInfo ‘Enter Maintenance •Enter your RSLogix 5000 software serial None
Software number, your TechConnect Support contract
S/N or number, or other information that
Support Maintenance or Engineering personnel will
Contract need if they call Rockwell Automation
#’ Technical Support. On the L_CPU faceplate,
this text can only be changed by an engineer
or administrator, and it will not be visible to
operator-level users.
L_CPU Rev 1.1-00 Added Configuration Parameters
P_Alarm
Faceplate
Tab Associated
Parameter Default Location Usage Parameters
Cfg_Exists 1 Alarm Config of Set this parameter to: • Alm
Containing Object • ON if this Alarm instance is used. • Ack
The Alarm logic is scanned, Alarm • Disabled
input transitions are monitored, and • Suppressed
commands to Acknowledge, Reset
• Inhibited
Inhibit, Suppress and Disable are
processed. • Rdy_Ack
• OFF if this Alarm instance is not • Rdy_Reset
used. Most Alarm logic is skipped • Rdy_Disable
(to improve scan time) and the • Rdy_Enable
Alarm is set to a default (no alarm) • Rdy_Suppress
condition. • Rdy_Unsuppress
P_Alarm Rev 1.1-00 Added Configuration Parameters
P_Intlk
Faceplate
Tab Associated
Parameter Default Location Usage Parameters
Cfg_OKState 2#0000_0000_0000_0000 Engineer Each bit determines whether the • Inp_Intlk00
corresponding input is OK to run • Inp_Intlk01
(does not stop the equipment) in • Inp_Intlk02
the 0 (cleared) state or the 1 (set)
• Inp_Intlk03
state.
• Inp_Intlk04
• Set the appropriate bit to make • Inp_Intlk05
the corresponding Input “OK • Inp_Intlk06
to run” in the 1 state and stop • Inp_Intlk07
the equipment in the 0 state. • Inp_Intlk08
• Clear the appropriate bit to • Inp_Intlk09
make the corresponding Input • Inp_Intlk10
“OK to run” in the 0 state and • Inp_Intlk11
stop the equipment in the 1
• Inp_Intlk12
state (default).
• Inp_Intlk13
• Inp_Intlk14
• Inp_Intlk15
P_Intlk Rev 1.1-00 Added Configuration Parameters
P_MotorHO
Faceplate
Tab Associated
Parameter Default Location Usage Parameters
Cfg_HasRunTimeObj 0 Engineer Set this parameter to: • Sts_RuningFastFwd
• ON if this instruction has a • Sts_RunningSlowRev
P_RunTime instruction
monitoring its running status.
The Operator Faceplate Run
Time (hour meter or odometer)
push button that navigates to
the P_RunTime (Run Time and
Starts) Faceplate become
visible
• OFF if no P_RunTime
instruction is associated with
this motor. The Run Time push
button is not displayed.
P_MotorHO Rev. 1.1-00 Added Configuration Parameters
P_Perm
Faceplate
Tab Associated
Parameter Default Location Usage Parameters
Cfg_OKState 2#1111_1111_1111_1111 Engineer Each bit determines whether the • Inp_Perm00
corresponding input is OK to start • Inp_Perm01
in the 0 (cleared) state or the 1 (set) • Inp_Perm02
state.
• Inp_Perm03
• Inp_Perm04
• Set the appropriate bit to make
the corresponding Input “OK • Inp_Perm05
to start” in the 1 state and not • Inp_Perm06
allow starting or energizing • Inp_Perm07
the equipment in the 0 state • Inp_Perm08
(default). • Inp_Perm09
• Clear the appropriate bit to • Inp_Perm10
make the corresponding Input • Inp_Perm11
“OK to run” in the 0 state and
• Inp_Perm12
not allow starting or
energizing the equipment in • Inp_Perm13
the 1 state. • Inp_Perm14
• Inp_Perm15
P_Perm Rev 1.1-00 Added Configuration Parameters