Home

syslib-rm027 - Literature Library

image

Contents

1. Arrange Animation Convert to Wallpaper Tag Substitution Property Panel Object Explorer Cut Copy Paste Paste without loi Delete Duplicate Edit Base Object Break Link 22 Rockwell Automation Publication SYSLIB RM027C EN P August 2014 Boolean Logic with Snapshot P_Logi The Global Object Parameter Values dialog box appears Global Object Parameter Yalues g ProcessObjix Cond sse Object Tag P_Logic Description ProcessObjix fcc ste Path include program scope if tag is a program scope tag see J Additional display parameter e g X100 or CC optional Cancel Help The global object parameters are as follows f0 Parameter Required Description 102 y Object tag to point to the name of the associated object 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 N Additional parameter to pass to the display command to open the faceplate Typically used to define position for the faceplate 121 N Additional parameter to pass to the display command to open the faceplate if defining X and Y coordinate separate parameters so that X is defined by 120 and Y is defined by 121 This lets the same parameters be used in subsequent display commands originating from the faceplate 3 Type t
2. Cfg_GateSrc1Ptr 4 Cfg_GateSrc1Ptr 5 Cfg_GateSrc1Ptr 6 Cfg_GateSrc1Ptr 7 Cfg_GateSrc2Inv SINT 2 0000_ 0000 Gate M Source 2 is Inverted M by bit 1 invert Cfg_GateSrc2Mask SINT 2 0000_ 0000 Gate M Source 2 is Used M by bit 1 used Cfg_GateSrc2Ptr DINT 8 Pointer to Gate M Source 2 Cfg_GateSrc2Ptr 0 Cfg_GateSrc2Ptr 1 Cfg_GateSrc2Ptr 2 Cfg_GateSrc2Ptr 3 Cfg_GateSrc2Ptr 4 Cfg_GateSrc2Ptr 5 Cfg_GateSrc2Ptr 6 Cfg_GateSrc2Ptr 7 0 7 inputs 8 15 gate outputs Cfg_GateSrc3Inv SINT 2 0000_ 0000 Gate M Source 3 is Inverted M by bit 1 invert Cfg_GateSrc3 Mask SINT 2 0000_ 0000 Gate M Source 3 is Used M by bit 1 used Cfg_GateSrc3Ptr DINT 8 Pointer to Gate M Source 3 Cfg_GateSrc3Ptr 0 Cfg_GateSrc3Ptr 1 Cfg_GateSrc3Ptr 2 Cfg_GateSrc3Ptr 3 Cfg_GateSrc3Ptr 4 Cfg_GateSrc3Ptr 5 Cfg_GateSrc3Ptr 6 Cfg_GateSrc3Ptr 7 0 7 inputs 8 15 gate outputs Cfg_GateSrc4Inv SINT 2 0000_ 0000 Gate M Source 4 is Inverted M by bit 1 invert Cfg_GateSrc4Mask SINT 2 0000_ 0000 Gate M Source 4 is Used M by bit 1 used Cfg_GateSrc4Ptr DINT 8 Pointer to Gate M Source 4 Cfg_GateSrc4Ptr 0 0 0 7 inputs Cfg_GateSrc4Ptr 1 Cfg_GateSrc4Ptr 2 Cfg_GateSrc4Ptr 3 Cfg_GateSrc4Ptr 4 Cfg_GateSrc4Ptr 5 Cfg_GateSrc4Ptr 6 Cfg_GateSrc4Ptr 7 8 15 gate outputs Cfg_HasNav SINT 2 0000_0000 Set bits indicate which Navigation buttons
3. Output transitions from 0 to 1 Save State to Check to trigger a snapshot when the Cfg_UseOut10 Snapshot When Output signal transitions from 1 to 0 Output transitions from 1to 0 Save State to Check to trigger a snapshot when the Cfg_UseOCmd Snapshot When Operator clicks Snapshot Requested by Operator enables snapshot button Save State to Check to trigger a snapshot by when Cfg_UsePCmd Snapshot When program logic sets PCmd_Snap Requested by program via PCmd_Snap Engineering Tab Page 2 P_Logic Bearing High Temperature Logic fay f 1 Inputs 28 N aak z Engineering aS Motor OB Hi Hi Temp S MyDiscreteOut no gate Enable Navigation Navigation Tags Rockwell Automation Publication SYSLIB RM027C EN P August 2014 aj Select 5 Output Output Selection Gate being Configured Boolean Logic with Snapshot P_Logic The following table lists the functions on the Engineering tab page 2 Table 9 Engineering Tab Page 2 Description Function Action Security Configuration Parameters Input Type a description for each input Engineering Cfg_InpIxt Configuration Enable Navigation Check to enable navigation to input Code E None object Navigation Tag Type the tag name of the input Cfg_NavTag object Gate symbol Click a gate to open the Gate None Configuration Display for that gate Select Output Click to select which value to use as t
4. Sts_GateSrc3Snap Sts_GateSrc4Snap Sts_OutInvLive BOOL Output after inverter but before TON TOF timers Sts_OutlnvSnap BOOL Snapshot of Output after inverter but before TON TOF Rockwell Automation Publication SYSLIB RM027C EN P August 2014 13 Boolean Logic with Snapshot P_Logic Table 4 P_Logic Output Parameters Output Parameter Data Type Description Sts_Err BOOL 1 Error in configuration see detail bits for reason Err_GateFunc SINT 1 Error in each Gate s Function Code use 0 6 Err_GateSrcPtr SINT 1 Error in each Gate s Source Pointer use 0 15 Err_GateSrcMask SINT 1 Error in each Gate s Mask source used configuration qty choice Err_OutSrcPtr BOOL 1 Error in Output s Source Pointer use 0 15 Err_Timer BOOL 1 Error in Output s On Delay or Off Delay Preset use 0 2 147 483 Rdy_Snap BOOL 1 Ready to receive OCmd_Snap enables button Rdy_Reset BOOL 1 Ready to receive OCmd_Reset enables button P_Logic BOOL Unique Parameter Name for auto discovery Table 5 P Logic Local Configuration Tags Boolean Logic 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 in the Add On Instruction Local tags can be configured through the HMI faceplates or in RS Logix 5000 s
5. Answer ID 62682 to Product Compatibility and Download 5 10 Center Visualization Files added Important note concerning the order in which files must be imported 10 Input Parameters tables added Alias For column and aliases 12 Output Parameters tables added Err_ parameter type to bullet list before output table 13 Operations added Simulation section 17 For the latest compatible software information and to download the Rockwell Automation Library of Process Objects see the Product Compatibility and Download Center at http www rockwellautomation com rockwellautomation support pcdc page For general library considerations see Rockwell Automation Library of Process Objects publication PROCES RM002 Rockwell Automation Publication SYSLIB RM027C EN P August 2014 5 Preface Additional Resources These documents contain additional information concerning related products from Rockwell Automation Resource PlantPAx Process Automation System Selection Guide publication PROCES SG001 Description Provides information for assisting with the equipment procurement for your PlantPAx system PlantPAx Process Automation System Reference Manual publication PROCES RMO001 Provides characterized recommendations for implementing your PlantPAx system Rockwell Automation Library of Process Objects publication PROCES RM002 Provides general considerations for the PlantPAx system library of p
6. Captures the current state of the object Status Indicators DE Invalid Configuration Gates Logical AND Result is ONE if all used gate sources are ONE At least one gate source must be used Logical OR Result is ONE at least one used gate source is ONE At least one gate source must be used Exclusive OR Result is ONE if an odd number of used gate sources are ONE At least one gate source must be used Majority Result is ONE if a majority of the used gate sources are ONE 1 out of 1 2 out of 2 2 out of 3 or 3 out of 4 Atleast one gate source must be used Set Reset Gate sources 1 and 3 set the result to ONE Gate sources 2 and 4 reset the result to ZERO Gate sources 1 and 2 are dominant and will override gate sources 3 and 4 One set gate source and one reset gate source must be enabled ea E lt gt Ee Switch Result uses gate source 1 if gate source 3 is zero Result uses gate source 2 if gate source 3 is one Gate sources 1 2 3 must be used Gate 4 must be not used EH Rockwell Automation Publication SYSLIB RM027C EN P 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 soft
7. P_AIn Analog Input instructions that provide alarms for these input conditions for example TargetDisagree High Low High High Low Low e The output of a P_Logic instruction is typically used as an interlock condition and the interlocked device typically provides an Interlock Trip alarm e Ifan alarm is required for one of the P_Logic instruction s inputs or outputs a P_Alarm instruction can be added to the application logic containing the P_Logic instance Simulation The Boolean Logic Add On Instruction does not have a Simulation capability J Rockwell Automation Publication SYSLIB RM027C EN P August 2014 17 Boolean Logic with Snapshot P_Logic Programming Example 18 Execution The following table explains the handling of instruction execution conditions Condition Description Prescan Resets the output on delay and off delay timers clears the snapshot timestamp and data clears any commands received while controller was in Program mode Enableln False Clears output to false off and resets the output on delay and off delay timers Postscan No SFC Postscan logic is provided Refer to the Logix5000 Controllers Add On Instructions Programming Manual publication 1756 PM010 for more information This example uses the P_Logic instruction to perform advanced interlocking logic based on the winding temperatures of a motor P_Logic is easier to configure through the faceplate but this example
8. and delay time configuration e Condition options to save a snapshot 26 Rockwell Automation Publication SYSLIB RM027C EN P August 2014 Boolean Logic with Snapshot P_Logic P_Logic Bearing High Temperature Logic S A 1 eem 2 i Generate a controller timestamp when snapshot occurs Allow a new snapshot to overwrite an existing snapshot without a snapshot reset Configure Device o Description Label and Tag Text to Display when Output 0 Save State to Snapshot When Configure Display Text When Output 1 or 0 _ Text to Display when Output 1 TRIPPED Inp_Hold transitions from 0 to 1 Input to delay timers is inverted J Output transitions from 0 to 1 Output off delay time sec a Configure Off On Delay E j Output transitions from 1 to 0 Output on delay time sec 5 Requested by Operator enables snapshot button J Requested by Program via PCmd_Snap Times Seconds The following table lists the functions on page 1 of the Engineering tab Table 8 Engineering Tab Page 1 Description Function Action Security Configuration Parameters Description Type the description to show onthe Engineering Cfg_Desc Faceplate title bar Configuration Code E Label Type the label to show on the Cfg_Label graphic symbol Tag Type the tag name to show on the Cfg_Tag faceplate and tooltip TIP Pausing the mouse over this field displays a tooltip with the configured Logic tag p
9. are enabled Rockwell Automation Publication SYSLIB RM027C EN P August 2014 15 Boolean Logic with Snapshot P_Logic Table 5 P Logic Local Configuration Tags Configuration Data Type Default Description Parameter Cfg_InpTxt STRING_20 8 Short HMI description of each Input Cfg_InpTxt Cfg_InpTxt Cfg_InpTxt Cfg_InpIxt Cfg_InpIxt Cfg_InpIxt Cfg_InpIxt Cfg_InpIxt SSSss Cfg_Label STRING_20 Configurable Logic Label for graphic symbol displayed on HMI This string appears on the graphic symbol Cfg_NavTag STRING_20 8 Tagnames for destinations of Navigation buttons Cfg_NavTag 0 ee Cfg_NavTag 1 Ka Cfg_NavTag 2 7 Cfg_NavTag 3 ve Cfg_NavTag 4 vs Cfg_NavTag 5 us Cfg_NavTag 6 Cfg_NavTag 7 Cfg_OutSrclnv BOOL 0 Out Source before Min Duration Timer is Inverted 1 invert Cfg_OutSrcPtr DINT 0 Source bit for Output 0 7 inputs 8 15 gates Cfg_Tag STRING_20 P_Logic Description for display on HMI This string is shown in the title bar of the faceplate Operations This section describes the primary operations for the P_Logic Add On Instruction Configuring the Logic in a P_Logic Instance A P_Logic instruction instance can be configured from the RSLogix 5000 software tag monitor but it s much easier to configure the logic from the HMI Rules for Set Reset Gate The following rules apply for a Set Reset gate e The dominant inputs 1 and 2
10. outputs of the instruction used to identify the reason for configuration errors 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_Logic Output Parameters Output Parameter Data Type Description EnableOut BOOL Enable Output The EnableOut signal is not manipulated by this instruction Its output state always reflects Enableln input state Out_Live BOOL Condition of Logic Output result after delay Out_Snap BOOL Condition of Logic Output result when at Snapshot Val_DelayPctLive DINT Output OnDelay or OffDelay percent complete live Val_DelayPctSnap DINT Output OnDelay or OffDelay percent complete Snapshot Val_Snaplnit DINT Snapshot Initiator 1 0Cmd 2 PCmd 3 Out0 gt 1 4 0ut 1 gt 0 5 Inp_Hold Sts_Snapped BOOL 1 Snapshot has been triggered 0 Snapshot showing live states Sts_InpLive SINT Live Input Status bits bit input Sts_GateLive SINT Live Gate Result Status bits bit gate Sts_InpSnap SINT Snapshot of Input Status bits bit input Sts_GateSnap SINT Snapshot of Gate Result Status bits bit gate Sts_GateSrciLive SINT Live wire state for Source 1 4 of each gate bit gate Sts_GateSrc2Live Sts_GateSrc3Live Sts_GateSrc4Live Sts_GateSrc1Snap SINT Snapshot of wire state for Source 1 4 of each gate bit gate Sts_GateSrc2Snap
11. take precedence over the non dominant 3 and 4 inputs in a Set Reset Gate e IfInput is true and Input 2 is false the gate s output is Set to true e IfInput 1 is false and Input 2 is true the gate s output is Reset to false e Ifboth Input 1 and Input 2 are true the gate s output is not changed e Ifboth Input 1 and Input 2 are false Inputs 3 and 4 determine the output IfInput 3 is true and Input 4 is false the gate s output is Set to true If Input 3 is false and Input 4 is true the gate s output is Reset to false 16 Rockwell Automation Publication SYSLIB RM027C EN P August 2014 Boolean Logic with Snapshot P_Logic Ifboth Input 3 and Input 4 are true the gate s output is not changed Ifboth Input 3 and Input 4 are false the gate s output is not changed e A Set Reset gate must have at least one set input either dominant or non dominant and one reset input either dominant or non dominant enabled Operating Modes The P_Logic Add On Instruction has no modes and does not use the P_Mode Add On Instruction The Operator and Program snapshot commands if enabled and reset commands are accepted at any time Alarms The P_Logic Add On Instruction does not provide any alarms If an alarm is required use P_Din or use the interlock alarm of the device such as P_Motor One of the following applies e The inputs to a P_Logic instruction often come from status pins of P_Din Discrete Input or
12. walks through the parameter settings to fully illustrate the example In this example there is a motor with three RTDs measuring temperature of the windings To prevent damage to the windings the motor must be interlocked if any of the three windings are above the high high temperature limit or if the majority of the windings are above the high temperature limit P_Logic is being used to perform this function The output of this logic feeds the interlock of the motor elsewhere in logic Rockwell Automation Publication SYSLIB RM027C EN P August 2014 Boolean Logic with Snapshot P_Logic Slot 10 RTD Module Connection Status 1 Failed 0 Good P 50 Motor Winding 4 RTD Slot 10 Channel 0 Faultted Slot 10 RTD Module Connection Status 1 Failed O Good 0 CAF_117 10 jad 0 CaF 11700 O n oO Local_10_ _ChOFault D 4 In2 P 50 High Motor Winding Temperature Condition Logic PS50_HiWindingTemp RTD Slot 10 Channel 1 Faulted Slot 10 RTD Module Connection Status 1 Failed O Good 0 Local_10__Ch1Fault In2 o caF 1710 O RTD Slot 10 Channel 2 Faulted 0 Local_10__Ch2Fault Ee In2 Temperature TH_P50 I_TE1_P50 IETS P_Ain PSO Motor Winding A z a RTD Value Analog Input 00 105 0 1_TE1_P50 inp PY Val p 350 0 r Inp_PYBad Yal_HiHiLin D TE1
13. AS Process Graphics Library RA BAS ME Process Graphics Library Display elements used to build process graphics RA BAS Process Help Objects RA BAS ME Process Help Objects Global objects used for help on Process Objects help displays 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 csv N A FTVME_PlantPAxLib_Tags_3_1_00 csv These tags must be imported into the FactoryTalk View ME project to support switching tabs on any Process Object faceplate Macros MCR NavToObject 1 The service release number boldfaced can change as service revisions are created N A Rockwell Automation Publication SYSLIB RM027C EN P August 2014 This macro must be imported into the FactoryTalk View SE project to support faceplate to faceplate navigation by tagname 11 Boolean Logic with Snapshot P_Logic Controller Code Table 3 P_Logic Input Parameters This section describes the parameter references for this Add On Instruction Boolean Logic Input Structure Input parameters include the following Input data elements Inp_ are typically used to connect field inputs from I O modules or signals from other objects C
14. Any logic gate has an invalid function code e Any logic gate has an invalid source for one of its inputs e The output has an invalid source defined e Any logic gate configured to be used has no inputs exposed e A Set Reset gate has an invalid set of inputs exposed A Set Reset gate must have at least one Set Input exposed and one Reset Input exposed Inputs are the following Input 1 Set dominant Input 2 Reset dominant Input 3 Set Input 4 Reset Rockwell Automation Publication SYSLIB RM027C EN P August 2014 21 Boolean Logic with Snapshot P_Logic e A Selector Gate has an invalid set of inputs exposed A Selector Gate must have at least one of its A or B Inputs exposed and its Select Input exposed Inputs are the following Inputl A input Input 2 B input Input 3 Select input 0 Select A 1 Select B Input 4 not used must not be exposed e A Majority Gate has only one Input exposed e The Output s On Delay or Off Delay time is set to a value less than zero or greater than 2 147 483 seconds Using Display Elements The global objects for P_Logic can be found in the global object file RA BAS Process Graphics Library ggfx Follow these steps to use a global object 1 Copy it from the global object file and paste it in the display file 2 In the display file right click the global object and choose Global Object Parameter Values a y sssssssseseees R Edit
15. Engineering Tab on page 26 for on delay and off delay configuration Rockwell Automation Publication SYSLIB RM027C EN P August 2014 Input Names 4 P_Logic Bearing High Temperature Logic ART Boolean Logic with Snapshot P_Logic Home Operator o Motor OB Hi Hi Temp Snapshot Button Motor IB Hi Hi Temp Pump IB Hi Hi Temp Pump OB Hi Hi Temp Motor OB High Temp Motor IB High Temp Pump IB High Temp Purp OB High Temp Output State The following table shows the functions included on the Operator tab Table 6 Operator Tab Description Function Action Security Input Name Click to navigate to the Input object faceplate None Click to take a snapshot of the current state Manual Device IMPORTANT When you take a snapshot the View Snapshot Operation Code B tab is automatically displayed Gate Click one of the gates to access the Gate Configuration display See Gate Configuration for that gate Display on page 29 View Snapshot Tab The View Snapshot tab shows an image of the Operator faceplate when the snapshot was taken The display s background turns from gray to white to indicate capture The View Snapshot has the same functionality as the operator faceplate plus a Reset button Rockwell Automation Publication SYSLIB RM027C EN P August 2014 25 Boolean Logic with Snapshot P_Logic P_Logic Bearing High Temperature Log
16. OL 1 1 Enable Snapshot on Output 0 gt 1 rising edge Cfg_UseOut10 BOOL 0 1 Enable Snapshot on Output 1 gt 0 falling edge Cfg_TSonSnap BOOL 0 1 Generate a TimeStamp when Snapshot occurs Cfg_SnapOver BOOL 0 1 New Snapshot overwrites without reset 0 Save first Snapshot until reset Cfg_OnDelay DINT 0 Output ON delay time seconds Cfg_OffDelay DINT 0 Output OFF delay time seconds PCmd_Snap BOOL 0 Set PCmd_Snap to 1 to capture input gate states in Snapshot This parameter resets automatically PCmd_Reset BOOL 0 Set PCmd_Reset to 1 to reset re arm snapshot latch This parameter resets automatically OCmd_Snap BOOL 0 Operator command to capture Input Gate states in Snapshot OCmd_Reset BOOL 0 Operator command to Reset re arm Snapshot Latch 12 Rockwell Automation Publication SYSLIB RM027C EN P August 2014 Boolean Logic with Snapshot P_Logic Boolean Logic Output Structure Output parameters include the following e Output data elements Out_ are the primary outputs of the instruction typically used by hardware output modules however they can be used by other application logic e Value data elements Val_ are numeric outputs of the instruction for use by the HMI Values can also be used by other application logic or software packages e Status data elements Sts_ are bit outputs of the instruction for use by the HMI Status bits also can be used by other application logic e Error data elements Err_ are bit
17. Reference Manual Process Automation System Rockwell Automation Library of Process Objects Boolean Logic with Snapshot P_ Logic Version 3 1 ani Ava 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 assume
18. 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 Kar Plaza Is Merkezi E Blok Kat 6 34752 erenk y stanbul 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 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication SYSLIB RM027C EN P August 2014 Supersedes Publication SYSLIB RM027B EN P September 2013 Copyright 2014 Rockwell Automation Inc All rights reserved Printed in the U S A
19. _P50_PVBad 300 0 BOR af Val_HiLim Po Sts_HiHi BI q Boolean Or Sts_Hi gt fa i Out f a 4 4 P 50 Motor Winding B i Temperature a g TI2_P50 g 1_TE2_P50 Pan E P50 Motor Winding B RTD Value Analog Input 0 0 125 0 1_TE2_P50 Inp PV val D 350 0 r 2 Inp_PV Bad Yal_HiHiLim D TE2_P50_PVBad vel Hi aa al_HiLim BOR E 0 a Sts_HiKi p Boolean Or P l Sts_Hi Lo g Out J P 50 Motor Winding C Temperature TI3_P50 1_TE3_P50 PAn caf P50 Motor Winding C E RTD Value Analog Input 00 145 0 1_TE3_P50 Inp PY Val D 350 0 r einp_PvBad val_HiHiLim D TE3_P50_PVBad 300 0 1 Yal_HiLim D BOR pf a Sts_HiHi Po lt n Boolean Or A sts _Hipb m Out J Plogic E Boolean Logic Inp_O Out_Live Inp_4 Sts_Snapped Inp_2 Sts_InpLive Inp_3 Sts_GateLive Inp_4 Sts_InpSnap Inp_S Sts_GateSnap Inp_6 Sts_Err Inp_ Q Bo ig P50_HivVindingTemp p 4 05 2 0000_0000 2 0000_0000 2 0000_0000 2 0000_0000 Q 1 a a a a The input parameters Inp_0 Inp_1 Inp_2 Inp_3 Inp_4 Inp_5 are connected to the status outputs of the three winding temperature inputs Three of the eight gates 0 7 in P_Logic are used in this example 1 5 6 Gate 1 is the OR of the three high high status bits Gate 5 checks if the majority of the high status bits are true Gate 6 ORs the outputs of Gates 1 and 5 to set the output of P_Logic To set up the gate functions Gat
20. alse if one of its Reset inputs is true The gate s four inputs are Input 1 SET dominant Input 2 RESET dominant Input 3 SET Input 4 RESET See page 16 for Set Reset rules Select If input 3 is false the state of input 1 is passed to the gate output If input 3 is true the state of input 2 is passed to the gate output A Select gate must have input 3 enabled and either or both of inputs 1 and 2 enabled Majority labeled MooN for M out of N The gate s output is set true if a majority of its inputs after configured inversions are true 2 out of 2 2 out of 3 or 3 out of 4 A Majority gate can have 2 4 inputs enabled e Provides configurable on delay time and off delay time for the instruction s output e Provides a snapshot capability that captures the state of the instruction all input states gate states and output state for use later until reset The snapshot capability can be used to capture the state of the logic at the time that it tripped or shut down equipment even if the logic states change after the shutdown The snapshot is optionally timestamped from the controller clock year month day hour minute second microsecond Rockwell Automation Publication SYSLIB RM027C EN P August 2014 9 Boolean Logic with Snapshot P_Logic Required Files e Provides options to enable the following snapshot trigger conditions Capture snapshot on Operator Command OCmd_Snap Capture s
21. ath Text to Display Type the text to display on the Cfg_0StText when Output 0 faceplate when output 0 Text to Display when Output 1 Type the text to display on the faceplate when output 1 Input to delay timers is inverted Check to invert the selected output before it is passed to the output delay timers Cfg_1StText Cfg_OutSrclnv Output Off delay Type a value for the output Cfg_OffDelay time seconds off delay time Output On delay Type a value for the output Cfg_OnDelay time seconds on delay time Generate a Check to generate a timestamp Cfg_TSonSnap controller whenever a snapshot triggers timestamp when snapshot occurs Allow anew Check to allow a new snapshot t o be Cfg_SnapOver snapshot to triggered without having to reset the overwrite an previous snapshot existing snapshot without a snapshot reset Rockwell Automation Publication SYSLIB RM027C EN P August 2014 27 Boolean Logic with Snapshot P_Logic Table 8 Engine ering Tab Page 1 Description Function Action Security Configuration Parameters Save State to Check to trigger a snapshot when the Engineering Cfg_UselnpHold Snapshot When Inp_Hold signal transitions Configuration Inp_Hold from 0 to 1 Code E transitions from 0 to1 Save State to Check to trigger a snapshot when the Cfg_UseOut01 Snapshot When Output signal transitions from 0 to 1
22. d by Rockwell Automation Inc with respect to use of information circuits equipment or software described in this manual Reproduction of the contents of this manual in whole or in part without written permission of Rockwell Automation Inc is prohibited Throughout this manual when necessary we use notes to make you aware of safety considerations WARNING Identifies information about practices or circumstances that can cause an explosion in a hazardous environment which may lead to personal injury or death property damage or economic loss ATTENTION Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attentions help you identify a hazard avoid a hazard and recognize the consequence 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 caus
23. e 30 P_Logic Bearing High Temperature Logic fy alla Ak view Snapshot 0 Motor OB Hi Hi Temp Motor IB Hi Hi Temp Pump IB Hi Hi Temp Pump OB Hi Hi Temp Motor OB High Temp Motor IB High Temp Pump IB High Temp Pump OB High Temp Snapshot triggered by User 2014 07 05 16 19 21 8 Rockwell Automation Publication SYSLIB RM027C EN P August 2014 Boolean Logic with Snapshot P_Logic The Boolean Logic Add On Instruction provides the following capabilities e Provides up to eight Boolean inputs and eight logic gates e Each gate has four inputs Each input can be enabled or disabled Each gate input can be normal or inverted Each enabled gate input can be linked to a source which is an instruction input or the result of a preceding gate e Each of the eight gates can be configured in one of the following ways Logical AND The gate s output is true if all of the enabled gate inputs after configured inversions are true An AND gate can have 1 4 inputs enabled Logical OR The gate s output is true if any of the enabled gate inputs after configured inversions are true An OR gate can have 1 4 inputs enabled Logical XOR Exclusive OR The gate s output is true ifan odd number of the enabled gate inputs after configured inversions are true An XOR gate can have 1 4 inputs enabled Set Reset The gate s output is set true if one of its Set inputs is true and is cleared to f
24. e be Reece 17 IETS e 9 Seer T a og bade when O acetal idea hs 17 SHU THON Saati thee ue aea weo aa 17 PS CCUUION merra ae E AGEE E E NE RAN A A EEN 18 Programming Example sususensneresrsrrrrerrrrrrrrererrerer 18 Display Elements ilet ae notae e a TETN EE a Aa A iS 20 Status Quality Indicators sus lt add farsa aise ea Sees 21 Using Display Elements n o os n5ssnousvutakediandeSes eens 22 Faceplate mei esa bi ena A OEE bald AA AEE DEAA 24 Operator Tab hae oie r a A hee E ERE ala 24 View Snapshot Tab ssssussseeserersrerrrrrrsrerrrrere 25 Engineering Tabira srnuchews naw enehiveney ar is e a ai 26 Gate Configuration Display c 222s 2nd iris Ghee oo eos 29 Boolean Logic with Snapshot Faceplate Help 54 30 Rockwell Automation Publication SYSLIB RM027C EN P August 2014 3 Table of Contents Notes 4 Rockwell Automation Publication SYSLIB RM027 EN P September 2014 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 Software Compatibility and Table 1 Summary of Changes Content Revision 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 Changed references to Knowledgebase
25. e severe injury or death Wear proper 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 Boolean Logic with Snapshot P_Logic Table of Contents Software Compatibility and Content Revision 00e eee ee 5 Additional Resourcevelva secen en eee oer aetieleneudrivetes 6 Guidelines reos rianan tlhe on ee el chet dh de BRERY chek is 7 Functional Description sssccovasur saad ecu eels cra cua eenae me oes 8 Required Files ro crack Aieus naese sod whe a a EE T ne cide rains 10 Controller File 12 3 c caciewe dees hides eed ch 10 Visualization Piles est wail eea E e at aeven trae 10 Controller Gade c twcsae te danas at alam hess oa eid abate se 12 Boolean Logic Input Structure visa vavnn pandas aswaawdcns 12 Boolean Logic Output Stiucture hoc cee vee eevee teens 13 Boolean Logic Local Configuration Tags 00 000 ee 14 Option sienne aae ina ate Wid tide arene ak cco E E cada 16 Configuring the Logic in a P_Logic Instance 0006 16 Rules for Set Reset Gate yu 5c ecar pe Sete aateaeiet 16 Operating Modes cso dads tangs wo yrincia neues ye
26. es 1 and 6 as OR and Gate 5 as Majority use the following settings e Cfg GateFunc 1 2 e Cfg GateFunc 5 6 e Cfg GateFunc 6 2 Gate 1 is set up to look at the three high high status inputs Inp_0 Inp_2 and Inp_4 by using the following settings e Cfg GateSrclMask 1 1 Cfg_GateSrc1Ptr 1 0 e Cfg_GateSrc2Mask 1 1 Cfg_GateSrc2Ptr 1 2 e Cfg GateSrc3Mask 1 1 Cfg_GateSrc3Ptr 1 4 Gate 5 is set up to look at the three high status inputs Inp_1 Inp_4 and Inp_5 by using the following settings e Cfg GateSrclMask 5 1 Cfg_GateSrc1Ptr 5 1 e Cfg GateSrc2Mask 5 1 Cfg_GateSrc2Ptr 5 3 5 e Cfg GateSrc3Mask 5 1 Cfg_GateSrc3Ptr 5 Rockwell Automation Publication SYSLIB RM027C EN P August 2014 19 Boolean Logic with Snapshot P_Logic Display Elements 20 Lastly Gate 6 is set up to look at the outputs of gates 1 and 5 by using the following settings e Cfg GateSrclMask 6 1 Cfg_GateSrc1Ptr 6 9 e Cfg_GateSrc2Mask 6 1 Cfg_GateSrc2Ptr 6 13 Cfg_OutSrcPtr needs to be set to 14 to take the output from Gate 6 and make it the output Out_Live of the P_Logic block The on delay time is then set to 5 seconds to prevent spurious trips of the output Cfg_OnDelay 5 Lastly the string descriptions are used to provide documentation for you on the faceplate In this example they are set as follows e Cfg 0StText OK e Cfg_1StText Tripped e Cfg Desc Winding High Tempe
27. gic e You have more than the 16 interlock conditions or permissive conditions provided by the P_Intlk and P_Perm Add On Instructions but some of the conditions can be grouped together under one identification For example all of the bearing overtemperature signals for a pump and motor Pump Inboard Bearing Pump Outboard Bearing Motor Inboard Bearing and Motor Outboard Bearing can be ORed together in a P_Logic instruction and the result presented to a P_Intlk instruction as a single Bearing Overtemp condition Do not use this instruction in these situations e You are implementing simple interlocks and permissives that can be handled by the P_Intlk and P_Perm instructions directly These instructions have the ability to permit operation or trip operation on either the low or high state of a condition configurable inverting e You require logic that is beyond the P_Logic Add On Instruction capabilities or which is extremely time critical The P_Logic instruction provides only eight inputs eight gates and one output with on delay and off delay timing and it is implemented with table driven code Use hard coded logic in native controller languages instead The native programming languages are faster and provide functionality beyond what the P_Logic instruction can do Functional Description The diagram shows the functional characteristics of the P_Logic Add On Instruction Boolean Logic descriptions are in the Help file on pag
28. he output for P_Logic Gate Configuration Display This gate configuration display appears if a gate is clicked in the Operator View Snapshot or Engineering tabs z Type Gate Sources 1 2 4 El v 3 Not Used Use Source f S Invert Source H Logical Vessel 1 Empty AND n gate Logical Vessel 2 Empty a Exclusive Vessel 3 Empty OR no gate Majority Consumer 1 Short M out of N Consumer 2 Short H Set Reset Consumer 3 Short Select switch Override State Override Switch The following table lists the functions on the gate configuration display Table 10 Gate Configuration Message Box Description Function Action Security Gate Type Click to select a gate type Engineering Configuration Code E Use Source Click to select which inputs of the gate are enabled 1 4 Invert Source Click to invert the source coming into the gate Select Source Select which input or gate output is to be used as the source to the gate The gate outputs that are available depend on which gate is being configured you can only link to link to an earlier gate For example Gate 3 can link to the outputs of Gates 0 2 but not to outputs of Gates 3 7 Rockwell Automation Publication SYSLIB RM027C EN P August 2014 29 Boolean Logic with Snapshot P_Logic 30 Boolean Logic with Snapshot Faceplate Help Condition Monitoring Faceplate Help Commands eee E a Capture Snapshot
29. he tag or value in the Value column as specified in the Description column TIP 4 Click OK You can click the ellipsis to browse and select a tag Values for items marked optional can be left blank Rockwell Automation Publication SYSLIB RM027C EN P August 2014 23 Boolean Logic with Snapshot P_Logic Faceplate 24 The P_Logic faceplate consists of three tabs and each tab consists of one or more pages Each faceplate contains the value of local configuration tags Cfg_Tag and Cfg_Desc in the title bar Tag Description I Click the appropriate icon at the top of the faceplate to access a specific tab Snapshot Help 4 yee eo 3 Operator Engineering Exit The faceplate provides the means for operators maintenance personnel engineers and others to interact with the P_Logic Instruction instance including viewing its status and values and manipulating it through its commands and settings 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 The Operator tab shows the following information e The eight Boolean inputs and eight logic gates with each gate having a maximum of four sources e Configurable operator snapshot command button creates an image of the logic e Provides a progress indicator for the on delay time and off delay time for the instruction s output See
30. ic ry Galbe E3 view Snapshot 0 Motor OB Hi Hi Temp Motor IB Hi Hi Temp 7 Reset Button Purnp IB Hi Hi Temp Pump OB Hi Hi Temp Input Names Motor OB High Temp Motor IB High Temp Pump IB High Temp U Pump OB High Temp Snapshot triggered by User 2014 07 05 18 19 21 Snapshot Triggered By Controller Timestamp Table 7 View Snapshot Tab Description Function Action Security 7 5 Click to reset the snapshot function so that another snapshot Normal operation of can be triggered Devices Code A r IMPORTANT If Allow a new snapshot to overwrite an existing snapshot without a snapshot reset is checked See Engineering Tab on page 26 A reset is not needed to trigger another snapshot Input Names Click to navigate to the Input object faceplate None Gate Click one of the gates to access the Gate Configuration display See Gate Configuration for that gate Display on page 29 Engineering Tab The Engineering tab provides access to device configuration parameters and ranges options for device and I O setup displayed text and faceplate to faceplate navigation settings and for initial system commissioning or later system changes The Engineering page is divided into two pages Engineering Tab Page 1 Page 1 of the Engineering tab shows the following information e Description label and tag e Timestamp configuration text e Output display text
31. napshot on Program Command PCmd_Snap Capture snapshot when the output transitions from 0 to 1 Capture snapshot when the output transitions from 1 to 0 Capture snapshot of previous scan s state when a loopback input becomes true This last capability enables the snapshot to be captured in a case where the P_Logic output condition was the first out condition in a downstream P_Intlk block The first out indication from the P_Intlk instruction can be looped back to the P_Logic instruction s Inp_Hold input to hold the last scan state in the snapshot including last scan s timestamp 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_Logic_3_1 00_AOI L5X Add On Instruction must be imported into the controller project to be able 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 sup
32. nclude AND OR XOR Exclusive OR Set Reset Select and Majority Each gate provides up to four input conditions that are individually invertible The P_Logic instruction does not need a NOT gate The P_Logic Add On Instruction also provides a snapshot capability enabling it to record its current state with an optional timestamp upon change in output state on Operator or Program command or based on a logic loopback input Add On Instruction Faceplate P Logic CA P_Logic Bearing High Temperature Logic Boolean Logic ji Outi AST ror np_1 Sts_Snapped np_2 Sts_InpLive Motor OB Hi Hi Ternp np_3 Sts_GateLive np_4 Sts_InpSnap np_5 Sts_GateSnap np_6 Sts_Err nt Pump IB Hi Hi Temp np_Hold np_Reset Motor IB Hi Hi Temp Pump OB Hi Hi Temp Motor OB High Temp Global Object Motor IB High Temp Loginator OK Pump IB High Temp Pump OB High Temp Guidelines Use this instruction in these situations e You want to implement an Interlock or Permissive condition that is more complicated than the simple OR ing or AND ing provided by the P_Intlk Interlocks or P_Perm Permissives Add On Instructions e You want to implement some Boolean combination logic that can be reconfigured from the HMI online or which requires the snapshot capability for saving a copy of the logic state with a timestamp Rockwell Automation Publication SYSLIB RM027C EN P August 2014 7 Boolean Logic with Snapshot P_Lo
33. oftware by opening the Instruction Logic of the Add On Instruction 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 Configuration Data Type Default Description Parameter Cfg_0StText STRING 8 OK Text to display in Out 0 State Cfg_1StText STRING_8 TRIPPED Text to display in Out 1 State Cfg_Desc STRING_40 Configurable Description for display on HMI This string is shown in the title bar of the faceplate Boolean Logic Block Cfg_GateFunc DINT 8 Function code for gate M Cfg_GateFunc 0 0 0 Gate not used Cfg_GateFunc 1 0 1 AND Cfg_GateFunc 2 0 2 0R Cfg_GateFunc 3 0 3 XOR Cfg_GateFunc 4 0 4 Mout of N majority gate Cfg_GateFunc 5 0 5 Set Reset latch Cfg_GateFunc 6 0 6 Select switch gate Cfg_GateFunc 7 0 Cfg_GateSrc1Inv SINT 2 0000_0000 Gate M Source 1 is Inverted M by bit 1 invert Cfg_GateSrc1Mask SINT 2 0000_ 0000 Gate M Source 1 is Used M by bit 1 used 14 Rockwell Automation Publication SYSLIB RM027C EN P August 2014 Table 5 P Logic Local Configuration Tags Boolean Logic with Snapshot P_Logic Configuration Data Type Default Description Parameter Cfg_GateSrc1 Ptr DINT 8 Pointer to Gate M Source 1 Cfg_GateSrc1Ptr 0 0 7 inputs Cfg_GateSrc1Ptr 1 8 15 gate outputs Cfg_GateSrc1Ptr 2 Cfg_GateSrc1Ptr 3
34. onfiguration data elements Cfg_ are used to set configurable capabilities and features of the instruction and to request specific actions while the instruction is in Program mode Command data elements PCmd_ OCmd_ are used by program logic operators and maintenance personnel to request instruction actions Input Parameter Data Alias For Default Description Type Enableln BOOL 1 Ladder Diagram If the 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 instruction s 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_0 Inp_7 BOOL Wrk_Src 0 Wrk_Src 7 0 Logic Input 0 7 Inp_Hold BOOL 0 1 Hold previous state in Snapshot 0 Pass live states to Snapshot Inp_Reset BOOL 0 Input parameter used to programmatically reset alarms When set to 1 all alarms requiring reset are reset Cfg_UselnpHold BOOL 0 1 Use Inp_Hold to capture Snapshot 0 Use Cmds or Output transition to capture Snapshot Cfg_UsePCmd BOOL 1 1 Enable Snapshot on PCmd_Snap 0 gt 1 edge Cfg_UseOCmd BOOL 1 1 Enable Snapshot on OCmd_Snap 0 gt 1 edge Cfg_UseOut01 BO
35. port 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_Logic Visualization File Types Application Type Graphics Displays 10 File Type GFX FactoryTalk View SE RA BAS P_Logic Config FactoryTalk View ME RA BAS ME P_Logic Config Description The Configuration Display used for the object RA BAS P_Logic Faceplate RA BAS ME P_Logic Faceplate The faceplate display used for the object RA BAS P_Logic Help RA BAS ME P_Logic Help The help display used for the object RA BAS Common AnalogEdit Rockwell Automation Publication SYSLIB RM027C EN P August 2014 Not Applicable Faceplate used for analog input data entry The FactoryTalk View ME faceplates use the native analog input data entry so no file is required Table 2 P_Logic Visualization File Types Application Type Graphics Global Objects File Type GGFX FactoryTalk View SE RA BAS Common Faceplate Objects FactoryTalk View ME RA BAS ME Common Faceplate Objects Boolean Logic with Snapshot P_Logic Description Common global objects used on Process Object faceplates RA BAS Process Faceplate Misc Objects RA BAS ME Process Faceplate Misc Objects Global objects used on Miscellaneous Process Object faceplates RA B
36. rature Logic e Cfg Label Configurable Logic e Cfg_Tag P_Logic e Cfg InpIxt 0 Winding A Hi Hi Temp e Cfg InpIxt 1 Winding A Hi Temp e Cfg InpIxt 2 Winding B Hi Hi Temp e Cfg InpIxt 3 Winding B Hi Temp e Cfg_InpIxt 4 Winding C Hi Hi Temp The P_Logic Instruction has display elements global objects for use on process graphic displays These elements provide you with the following e Information on the object s current state e Touch field to open the object s faceplate e Tooltip to display the object s configured tag and description Rockwell Automation Publication SYSLIB RM027C EN P August 2014 Boolean Logic with Snapshot P_Logic Status Quality Indicators One of these symbols appears when the described condition is true Graphic Symbol Description Invalid configuration fi Information available snapshot taken TIP When the Invalid Configuration indicator appears you can find which configuration setting is invalid by following the indicators Click the graphic symbol 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 Boolean Logic with Snapshot Instruction the Invalid Configuration Indicator appears under the following conditions e
37. rocess objects FactoryTalk View Machine Edition User Manual publication VIEWME UM004 Provides details on how to use this software package for creating an automation application FactoryTalk View SE Edition User Manual publication VIEWSE UM006 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 Logix5000 Controllers Add On Instructions Programming Manual publication 1756 PM010 Provides information for designing configuring and programming Add On Instructions Rockwell Automation Library of Process Objects Common Alarm Block P_Alarm Reference Manual publication SYSLIB RM002 You can view or download publications at 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 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 RM027C EN P August 2014 Boolean Logic with Snapshot P_Logic The P_Logic Boolean Logic with Snapshot Add On Instruction executes up to eight gates of configurable Boolean logic Gate types available i
38. ware 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 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

Download Pdf Manuals

image

Related Search

Related Contents

USER GUIDE - redcam.pl  GEP-Wassermanager GWM 500 inhouse    Genius Manticore  Noctua NA-SYC2 hardware cooling accessory  

Copyright © All rights reserved.
Failed to retrieve file