Home
syslib-rm003 - Literature Library
Contents
1. Current value Current PV Target state Gate Condition Target Status Click Gate Condition to open the P_Gate faceplate From the P_Gate faceplate you can configure and perform additional operations for each alarm including Gate Delay Status On delay Status Off delay and condition text 28 Rockwell Automation Publication SYSLIB RM003E EN E August 2014 The following table shows the functions on the Maintenance tab Table 8 Maintenance Tab Description Discrete Input P Din Function Action Security Configuration Parameters De bounce Time Type the amount of de bounce time Seconds in seconds Configuration Cfg_Debounce and Tuning Maintenance Code D Gate Condition Click to open the Gate faceplate None None Refer to the Rockwell Automation Library of Process Objects Condition Gate Delay P_Gate Reference Manual publication SYSLIB RM041 for more information Status Indicators One of these symbols appears when the described condition is true Graphic Symbol Description A Input matches target SH Input does not match target C Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 29 Discrete Input P_DIn 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
2. gt Allows mapping input using rung condition When rung is FALSE Inp_PV is inverted XOR Enableln NOT gt 7 Inp_Sim 0 Inp_Sim 1 Set_SimPV gt A Track when not in Simulation y Re Sts_PV y Input PV Substitute PV MSet_SubstPV gt T A T Cfg_Debounce v p DEBOUNCE L Sts T Inp_Target e Inp_Gate lt TON gt an 7 A Enable Target gt Cfg_GateDly Disagree E a 0 Checking Cfg_TgtDisagreeOnDly TONF ae S Cfg_TgtDisagreeOffDly Sts_TgtDisagree Alm_TgtDisagree 8 Rockwell Automation Publication SYSLIB RM003E EN E August 2014 Discrete Input P Din The P_DIn instruction provides the following capabilities e 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 e 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 e Handle an I O fault input by displaying the communication fault to the operator e Selection and entry of a manual substitute PV This manual override is made clearly visible to the operator e Support for a simulated PV for use in instruction testing demonstration or operator training Rockwell Automation Publication SYSLIB RMO03E EN E
3. August 2014 9 Discrete Input P Din Required Files Add On Instructions are reusable code objects that contain encapsulated logic that can streamline implementing your system This lets you create your own instruction set for programming logic as a supplement to the instruction set provided natively in the ControlLogix firmware An Add On Instruction is defined once in each controller project and can be instantiated multiple times in your application code as needed Controller File The P_DIn_3_1 00_AOLL5X 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 properly configure the visualization files Table 2 P_DIn Visualization File Types Application Type File Type FactoryTalk View SE Software FactoryTalk View ME Software Description Graphics Displays GFX RA BAS P_DIn Faceplate RA BAS ME P_DIn Faceplate The faceplate display used for the object RA BAS P_DIn Help RA BAS ME P_DIn Help The help display used for the object
4. Shed using replacement value BAD 32 Signal failure out of range NaN invalid combination 33 1 0 channel fault 34 1 0 module fault 35 Bad 1 0 configuration for example scaling parameters Val_ Sts SINT Device confirmed status 0 PV Good 6 PV Bad 7 Substitute PV Val_ Fault SINT Device fault status 0 None 16 Target Disagree 34 Configuration Error Val_Notify SINT Current alarm level and acknowledgement enumeration 0 No alarm 1 Alarm cleared a reset or acknowledge is required 2 Low acknowledged 3 Low unacknowledged 4 Medium acknowledged 5 Medium unacknowledged 6 High acknowledged 7 High unacknowledged 8 Urgent acknowledged 9 Urgent unacknowledged Sts Bo fe Discrete input status including de bounce and manual override if used Sts_ PV RW fe Discrete input status actual not subject to override Sts_SubstPV RWL 1 Using substitute PV input being overridden Sts_InpPV BL 1 Using input PV normal Sts_PVBad BOOL Input status quality 0 0K 1 Bad 14 Rockwell Automation Publication SYSLIB RM003E EN E August 2014 Discrete Input P Din Table 4 P_DIn Output Parameters Output Parameter Sts_MaintByp Sts_ Alminh Sts_Err Err_ Timer Err Alarm Sts_TgtDisagreeCmp Sts_TgtDisagreeGate Sts_TgtDisagree Alm_TgtDisagree Ack_TgtDisagree RWL 1 Device has a Maintenance Bypass function active AN 1 One or more alarms inhibited disabled or suppresse
5. changes On the Engineering tab you can configure the description label tag and PV units for the device MyP_DIn Digital Input L y k D f D j al gt z HEEE E Configure Device Label P1 Motor Power Description Label wn nnn nnn nner nnn and Tag Tag PT Powered Text to Display in PY 0 State O state Text to Display in PM 1 State state l Y Allow selection of Substitute PFP Y Clear Program Commands upon receipt Y Display state text in normal state target 30 Rockwell Automation Publication SYSLIB RM003E EN E August 2014 The following table lists the functions on the Engineering tab Table 9 Engineering Tab Description Type the text to show on the tooltip and the title bar of each faceplate Function Description Label Tag Text to Display in PV 0 State Text to Display in PV 1State Allow Selection of Substitute PV Clear Program Commands upon receipt Display state text in normal state target Type the device description to show on the faceplate title bar Configuration Code E Type the label to show on the graphic symbol IMPORTANT Pausing the mouse over this field displays a tool tip with the configured Logix tag path Type text to display in PV 0 State Type text to display in PV 1 State Configuration Code E Check to enable the maintenance substitution feature Check to clear prog
6. 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 Automation maintains current product environmental information on its website at http www rockwellautomation com rockwellautomation about us sustainability ethics product environmental compliance page Rockwell Otomasyon Ticaret A S Kar Plaza Is Merkezi E Blok Kat 6 34752 erenk y Istanbul Tel 90 216 5698400 www rockwellautomation 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
7. letter is shown in the following tables that follow Operator Tab The Faceplate initially opens to the Operator Home tab From here an operator can monitor the device status and manually operate the device when it is in Operator mode The Operator tab shows the following information e Current Process Variable PV e Input value e Input Source and Quality indicator see SrcQ in the Output parameters table on page 14 for details Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 25 Discrete Input P_DIn MyP DIn Digital Input lay Re x Reset and Acknowledge All Alarms P from Input Use Input Command ry Button Substitute Pr Process Variable U state mp Use Substitute Process 1 state Variable Command Button Input Source and a Indicatar A Come Quality Indicator omn The following table shows the functions included on the Operator tab Table 6 Operator Tab Descriptions Click to Select Input normal PV Equipment Maintenance Code C Click to Select Substitute PV Click to Reset and Acknowledge All Alarms Acknowledge Alarms Code F Substitute PV 0 state Click to write a 0 to MSet_SubstPV Equipment Maintenance Code C Substitute PV 1 state Click to write a 1 to MSet_SubstPV PV used in simulation Click to write a 0 or a 1 to Set_SimPV Normal Operation of 0 state These options are available only in Simulation Devices Code A P
8. tag provides a Boolean indication of High Vibration The bad quality indication for the process value Inp_PVBad comes from the connection status indication on the input module Inp_ Target is defaulted to 1 indicating that the normal condition for I_VSH_P50 is also 1 tag comments confirm 1 OK for this process value Inp_Gate is connected to the Motor Running status tag P50_Running that comes from the Sts_Running output of the P_Motor block instance for this motor P50_Motor When P50_Running is True On Delay Off Delay timing is applied to the target disagree status Sts_TgtDisagree output of the block in other words the output Sts_TgtDisagree will not indicate disagreement agreement between the Inp_PV target values until after the gate delay delay times have expired The gate delay is configured to give the motor sufficient time after starting to settle into full normal speed run before enabling the high vibration indication and alarm The On Delay Off Delay values are set as normal configuration parameters Finally P50_HighVibr is the output tag that will indicate the status of I_VHS_P50 with appropriate gate delays based on whether the motor is running P 50 High Vibration Alarm 1 OK VAH bo U P 50 High Vibration P Din Switch Os Highwib 1 0k Discrete Input 1 VS PoU Ol inp PY O D 2 A inp Tar get Sts Err dE PSO_High ibr 4 B4 Rockwell Automation Publication SYSLIB RMO03E EN E August
9. 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 is set to 1 or 0 as appropriate when using the on rung mapping Powerup prescan first scan Since the P_DIn Add On Instruction uses standard TON timers for status On delay Off delay and Gate Timing on Powerup or prescan the status initiates as if the Gate input had been changed from 0 to 1 Postscan SFC transition No SFC postscan logic is provided Refer to the Logix5000 Controllers Add On Instructions Programming Manual publication 1756 PM010 for more information Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 17 Discrete Input P Din 18 Implementation by Using the Enableln False Feature 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 Condition mapped to Inp_Pw Discrete Input Monitor Input Signal process variable Condition to monitor from Sensor Condition Discrete Input Inp_Pw y Discrete Input M
10. 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication SYSLIB RMO03E EN E August 2014 Supersedes Publication SYSLIB RM003D EN E August 2013 Copyright 2014 Rockwell Automation Inc All rights reserved Printed in the U S A
11. 2014 19 Discrete Input P Din Displ ay 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 in conjunction with tag structures in the ControlLogix system aid consistency and save engineering time Table 5 P_DIn Display Elements Description Display Element Name Display Element Description L a GO_P_DIn Global object with label bU P Din Global object without label Common attributes of the P_DIn instruction global objects include the following e Current value of the PV e Maintenance Bypass indicator e Label e Color changing alarm border that blinks on unacknowledged alarm e Alarm indicator that changes color with the severity of an alarm e Status Quality indicator Alarm Border Label Maintenance Bypass Indicator Alarm Indicator Status Quality Indicator State Text Color Indicates PV In Not In Target State 20 Rockwell Automation Publication SYSLIB RM003E EN E August 2014 Discrete Input P Din Status Quality Indicators One of these symbols appears to the left of the graphic symbol when the described condition is true Graphic Symbol Description F4 Invalid configuration 0 PV quality bad not a number Out of Range or Communication Failure gt PV quality u
12. Add On Instruction in the controller 103 Y Path used for display navigation features to other objects Include program scope if tag is a program scope tag 120 Additional parameter to pass to the display command to open the faceplate Typically used to define position for the faceplate 121 m Additional parameter to pass to the display command to open the faceplate 3 In the Value column type the tag or value as specified in the Description column TIP Click the ellipsis to browse and select a tag Values for items marked optional can be left blank 4 Click OK 24 Rockwell Automation Publication SYSLIB RM003E EN E August 2014 Discrete Input P_DIn Facepl ate The P_DIn faceplate consists of four tabs and each tab consists of one or more pages The title bar of the faceplate contains the value of local configuration tags Cfg_Tag and Cfg Desc Tag Description The Operator tab is displayed when the faceplate is initially opened Click the appropriate icon at the top of the faceplate to access a specific tab Maintenance H Exit Y Operator Engineering Help The faceplate provides the means for operators maintenance workers 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 Factory Talk View software security the required user security code
13. Automation Inc with respect to use of information circuits equipment or software described in this manual Reproduction of the contents of this manual in whole or in part without written permission of Rockwell Automation Inc is prohibited Throughout this manual when necessary we use notes to make you aware of safety considerations WARNING Identifies information about practices or circumstances that can cause an explosion in a hazardous environment which may lead to personal injury or death property damage or economic loss ATTENTION Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attentions help you identify a hazard avoid a hazard and recognize the consequence gt gt IMPORTANT Identifies information that is critical for successful application and understanding of the product Labels may also be on or inside the equipment to provide specific precautions 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 prop
14. Faceplate My _DIn DigitalImput Global Object wee A Ps from Input Add On Instruction Substitute Py P Din g U state Discrete Input state ots S Inp Target ats PY A Inp bate Guidelines Use this instruction in these situations e You want to display the state of a process temperature level flow proximity pressure or other switch e You need any of these signal processing or alarming features for a Discrete input or any Discrete bit value De bounce 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 and a gating condition is true for some period of time Display of the input state with configurable text on an HMI object Ability for maintenance personnel to provide a substitute value when the device has failed Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 7 Discrete Input P_DIn Do not use this instruction in these situations e You need only 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 e You need only 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 Functional Description The diagram shows the functional characteristics of the P_DIn Add On Instruction Inp_PV
15. RA BAS Common AnalogEdit Faceplate used for analog input data entry The FactoryTalk View ME faceplates use the native analog input data entry so no file is required RA BAS P_Alarm Faceplate RA BAS ME P_Alarm Faceplate The alarm faceplate used for the object RA BAS P_Alarm Help RA BAS ME P_Alarm Help P_ Alarm Help information that is accessed from the P Din Help faceplate RA BAS P_Gate RA BAS P_Gate Faceplate RA BAS ME P_Gate RA BAS ME P_Gate Faceplate The gate faceplate display used for the object Graphics Global GGFX RA BAS Common COT o Objects RA BAS ME Common C Objects Common global objects used on all Process Objects Object faceplates RA BAS Process Alarm Objects RA BAS ME Process Alarm Objects Global objects used for alarming on all Process Object faceplates RA BAS Process Faceplate Misc Objects RA BAS ME Faceplate Miscellaneous Objects Global objects used on miscellaneous Process Object faceplates RA BAS Process Graphics Library RA BAS ME Process Graphics Library Common global objects in the graphics library for this instruction RA BAS Process Help Objects RA BAS ME Process Help Objects Global objects used for help on all Process Objects help displays 10 Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 Discrete Input P Din Table 2 P_DIn Visualization File Types Application Type FileType FactoryTalk View SE Software FactoryTalk View ME Software De
16. Reference Manual PlantPAx s Automation System Proce Rockwell Automation Library of Process Objects Discrete Input Object P_ Din Version 3 1 Allen Bradley Rockwell Software Automation Important User Information Read this document and the documents listed in the additional resources section about installation configuration and operation of this equipment before you install configure operate or maintain this product Users are required to familiarize themselves with installation and wiring instructions in addition to requirements of all applicable codes laws and standards Activities including installation adjustments putting into service use assembly disassembly and maintenance are required to be carried out by suitably trained personnel in accordance with applicable code of practice If this equipment is used in a manner not specified by the manufacturer the protection provided by the equipment may be impaired In no event will Rockwell Automation Inc be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment The examples and diagrams in this manual are included solely for illustrative purposes Because of the many variables and requirements associated with any particular installation Rockwell Automation Inc cannot assume responsibility or liability for actual use based on the examples and diagrams No patent liability is assumed by Rockwell
17. V used in simulation 1 state 26 Rockwell Automation Publication SYSLIB RM003E EN E August 2014 Discrete Input P_DIn The following table shows the alarm status on the Operator tab Table 7 Operator Tab Alarm Status 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 shelved disabled by Program logic MES lt gt Alarm indicators appear on the Operator tab when the corresponding alarm occurs MyP_DIn Digital Input DAA ela FPW from Input substitute PY O state l state Target Disagree Alarm Rockwell Automation Publication SYSLIB RM003E EN E August 2014 27 Discrete Input P_DIn Maintenance Tab Maintenance personnel use the information and controls on the Maintenance tab to make adjustments to device parameters troubleshoot and temporarily work around device problems and disable the device for routine maintenance The Maintenance tab shows the following information e Current PV e Input PV or simulated PV when simulation is enabled e Selected and de bounced input PV e Target PV e Gate condition e Animation highlights how the final PV current value was determined MyP_DIn Digital Input fy ZA Py PY from Input state substitute Py state Debounce Time 0 000
18. as bypassed by following the indicators Click the graphic symbol to open the faceplate The Maintenance bypass indicator appears 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 is flagged with this indicator For the P_DIn instruction the Maintenance Bypass indicator appears when the substitute PV function has been enabled The live PV is being superseded by a Maintenance entered value 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 Border and Label Background Description No change in color Alarm Inhibit an alarm is suppressed by the Program disabled by Maintenance or shelved by the Operator White Return to normal no alarm condition but a previous alarm has not been acknowledged Low severity alarm Yellow Medium severity alarm High severity alarm Magenta Urgent severity alarm No symbol No change in color No alarm or alarm inhibit condition and all alarms are acknowledged 22 Rockwell Automation Publication SYSLIB RM003E EN E August 2014 Discrete Input P_DIn Using Display Elements This global object for the P_DIn instruction can be found in the global object file RA BAS Process Graphics Library ggfx Follow these steps to use a global ob
19. can be used by other application logic Error data elements Err_ are outputs of the instruction that indicate a particular configuration error If any Err_ bit is set then the Sts_Err configuration error summary status is set and the Invalid Configuration indicator is displayed on the HMI Alarm data elements Alm_ are outputs of the instruction that indicate a particular alarm has occurred Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 13 Discrete Input P Din e Acknowledge data elements Ack_ are outputs of the instruction that indicate the corresponding alarm has been acknowledged e Ready data elements Rdy_ are bit outputs of the instruction used by the HMI to enable or disable command buttons and Setting entry fields Table 4 P_DIn Output Parameters Output Parameter Data Type Mastar Description EnableOut BOOL Enable Out The EnableOut signal is not manipulated by this instruction Its output always reflects Enableln Input state SrcQ_l0 SINT 1 0 signal source and quality SrcQ Final output source and quality G00D 0 1 0 live and confirmed good quality 1 1 0 live and assumed good quality 2 No feedback configured assumed good quality TEST 8 Device simulated 9 Device loopback simulation 10 Manually entered value UNCERTAIN 16 Live input off specification 17 Value substituted at device bus 18 Value substituted by maintenance Has and not Use 19 Shed using last good value 20
20. d EN 1 Error in configuration see detail bits for reason Bo 1 Error in configuration invalid timer preset use 0 2 147 483 BOL ff 1 Error in configuration alarm minimum on time or severity Input versus Target comparison result 1 Disagree Target Disagree Gate Delay Status 1 done 1 Input is not in target state 1 Alarm input is not in target state 1 Target Disagree alarm has been acknowledged Sts_TgtDisagreeDisabled BOOL TgtDisagree Disabled 1 Target Disagree alarm is disabled by Maintenance Sts_TgtDisagreeSuppressed BOOL TgtDisagree Suppressed 1 Target Disagree alarm is suppressed by Program Sts_TgtDisagreeShelved Rdy_SubstPV Rdy_InpPV Rdy_Reset Rdy_ResetAckAll P Din Tag Name Cfg_0StText Cfg_1StText Cfg_Desc Cfg_Label Cfg_Tag 1 Target Disagree alarm is shelved by Operator RW fe 1 Ready for MCmd_SubstPV BL 1 Ready for MCmd_InpPV BL 1 At least one alarm requires reset BOL 1 At least one alarm requires acknowledgement AN Unique Parameter Name for auto discovery Discrete Input Local Configuration Tags Configuration parameters that are array string or structure data types cannot be configured as parameters for Add On Instructions Configuration parameters of these types appear as local tags to the Add On Instruction Local tags can be configured through the HMI faceplates or in RSLogix 5000 software by opening the instruction logic of the Add On Instruct
21. e rung in condition is true the instruction s Logic routine executes If the rung in condition is false the instruction s EnablelnFalse 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 instruction s EnablelnFalse routine executes Structured Text No effect The instruction s Logic routine executes Inp_PV BOOL A 1 pat signal process variable from sensor Inp_PVBad BOOL Bad Signal Quality Communication Status for Inputs 1 Bad 0 OK If PV is read from a discrete input then this is normally read from the discrete input module fault status Inp_Target BOOL ee 717 Target state of input alarm if not in target state Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 11 Discrete Input P Din Table 3 P_Din Input Parameters Input Parameter Data Description Type Inp_Gate BOOL TgtDisagreeGate Inp_ Gate 1 This parameter is the gate input used for status detection When set to 1 the target disagree monitoring is enabled The on delay and off delay timers are applied after the gate delay timer When set to 0 detection is disabled and the target disagree status output is forced off If the status is used as an alarm this input acts as a suppression by design condition Inp_Sim BOOL Simulation input When set to 1 the instruction uses simulation parameters for example Set_S
22. er Personal Protective Equipment PPE Follow ALL Regulatory requirements for safe work practices and for Personal Protective Equipment PPE gt gt gt 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 Preface Discrete Input P_DIn Table of Contents Software Compatibility and Content Revision en 5 Additional Resources lt 4 oi ccvsucdec Ga sau ced dav eek tiudewsioeiceaed 6 Gide necios dde D 7 Fonciona Descrip irte 8 Reguired Piles ee o 10 Controller Files ic 4ic4eteoiidsteetiowseadielegoeresscautas 10 Visualization lesa a 10 Controller Code seul coeur eva deh aio as 11 Diserete Input Input structures etolgarti dr 11 Discrete input Output Structutes cias R RRR L a A conidios 13 Discrete Input Local Configuration Tags s 15 ODO Spatial rd Ea 16 MOLES ts rra Didi 16 IE AA 16 SAUA O A Seto 3a E A E E A kent ood 17 SCE OW id a ee St ee ae 17 Implementation by Using the Enableln False Feature 18 Programs Example nidad ts 19 Display Elements uan tepeicieiacada 20 Status Quality Indicators ett poro re eet ee ewes 21 Maintenance Bypass Indicato scada ida 22 Platine dic ais pandas 22 Using Display Element ii ianiccn ee tecettactieneowonsawsene nes 23 o acon creeds raanai aces tre E aaa ease anatase aan 25 Ope
23. imPV to calculate output When set to 0 the instruction uses input parameters for example Inp_ PV to calculate output Inp_Reset BOOL Input parameter used to programatically reset alarms When set to 1 all alarms requiring reset are reset Cfg_NoSubstPV BOOL This parameter provides the ability to disable the maintenance substitution feature When this parameter is 0 the Substitute PV Maintenance is allowed When this parameter is 1 the Substitute PV Maintenance function is disallowed When Cfg_NoSubstPV is 0 the commands MCmd_SubstPV and MCmd_InpPV are used to select the input PV or the substitute PV Sts_ SubstPV is 1 when the substitute PV is selected Cfg_NormlextVis BOOL 1 1 Display state text in Normal state target 0 Hide state text in Normal state some HMI objects Cfg_PCmdClear BOOL 1 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 This parameter is aliased to internal tag Mode Cfg_PCmdClear from B Mode IMPORTANT Clearing this parameter online can cause unintended program command execution 1 Target Disagree alarm exists and is checked Cfg_HasTgtDisagreeAlm BOOL TgtDisagree Cfg_Exists Cfg_TgtDisagreeResetReqd BOOL TgtDisagree Cfg_ResetReqd This parameter determines whether a reset is required to clear the alarm status When this parameter is 1 the alarm is latched ON when the ala
24. ion instance and then opening the Data Monitor on a local tag These parameters cannot be modified by using controller logic or RSLogix 5000 software export import functionality DataType Default Description Text to display in PV 0 State Text to display in PV 1 State Description for display on HMI This string is shown in the title bar of the faceplate Label for graphic symbol displayed on HMI This string appears on the graphic symbol Tagname for display on HMI This string is shown in the title bar of the faceplate Rockwell Automation Publication SYSLIB RM003E EN E August 2014 15 Discrete Input P Din Operations 16 This section describes the primary operations for Add On Instructions Modes The Discrete Input Add On Instruction does not use modes and does not contain an embedded P_Mode Add On Instruction Alarm acknowledge reset disable suppress inhibit and related commands are accepted at any time Operator commands are restricted via the security functions of the HMI 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 Alarms The P_DIn instruction uses the following alarm implemented by using the embedded P_ Alarm Add On Instruction Alarm Name P_Alarm Na
25. ject 1 Copy the global object from the global object file and paste it in the display file C E ELL aes HH HF Edit j Connections WBA Code Actives Events Methods Object Keys FESS ESET SESS Srrange j Animation K TI l pr y P 2222223323255 Convert to Wallpaper Z ESSSSSSSSSRSSS A ES SSS Tag Substitution os oS EN Property Panel L F1 J U Object Explorer cut Copy S55 55555 5 5 Paste Paste without localized strings Delete Duplicate Topy Animation Paste nimatiari Edit Base Object Break Link 2 In the display right click the global object and choose Global Object Parameter Values Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 23 Discrete Input P_DIn The Global Object Parameter Values dialog box appears xi Description a 102 ProcessObjix P1_Overload ss Object Tag P_DIn 103 ProcessObjix Ls Path include program scope if tag is a program scope tag Las Additional display parameter e g X100 or CC optional Cancel Help The global object parameters are as follows Parameter Required Description if defining X and Y coordinate separate parameters so that X is defined by 120 and Y is defined by 121 This allows these same parameters to be used in subsequent display commands originating from the faceplate 102 Y Object tag to point to the name of the associated object
26. me Description Target Disagree TgtDisagree TgtDisagreeGate Activated when the Input Process Variable is not equal to the Target Process Variable and the Gate Delay and OnDelay have expired Parameters of the P_Alarm object can be accessed by using the following convention P_ Alarm Name P Alarm Parameter For more information see the following Rockwell Automation Library of Process Objects publications e Common Alarm Mode P_Alarm Reference Manual publication SYSLIB RM002 e Condition Gate Delay P_Gate Reference Manual publication SYSLIB RM041 Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 Discrete Input P_DIn Simulation Simulation in P_DIn provides a simulated 0 state or 1 state input Inp_PV that you can process as if it were an actual input m e P aag A A T AR AR KRA S K e AAA E Ta PY used in simulation Substitute Py PER A A e A A aE ih a aL You must set the Inp_Sim parameter in the controller to 1 to enable simulation The Simulation icon ry is displayed at the bottom left of the Operator faceplate indicating the device is in simulation When you have finished in simulation set the Inp_Sim parameter in the controller to 0 to return to normal operation Execution The following table explains the handling of instruction execution conditions Condition Description Enableln False false rung Processing for Enableln False false rung is handled
27. ncertain A Input PV matches target Ie Input PV does not match target D 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 Click the display element to open the faceplate The Invalid Configuration indicator appears 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 is flagged with this indicator or appears in a magenta box For the P_DIn instruction the Invalid Configuration indicator appears under the following conditions e De bounce time is set to a value less than zero or greater than 2 147 483 seconds e Alarm gate delay is set to a value less than zero or greater than 2 147 483 seconds e Alarm minimum duration is set to a value less than zero or greater than 2 147 483 seconds e Alarm Severity is set to a value less than 1 or greater than 1000 Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 21 Discrete Input P Din Maintenance Bypass Indicator This symbol appears to the right of the label to indicate that a Maintenance bypass has been activated Graphic Symbol Description Y A Maintenance bypass is active No symbol displayed No Maintenance bypass active TIP When the Maintenance bypass indicator appears you can find what condition w
28. o use this software package for creating an automation application Provides details on how to use this software package for developing and running human machine interface HMI applications that can involve multiple users and servers distributed over a network Provides information for designing configuring and programming Add On Instructions Details how to monitor an input condition to raise an alarm Information includes acknowledging resetting inhibiting and disabling an alarm Generally the P_Alarm faceplate is accessible from the Alarms tab Provides details for using the P_Gate instruction for processing status and alarm conditions including gate delay on delay and off delay timing Generally the P_Gate faceplate is accessible from the Maintenance tab You can view or download publications at http www rockwellautomation com literature To order paper copies of technical documentation contact your local Allen Bradley distributor or Rockwell Automation sales representative Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 Discrete Input P_DIn The P Din Discrete Input Add On Instruction is used to receive and process a single discrete condition the Process Variable or PV typically for a channel ofa discrete input card It can be used with any discrete BOOL signal The global object and faceplate shown below are examples of the graphical interface tools for this Add On Instruction
29. onitor P Din Discrete Input p Din Discretelnput AC sts T np Hy je Sts Py Inp_Target qu SK Err H Inp_Gate 1 The following illustration shows EnableIn FALSE implementation with the input condition mapped to the P_DIn instruction by using the Rung In state Condition mapped by Rung ln state into P_Dln Instruction Discrete Input Condition to montor Condition Din Discrete Input P_Din Discretelngut lnp_ Hu Je Inp_Target je np fate q The Rung In condition determines whether the Add On Instructions 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 rungis TRUE Inp_PV 1 is treated as TRUE not inverted and when the rung is FALSE Inp_PV 1 is treated as FALSE inverted Rockwell Automation Publication SYSLIB RM003E EN E August 2014 Programming Example Slots Ol Module Connection Status 1 Failed O Good U KE 11705 E U L PSO Running 2H Inp_ Gate Sis TaiDisagree E I lnp_ PMD ad Discrete Input P Din A simple example of P_DIn using a function block is provided below In this example tag 1_VSH_P50 is the digital process value being monitored by the P_DIn block This
30. r and alarm summary as well as the value returned by FactoryTalk Alarms and Events display commands Time Inp_ Gate must be true before alarm is checked seconds Cfg_GateDly DINT TgtDisagreeGate Cfg_GateDly Minimum time status must maintain state seconds 12 Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 Table 3 P_Din Input Parameters Data Type DINT Input Parameter Cfg_TotDisagreeOnDly Cfg_IgtDisagreeOffDly DINT MSet_SubstPV BOOL Set_SimPV BOOL PCmd_Reset BOOL PCmd_TotDisagreeAck BOOL BOOL BOOL PCmd_TgtDisagreeSuppress PCmd_TgtDisagreeUnsuppress PCmd_TotDisagreeUnshelve BOOL MCmd_SubstPV BOOL MCmd_InpPV BOOL OCmd_ Reset BOOL OCmd_ResetAckAll BOOL TgtDisagreeGate Cfg_OnDly TgtDisagreeGate Cfg_OffDly TgtDisagree PCmd_Ack TgtDisagree PCmd_Suppress TgtDisagree PCmd_Unsuppress TgtDisagree PCmd_Unshelve Discrete Input P Din Description This parameter determines the minimum time in seconds the PV must disagree with the target for the status to be set On delay times are used to avoid unnecessary alarms when an output Val overshoots its threshold for example Val_HiHiLim This parameter determines the amount of time in seconds the PV must agree with the target to clear the status Off delay times are used to reduce chattering alarms EXAMPLE If Cfg_OffDly is 5 seconds the PV must agree with the target for 5 seconds before the status is returned
31. ram commands once they are acted upon Clear the checkbox so that program commands remain set until cleared by the application program logic Check to display state text in normal state for certain display elements Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 Cfg_Label Cfg_Tag Discrete Input P Din Configuration Parameters Engineering Cfg_Desc Cfg_0StText Engineering Cfg_1StText Cfg_NoSubstPV Cfg_PCmdClear Cfg_NormlextVis 31 Discrete Input P_DIn Alarm Name Alarm Severity Indicators 32 Alarms Tab The Alarms tab displays each configured alarm for the P_DIn instruction The icon on the tab for the Alarms page changes color based on the current active alarms A blinking alarm icon indicates that one or more alarms must be acknowledged or the device must be reset MyP DIn Digital Input Alarm Acknowledge Command Button Reset and Acknowledge All Alarms Command Button Click an alarm name to open the P_Alarm faceplate for that alarm From the P_Alarm faceplate you can configure and perform additional operations on the alarm If an alarm is active the panel behind the alarm changes color to match the severity of the alarm The color of the bell icon at the top of the faceplate shows the highest active alarm s severity and the icon blinks if any alarm is unacknowledged or requires reset Rockwell Automation Publication SYSLIB RM003E EN E August 2014 Disc
32. rator Tasio 25 Maintenance Tabu diia rd 28 Stats indie robes ia cod ea 29 Eneineering Tablada ide 30 A dee toreros 32 Discrete Inputs Faceplate Help atril Ta T R E arda 34 Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 3 Table of Contents Notes 4 Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 Software Compatibility and Content Revision Preface This document is updated throughout for version 3 1 of the Rockwell Automation Library of Process Objects Changes for this revision are marked by change bars shown in the right margin Table 1 Summary of Changes Topic Page Changed title from PlantPAx Library of Process Objects to Rockwell Automation Library of Front Cover Process Objects Changed version of Rockwell Automation Library of Process Objects from 3 0 to 3 1 5 10 11 Visualization Files added Important note concerning the order files are to be imported 10 Input Parameters table added alias column and aliases 11 Output Parameters table 13 added Ack_ Alm_ and Err parameter descriptions to bullet list added alias column and aliases added EnableOut parameter Tabs added introduction paragraphs to Operator Maintenance and Engineering tabs 25 28 30 Operator Tab added missing controls to the Description table 26 added Alarm Locations image 27 For the latest compatible software information and to download the Rockwell Automation Library of Process Objec
33. rete Input P Din Table 10 Alarm Color Definitions Color Definition Magenta Urgent Red High Yellow Medium Blue Low White bell icon Alarm has cleared but is unacknowledged Background light gray No alarm The following table shows the function on the Alarms tab Table 11 Alarms Tab Description Function Aion Configuration Parameters Click to acknowledge the alarm Acknowledge Alarms Code F Click to reset and acknowledge all alarms Alarm Name Click an alarm name to open the associated None P_Alarm faceplate The Reset and Acknowledge All Alarms button is enabled the panel behind the alarm blinks and the Alarm Acknowledge button is enabled if the alarm requires acknowledgment Click the button with the checkmark to acknowledge the alarm Refer to the Rockwell Automation Library of Process Objects Common Alarm Mode P_Alarm Reference Manual publication SYSLIB RM002 for more information Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 33 Discrete Input P_DIn Discrete Input Faceplate Help Digital Input Faceplate Help Status Indicators E4 Invalid Configuration T Alarm Inhibit Suppressed or Disabled 20 Communication Failure W Maintenance Bypass Active A Communication Uncertain a Device in Simulation or Test Ef Input matches Target x Input does not match Target Alarms a Discrete Input Alarm This alarm triggers when the Input Process Variable is not equal to
34. rm occurs After the alarm condition returns to normal a reset is required to clear the alarm status for example OCmd_Reset or Inp_ Reset are required to clear Alm_ TgtDisagree after the alarm is set and the value returns to normal When this parameter is 0 no reset is required and the alarm status is cleared when the alarm condition returns to normal IMPORTANT If the reset clears the alarm it also acknowledges the alarm Cfg_TgtDisagreeAckReqd BOOL TgtDisagree Cfg_AckReqd This parameter determines whether an acknowledgement is required for an alarm When this parameter is 1 the acknowledge ack bit is cleared when the alarm occurs An acknowledge command for example PCmd_Ack or OCmd_Ack is required to acknowledge the alarm When set to 0 the Acknowledge bit is set when an alarm occurs indicating an acknowledged alarm and no acknowledge command is required Ny un o Cfg_TotDisagreeSeverity INT TgtDisagree Cfg_Severity This parameter determines the severity of each alarm This drives the color and symbol that are used to indicate alarm status on the faceplate and global object The following are valid values 1 250 Low 251 500 Medium 501 750 High 751 1000 Urgent IMPORTANT For FactoryTalk View software version 7 0 this severity parameter drives only the indication on the global object and faceplate The Alarms and Events definition severity drives the color and symbol that is used on the alarm banne
35. scription Graphics Images PNG All png files in the images folder All png files in the images folder These are the common icons used in the global objects and faceplates for all Process Objects When PNG graphic formats are imported they are renamed like a BMP file but retain a PNG format HMI Tags FTVME_PlantPAxLib_Tags_3_1_00 cyl These tags must be imported into the FactoryTalk View ME project to support switching tabs on any Process Object faceplate 1 The service release number boldfaced can change as service revisions are created Controller Code This section describes the parameter references for this Add On Instruction Discrete Input Input Structure Input parameters include the following e Input data elements Inp_ are typically used to connect field inputs from I O modules or signals from other objects e Configuration data elements Cfg_ are used to set configurable capabilities and features of the instruction e Commands PCmd_ OCmd_ MCmd_ are used by program logic operators and maintenance personnel to request instruction actions e Settings PSet_ OSet_ MSet_ are used by program logic operators and maintenance personnel to establish runtime setpoints thresholds and so forth A Setting without a leading P O or M establishes runtime settings regardless of role or mode Table 3 P_Din Input Parameters Input Parameter Data Description Type Enableln BOOL 1 Ladder Diagram If th
36. the Target Process Variable and the Gate value is Enabled 34 Rockwell Automation Publication SYSLIB RM003E EN E August 2014 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 and application notes sample code and links to software service packs You can also visit our Support Center at https rockwellautomation custhelp com for software updates support chats and forums technical information FAQs and to sign up for product notification updates In addition we offer multiple support programs for installation configuration and troubleshooting For more information contact your local distributor or Rockwell Automation representative or visit http www rockwellautomation com services online phone Installation Assistance If you experience a problem within the first 24 hours of installation review the information that is contained in this manual You can contact Customer Support for initial help in getting your product up and running United States or Canada 1 440 646 3434 Outside United States or Canada Use the Worldwide Locator at http www rockwellautomation com rockwellautomation support overview page or contact your local Rockwell Automation representative New Product Satisfaction Return Rockwell Automation tests all of its products to help ensure that they are
37. to normal Operator entered substitute PV PV used in Simulation Inp_Sim 1 e Set PCmd_Reset to 1 to reset all alarms requiring reset e This parameter is always reset automatically e Set PCmd_ lt Alarm gt Ack to 1 to Acknowledge alarm e The parameter is reset automatically When Cfg_PCmdClear is 1 e Set PCmd_ lt Alarm gt Suppress to 1 to suppress alarm Set PCmd_ lt Alarm gt Unsuppress to 1 to unsuppress alarm e These parameters reset automatically When Cfg_PCmdClear is 0 Set PCmd_ lt Alarm gt Suppress to 1 to suppress alarm Set PCmd_ lt Alarm gt Suppress to 0 to unsuppress alarm PCmd_ lt Alarm gt Unsuppress is not used These Parameters do not reset automatically s Set PCmd_ lt Alarm gt Unshelve to 1 to Unshelve alarm e The parameter is reset automatically Maintenance command to use substitute PV override input Maintenance command to use input PV normal Operator command to reset all latched alarms Operator command to reset and acknowledge all alarms Discrete Input Output Structure Output parameters include the following Value data elements Val_ are numeric outputs of the instruction for use by the HMI Values also can be used by other application logic or software packages Source and Quality data elements SrcQ_ are outputs of the instruction used by the HMI to indicate PV source and quality Status data elements Sts_ are bit outputs of the instruction for use by the HMI Status bits also
38. ts see the Product Compatibility and Download Center at http www rockwellautomation com rockwellautomation support pcdc page For general library considerations see Rockwell Automation Library of Process Objects publication PROCES RMO002 Rockwell Automation Publication SYSLIB RMO03E EN E August 2014 5 Additional Resources These documents contain additional information concerning related products from Rockwell Automation Resource PlantPAx Process Automation System Selection Guide publication PROCES SG001 PlantPAx Process Automation System Reference Manual publication PROCES RM001 Rockwell Automation Library of Process Objects publication PROCES RM002 FactoryTalk View Machine Edition User Manual publication VIEWME UM004 FactoryTalk View Site Edition User Manual publication VIEWSE UM006 Logix5000 Controllers Add On Instructions Programming Manual publication 1756 PM010 Rockwell Automation Library of Process Objects Common Alarm Block P_Alarm Reference Manual publication SYSLIB RM002 Rockwell Automation Library of Process Objects Condition Gate Delay P_Gate Reference Manual publication SYSLIB RM041 Description Provides information to assist with equipment procurement for your PlantPAx system Provides characterized recommendations for implementing your PlantPAx system Provides general considerations for the PlantPAx system library of process objects Provides details on how t
Download Pdf Manuals
Related Search
Related Contents
TRACETREE RAT2 User Manual Trixie Simona User's Manual GH-DP 3730 Faça o User's Manual - the David R. Cheriton School of Computer Science 1436802275_notice fo.. Magic DVD Rip Studio - User Manual Gebrauchsanleitung Operating Instructions - maxx TK-C9200U TK-C9200E TK-C9201EG TK-C9300U TK Sattelkoffer Betriebsanleitung Copyright © All rights reserved.
Failed to retrieve file