Home

Developing RSViewSE

image

Contents

1. Di oo oo 29 gao e042 Seae b Clear Clear All Num A x a X 19 0 Width 149 Height 45 Texti1 Status Bar Diagnostics List RSView Supervisory Edition Training Guide 3 9 Workbook Mode Selecting Workbook Mode in the View menu displays tabs at the bottom for each graphic display and or editor that you have opened from the Project Explorer This can speed up the navigation of many open windows just click on the tab to bring the corresponding window to the front est ACTIVITY Alarm Setup Channel User Acco let Face Plates Information ee Building a Distributed Application Your distributed application may organized into distinct Areas containing HMI Servers and Data Servers Areas Areas allow you to divide an application into manageably sized logical parts or to organize the application in a way that makes sense for the process you are controlling Areas do not apply to standalone applications An area might represent a portion or stage of a process or a region within the process facility For example an automotive plant might be divided into areas called Press and Fabrication Body Shop Paint Shop Engine and Transmission A bakery might be divided into areas called Ingredients Mixing Baking and Packaging Alternatively a plant with identical production lines might be divided into areas called Line 1 Line 2 Line 3 and
2. ieee RSView Supervisory Edition Training Guide 9 14 Runtime Tab General Display Pens X Axis Y Axis Overlays Template Runtime m Display property pages V General tab IV XAxis tab V Display tab JV Y Axis tab IV Pens tab V Overlays tab V Template tab m Chart behavior IV Allow editing legend properties MV Allow Pan Zoom Context menu options JV Allow Pause Resume scrolling Allow Print JV Allow Show Hide value bar JV Allow snapshot creation V Allow overlay options Use the TrendX properties Runtime tab to determine which TrendX options are available to operators during run time To prevent operators from changing these options the Runtime tab is not available during run time RSView Supervisory Edition Training Guide 9 15 Trends will automatically start over when their graphic display is shown If you wish to have the trend continually collect and display data regardless of whether the display is showing change a setting in the graphic display settings Force the display to be saved in memory by selecting Yes in the Cache After Displaying In addition check Always Updating to force the trend object to stay up to date Display Settings x Properties Behavior m Display Type Size Replace Use Current Size 2 ae Specify Size in Pixels Keep at Back i A rinie Width 700 Height 525 I Allow
3. m Expression Properties Tag filter lt None gt Selected Tag a Home area RSView Supervisory Edition Training Guide 10 9 New HMI Tag Tag Name mem TotalT ankLevel mS Type Analog Security F x Cancel Description ee ESE A Help oO Scale i Units Offset Data Type Defaut 7 Data Source Type C Device CF Memory Initial Value f0 7 Retentive Alam Minimum e Click OK then select the new tag in the Tag Browser Click OK to return to the Derived Tag editor e Create an expression that will sum the individual tank levels for the new derived tag Use the Tags and Arithmetic buttons E Untitled Rootbeer Standalone Derived Tags Tag Name mem TotalT ankLevel fe Close Description i n ___ Expression RS View_Class_SoftLogix Program T anks Tank_1_Level RS View_Class_SoftLogix Program T anks T ank_2_Level RSView_Class_SoftLogix Program T anks Tank_3_Level Logical Relational Arithmetic Bitwise Functions Check Walid Syntax RSView Supervisory Edition Training Guide 10 10 e Accept your edits and create another derived tag entry This derived tag will be a string It will evaluate whether all the pumps are currently on using the Tank Pump tags and a logical AND expression e Repeat the abo
4. Components Initial display o Display parameters a Initial client key file ProjectKes 0 Startup macro Statu i s lt sCs Shutdown macro Shutdown O Help About Cancel e Accept the rest of the defaults Choose to save the configuration and open the SE client e Look at the Diagnostics List on the SE Client to see that the Startup Macro has run xi 5 Display Client open complete Clear Clear All Okey Project Keys n RSView_Class_SoftLogix Program Filling Bottle_Preset 0 D Display Conveyor Starting Data Log model Trending Data dataLogon Trending Data G ODBC model ODBC Data has started E3 Starting Data Log model ODBC Data G DataLogOn ODBC Data G Startup MACRO D User administrator has been logged in RSView Supervisory Edition Training Guide 11 17 5 Test the running client e Click the Filling machine The KeyList is shown all the Object and Display keys r Conveyor Rootbeer Production Mixing Display Set Number of BottlesTo Fill MM Push to START C c Calculator F3 g Five Bottles F4 Eight Bottles e Use the F3 and F4 keys on the keyboard to change the bottle preset number e Use the Ctrl C key when the Filler machine has focus to start the calculator e Use the Tab key to shift focus off of the Filler machine Which keys work and which don t e Use the Ctrl H key client key to bring up the
5. Comments a oenn rogram Tanks Tank_1_Level Ei RSview_Class_SoftLogix amp Program Tanks Tank_1_Number Fe a Offline Program Tanks Tank_1_Pump Online Program Tanks Tank_2_Level Program Tanks Tank_2_Number Program Tanks Tank_2_Pump Program Tanks Tank_3_Level Program Tanks Tank_3_Number Program Tanks Tank_3_Pump E G Program Filling BAA Bottle_Counter Conveyor C Program Mixing SQ Program Tanks H E ten_sec_timer J Scaling I system Tag filter X Add T ag s to List Seeed FASView_Class_SoftLogix Program Mixing Mixer_tpm_actual FASView_Class_SoftLogix Program T anks Tank_1_Level RS View_Class_SoftLogix Program Tanks Tank_2_Level ASView_Class_SoftLogix Program T anks Tank_3_Level system User system D ateAndT imeS tring i Home area A Remove Clear Cancel Help X 7 e Click OK when you are done with the Data Log Model configuration Save the model as ODBC Data Sae x Component name obec Data Cancel RSView Supervisory Edition Training Guide 8 18 3 Create a second Data Log Model e Duplicate the existing model by right clicking it in the Application Explorer and selecting Duplicate A A Mixing HMI EI System HMI Tags Graphics Alarms Logic and Control Data Log E Data Log Models ODBC D
6. ___ Read Write control Clicking the Tag button will show the Tab Browser Some controls are assigned to specific tags others may be assigned to Expressions RSView Supervisory Edition Training Guide 5 41 Numeric and String Objects Aq og e Numeric String Displays These objects display information from the Tag Database Use the numeric display object to show the operator numeric information from the data source For example you might use a numeric display to show the current temperature of an oven in a bakery Use the string display object to show the operator messages from the data source For example you might set up strings that report on the state of a process or operation or that provide instructions about what the operator should do next e Numeric String Input Enable These objects allows operator input to the tag specified Numeric Input Properties x Tag Mixing Mixer_rpm_setpoint BI Tab index fi Default data Field length a Format Decimal Decimal places DA Overflow Justification m Leading Character f Left Center Right _ Blanks Zeroes Show exponent if Ausly update Ard input and resume updating when focus is lost Cancel Help Continuously update Check this to have tag value changes appear in the numeric input box in the display when the operator is not using it to enter values If this check box is cleared any value typed in the numeric or strin
7. m Button settings Ramp up Upper limit Ramp value Ramp down fi oo 2 Configure the auto repeat function under the Timing tab to allow an operator to hold down the button and have it increment continuously Use ramp buttons in pairs to create a raise and lower control Ramp Button Properties f x General Label Timing Connections Auto repeat settings Auto repeat rate Auto repeat delay 5 7 400 msec RSView Supervisory Edition Training Guide 5 39 Configuring Push Buttons Each push button varies in its setup parameters but they all have many items in common Double clicking on a push button brings up the properties Momentary Push Button Properties x General States Common Connections Appearance Border style Border width m V Border Uses Back Color Highlight color Back style Solid bd Shape Rectangle m Button settings Button action Normally open C Normally closed C Value Hold time 250 msec bi Touch margins Horizontal margin Vertical margin 0 0 Other V Audio Cancel Apply Help General Tab Assign general appearance settings color highlight border etc here Each button type will have its own unique settings on this tab Touch Margins allow you to set touch insensitive areas inside the push button object This is useful for buttons positioned closely together
8. ODBC Data Source Administrator 2 xi UserDSN System DSN File DSN Drivers Tracing Connection Pooling About System Data Sources Dre Sd Add A eE Driver do Microsoft Access mdb TEN ECDCMusic Microsoft Access Driver mdb Remove Configure The ODBC data source cannot have the same name as the HMI project and must be either a System or File ODBC data source If you are logging to a remote ODBC database or file set located on a different computer than the HMI server is on you must change the security account the data log program runs under and the access permission for related logging services RSView Supervisory Edition Training Guide 8 5 Data Logging to a Network Drive If you are logging to a network drive that is not located on the same computer as the HMI server you must change the security account under which the data log program file runs To do this you must run the Windows tool for configuring DCOM The user interface is slightly different between Windows 2000 and XP To start the DCOM configuration tool 1 On the computer on which you want to run a data log model click the Windows Start button and then click Run 2 Inthe Open box type dcomcnfg and then press Enter In Windows 2000 the Distributed COM Configuration Properties dialog box opens In Windows XP the Component Services window opens If DCOM Configuration Warning messages appear click No for each one To change the sec
9. The SE Client wizard may also be started by running Start Programs Rockwell Software RSView Enterprise RSView SE Client RSView Supervisory Edition Training Guide 14 4 RSView SE Client Options The SE Client wizard will allow you to customize the client file RS iew SE Client Application Name x Type the name of the application you want to connect to Rootbeer Production ki Open RS iew SE Client as view only Enable on screen keyboard Allow display code debugging Help About Cancel The dropdown box will show you all the Applications in the FactoryTalk Directory Open RSView SE Client as view only Click this check box if the SE Client is to be opened as a view only client When an SE Client is opened in view only mode the user can only perform read operation rather than read write This means that tag writes recipe saves actions allowed from an alarm summary and commands processed on the HMI server are disabled Enable on screen keyboard Click this check box to enable the display of an on screen keyboard when the user touches or clicks the user name or password field in the login dialog box or a string or numeric input field Allow display code debugging Click this check box to give the user access to the VBA Code editor This allows the user to make changes to the Display Code associated with a graphic display RSView Supervisory Edition Training Guide 14 5 Client Components
10. ffreplacement tagname Example 23 A_COLOR 23 in any expression in a graphic would be replaced by the tag A_COLOR 1 Tanks Tank_1_Level 2 Tanks Tank_1_Pump 3 Tanks Tank_1_Number Tip To create another parameter file you can perform a Save As command from the File menu and then edit the file Tank2 Rootbeer Production Mixing Parameters Parameter File created 01 22 2002 Parameter files are used with graphic displays to specify the tags a display uses at runtime The parameter file is passed to the graphic l using the P option of the Display command Syntax l replacement tagname Example l 23 A_COLOR 23 in any expression in a graphic would be replaced by the tag A_ COLOR 1 Tanks Tank_2_Level 2 Tanks Tank_2_Pump 3 Tanks Tank_2_Number RSView Supervisory Edition Training Guide 5 73 Displaying Graphics with Tag Placeholders There are two way to associate a graphic containing tag placeholders with real tags 1 To use a parameter file issue the Display command with the P switch Display AreaName GraphicName Pparameterfilenam space space If the graphic is in the Home Area you do not need to specify the Area Name You can use the command wizard to build the command Command Wizard Step 2 of 2 Syntax Display lt display gt B ZE 7U 0 ZZ ZZA Pfile T lt tag gt lt tag gt Hnnn 4 nnn Min Max position Area T
11. Comments Hello I am changing the setpoint User Name Password operator a ne Accept Cancel Approved by Comments Yes I m approving this User Name Password engineer an Open the FactoryTalk Diagnostics Log to view the documentation of the setpoint download FactoryTalk Diagnostics iewer Untitled s loj x Fie View Help Wear By Time Location Provider User User Description G A 06 16 03 17 06 16 COMPUTERO1 RSView SE Client operator User operator has been logged in D a 06 16 03 17 06 16 COMPUTERO1 RSView SE Client OPERATOR Display Main A 06 16 03 17 06 16 COMPUTERO1 RSView SE Client OPERATOR Acquired a license key allowing full functionality a 2 06 16 03 17 06 49 COMPUTERO01 RSView Electronic Signature COMPUTEROIMA COMPUTERO1 Administrator ESign Operation Set tag value value change for memanalog from 50 to 33 Performed by WORKGROUP operator operator Comment ae s 06 16 03 17 07 31 COMPUTER01 RSView Electronic Signature COMPUTEROISA COMPUTERO1 Administrator ESign Operation Set tag value value change for mem analog from 50 to 33 Performed by WORKGROUP operator operator l udience Operator amp Secured Provider RSWView Electronic Signature a Severity Audit User COMPUTERO1 Administrator erbosity 0 User Desc COMPUTERO1 Administrator ail Message ESign Operation Set tag value
12. Delete Vertical Slider Duplicate OLE verb RSView Supervisory Edition Training Guide 5 59 Selecting any of the animation options brings up the Animation dialog box Fill in the Expression box RSView Supervisory Edition will evaluate the expression and animate accordingly If the expression is simply a tag select the Tags button to show the Tag Browser Click the Expression button to create a logical expression to be evaluated x Rotation Horizontal Position Vertical Position Horizontal Slider Vertical Slider OLE Verb a Tag ha Expression m Expression RSVSE_Class Program T anks Tank_1_Level m Expression range Fill Percent Use tag s min and max property values At minimum po At maximum Use constant Min jo Max fioo ee ng Right I Inside Only e ig Min BA Up Down May A i l i Delete Close Help Read from tags Expression Range Only HMI tags support min max properties If you use a Data Server tag define the Expression Range by selecting Use constant or Read from tags Many Graphic Libraries contain pre built animated objects Sliders for example contain grouped objects with vertical or horizontal slider animation To use in your project drag and drop it into your display then replace the animated part of the group with your tag Fs Siders Library TET Animation m Horizon
13. JKE _ gt RSView Supervisory Edition Training Guide 6 2 Configure alarms on HMI Tags e Select the Alarms digital1 tag and check the Alarms box i M Alarm e The alarm configuration dialog box will open xl IT ste i Alarm States Alarm Messages Tag Alarms digitall 2 OK Alarm Type Alarm Label Pressure Switch On 1 Severity 2 3 pore C Off Any Change Changes to On Changes to Off Help In Alarm Messages System Defaults User Defaults Custom Message File Configure this alarm On type Type a label of your choice Use your area name Severity 2 Choose User Default In Alarm message ca oe 2 1 RSView Supervisory Edition Training Guide 6 22 e Click on the Advanced tab Tag Alarms digitall 1 4 OK Alarm Identification JAppStart C Supervisory Edition Class E Cancel Out of Alarm Label r Alarm Acknowledge Help Acknowledge Bit JAlams ack By IV Auto Reset Alarm Handshake Handshake Bit Alarms handshake Ea JV Auto Reset 1 Type the command Appstart C supervisory edition class files alarminfo htm in the Alarm Identification field This will show a web page when the operator clicks on the Identify button with this alarm selected in the alarm summary Note The command wizard for appstart will only browse for exe files The path for the web page must be typed Do not use quotes in the command 2 Browse for Alarms a
14. Rather than create a parameter file containing three tag reference you may organize your tag database to be able to swap only the folder name Search For Tank1 Number Tank1 Pump z system Oo Tank2 G Tank3 In this case you would issue this command to reference the above tags Display TankData Ttankl RSView Supervisory Edition Training Guide 5 75 Lab 7 Tag Placeholders in Graphic Displays Objective In this lab you will edit a graphic display depicting a tank a pump and a trend You will convert the hard coded tags to tag placeholders so you may use the same graphic with many tanks Software Requirements e RSView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program 1 Import the TankData graphic display into your project e Start with a pre built display Right click on Displays and choose to Add Component Into Application 5 6 Graphics Add Component Into Application F e Add the TankData display from the Components to import for labs directory Add Component Into Project 21x Look in lo Components to import for labs e Ck EJ E Conveyor gfx TankData gfx File name TankD ata gfx Files of type Graphic Displays gfx ancel RSView Supervisory Edition Training Guide 5 76 2 Edit the TankData graphic display The graphic display is configured to show data for Tank 1 e Double click the Tank Data displa
15. Use Object Smart Path to fill in this field Apply Delete Close Help e Bottle 2 should be visible when the timer is between 2000 and 5750 Open the Visibility animation and build the following expression using the Tags Logical and Relational buttons You must manually add the open and closed parenthesis to the expression Height m Expression t RS iew_Class_SoftLogix Program Filling Conveyor_Timer gt 2000 AND t RS iew_Class_SoftLogix Program Filling Conveyor_Timer lt 5750 Coren r Expression true state C Invisible Visible Apply Delete Close Help RSView Supervisory Edition Training Guide 5 66 4 Copy Paste and Edit Bottle 3 Animation e Bottle 3 is a group made up of a cap and bottle The animation must be applied to the cap and bottle separately Both items get Visibility and Horizontal Position animation but only the bottle gets Fill animation e Paste animation from Bottle 1 o Right click Bottle 1 in the graphic display and select Copy Animation o Select Object Explorer from the View menu or the toolbar The Object Explorer shows all graphical objects in an Explorer tree o Select the object called Capped Bottle Expand it to show the objects within the group o Right click the highlighted Bottle in the Object Explorer and select Paste Animation Object Explorer RampButton1 Ram
16. Contents Index Search Favorites 0 Using the Trend Object Model 2 About the Trend object model 2 About trend templates 2 About xY plots 2 Use the VBA Object Browser 3 A Trend object Trend object The trend object represents a Trend object on a display The Trend objectis not a creatable object Trend objects are accessible via an Elements collection and as properties of the Display object The object specific properties and methods for the Trend object are RAE Trend object merged with the ActivexControl object s properties and methods This Properties N extended objectis whatthe user will see when directly accessing the Methods object from VBA using the object s name Events Related topics Overlays collection Overlay object Pens collection Use the BA Object Browser Overlays collection Overlay object Pen object ao XAxis object Pens collection YAris object Pen object 3 A E XAxis object Yaxis object Constants RSView Supervisory Edition Training Guide 9 19 TrendX and any ActiveX control properties and methods may be executed by running the RSView invoke command For example you may wish to clear the trend when a button is pushed Execute the invoke command and reference the ClearChart method Command Wizard Step
17. Data source name ODBC Alarms Target table Alarms a Create table Maintain connection for 5 minutes C indefinitely T Login required Database user ID Password Confirm password Specify a Windows ODBC Data Source Name Click the browse button to show the Select Data Source dialog box Select or create a new Data Source Name from there Alarm log files may be manually logged to an ODBC compliant database by using the command AlarmLogSendToODBC RSView Supervisory Edition Training Guide 6 12 Defining Alarms on Tags Alarming is detected at the HMI tag level Data Server tags do not support alarming at this time Alarming is applied to a tag by selecting the Alarm checkbox in the Tag Database editor Tag Name T ank1 Level v Type Analog Security v Close Description Sn oI Accept Minimum fo Scale 1 Units Discard Maximum 100 Offset jo Data Type Default X m Data Source Type Device Memory Help Initial Value jo ikl H Ew Alarms may be applied to Analog or Digital tags The maximum alarmable tags allowed is 40 000 per HMI server 10 000 of which can be analog tags RSView Supervisory Edition Training Guide 6 13 Analog Tag alarms e Open the Tags editor then select the analog tag for which you want to configure an alarm e Check the Alarm checkbox to open the Analog Alarm editor e Inthe Threshold
18. Documents and Settings All Users Application Data Rockwell RNAServer Global e Move the HMI Project files from the development computer to the appropriate runtime HMI Server computers The HMI Projects are in this path Documents and Settings All Users Documents RSView Enterprise SE HMI Projects Note If the HMI server is configured to load and run upon the operating system starting you will have to use the RSView SE Service Manager Programs Rockwell Software RSView Enterprise Tools to stop the HMI Server before copying the project files e Move the client files cli from the development computer to the runtime SE Client computers The location is not important The client will simply run the file The client files may be included in the Windows Startup or be started automatically by using the DeskLock utility By default client files are in this path Documents and Settings All Users Documents RSView Enterprise SE Client e Run the Specify FactoryTalk Directory Location utility on every computer to point it to the new FactoryTalk Directory e Open RSView Studio or the RSView Administration Console and edit the application The HMI and Data Servers will be in error they are still configured for the engineering laptop computer Edit the properties of the HMI and Data Servers to reflect their new location e Make any necessary changes to the RSView Users from RSView Studio or the Administration Console Change Domain and Use
19. File 8 Display In Background Window Position 2E Disable Enter Key M 2H Height M 2U Upload Data Entry Fields M ZW Width 20 Disable Key List X Left P Min Display Minimized l A Top Max Display Maximized P ZZA Cache Display Always Updating P X1 Parameter tags Z Cache Display Jv P Parameter File Tanki Area for Parameter File Command String C Display TankData PT ank1 Help Cancel lt Back Display TankData Ptankl RSView Supervisory Edition Training Guide 5 74 2 The second way to associate tags with the graphic is to use the T switch with the Display command This method does not use a parameter file Rather the tags to be substituted are specified as part of the command In this example tag1 will replace the 1 tag placeholder tag2 for 2 tag3 for 3 Display AreaName GraphicName Ttagl tag2 tag3 space space You can use the Command Wizard to build this command as well JV T Parameter tags 2 RSView_Class_SoftLogix Program T anks Tank_1_Level He Cache Display 2P Parameter File Command String Help Cancel Display TankData T RSView_Class_SoftLogix Program T anks Tank_1_Level Tag Placeholders and Partial Tag Substitution You may use tag placeholders to represent tag folders or portions of directly referenced tags as opposed to whole tag names A graphic may contain references to 1 Level 1 Number 1 Pump
20. If Audio is checked the computer s internal beeper will sound when the button is pressed Note the Allen Bradley RAC6182 has no audio capability RSView Supervisory Edition Training Guide 5 40 xj States Tab General States Common Connections Depending on the push General Select state oa Suara button type many states may State h I Back color None zl be assigned to it Error BB Border color GP z tt Blink hae Configure each state Caption including caption colors and image if any z State settings may be copied Insert Variable and pasted onto other or all Font Size states oe a a L Caption color Alignment Caption back style BB Caption back color C C C Transparent E Common Tab I Caption blink Cel lv Word wrap sss Some properties such as puani size and position are Image Image back style iS common to all graphic objects ae Transparent 7 fa These properties are set up C Image color Alignment th h the C tab i Copy BB mage back color eeo roug 2 ommon aan Image blink Ce the Properties dialog box Paste I Image scaled see Connections Tab Momentary Push Button Properties x General States Common Connections Define the connections to the Tag Database on this tab Each push button will have a Value Indicator field The arrows next to the name indicate the flow of data Write control Y___ Read control lt
21. RSView_Class_SoftLogix Program Mixing Mixer_Tank_Level Local Message Display this will display process information e General Tab o Border style RaisedInset Back style Transparent Fore color red o Arial 12 pt Bold o Message file Batch Progress e Connections Tab Value RSView_Class_SoftLogix Program Mixing Mixing_Message Button this will display the Main graphic display to be created later e Action tab Run Display Main command on release e Up Appearance Caption Home Select any color Maintained Push Button this will start and stop the mixer e States Tab StateO o Caption Mixer OFF Caption back style Transparent o Arial 12 pt Bold e States Tab State1 o Caption Mixer ON Caption back style Transparent o Arial 12 pt bold e Connections Tab browse for Data Server tags e Value RSView_Class_SoftLogix Program Mixing Mixer_on_off Text Object This embeds the actual mixer rpm from the processor RSView Supervisory Edition Training Guide 5 55 e General Enter the text Actual Insert a Numeric Variable referencing the Mixer rpm tag RSView_Class_SoftLogix Program Mixing Mixer_rpm_actual e Arial 18 pt Bold Text Properties xj General Common Text Actual N 4 o RSView_Class_SoftLogixjProgram Mixing Mix Insert Variable Font Size Arial l fs l E al om Numeric ariable x
22. RSView_Class_SoftLogix Program Tanks Tank_1_Level Trending Data _ Add Pen Add Pen s from Model Delete Fenis Multiple Pen Edits as eS e es ee ee Clear Selections Apply to Selected Pen s OK Cancel Apply Help RSView Supervisory Edition Training Guide 9 21 b Scroll to the Max fields for each pen and enter 500 x General Display Pens xAxis Y Axis Overlays Template Runtime Common Pen Attributes SS E Be Ss eee 1 RSView_Class_SoftLogixJProgram Tanks Tank_3 Level 0 000000 500 000000 N 2 RSView_Class_SoftLogixJProgram Tanks Tank_2 Level 0 00000 500 000000 7 3 RSView_Class_SoftLogix Program Tanks Tank_1_Level O 000000 500 000000 2777 c Select all three pens in the upper window Change their line width to 3 by using the Multiple Pen Edits tool Trend Properties l General Display Pens Axis Y Axis Overlays Template Runtime Common x RE a a SoftLo 1gix Program T anks Tank_3_Leve g Trending Data ae On D e mal Trending Data F Trending Data v war Tipe Sue 1 Marker Min PEAS lt a OE A p E E E Clear Selections Apply to Selected Penis Cancel Apply Help RSView Supervisory Edition Training Guide 9 22 e Test the display to see real time data Trend Friday June 13 2003 490 412 100 1 19 06 PM 1 19 54 1 20 18 4 20 42 1 21 06 PM Ca Cm
23. You may dock the Project Explorer to any side of the RSView Studio workspace Floating allows you to move the Project Explorer anywhere in the display by clicking and dragging in its title bar RSView Supervisory Edition Training Guide 3 8 With either of these options the Project Explorer remains on top of all windows To force it to act as any other window select MDI Child It is now listed in the Windows menu item and can be minimized maximized and given focus like any other open window al Application Explorer Docked New Distributed App v Floating Ge User Accounts MDI Child Secured Commands Docked to b Top MDI Child as gt A Bottom Right The Status Bar The Status Bar gives general information on the active window or object selected In the example below the position size and name of an object is displayed Graphics Toolbar 4aRS iew Studio File Edit View Objects Arrange Animation Tools Window Help mi S O ele S lo le SRAM OSMMADAQHEgse ROABTICO CN UADOCCORSeHRBIHSSSCoRORY SeamMabk ew e and rove yTeMAbl Rac enwgarys Waste Water Pra 1S System Aeration w Startup hs m EJ Commar SQ HMI Tags U Channe e a From primary Aeration basin g Tags sedimentation A S Graphics gt alaa aeaa rrij Displays oy Oo o0 ie Je 2 p en go xi f Aeration Samples Water Waste Water Display Compressor room
24. x j No users have the security code necessary to access the application To change the application access to all users click OK To return to the user Accounts editor click Cancel ee RSView Supervisory Edition Training Guide 12 17 2 Build a new graphic display in your HMI Project e Include the following elements Text Login Screen Currently Logged In String Display CurrentUserName _ function see below RSView button Login command RSView button Logout command RSView button Display TankData Ttank_1 command Display List Selector Move Up Move Down and Enter buttons Save the graphic as Main OOTO UO O OnO O F Main Rootbeer Standalone Rootbeer Standalone Display Login Screen Currently Logged In SSSSSSSSSSSSSSSSSSSS5S Login Tank Data MixingTank Trend Alarms Logout String Display Properties E 7 m Expression 1O x CurrentUserName Relational Arithmetic Bitwise Function Categories Choices within Category m Dimensions width 20 CurentUserHasCodefsecurity letter current user has code CurentUserNamef name of current user Cancel Help RSView Supervisory Edition Training Guide 12 18 3 Add an Electronic Signature Button e Open the ActiveX Toolbox from the View menu Add an Electronic Signature Button under the Tank Data button RSYiew SE Signature Button Properti
25. C EBLA E e e 160 RSView _Class_SoftLogix Program Tanks 401 160 20 490 77 RS View _Class_SoftLogix Program Tanks e Click on the Oldest Data button and see the historical data collected from a previous lab Go back and collect data if you hadn t done so before Trend Friday June 13 2003 11 07 41 11 08 05 11 08 29 11 08 53 AM 4 22 02 PM Min Max Units RS iew_Class_SoftLogix Program Tanks IRS View _Class_SoftLogix Program Tanks RSView Supervisory Edition Training Guide 9 23 e Add to the graphic display a Add three Maintained pushbuttons to control the tank pumps F Trend Rootbeer Standalone Rootbeer Standalone Di Sj fa x Trend Friday June 13 2003 412 256 amp 100 1 37 17 PM I 138 138 138 1 39 17 PM La SSE ie RSView _Class_SoftLogix Program Tanks 472 100 490 77 RSView _Class_SoftLogix Program Tanks EO 22 RSView _Class_SoftLogix Program Tanks Tank 1 Pump OFF Maintained Push Button Properties x General States Common Connections Value ASYiew_Class_SoftLogis Program T anks Tank_ Indicator RSView Class_SoftLogix Program T anks Tank_ Use the Pump tag RSView_Class_SoftLogix Program Tanks Tank_1_Pump for both Value and Indicator fields RSView Supervisory Edition Training Guide 9 24 b Add a Button to clear the chart Use the invoke command x General Action Up A
26. C Administrator All Users E Bottle RnaD 7 KB RNAD File Application Data E Malthouse Clgx 640x480 RnaD 7KB RNAD File 7 Microsoft E Malthouse Clgx 800x600 RnaD 8KB RNAD File NETg ei me R_u_n_t i_m_e_061302 RnaD 6KB RNAD File O QuickTime f Objects 5 Screen Demo RnaD 16KB RNAD File Rockwell E Objects_640x480 RnaD 16KB RNAD File Local E Objects_800x600 RnaD 16KB RNAD File 7 O RNAClient E Rootbeer Standalone RnaD 16KB RNAD File RNAServer C Global O Local i fll gt 13 objects Disk free space 2 44 GB i121 KB P My Computer A Client computers those running SE Clients and RSView Studio contain a locally cached copy of the application C Documents and Settings All Users Application Data Rockwell RNAClient RSView Supervisory Edition Training Guide 3 6 Open RSView Studio An application is created in RSView Studio Open the program Start Programs RSView Studio You must decide the scope of your project you will ultimately run When you purchase RSView Supervisory Edition you may also create SE Standalone or Machine Edition projects RSView Machine Edition is outside the scope of this course Product Type Selection x RSView Studio Select the type of product you would like to configure amp SE Distributed SE Machine Stand alone Edition RSView Studio Cancel _ Create a new application from the next dialog box New Open Supervisory Edit
27. Display Conveyor RSView_Class_SoftLogix Program Filling Bottle_Preset 0 e Create a second macro called Shutdown to stop the data log models and beep when it is done E Shutdown Rootbeer Standalone Macros Oj x Macro File created 02 19 2002 Macros are lists of commands with one command per line See Help or the manual for a list of commands and their parameters This will stop all of the data logging for the SE Client DataLogOff Beep at you when it is complete Logic and Control AF Derived Tags Events f My Shutdown Startup FI RSView Supervisory Edition Training Guide 11 12 3 Create Keys e Open the Conveyor graphic display e Create an Object Key Right click on the Filler machine and select Object Keys r Conveyor Rootbeer Production Mixing Display Set Number of BottlesTo Fill ae a Edit Gonnmections VBA Code Activex EVENES Methods Arrange Animation A e Configure the Ctrl C key sequence to start the calculator Close the window when you are done Object Keys Select key Label Calculator it Press action Cancel x Key Ic M F cm Cancel I Control Shift el Tab index 2 V Highlight when object has focus l Current tag Tags Add Modify Repeat action Remove Remove All rl Help el a
28. Property Type Description Occurs when a configuration option changes al T Log event to activity log file Cancel Clear Help RSView Supervisory Edition Training Guide 9 18 TrendX methods are shown in the Object Methods dialog box x Use this dialog box to view the methods and properties for the selected object Select a method or property and click for more details on the selected item Method Call Boolean GetValueB arPosition D ate DateTime Long TimeMS Method Call Boolean LoadHistoricalD ata Long TransactionID Variant SampleArray Yariant MoreD at Method Call SCODE _NewHistoricalD ataf ariant Data4rray Method Call YOID _CommErorOccured ariant ErrorArray Method Call VOID _NewDataAcquirerD ataf ariant DataArray Method Call YOID _PrintControl Long pDC Method Call YOID _SetSize Long Chart Width Long ChartHeight Method Call YOID AboutBox Method Call VOID ClearChart Method Call YOID CreateSnapshot String Snapshot Method Call VOID DeleteSnapshot String SnapshotN ame Method Call YOID DeleteT emplate String TemplateName Method Call YOID DisplayPropertyPages Method Call VOID LoadT emplate String Template Method Call YOID NewData D ate DateTime Long Timelnterval Variant Datadrray x Description Clear the data from the chart EE o _ Method details are also in the Help system ioixi e gt f Hide Back Forward Print Options
29. The PLC Database Browser allows you to import data from the following files e rsp for RSLogix 5 programs rss for RSLogix 500 programs ctd for RSLogix 5 500 saved as an external database dsc for legacy PLC databases created using WinLogic 5 or A 5 a 21x Look in E Tempdoes o cea a ControlLogix program ca SoftLogix program FILL CAP RSP File name FI LL CAP RSP Files of type RSLogix 5 Internal Database rsp Cancel RSLoaix 5 Internal Database rsp RSLogix 500 Internal Database rss RSLogis 5 500 External Database ctd Legacy PLC Database d Once the PLC Database file is chosen a list of Addresses and Symbols will populate the window This list may be sorted by address or symbol name and filtered Wildcards are not used and you cannot filter beyond a slash Example filter of B3 1 will not show B3 10 B3 11 and so on RSView Supervisory Edition Training Guide 4 1 Import PLC Tags x Import Tags into Folder SLC_Import OK RSLinx Topic Cancel OPC_Topic Help r PLC Symbols and Addresses gos PLC Database C Documents and Settings T MMAR Browse Eag Search to Filter Search initiate query of START_STOP PALE RUNNING database SHUT DOWN BOTTLE_PRESET BOTTLE_DONE x Addresses and Symbols C Symbols I Use Symbol Name as Tag Address Select the address and symbol sets you wish to im
30. 0 5 seconds Tags in Model Tab data Rootbeer Production Mixing Data Log Models _ Setup Paths File Management Log Triggers Enter tag names separated by a space if more than one in the Tag s to Add box then choose the Add button to add them to the list of tags in the model E RSVSE_Class Program Mixing H20_Done 2 ASVSE_Class Program Mixing H20_ Total Alarms analog Alarms digitall Mixing Mixer_rpm_actual Mixing Mixer_rpm_setpoint Mixing Mixer_Tank_Level Tanks T ank_1_Level Tanks Tank_2_Level Tanks Tank_3_ Level Taa s to Add Tags in Model Add Remove Remove All 10 Taa s in the Model Tags in Model Cancel Help Tags in Model Cancel Help Select the tags you wish to log by clicking the Tag Browser A model may contain up to 10 000 tags HMI Tags or directly referenced data server tags may be logged RSView Supervisory Edition Training Guide 8 10 Starting and Stopping Data Logging Configure as many data log models as you need to collect specific data There are many ways to start and stop data logging Choose the way that works best for your application The ways to start data logging include e Inthe Startup editor select the Data Logging check box e Specify the DataLogOn command as the startup command in the Display Settings dialog in the Graphic Display editor e Add the DataLogOn command to a startup or login macro e Type the DataL
31. Ack All Silence Cur Identify Filter Sort Alarmsidigital1 Alarmstanalog1 PERERKAEEIEI Toggle Alarmsidigital1 O Toggle Alarms digital _Clear Clear Ail e Generate alarms by changing the values of the digital and analog tags at the bottom of the screen e Acknowledge and Silence alarms What happens to the entries in the Alarm Summary How are the handshaking acknowledgment and horn bits changed e Select the Alarms digital1 tag when it is in alarm Click the Identify button What happens Why e Click the Alarm Log Viewer button to open a historical log of all alarms e Close the Alarm client when you are done troubleshooting alarms This Lab is Finished RSView Supervisory Edition Training Guide 7 1 T Diagnostics Logging Objectives e Define the function and scope of FactoryTalk Diagnostics e Configure FactoryTalk Diagnostics Logging e Use the FactoryTalk Diagnostics Viewer RSView Supervisory Edition Training Guide 7 2 FactoryTalk Diagnostics The idea behind FactoryTalk Diagnostics is to answer the question Why did that happen FactoryTalk Diagnostics collects and provides access to a global store of time and date stamped error and warning messages activity and status messages informational messages and other diagnostic messages that can help answer that fundamental question The purpose of FactoryTalk Diagnostics is to help you diagnose trouble spots while operating and maint
32. At run time use the PullForward PushBack and SetFocus commands to cycle through multiple On Top and Overlay screens You can fix the size and position of the graphic here or leave at Use Current Size Use the Cache After Displaying settings to affect the graphic performance Choose No if you don t want graphic displays loaded into the display cache when they are displayed for the first time This saves memory at the expense of performance To remove displays from the cache use the FlushCache command Choose Yes to load a graphic display into the display cache when it is displayed for the first time This makes subsequent displays of the graphic faster because it does not have to be read from disk Each display in the display cache uses memory Once Windows consumes all physical memory it is forced to swap to disk This results in all system activities slowing down To conserve system resources you should limit the total number of displays in the cache to 40 This includes displays loaded using this option or using the Display Z or ZA command You should also limit the number of screens that are displayed or minimized simultaneously to 40 Always Updating Check this box to keep the cached display up to date For example choose this option to continuously update trend data for the display even when the display is not visible This option also makes subsequent displays even faster Always updating a cached display can cau
33. Grouped objects may be expanded into their sub elements When you click on an object in the Object Explorer it is highlighted in the graphic display Right clicking on an object in the Object Explorer presents you with the same menu as if you had right clicked the object in the graphic Show the Object Explorer by selecting it from the View menu right clicking in a graphic display or clicking the toolbar button eee Eee Example of the Object Explorer Button2 within a group is highlighted E GroupS6 Button 6 Button Buttond Button3 Button Text3 Text36 m ee i Text35 AA H Text34 pe ludge dispo Text C to landfill a J Highlighting on Settings Expand Collapse Help L LLLE EEEE AAAA AAAA AAAA o AAAA AA AAAA AAAA AAAS AAAA AAAA AAAA AAAA EA AAAA AAAA AAAA AAAA AAA AAAA AA R A KKKA AAAA AARAA AAAA AAAA AAA AAAA AAAA AAAA S Waste Water 4 Lift Station N Primary Treatment S y y NI N RSView Supervisory Edition Training Guide 5 20 Use the Object Explorer to troubleshoot existing graphics Enabling Highlighting will highlight objects that conform to your settings You can highlight objects by object type animation type or tagname For example you wish to see every object in a graphic that somehow uses a particular tag Click on Settings in the Object Explorer and select the tag When you return the object explore
34. L Back co Tag BB Foe coh IV Sizetofi RSView_Class_SoftLogix Program Mixing Mixer_rpm_actual hH V Word wr Number of digits Decimal places Fill left with OK Cancel Help RSView Supervisory Edition Training Guide 5 56 K Numeric Display This displays the mixer RPM setpoint from the processor e Expression Browse for the Tag RSView_Class_SoftLogix Program Mixing Mixer_rpm_setpoint e Right click and select Property Panel Change the Font and Fore Color to your liking L Ramp Button This will decrement the mixer RPM e General Tab o Button Settings Ramp Down o Lower Limit 0 o Ramp Value 10 e Label Tab Image Arrow Down e Timing Tab Auto Repeat rate 10 e Connections Tab Value RSView_Class_SoftLogix Program Mixing Mixer_rpm_setpoint M Ramp Button This will increment the mixer RPM e General Tab o Button Settings Ramp Up o Upper Limit 1740 o Ramp Value 10 e Label Tab Image Arrow Up e Timing Tab Auto Repeat rate 10 e Connections Tab Value RSView_Class_SoftLogix Program Mixing Mixer_rpm_setpoint 4 Copy objects from the Graphic Libraries e Open the Libraries icon in the Graphics folder a Graphics z Displays Alarm ne Bottles Buttons Industrial Buttons Windows Clocks CNC Equipment Communication E quif Computer Keyboard RSView Supervisory Edition Training Guide 5 57 e Add to
35. RSView Supervisory Edition Training Guide 5 11 Object Properties Double clicking an object brings up its Properties dialog box Options will differ depending on the object For example double clicking on an ellipse brings up the following Ellipse Properties j x General Line style Line width z H Fore cobor p Back style Solid Back color Pattern style None BB Pattern color Cancel Apply Help The Property Panel Another way to edit the properties of an object is to open the Property Panel Select this from the right click menu the View menu or from the toolbar The Property Panel is an especially useful tool when editing properties of multiple objects By selecting all the objects you are interested in changing then showing the Property Panel you can change a property across all objects Property Panel Panel Ellipse2 Ellipse A Properties Connections cil C All Properties Shared Properties Ellipse2 BackColor OOOOFFOO BackStyle Solid ForeColor Mm 00000000 Height 71 Left 90 LineStyle Solid LineWidth 1 It is also helpful to show the Property Panel while you click on separate objects It is not necessary to double click on each object in this case you simply edit the properties of each object as you click on it Sets the name of the object Name Es String Show Hide Property Panel RSView Supervisory Edition Trainin
36. Replaces Tag4 with the tag s value Screen2 then executes the command Display Screen2 RSView Supervisory Edition Training Guide 5 27 Relative and Absolute Referencing Examine the following example of issuing the Display command The display is referenced with its name and path This is an absolute reference Display Filling Conveyor Had the display resided in the home area the area in which the command is to given the specification of the area in not necessary If no area is given the home area is assumed This is a relative reference Display Conveyor You will reference graphic displays and tags in your application The syntax is Area names are preceded with a forward slash Areas and elements tags or displays are separated with two colons The Tag Browser will automatically use the correct referencing m Select Tag Folders Contents of Mixing system 3 Filing RSLi Select Tag AE Folders Filing HMI E systen E Filling 7 Mixing Filing RSLinx OPC amp DayofYear f Mixing RSL E RSVSE_Class 2 tor RSVSE f Filling HMI minute a Mixing HM J system Month Commi E Mixing Filling E Mixing RSLinx OPC A aeaa RSVSE_Class Ead Tag filter I Ta Mixing
37. To specify an optional parameter in a macro place a percent sign followed by a parameter number after the command that will use the parameter When you run a macro that has optional parameters you must also provide the parameters To do this type them after the macro name To indicate a percent in a macro you need to insert two percent signs because a single percent indicates a parameter Example A macro named OverView consisting of the three commands Display overview Display 1 Set Tanks inlet_valve 2 will do the following when the command OverView Detail 1 is executed on the SE Client 1 display a graphic called overview 2 overlap it with the graphic display Detail parameter 1 3 set the tag called Tanks inlet_valve to 1 parameter 2 Running a Macro Once you save a macro its name is used to run it Simply use the name of the macro anywhere you would use an RSView command the command line a button Display Settings Behavior etc Macros are listed in the Command Wizard Command Wizard Step 1 of 2 7 Choose a command and click Next to fill in its parameters Command Categories Commands Graphics Description C Alarms MixerShutdown User defined macro J Data Log MixerStart User defined macro Logie and Control User defined macro Derived Tags Display Client Events Client Keys J Macros Because of this behavior be careful when naming m
38. WI 53202 5302 USA Tel 1 414 212 5200 Fax 1 414 212 5201 Headquarters for Allen Bradley Products Rockwell Software Products and Global Manufacturing Solutions Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Rockwell Automation SA NV Vorstlaan Boulevard du Souverain 36 BP 3A B 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation 27 F Citicorp Centre 18 Whitfield Road Causeway Bay Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Headquarters for Dodge and Reliance Electric Products Americas Rockwell Automation 6040 Ponders Court Greenville SC 29615 4617 USA Tel 1 864 297 4800 Fax 1 864 281 2433 Europe Rockwell Automation Bruhlstrae 22 D 74834 Elztal Dallau Germany Tel 49 6261 9410 Fax 49 6261 1774 Asia Pacific Rockwell Automation 55 Newton Road 11 01 02 Revenue House Singapore 307987 Tel 65 351 6723 Fax 65 355 1733 Publication RST RSVSETGDE J uly 2003 Supersedes Publication RST RSVSETGDE August 2002 Copyright 2001 Rockwell Automation All rights reserved Printed in USA
39. You may create new HMI Tags and Tag Folders from the right click menu in the Tag Browser The example above is for a distributed application with two HMI Servers each in their own Area RSView Supervisory Edition Training Guide 5 23 RSView Commands RSView commands are a means of controlling how your application acts For instance for an operator to open a graphic display she might press a button on the screen The button is configured to issue the Display command The command wizard is always available to automate the building of a command Button Properties x General Action Up Appearance Down Appearance Action Runcommand Press action Command Wizard Step 1 of 2 Choose a command and click Next to fill in its parameters Command Categories Commands Most Recently Used C All Commands and Macros System Display Graphics Next Window Moves focus to another open grap 5 Graphic Displays Prevwindow Moves focus to another open grap jee PullForward Moves the specified file in front of j 9 PushBack Moves the specified file behind all LJ Cache SetFocus Sets the focus to the specified gral CJ Object Methods CI Cursor Movement hank Display lt display gt B ZE ZU 70 ZZ ZZA Pfile T lt tag gt lt tag gt Hnnn ZW nnn Min Max position Opens and runs the specified graphic display file Help Cancel RSView Supervisor
40. as it is being used by the standalone application Add HMI Server Wizard Select Operation x Select the operation to be performed C Create a new HMI server Copy an HMI server Import a project Attach to an existing HMI server RSView Studio rs e Select the Standalone application you had created earlier Add HMI Server Wizard Select Existing HMI Server Select the name of an existing HMI server Server name RSView Supervisory Edition Training Guide 14 24 e Name the new HMI server MixingHMI and keep it on the same computer B Add HMI Server Wizard New HMI Server Properties x Enter a name and description for the new HMI server Name MixingHMI Description Mixing Section of the application Type or browse for the computer name DNS name or IP address of the computer that will host the new HMI server Computerd2 Computer RSView Studio Cancel x i ootbeer Distributed Ge User Accounts Secured Commands e Click Finish to add it to the application You should see the HMI Project now m oj Displays Libraries w Images Parameters Recipes Local Messages BB Trend Templates 23 Trend Snapshots J Alarms All Alarm Setup Gs Suppressed List 3 Logic and Control H Derived Tags Hi Events f Macros 48 Client Keys 4 Data Log Da
41. gt RSView Supervisory Edition Training Guide 7 8 You can filter and customize the Diagnostics Viewer by selecting Options from the View menu For example to show only Error messages directed to the Engineer audience x Options Customize Message source Message source configuration lccallog H z Log localhost IV Initially show the most recent messages Filter Fields Select records where Severity Error 7 nd udience Engineer F S Wr Eri User Description Verbosity Cancel Apply Help Choose how you wish to see messages displayed and which columns to show by clicking the Customize tab in the Properties window Custom FactoryTalk Diagnostics Viewer configurations may be saved as ftd files Use the AppSt art command to open the Diagnostics Log Viewer from within an SE Client AppStart C Program Files Rockwell Software RSView Enterprise ActivityLogViewer exe RSView Supervisory Edition Training Guide 7 9 The RSView Diagnostics List The Diagnostics List gives feedback while in development in RSView Studio or during runtime with SE Client The Diagnostics List is located above the status bar in RSView Studio You can undock detach the Diagnostics List and move it elsewhere in the RSView Studio window To undock it grab its drag bars in the bottom left hand corner Once it is undocked you can resize it by dragging an edge or corn
42. such as a supervisor is required before the operation can be carried out At run time if a user name or password is incorrect or if other information is required but not provided such as an operator s comment the action will not be allowed and an error message will be displayed These activities are logged to FactoryTalk Diagnostics and can be viewed in the Diagnostics List or Diagnostics Viewer depending on how they are set up The information that will be logged includes user name old value new value operator comments regarding why the change was made and the name of the person who approved the change The Electronic Signature feature along with others such as RSView SE s headless server architecture which allows users to be logged in only at the client enables critical operations to meet the security standards required for FDA 21 CFR Part 11 compliance Note The control is meant to be used in a Windows Domain Workgroup Uses may authenticate to it but the control will not check Local Computer Group membership RSView Supervisory Edition Training Guide 12 11 Creating an Electronic Signature Button The Electronic Signature Button is an ActiveX control installed with RSView Studio Access it by opening a graphic display and then showing the ActiveX Toolbox from the View menu Click on the Electronic Signature button in the toolbox to select it Drawa button on the graphic display P Untitled Rootbeer Standalone Root
43. value change for mem analog from 50 to 33 Performed by WORKGROUP operator operator Approved by WORKGROUP e w gt 4 RSView Supervisory Edition Training Guide 12 22 e Remain logged in as operator Test your access to o the Tank Data graphic o the alarm tags in the Alarm graphic Alarmsidigital1 Toggle Alarms digital1 3 improper security access for tag Alarms digitall e Click the Login button Login as maintenance Test your access to o the Ctrl C key to start the calculator in the Conveyor graphic o the Clear Trend button in the Trend graphic e Click the Login button Login as electrician Test your access to o the Alarms graphic e Click the Logout button What effect did it have Close the client when you are done troubleshooting This Lab is Finished RSView Supervisory Edition Training Guide 13 1 13 vBA Display Code Objectives e Understand how Visual Basic for Applications is used within RSView SE e Open the VBA IDE Integrated Design Environment e Familiarize yourself with the SE Client Object Model e Write VBA code to interact with SE Client Displays Note VBA is a very extensive subject This chapter will serve as an introduction RSView Supervisory Edition Training Guide 13 2 VBA in RSView SE Visual Basic for Applications is a Microsoft Programming language embedded in RSView Studio You have the ability to write code against graphic display objects to c
44. 2 of 2 Syntax Invoke lt parameters gt Area Ea Display Object Property or Method Me be Trend ClearChart Method parameters Add tag as parameter Invoke method in object Set tag to value from object method Set tag to value of object property Set object property to value of tag Command StringC Invoke Me Trend 1 ClearChart Help Cancel lt Back You may also access the TrendX object model properties methods events with Visual Basic for Application VBA within RSView will be covered in a later chapter RSView Supervisory Edition Training Guide 9 20 Lab 10 Trending Objective In this lab you will create a trend graphic to show real time and historical data Software Requirements e RSView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program 1 Create a new graphic e Open a new graphic display Select the Trend object and draw a trend out on the upper part of the graphic e Double click the trend to configure it a Select the Pens tab Click Add Pens from Model Select the Trending Data model and choose the Tank Level tags Trend Properties x General Display Pens x Axis Y Axis Overlays Template Runtime Common Pen Attributes o m E E TA _ n RASView Class_SoftLogix IE RSYiew_Class_SoftLogis Program Tanks Tank_3 Level TrendingData __ t RSView_Class_SoftLogix Program Tanks Tank_2 Level _ TrendingData 3
45. 4ll Users Documents AS View Ent Logging Path Relative to Project Location Absolute Path r Secondary Path IV Enable Switchover to Secondary Path F Backup Datal DLGLOG Logging Path Relative to Project Location Absolute Path Advanced Select where to store the file sets A secondary path may be configured if the primary path is unavailable ODBC Logging Setup File Management Log Triggers Tags in Model Cancel Help ODBC Backup Path MV Enable ODBC Backup Path F Backup Datal DLGLOG Logging Path Relative to Project Location Absolute Path Advanced The ODBC Backup Path is where data will be logged to in the event that your ODBC database fails Any data that accumulates in the backup path can be merged into the ODBC database at any time by issuing the DatalogMergeT oPrimary command A secondary path may be enabled in the case that the database specified in the ODBC Data Source is unavailable RSView Supervisory Edition Training Guide 8 7 File Management Tab File Set Logging File Management Log Triggers Tags in Model r Start New Files Periodic C At Specified Times C OnEvent Never Cancel Hel Daly Change at Midnight e C Weekly Change at Midnight Saturday Monthly Change at Midnight on the Last Day of the Month Hourly m Delete Oldest Files Iv After Magimum Time fio Days C Weeks Month
46. C a CE a O EE m 6 13 2003 11 02 37 AM E E E 6 13 2003 11 02 36 AM k E A 468 system User Record 1 4 II i ri gt of 54 e Run the Trending Data data log model The values will be displayed in a graphical trend later Verify that the files were created in the location specified in the data log model Files are located in the HMI Project directory by default G stopping Data Log model Trending Data DataLogoft Trending Data D The datalog data set 2003 06 13 0000 Historical Trending has been created in C Documents and D Starting Data Log model Trending Data DataLogOn Trending Data xi Clear Clear All ocuments and Settings All Users Documents RS iew Enterprises File Edit View Favorites Tools Help Back gt seach GyFolders 3 WS GE X A Ed Address C Documents and Settings All Users Documents RSView Enterprise SE HMI Projects Rootbee gt Go Name 4 Selye Modified Ha 2003 06 13 0000 Historical Trending Float DAT 3KB DAT File 6 13 2003 11 11 4M a 2003 06 13 0000 Historical Trending String DAT 4KB DAT File 6 13 2003 11 11 4M 2003 06 13 0000 Historical Trending Tagname DA 2KB DAT File 6 13 2003 11 10 4M Trending Datat 2KB DLGFile 6 13 2003 11 10 AM a Trending Data DNS 1 KB DNS File 6 13 2003 11 11 4M This Lab is Finished RSView Supervisory Edition Training Guide 9 1 9 Tre
47. Collection Examples Constants Constants alue property Tag object Example Reading a tag s value Example Writing to a tag Returns or sets the value of the specified tag Read write Variant This is the default property of the Tag object when setting the value of a tag a synchronous write of the value to the tag is performed and if itis successful the LastErrorNumber property is set to 0 Any subsequent read of the Value property will provide the correctly written value It will return vbEmpty ifthe quality of the tag is Bad when reading the value of a tag ifthe parent TagGroup object is active the tag s most recent known value is returned Ifthe parent TagGroup is inactive a synchronous read is performed to get the current value from the underlying source A successful read of this property will set the LastErrorNumber property to 0 zero Syntax Fag Value value where Tag is the name of a Tag object or an expression that evaluates to a Tag object value is a value that will be written to the tag Remarks e Ifthe data server fails to read the value from the tag the error tagErrorReadValue will be raised The LastErrorNumber property will be set to the error number returned by the data server The LastErrorString property will return a text string that describes the error The Help system goes into detail about each Object and its Properties Methods and Events RSView Supervisory Ed
48. Deease action Display TankData Ttank_3 Turn Pump ON Cancel Help e Save and Close the Tank Data graphic display Note This solution lends itself to duplicating entire programmable logic controllers within an application The duplicated processor will have only a different RSLinx Topic name This portion of the tags may be substituted RSView Supervisory Edition Training Guide 5 79 3 Test the graphic display Display commands are ignored when issued from the RSView Studio design environment An RSView SE Client must be configured to see how this graphic display works SE Client is the runtime operator interface A 2 hour test client is included with RSView Studio The steps for creating a client to test the tag placeholders are detailed below e Security A valid user account must exist to run an SE Client Security is covered in detail in chapter 12 For now open the User Accounts editor in the application Application Explorer Rootbeer H Rootbeer Standalone i Er Liser Accounts E Secured apace nE RSLinx OPC H H Rootbeer Standalone e The editor is initially empty Select Add User Group from the Setup menu or click on the button x alc 2 m Security Codes Account IB VMAMBMC IMD Login Macro el yerwrrern Logout Macro x Vi MJ WK WL MMIVN VO WP RSView Supervisory Edition Training Guide 5 80 e Select your local computer in the Windows Domain drop down box u
49. Documents RSView Enterprise SE HMI Projects C Documents and Settings All Users Documents RS iew Enterp Efe E4 Fie Edit View Favorites Tools Help qaBack gt tJ Gsearch GyFolders CH 0 GS X A Ea En Address C Documents and Settings All Users Documents RSView Enterprise SE HMI Projects Mixing gt a a a a a a A comprf DLGLOG DTS EDS Gfx a a B Mer PAR RCP Startup Mixing sed 18 object s 31 5 KB I my Computer ZL If you are developing an application on a computer and wish to deploy it on a different computer you must change the HMI Server location Before you change the computer that will act as the HMI Server you must first move these HMI Project files to the new computer Then specify the new computer in the HMI Server properties see next page RSView Supervisory Edition Training Guide 3 14 HMI Server Properties Certain properties of an HMI Server can be viewed and changed after it s created Right click on the HMI Server and select Properties Configure HMI Redundancy and Startup Components Redundancy not available in a Stand General Redundancy Components alone application HMI Server Properties Name Water Utilities Project Description Change the computer that hosts the HMI Server Computer hosting the server SE3 On demand Redundancy will be disabled Startup Type Load and run startup comp
50. EE E EAA AA aE d 9 Electronic Signature Verification ces ccccccceeeeeeeteedeneeceenedeeeeedeeeedeneeceeteedeneecsanecenes 10 PS SKLOCK ataua tetas a E e a ar E a a a e aiaia 12 Lab 13 Implementing Security 2222 ous ects Gc aatdas Bt ect dca cg Wa ablesna ud ete davinaacieataeh weccee 15 RSView Supervisory Edition Training Guide Iv 13 VBA Display Code o oo ccccscsececsccpecesdeescncce cs nce ceeseanecenecdaeecenccs dees 1 VBAJINIRSVieW SE wail e siden stent a r a a a a a aa a a 2 The SE Client Object Model eaves ok awl hae eS ea ee ae 3 WHE VBA IDE ees se etererce a tated ced sine a hace ta oe dean tal a re a a E aoe a E Aa 5 Lab 14 Creating VBA Display Code y siic dics seaune sath cnauyhe bereceataaadenesauultaanaeateysanneretneeries 8 14 Creating a Distributed Application cccccceceeeeeeeeeeeeeeeeeeeees 1 The Distributed Application ccsccccccceeeceeeeeeeeaaeeaaeeaaeeaaaeaaaeeaaeaaaeaaaeaaaeeaaaaaaanaaanaes 2 RSV ew SE Olei r tes eves vests clan deoasdovtetien reiwebeaw esha e A ea a ea EREA 3 RSView SE Administration Console cccccceecccececeeeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeetenes 8 RSView SE Command Exe cution ceceeeeeceeeeeeee ects ence eeeeeeeeeeeeeeeeeeeeeeneeeeeeeneeeees 10 Deploying A Distributed Application cccccccccccccccceccceecceeceeeeeeeeeeeeeeeeeeeeseeeseeeeeeeneees 13 RS View SE REGAUMOANCY cAecieists ican teins wetenwelanctcetiteataahastesdale
51. For Use Solely By student For Help press F1 Rockwell Software Inc Serial Number Copy Protection Drive None Serial None ee oe RSView Supervisory Edition Training Guide 2 11 RSLinx for RSView provides your Supervisory Edition project with communication drivers to connect to Rockwell Automation devices Available Driver Types RS 232 DF1 devices Ethernet devices QEthernet IP Driver 1784 KT KTX DJ PKT DJ PCMK for DH DH 485 devices 1784 KT CX for ControlNet devices DF1 Polling Master Driver 1784 PCC for ControlNet devices 1784 PCIC S for ControlNet devices 1747 PIC AIC Driver DF1 Slave Driver 5 5 SD SD2 for DH devices Virtual Backplane SoftLogix58xx DeviceNet Drivers 1784 PCD PCIDS 1770 KFD SDNPT drivers PLC 5 DH Emulator driver SLC 500 DH485 Emulator driver SoftLogix5 driver Remote Devices via Lins Gatewa In addition RSLinx for RSView is an OPC Server It serves data to RSView SE an OPC client Note RSLinx for RSView will only act as an OPC Server to RSView Supervisory or Machine Edition If you need an OPC Server to other clients you will need a different activation of RSLinx RSView Supervisory Edition Training Guide 2 12 Lab 1 Working with RSLinx Objective Configure RSLinx for RSView to communicate to a SoftLogix 5860 processor Explore RSLinx tools Software Requirements e RSLinx e SoftLogix 5800 Chassis e RSLogix 5000 Optional e C
52. IV Display scale 0 E Decimal places Each pen on independent scale Scale using pen V Display grid lines 4 Major grid lines E E Grid color 0 Tj Minor grid lines J Scale as percentage Use this tab to set up the run time chart s vertical axis Configure the min and max values of the Y axis e Automatic best fit based on actual data The lowest data reading serves as the minimum value and the highest data reading serves as the maximum As the chart acquires new data the y axis may re scale to fit e Preset use min max setting from Pens tab The lowest and highest minimum and maximum tag values set up on the Pens tab serve as the y axis scale As the chart acquires new data the y axis does not re scale e Custom Specify minimum and maximum values by typing in constants or referring to a tag for the values RSView Supervisory Edition Training Guide 9 10 Snapshots and Trend Overlays You can capture and save a snapshot of graphed data and then layer that saved data over currently trending data This feature allows you to easily overlay and compare historical data with current data or any multiple sets of data Use the TrendX properties Overlays tab to add snapshots to the Trend set up the point at which each snapshot overlays and anchors on the chart determine whether each snapshot is initially shown or hidden on the run time chart and remove snapshots from the Trend To create a snapshot Befo
53. Left Tag Description Display List Selector Use the display list selector to show a list of graphic displays that the operator can choose from The operator can scroll through the list and select a graphic display The operator can scroll through the list and select displays using key buttons or by using the arrow keys and Enter key on a keypad or an external keyboard Separate Key objects 8 Tank Data See page 5 40 Shift Data Login Time and Date This object displays the Windows operating system time and date on the runtime computer Double click to format the display Time and date format 172372002 12 54 42 PM 1 23 2002 a RSView Supervisory Edition Training Guide 5 47 Local Message Display Object A local message display object Objects Advanced menu will show a line of text from a message file as it corresponds to a trigger value The Value control in the Connections tab is the trigger Select a previously defined local message file in the General tab Local Message Display Properties __ x General Connections Appearance Border style Border width IV Border uses back color RaisedIinset E fe I Back color Back style Pattern stule WB Rader anlar sos x Select a component Batch Progress Bottle Text Font Size Arial x fio 3 JV Word wrap Message file Cancel Help OK Cancel Apply Help RSView Supervisory Edit
54. List x Message Routing r Log size Maximum log size 51 2 KE When maximum log size is reached Overwrite events as needed Overwrite events older than days Do not overwrite events clear log manually Clear Log Cancel Apply Help The local FactoryTalk Diagnostics log is grouped with other Windows Event files Open the Windows Event Viewer from the Control Panel Administrative Tools aol x File Action View Help e fim ehs amp e2 Event viewer Local 8 Application S Security 8 System atak Diagnostics 503 event s ge e le i a a B ha Oru 6 12 2003 4 36 35PM_ FactoryTalk Service Operator 1001 Hf FactoryTalk Diagnostics information 6 12 2003 4 36 34 PM FactoryTalk Service Operator 1001 i ji Information 6 12 2003 4 36 34 PM FactoryTalk Service Operator 1001 h Information 6 12 2003 4 36 34 PM FactoryTalk Service Operator 1001 n A Warning 6 12 2003 4 36 34 PM FactoryTalk Service Operator 1001 NK error 6 12 2003 4 36 34 PM FactoryTalk Service Operator 1001 li Information 6 12 2003 3 02 19PM RSView Studio Operator 1001 h IE Information 6 12 2003 3 00 20PM RSView SE Client Operator 1001 n IE Information 6 12 2003 3 00 16PM FactoryTalkDiagnostics Operator 1001 h E9 Information 6 12 2003 3 00 16PM RSYiew SE Client Operator 1001 NK E Information 6 12 2003 2 53 55PM__ RSYiew SE Client Operator 1001 n ey Informat
55. Log File T Log to Printer Alarms are logged and printed from the computer running the HMI server that is performing the alarm Out of Alarm detection Set up alarm logging by running the Alarm Acknowledged Log Setup editor on that computer Fault 7 Suppression r Annunciation I Internal Bell IV Extermal Bell OK Cancel Help All alarms may be assigned a severity level This is a way to organize alarms into groups For each severity configure a logging destination and whether to enable the internal bell the Windows exclamation sound or an external bell a digital tag that will energize a bit in the controller This bit is reset when an operator acknowledges or silences an alarm RSView Supervisory Edition Training Guide 6 6 User Messages When an alarm is generated a message will be sent to the log file and or a printer if configured Configure a default user message for all alarms here This default message may be overridden at the tag level by a system message which cannot be edited or a custom message User Megs In Alarm File and Printer Messages Mid 8t In lm Tag 440n 15v 410u 4101 Mid 8t In lm Tag 540n 515v 410u 4101 m Out of Alarm File and Printer Messages M 1d 58t Dut l Tag 440n 4101 M 1d 58t Dut l Tag 440n 5101 m Acknowledged File and Printer Messages iid 8t Acked Tag 440n N 1d 8t Acked Tag 440n Cancel Help In the User Messages ta
56. Optional ControlLogix running the RSView_Class_ControlLogix program Note Later in the course you will combine your work with others to create a distributed application At that time you will create Areas and HMI Servers RSView Supervisory Edition Training Guide 3 21 1 Install the RSView SE components There are many different components of RSView Supervisory Edition Run the setup exe program Software Installs RSView SE directory cy RS iew Enterprise Supervisory Edition S ioj x RSView Supervisory Edition E Install RSView Supervisory Edition Install RSLinx for RSView W install RSLinx Enterprise W Install Adobe Acrobat View Release Notes E View Installation Guide as Exit aes Talk p PI ane m This program is protected by U S and international copyright laws as desoribed in the about box The first two items RSView for SE and RSLinx for RSView are necessary for our labs RSLinx is already installed on your system check to see if it is running in the system tray RSLinx Enterprise is used for RSView Machine Edition only in release 3 0 Do not install it e Install RSView Supervisory Edition with the default options This will do a complete install of all SE components o RSView Studio SE Server SE Client Administration Console FactoryTalk Directory Samples RSI Utilities OO OOO sO RSView Supervisory Edition Training Guide 3 22 2 RSLinx and SoftLogix e Confirm that the prog
57. RS iew SE Client Auto Logout x To log a user out automatically when the keyboard or mouse is inactive for a period of time enable auto logout and then enter the inactivity period IV Enable auto logout Inactivity period fi 0 minutes You can set up the configuration file for an SE Client so that after a period of mouse or keyboard inactivity the client logs out the current user automatically All graphics will be closed and a login screen will show RSView Supervisory Edition Training Guide 14 7 Finishing the Client Configuration RS iew SE Client Completion Options x The RSView SE Client is now configured To save click an option below and then click Finish To discard click Cancel C Save configuration and open RS iew SE Client now Save configuration and exit Help About Cancel The last step of the configuration file is simply to save the file or save the file and open it to test the client configuration RSView Supervisory Edition Training Guide 14 8 RSView SE Administration Console The RSView Administration Console is a license free editing client for making small changes to an existing application You don t need to have RSView Studio installed on a computer to do this administration With the RSView Administration Console you can e add users to or remove users from the system using the User Accounts editor e change an HMI server s properties e change a data
58. RS iew SE Client Components x Type an Area name and then select components Area Mixing re Components Initial display Min lt sCY Display parameters ae Initial client key file Projectkeys Startup macro Startup Macro x Shutdown macro s hutdown Macro X Help About Cancel For a distributed application type the name of the area the components are stored in or click the browse button to open the Area browser and choose one This option is not available for stand alone applications If the area you select does not contain an HMI server an error message is displayed but you can click OK and continue with the create of the configuration file This allows you to create an SE Client before you have set up the HMI server it will connect to Specify the components to run automatically upon client startup RSView Supervisory Edition Training Guide 14 6 Client Window Properties RS iew SE Client Window Properties k x Specify the properties of the RSView SE Client window rM Show title bar Title bar text M y ASView SE Application I Show system menu and close button E Show Min Max buttons IV Maximize window I Show activity bar P Allow undocking of activity bar IV Disable switch to other applications Help About Cancel The settings in this step determine how the SE Client will look and behave when it is open Client Auto Logout
59. RSView SE Display Client Minimum Platform Requirements e Pentium II or higher 64 MB RAM or more e Windows 2000 Professional SP3 or Windows XP Professional SP1 up to 10 users or Windows 2000 Server SP3 more than 10 users RSView Supervisory Edition Training Guide 2 5 RSView Supervisory Edition System Limits e The tested and recommended maximum number of RSView Studio clients that can set up an RSView SE application simultaneously is 5 e The tested and recommended maximum number of RSView SE servers that can be used in an RSView SE application is 10 e The tested and recommended maximum number of RSView SE servers that can be hosted on a single computer is 5 e The tested and recommended maximum number of RSView SE Clients that can access an RSView SE application simultaneously is 50 Using the system beyond these limits is not formally supported Domain Controller Requirements For ease of network and user administration a domain controller is recommended All computers participating in a single application must be members of the same Windows NT or Windows 2000 domain The RSView SE Server and FactoryTalk Directory do not have to be installed on the same computer as the domain controller Alternatively RSView Supervisory Edition can be used in a Windows workgroup environment In this case e All computers participating in a single application must be members of the same Windows workgroup e Create the same set of user ac
60. Recent R Offline fil RUN Go Online No Fares b F OK na e Select the SoftLogix processor and click Download Click Download a second time in the next dialog box lolx Workstation RSYSEO2 zs Linx Gateways Ethernet eos E AB_YBP 1 1789 417 4 Virtual Chassis Upload 5 Ton f 01 1789 L60 4 Softlogix5860 Controller 1789 L60 A R10 20 Download Update Firmware RSView Supervisory Edition Training Guide 2 17 e The program will be downloaded and in Remote Program Mode Click the Online toolbar and put the program into Run Mode i RSLogix 5000 RS SE_Class 1789 L60 File Edit View Search Logic Communications Tools Wir alsa 2 sel oT Not Running Pa No Forces Go Offline f No Edits Upload a8 Download Run Mode Gear Faults Tasks Go To Faults Controller Properties e Close RSLogix 5000 e Verify the running program in the SoftLogix Chassis and then close it Si SoftLogix Chassis Monitor 5 xi Slot View Options Help Computer COMPUTERO SoftLogix5860 Controller Controller Name RS iew_Class_SoftLogix Mode Remote Run I O Status No I O or Communications Configured Force Status Disabled Persistent Storage OK For Help press F Serial Comms No Port Assigned RSView Supervisory Edition Training Guide 2 18 Optional Configure Communications to a ControlLogix module You will use the SoftL
61. Rockwell Software on the Web gt Product Support About RS iew Studio The complete User s Manual is also opened from the Help menu Select Online Books User s Guide This is a pdf file that requires Adobe Acrobat Reader The reader may be installed from the RSView Supervisory Edition CD Online Access technical support including the Knowledge Base at support rockwellautomation com The RSView Forum is an online user s group Access this website at www software rockwell com forum ROCKWELL D RSViewSE Forum RSLogix join search viewME Category Listing Welcome sarace the latest addition to the RSViewSE forum SBizWara PlantMetics Historian RSSq CP S amp RSTestStand Forum Feedback Topics 3 Last Post Thursday May 22 2003 1 22 PM by rdrastura Activex Topics 6 Last Post Friday May 23 2003 2 08 PM by Helene Alarms Topics 5 Last Post Wednesday April 23 2003 8 09 AM by budtse Architecture Phone You may also call Tech Support for any problems Have your software serial number available and call 440 646 5800 RSView Supervisory Edition Training Guide 2 4 Before You Begin Minimum Hardware and Software Requirements The hardware and software you use with RSView Supervisory Edition depends on the demands your application places on the system The greater the demand the more powerful a system you need The following are minimum requirements For large or complex appl
62. SL i Br AD Search for Command String Help f C Program Files Rockwell Software RSView Enterprise SLDisplayClient chm Help Cancel lt Back Finish RSView Supervisory Edition Training Guide 11 15 4 Build an SE Client to test functionality e Click Launch SE Client from the Tools menu Click New twice Launch RS iew SE Client x Select a configuration file and click OK to launch an RS iew SE Client All Users Documents ASView EnterpriseSE Client Alarms cliff Cancel Browse er x Welcome to the ASYiew SE Client wizard New To create a new ASView SE Client configuration file click New To edit or run a file select one from the list below or type a file name in the File name box or browse to find and select one and then click Edit or Run e Name it Macro Key Test and accept the default location RS iew SE Client Configuration Name x Type the name of a new configuration file Macro Kep Test Type the location to store this configuration Ic Documents and Settings4ll Users Documents ASViev fe e Select the Stand alone option Click Next e Select your application Click Next RS iew SE Client Application Name gt x Type the name of the application you want to connect to R ootbeer Standalone v RSView Supervisory Edition Training Guide 11 16 e Configure the following Key File and Macros RS iew SE Client Components x Select components
63. Tag Database to store these HMI tags Application Explorer Waste Wal x Samples Water Ge User Accounts Secured Commands E cE Waste Water Waste Water Project System EJ Command Line C HMI Tags 3 Graphics E Displays Libraries fa Images Parameters m m RSView Supervisory Edition Training Guide 4 6 When to use HMI Tags You must use HMI tags that is you cannot use data server tags for any of the following things you might need to do in your application Alarms An alarm occurs when something goes wrong It can signal that a device or process has ceased operating within acceptable predefined limits or it can indicate breakdown wear or a process malfunction In RSView HMI tags provide the only method for triggering an alarm when a tag has a certain value Security You can assign a security code only to an HMI tag To prevent users from changing a value in a device create an HMI tag for the device s address and then assign security to the tag Data manipulation You must use HMI tags if the data server you are using does not provide for scaling or offsetting a value or setting minimum or maximum limits on a value Scale and offset The scale and offset modify the raw data that comes from and goes to the programmable controller before it is saved in the computer s memory called the value table The scale and offset also modify the value specified in RSView before it is written to the
64. Tag Section Alarms ack Alarms analog1 Alarms digital1 Alarms handshake Alarms horn Comments Repair1 memi analag mem digital mem Pumpsstring memistring mem TotalTankLevel Scaling Timer gt H Rootbeer Standalone Tags 1D i aT Ready FrPowoOrnaDUoOoO ro me i et ee O S S S S S S S S S S t t t FOO Taam am ayaa After your csv file edits are saved you can import the new file back into the Machine Edition project with the Tag Import and Export Wizard RSView Supervisory Edition Training Guide 4 19 Querying Tags You can search the Tag Database by typing a search string in the Query Box Tag Database mije o x Search For Line 1 Pump alarm Block block for all pump alarm trig Line_1 Pump on_off Digital HMI start stop button Line_1 Pump Pump_Number String Display the correct pump nui Line_1 Line_1 Pump speed Analog Speed output from Drive 1 C conveyor Line_1 Tank level Analog percent full of tank 1 C Pump E Tank Line_2 Pump alarm Block block for all pump alarm trigg P Line 2 Line_2 Pump on_off Digital HMI start stop button a ariel Line_2 Pump Pump_Number String Display the correct pump nur Ga Pump Ea Line_2 Pump speed Analog Speed output from Drive 1 Ga Tank 10 jLine_2 Tank level Analog percent full of tank 1 C outputs E system The results are displayed in the spreadsheet view of the Tag Database Two wildcards may be used for searching e is used to
65. Verb r Expression RS iew_Class_SoftLogix Program Filling Conveyor Tag ha Expression m Expression range Fill Percent 2 shuren aye At minimum po At maxi 0 C Use tag s minan 2500 m Fill direction Use constant Min 2500 Max 3000 C Left Right I Inside Only 9 Up C Down 3 Close Help Select Tag Folders Contents of 4 RSYiew_Class_SoftLogis Onli Rootbeer Standalone H E RSView_Class_ControlLogix amp Program Filling Bottle_Count Program Filling Bottle_Message Program Filling Bottle_Preset Program Filling Conv _Running Program Filling Conv_Shut_Down Program Filling Conyv_Start_Stop Program Filling Conveyor _Timer RSView_Class_SoftLogix Offline 3 Online Program Filling C Program Mixing C Program Tanks ten_sec_timer RSView Supervisory Edition Training Guide 5 64 e With the Animation dialog box still open click on the Horizontal Position tab The bottle should move from the left side of the conveyor to underneath the filling machine when the timer is between 0 and 2000 1 Click the Tags button to browse for the tag 2 Specify the min and max of the timer 0 to 2000 3 Use object smart path to determine the pixel offset With the bottle in the starting position place a check nex
66. Wizard Step 2 of 2 q Syntax DerivedOn lt file gt Area A File Production Totals X I ee ca Production Totals Tanks Command String DerivedOn Production Totals Help Cancel lt Back One derived tag file may be started automatically by specifying it the Startup editor Stop a derived tag file by issuing the Derivedof f command RSView Supervisory Edition Training Guide 10 5 Event Files An event is an action that is triggered by the evaluation of the expression associated with it The action can be any RSView command or macro When the expression changes from false on the previous evaluation to true on the current evaluation the action is triggered An expression can be simply a tag name or it can be an equation made up of tag names mathematical and logical operations special functions and If Then Else logic Use Event files to automate your RSView project For example the Event file may continuously monitor whether any tags have gone into an alarm state and when one has take an action such as displaying an alarm graphic Or it may monitor the system clock and automatically issue a command at a particular time of day An events file consists of a number of events and a maximum update rate for them At runtime you can have multiple events files active at once up to 20 events files each containing up to 1000 events Create an event file from the File New menu or by right clicking the Ev
67. Z RSView Supervisory Edition Training Guide 13 6 Another way to get help on the Object Model is to show the Object Explorer in the IDE Select Object Explorer from the View menu use the F2 keyboard shortcut or click the Object Explorer toolbar button Classes lt globals W ActiveXExtender W AlarmSummary W Application W Arc E Arrow W BackspaceButton W Bargraph e cliActivityCategoryCo eP cliActivitySeverityCon W ControlListSelector W Display W DisplayListSelector W Displays WA Flement Event Press Members of Button e amp BackColor es Caption eS Enabled eS FocusHighlight es Font eS ForeColor 8 GotFocus 8 KeyDown 8 KeyUp 8 LostFocus es PatternColor es PatternStyle 8 Released Repeat SetFocus Member of DisplayClient Button Occurs when the user presses the primary mouse button while the mouse pointer is over the button or presses the Enter key while the button has the input focus Select the relevant Library from the dropdown box Clicking on an object in the left pane will display that object s properties methods and events in the right pane Clicking the Help button the question mark will open the Help file specific to your selection RSView Supervisory Edition Training Guide 13 7 Working with Objects in VBA Code By default when an object is added to a Graphic display it is not exposed as a property of the display and it does not appear in the combo
68. aa W BAN gt oe MBS Private Sub Display AnimationStart Initialize the ComboBox and Buttons embControl Clear embControl dAddItem Enable Task One embControl dddItem Enable Task Two embControl dAddItem Enable Task Three embControl dddItem Enable Task Four btnOne Enabled False btnTwo Enabled False btnThree Enabled False btnFour Enabled False btnOne Caption One btnTwo Caption Two btnThree Caption Three btnFour Caption Four End Sub RSView Supervisory Edition Training Guide 13 13 e Test the ComboBox in the graphic f YBA Rootbeer Standalone Rootbeer Standalone Display E Me x ae One z Three Four Enable Task One Task One EAE Task Two Enable Task Thre A Enable Task Four e Add more code to enable a button only when it has been selected from the ComboBox This code will be tied to the Change event of the ComboBox e Stop the Display Test Right click on the ComboBox and select VBA Code O T pacae Lerna Roi Events Methods e This will automatically take you to the Change event the default of the ComboBox object e Enter code to enable the buttons 4a Microsoft isual Basic BA gfx design ThisDisplay Code File Edit Yiew Insert Format Debug Run Tools Add Ins Window Help Private Sub cmbControl Change btnOne Enabled CBoolfembControl Text Enable Task One btnTwo Enabled CBoolfembContro
69. an HMI inside an Area will have the format RSView_Class_SoftLogix Program Mixing H20_on_off RSView Supervisory Edition Training Guide 14 26 e Name the Data server MixingRSLinx and associate it with the RSLinx Remote OPC Server ee SEE OPC Data Server Properties a File View Tools Window Help General tat wSe p slg g Redundancy Advanced Name H Rootbeer Distributed MisingRS Line Ge User Accounts f Secured Commands ce Mixing sl Description Computer that will run the OPC Server COMPUTERD2 Browse OPC Server name ProglD RSLins Remote OPC Server Browse Cancel Apply e Close RSView Studio on Computer B RSView Supervisory Edition Training Guide 14 27 e Open RSView Studio on Computer A the FactoryTalk Directory location Open the distributed application created by your partner e Verify that your partner s work is in the application e Add your own Area to the root application Name it Filling e Add an HMI Server to the New Area Copy your standalone HMI from the local computer and name it FillingHMI e Add a Data Server to the Filling Area Name it FillingRSLinx and have it reference the RSLinx Remote OPC Server on the local computer Computer A The Application should include an HMI and Data Server on each computer xi mH Rootbeer Distributed Ge User Accounts Secured Commands 5j ck Mixing E MixingASLinx H A MixingHMI
70. chart to scroll and update with new data during run time specify e Continuous scroll The chart scrolls from the right to the left for each new data reading e Half Screen scroll As the trend data is plotted the chart scrolls half a screen ata time Pens scroll from the left to the right starting at the left of the chart When the pens reach the right hand side of the chart the chart scrolls half a screen and the pens begin plotting values again in the center of the chart e Full Screen scroll The chart scrolls a full screen at a time while data is plotted Pens scroll from the left to the right starting at the left most side of the screen When the pens reach the right side of the screen the entire screen scrolls and the pens scroll again beginning at the left side Use this scrolling option with overlays Display scrolling mechanism Determines whether a mechanism to allow manual scrolling is displayed with the chart Use the VCR style buttons to scroll through trend data The buttons allow operators to scroll backward and forward through data and to toggle between pausing and resuming automatic scrolling Buffer for extra data Sets the number of extra data points outside of the display area that are stored for the operator to view by manual scrolling When the buffer is full old data drops off The buffer size is limited to 32 767 data points per pen To set the buffer size specify the number of extra points to retain for eac
71. computer aremote computer FTD Backup Browse lt lt Configure Redundancy Browse and select the computer you wish to use as the FactoryTalk Directory Redundancy will be covered in a later chapter RSView Supervisory Edition Training Guide 3 5 The FactoryTalk Directory holds application files These files have an rnad extension and contain the high level information of an application user security information and the location of the HMI and Data servers The application files are held in this path C Documents and Settings All Users Application Data Rockwell RNAServer SE Distributed application files are in the Global folder SE Standalone and Machine Edition application files are in the Local folder C Documents and Settings All Users Application Data Rockwell RNASE yi ar O x File Edit View Favorites Tools Help a Q sack z re wi gt Search i Folders fe gt St x i A Address lo C Documents and Settings All Users Application Data Rockwell RNAServeriLocal a gt gt Go Folders x JB 31 Floppy a T RnasStore Fie raa Local Disk C Temp File Folder Dell E Baggage_640x480 RnaD SKB RNAD File E Baggage_800x600 RnaD 7 KB RNAD File E BizBikes_ME RnaD 16K6 RNAD File Documents and Settings
72. consists of RSView Studio RSView Machine Edition and RSView Supervisory Edition RSView Supervisory Edition consists of several pieces of software you can use to build powerful automation applications These applications can be distributed among multiple servers and clients Depending on the particular software package s you purchased and installed you might have one or more of these pieces of software RSView Studio is configuration software for developing and testing machine and supervisory level human machine interface HMI applications RSView Studio contains editors for creating a complete human machine interface application and contains software for testing the applications you create Use the editors to create applications that are as simple or as sophisticated as you need RSView SE Client is runtime software for viewing and interacting with supervisory level applications developed using RSView Studio RSView SE Server stores HMI project components for example graphic displays and serves these components to clients The server also contains a database of tags and performs alarm detection and historical data management logging The RSView SE Server has no user interface Once installed it runs as a set of headless Windows services that supply information to clients when they request it FactoryTalk Directory is software that allows the parts of a distributed application to find each other on the network For example
73. control changes from 0 to a non zero value the application unlatches the button If the button is in the latched state and the operator presses the button the application writes out the latched State 1 value again m Button settings Latch reset type Non zero Value K S Non zero Value T Zero to Non zero tra RSView Supervisory Edition Training Guide 5 37 Multi State When the operator first presses the button it changes from State 0 to State 1 and sends the State 1 value to the data source When the operator presses the button a second time it changes from State 1 to State 2 and sends the State 2 value to the data source Thus the state is incremented by one for each button press When the button is in the last configured state and the operator presses it it changes to State 0 and sends the State 0 value to the data source Up to 256 states may be assigned to the button State settings Number of states Next state based on 5 sA Current State v Current State aa Value Control The action of the Multi State push button depends on how the Next state based on field is set e Current state the application switches the button from the current state to the next state and writes out the next state value e Value control the application reads the value of the Value control and if the value matches one of the button s state values changes the button to the next state and writes out the next state value Select th
74. display e Learn the different Objects available for use on graphics including o Drawing Objects o Indicators o Display Navigation o Push buttons o Gauges Graphs Trends o Control List Selector o Keys o Local Message Displays o Recipe o Active X controls o Imported graphics e Group Align and Arrange Objects e Use Key Assignments for interactive objects e Use the Object Explorer and Property Panel e Apply Animation to Objects copy and paste Animation between Objects e Use Tag Placeholders and Parameter Files with graphic displays e Create Local Message Files for use in graphic displays e Use Test Run to evaluate and troubleshoot a graphic display e Use Display Navigation to link graphic displays together RSView Supervisory Edition Training Guide 5 2 The Graphic Display Editor RSView Machine Edition graphics are created and modified by opening the Graphics folder in the Project Explorer Mixing HMI HI System HMI Tags Graphics E Displays E Libraries H E Images Parameters T Recipes EE Local Messages DA Trend Templates i Trend Snapshots H Alarms H Logic and Control H Data Log The Displays editor holds all graphic displays in the project The Libraries editor contains many pre built graphics that can be easily added to your project s graphic displays The Images editor holds bitmap images used in the project s graphic displays The Parameters editor holds Parameter Files for use with gra
75. field specified by index 1 would have the value 44 placed into it when I the RecipeRestore command is used The field specified by index 2 would have the value 56 placed into it temperature setpoint 1 temperature setpoint 2 3 Product 1 setup string display At runtime the operator double clicks the recipe object to show the Recipe dialog box Save Recipe File Restore atent rootbeer rec potent rootbeer recipe Setup 1 h a Recipes may be restored to the input objects or controller values may be saved to recipe files from here Cancel Help ddd RSView Supervisory Edition Training Guide 5 51 Lab 5 Building an Interactive Graphic Display Objective Create a graphic display using interactive objects to read and write data Software Requirements e RSView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program Objective In this lab you will build a screen representing a batching tank You will use objects to manipulate and show data from a PLC program You will use objects from the graphical library 1 Create a Local Message File e This local message file will contain messages that track the progress of a bottle being filled and capped Right click on the Local Messages icon and select New Configure the Trigger values and Messages as shown B Graphics Displays Libraries Ea Images Parameters o Hoi B Trend Template Add Component Into Pro
76. finish until the message has been sent to the programmable controller In cases like that you can set up the macro so that the next command can be executed before the previous command is finished Use the ampersand character amp to do this For example to have the command after a Set command start before the Set command finishes place an amp ampersand character in front of the Set command amp Set tagl Important A related but separate case where the timing of command execution can be an issue is where a command has set something in motion that needs to be complete before the subsequent command can be executed This case occurs most commonly with the Display command where a subsequent command is intended to act on objects in the display Once the display is open the next command will attempt to execute although the objects in the display might not yet be initialized For example if you use the Invoke command to execute a method on an ActiveX object in a display the Invoke command will fail if the object is not yet initialized You can use the Pause command to give the objects in the display time to initialize before the next command is given Nesting Macros Because a macro is used like a command you can also place one macro within another This is called nesting Macros can be nested eight levels deep RSView Supervisory Edition Training Guide 11 4 Using Parameters in Macros Macros can accept optional parameters
77. is d RSView Supervisory Edition Training Guide 11 13 e Create Display Keys Open the Display Keys editor from the Edit menu and configure two keys Add appropriate labels to the keys Use the command wizard command F3 RSView_Class_SoftLogix Program Filling Bottle_Preset 5 F4 RSView_Class_SoftLogix Program Filling Bottle_Preset 8 Select key Label Five Bottles F4 Eight Bottles Press action Cancel Add z Modify Repeat action Release action m Filing Bottle_Preset 5 m Remove Remove All Help Hoa RSView Supervisory Edition Training Guide 11 14 e Create a Client Key file Name it Project Keys and include two keys e Ctrl Z Issue the DisplayClientClose command to shut down the client e Ctrl H Use the Help command to bring up a Help file and search for a topic Project Keys Rootbeer Production Mixing Client Keys Label Press Action Cancel w Add m Modify a S i Project Keys Rootbeer Standalone Client Keys DisplayClientClose Key Label Help Zc Quit z Press Action Help f C Program Files Rockwell Software RSView Enterprise SLDisplayClient chm Repeat Action Remove Remove All Help Release Action I ond Command Wizard Step 2 of 2 Syntax Help search word Ffile Help file C Program Files Rockwell Software ASView Enterprise
78. key on the computer running the FactoryTalk Directory For RSView Studio an RSV STUDIO key is required for each user For read write SE Client licenses the RSVSECLI RW key is required For view only SE Client licenses the RSVSECLI RO key is required To increase the number of licenses available install additional activation keys on the FactoryTalk Directory Keep in mind however that no matter how many licenses you have you cannot exceed the system limits Dedicated licenses Dedicated licenses are installed on the same computer as the software being used These licenses ensure that a particular computer will always have a license to use the software Keep in mind however that no matter how many licenses you have you cannot exceed the system limits The software checks for locally installed dedicated licenses before requesting a floating license from the FactoryTalk Directory RSView Supervisory Edition Training Guide 2 8 Activating RSView after installation You might need to reactivate RSView after moving activation keys back to the Activation disk or after resetting a damaged key To reactivate RSView move the activation key from the Activation disk back to the hard disk By default when you move activation to a hard disk from the Activation disk the software moves only one copy license of an activation key To move activation keys to the hard disk 1 In RSView Studio change the HMI server Startup type to On demand
79. like this 4 Main gfx ThisDisplay Code loj x Display Y AfterAnimationStop v Dim WithEvents oDCAapp As DisplayClient Application Private Sub Display _AnimationStart Set obCiapp Me Application btnNoOp Enabled CurrentUserHasCode be btnNoElec Enabled CurrentUserHasCode f End Sub Private Sub oDCApp Login ByVal UserName As String btnNoOp Enabled CurrentUserHasCode bce btnNoElec Enabled CurrentUserHasCode f End Sub Private Sub Display _AfterAnimationStop i Set oDbCapp Nothing End Sub e Save the graphic display RSView Supervisory Edition Training Guide 13 19 Test the functionality of the code by running the client file from the last lab e Log in as both operator and electrician and see the effects on the buttons igtest RS iew SE Client O x F Main Rootbeer Standalone Rootbeer Standalone Currently Logged In Login Screen ELECTRICIAN Tank Data MixingTank Trend Alarms Secure Setpoint Operator Electrician may NOT press this may NOT press this G User Electrician has been logged in lt 4 Clear Clear All e Close the client window when you are done This Lab is Finished RSView Supervisory Edition Training Guide 13 20 This page intentionally left blank RSView Supervisory Edition Training Guide 14 1 1 4 Creating a Distributed Application Objectives e Understand the layout and architecture of a dist
80. log file to record the operation conditions and events through VBA code Securing the system The RSView SE Client Object Model allows you to obtain security information about who is using the system and to use the security information and events to control access to the system For example you can restrict a user s access to a graphic display on a secured computer by creating code that displays the graphic display on a workstation where the user is logged in with a particular security code RSView Supervisory Edition Training Guide 13 3 The SE Client Object Model The RSView SE Client object model provides a way to manipulate the graphic objects in a display at run time Using the Microsoft VBA IDE Visual Basic for Applications Integrated Design Environment you can write display code that uses the Graphic objects in the SE Client object model to interact with the objects in displays at run time as well as load hide and unload displays You cannot create new graphic objects or edit existing objects with the SE Client object model Any changes you make to a display and its objects at run time are not saved For example if you change the position of an object in a display the next time the display is loaded the object will be in its original position This does not apply to Activex controls which might save property changes after a test run has changed them Objects have three attributes e Properties named characteristics and val
81. mem analog F M i F D 10 D memidigital F M i F o memistring F M K F 121A Scaling Timer F D F L 12 e Edit the file e Add a folder by copying one of the existing folder entries right click on row 5 or 6 and select Copy and inserting the copied row into row 7 right click on row 7 and select Insert Copied Cells Rename the folder Comments in column B F 9 F i F 14 F 12 F F Ee Ls gi Timer F 1 r 4 16 Clear Contents Folders Section Must define folders before tags E mem F F Scalin F Comments 1 F al a RSView Supervisory Edition Training Guide 4 25 Create a new string tag in Excel Copy the row containing the mem string tag row 12 Insert the copied cells into row 14 Rename the tag Comments Repair1 _9 Tag Section ADJA memi analog F ATID mem digital F 2 S mem string F 13 JA Scaling Timer F majs Comments Repairl l 15 e Save the changes to the csv file Answer Yes to overwrite the existing file and to keep the workbook in the csv format Close Microsoft Excel e Import your edited CSV file into your RSView project Open the Tag Import and Export Wizard again Choose Import RSView tag CSV files Click Next Tag Import and Export Wizard x Select the operation you would like to perform Operation Import RSView tag CSY files Select your HMI project Click Next Destination project Project type Supervisory Edition Projec
82. must manually copy the HMI project from the primary to the secondary HMI server computer Edits to the HMI project will require a copy as well RSView Supervisory Edition Training Guide 14 19 Lab 15 Create a Distributed Application Objective In this lab you will create an RSView SE distributed application by incorporating your standalone application with that of a partner Software Requirements e RSView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program You must work in a group for this lab Form groups of two or three if necessary The group will participate in a single SE Application The application will have 2 HMI Servers and 2 Data Servers FTD HMI Server 1 HMI Server 2 Data Server 1 Data Server 2 RSView Supervisory Edition Training Guide 14 20 1 Set the FactoryTalk Directory Location Each computer participating in the application must point to a common FactoryTalk Directory Every computer has the software installed from Lab 2 e Pick one computer in the group to be the FactoryTalk Directory Computer A Open the Specify FactoryTalk Directory Location utility Start Programs Rockwell Software Utilities Verify that the utility is pointed to This Computer localhost e Now run the utility on the other computer s in the group Change the location to use Computer A as the FactoryTalk Directory Hj Select Shared Network FactoryTalk Direc x This utility allows you to select the sha
83. new HMI server C Copy an HMI server Import a project C Attach to an existing HMI server RSView Studio Eire When you create a new HMI project you give it a name and specify the computer that it will reside on RSView Supervisory Edition Training Guide 3 12 The HMI Project Application Explorer x Ge User Accounts E Secured Commands g B Waste Water P A distributed SE application containing 4 Areas each with an HMI Server The HMI project contains HMI tags graphics trends alarms data log models all the operator interface a Graphics elements These will all be covered a Displays in detail in later chapters 7 Libraries hae Images Parameters H Recipes Local Messages A Trend Templates rk Trend Snapshots a Alarms Ql Alarm Setup G Suppressed List Logic and Control HAS Derived Tags Events a Macros Client Keys Data Log Data Log Models A Distribution af H A Water Treatment Project Water Utilities Water Utilities Project c Control Room RSView Supervisory Edition Training Guide 3 13 Creating an HMI Project will create many files and folders on the hard drive of the computer that you specified to be the HMI Server All HMI Projects are collected in the directory C Documents and Settings All Users
84. or remote OPC server A data server provides client computers with data such as e programmable controller values e OPC tags and their value or status information e named variables in a ControlLogix processor Data servers enable the direct referencing of processor data without using a static tag database This is a more efficient way of getting data to a client data does not go through the HMI server at all 2 HMI Tags Use the communication editors within an HMI Project to configure communications with a processor Create HMI tags in the Tag Database Editor to reference data ina PLC It is necessary to create HMI tags to implement alarming and security This method will be covered in chapter 4 Creating and configuring a Data Server Right click on an Area or the root of the application and select New Data Server Multiple data servers may be assigned to an Area Application Explorer F x E H Samples Water Ge User Accounts m Secured Commands gi Waste Water Ea Waste Water Project gi Water Distribution m f Water Distribution Project cl Water Treatment B Water Treatment Project 2 Water Utilities Water Utilities Project C antral Room H Control Ric New Area R R New AML Server gt OPC Data Server New Data Server Remove Properties RSView Supervisory Edition Training Guide 3 17 Configure the data server properties Specif
85. server s properties e change which commands are secured and which users can access the commands using the Secured Commands editor e run RSView commands from the Command Line e change direct driver network setup using the Channels Nodes and Scan Classes editors e change how alarms are logged and annunciated using the Alarm Setup editor e add tags to or remove tags from the Suppressed List for testing alarms e change the path of data log models e change what activities are logged and how frequently using the Activity Log Setup editor on the Tools menu e change the location to which alarms are logged and manage log files using the Alarm Log Setup editor on the Tools menu e import and export HMI tags using the Tag Import and Export Wizard on the Tools menu Open the RSView Administration Console from the Start Programs Rockwell Software RSView Enterprise Tools menu sa Application Manager Bab DeskLock b ME Transfer Utility Ta RS iew SE Administration Console B RSview SE Service Manager El SE Alarm Log Setup Q SE Alarm Log Viewer 2 SE Alarm Log Viewer Help g Tag Import and Export Wizard RSView Supervisory Edition Training Guide 14 9 The Administration Console Application Explorer 4aRS iew Administration Console File View Tools Window Help eb oe Application Explorer Mixing HMI Rootbeer Production Ge User Accounts Secured Commands 1 cEF Filling Filling RSLinx
86. so on This Preface would allow you to add new identical production lines to the application by copying HMI server projects into new areas Each area can contain one or more sub areas and one or more data servers Each area or sub area can contain only one HMI server Right click on the root project and select New Area to create an Area Application Root Area New Distributed App EO gt User Accounts New Data Server Secured Comma New HMI Server Properties Refresh RSView Supervisory Edition Training Guide 3 10 All applications have one system defined area called the application root area The application root area has the same name as the application and contains the User Accounts and Secured Commands lists You can use the application root area like any other area for example to contain an HMI server or one or more data servers The home area is the area in which an application component is located When you refer to an application component but don t specify the area in which the component is located RSView uses the home area to locate the component For example if two graphic displays are located in different areas each has a different home area CTD mi inan E Suim Lj HHI Tep E HHI Tag 9 Gusphes In this example the graphic display called Ingredients is in an area called Mixing The graphic display s home area is Mixing The graphic display called Laminatin
87. system AlarmSummaryItems analog Contains the number of alarm transactions in the HMI server RSView Supervisory Edition Training Guide 6 16 system AlarmSummaryItemsUnacked analog Contains the number of unacknowledged alarms in the HMI server system AlarmSuppressedCount analog Contains the number of tags with alarm suppression turned on in the HMI server Grouping Alarms You may create alarm groupings in different ways Organizing your tag database into folders allows you to group alarms Alarms may be acknowledged by the command acknowledge lt tag gt For example issuing the command Acknowledge Line1 will acknowledge all tags in the Line1 folder Command Wizard Step 1 of 2 s Choose a command and click Next to fill in its parameters Command Categories Commands I Most Recently Used Name Description LJ All Commands and Macros Acknowledge Acknowledges an alarm or a gr C System AcbnouledasAll Ackneuledaas all autstandina Graphics Command Wizard Step 2 of 2 Alarms Syntax Acknowledge tag_name J Data Log C Logic and Control Tagowildead flict E Curent tag Acknowledge tag_name C Most recent most severe alarm Acknowledges an alarm or a group c Help Cancel Command String Acknowledge Line1 Help Cancel lt Back Alarm severities may also be used to group alarms together Severities may be dealt with individually in the Al
88. take place from 5000 to 5500 of the tag value 4 Anchor the height animation about the top of the rectangle w Visibility Rotation m Expression TER S View_Class_SoftLogix Program Filling Conveyor_Timer r Expression range r es change Use tag s min and max property values amp Use constant Min 5000 Max 5500 o Read from 3 ja Bottom 2 Bottom 4 tags Mar a Apply Delete close Help e Animate the height of the second rectangle the one visible when the timer tag is greater than 5750 You can leave the animation window open and just click on the object It should start at full length 100 then contract to 38 o Choose the tag from the Tags button o Specify the percent change from a minimum of 100 to a max of 38 o Specify the height change to take place from 5750 to 6250 of the tag value o Anchor the height animation about the top of the rectangle e Align the two gray rectangles so they are on top of each other Test Display the graphic to see if the animations are functioning Save the graphic display RSView Supervisory Edition Training Guide 5 70 7 Animate the pushbuttons It doesn t make sense to show the Stop button when the bottling line is not moving Place visibility animation on the button to only show it when the tag RSView_Class_SoftLogix Program Filling Conv_Running is true m Expression RS iew_Class_SoftLogix P
89. the Alarm Setup Editor Configure alarming so an external bit signifying a horn stacklight etc will be set e Open the Alarm Setup editor from the Alarms folder in your HMI Project e Click on the Severities tab Select the external bell and browse for Alarms horn Do this for both Severity 1 and Severity 2 Severity 2 m Select Severity r Lagging Destination MV Log to Alarm Log File I Log to Printer Alarms are logged and printed from the computer running the HMI server that is performing the alarm detection Set up alarm logging by running the Alarm Log Setup editor on that computer Suppression m Annunciation Internal Bell JV External Bell Cancel Help e Click on the User Msgs tab Change the In Alarm File message to a message of your choosing User Megs In Alarm File and Printer Messages a ee Se ee My User message on 411d 8t In lm Tag 440n N 1d 58t In lm Tag 540n 515v 510u 4101 e Click OK to exit the window RSView Supervisory Edition Training Guide 6 25 4 Configure the Operator Interface An operator will view and acknowledge alarms from an Alarm Summary object in a graphic display e Import the Alarms graphic display from the Components to import for labs folder into your HMI graphic displays Add Component Into Project GIES Look in lo Components to import for labs c Eg File name f larms gfx Files of type Graphic Displays af
90. the TrendX help documentation for complete definition and examples of the TrendX properties methods and events Open the Property Panel to see the available properties x TrendX1 Trend EA Properties Connections All Properties Shared Properties Custom Name Trend BackgroundColor Ms 00000000 BufferSize 200 ChartFont Arial ChartFontColor Mmm 00000000 ChartMode Automatic Chart adix Decimal ChartStyle Standard ChartT itle Trendx ContainerT ype RSView AboutBox Displays the Activex Control s About dialog box RSView Supervisory Edition Training Guide 9 17 Right click on a trend to see the Events and Methods Properties Gonnections VBA Code Activex Events Object Keys Arrange gt Animation gt TrendX Events allow you to run a command whenever a defined event occurs For example you could run a command to log a message to the Activity Log whenever the Pen Configuration changes ActiveX Control Events i x Use this dialog box to attach A command or macro to an Activex event 4 Tag to an Activex event s parameters Select an Activex Event ChartConfigChanged Attach a command or macro to the event Chart odeChanged Error E HistoricalD ataR equested PenConfigChanged E RefreshRateE xpired StartT imeOrSpanChanged crButtonPressed Attach a Tag to the event s parameters Event Parameter Tag No parameters
91. to control system designers application engineers and administrators for testing and troubleshooting FactoryTalk enabled applications e Developer Typically this option is assigned to messages useful to systems software developers for testing and troubleshooting software components and subsystems e Secure Reserved for messages which need to be protected and retained based on the U S government s 21CFR Part 11 specification for storing electronic records Messages assigned this message type are logged to a logging destination provided by Rockwell Automation s RSMACC software product Severity options e Error Typically this option is assigned to the most serious kind of error message that logs events triggered by significant problems e Warning Typically this option is assigned to messages that are not necessarily significant but that may cause future problems e Information Typically this option is assigned to messages that document the essential purpose of the FactoryTalk enabled application which supplement and add more detail to Audit messages e Audit Typically this option is assigned to high level journal type messages which indicate activities which are essential to the technology or application purpose RSView Supervisory Edition Training Guide 7 7 The FactoryTalk Diagnostics Viewer The FactoryTalk Diagnostics Viewer allows you to view both local messages and messages retrieved and merged from multiple produ
92. 9 Interactive Objects iniiis riaparo anen auk E aKa AA AEAN eksbi enih 31 AUE BUROM ODIECISi EAE ATENTE E cela See ce dae 33 Numeric and String Objects woaieuirtesscehaant inlay otuclendrecnes cay petra aaa au haga leas 41 Indicator Objects ianea a a aaa a AEE E AAN AN AEREAS 42 Ga ge and Graph ODjeCtS iin scanners a a e dii aA 43 Key ODjJECtS sssisisc reenice iee r aea ekai A EEN ie aiek esett 44 Advanced Objects sisser nnrir teecngacencnnvev ciededetwn ced Gan a sadiacdideaeavnadevadlneseeneenamananes 45 Lab 5 Building an Interactive Graphic Display ccccccccceceeeeeeeeeeeeeeeeeeeneeeeeetsaeeees 51 Animating SrapMiCalO DOCS spiren eea a EAK A Aaa A E a aE nara ath ste nS 58 Lab 6 Animating a Graphic Display sxtcnizcrii neti eteciovertheckabrncnsh a iapacgelutestedheuinteepnieabncets 61 Tag Placeholders and Parameter Files c ccccceeeeeeeeeeseeeceeeeeeeteseeseceaneneeeeeees 71 Displaying Graphics with Tag PlaceholdersS eeeeeseeeeeeeeeesesrrrirrrresssrrrrrrrrnesseene 73 Lab 7 Tag Placeholders in Graphic DISPIAYS ccccccceeeeeeeeeeeteeeneeeeeeeeteeeeeeeeaaeees 75 0 Ala MS ee ae eee PRP nS Sr Ea ae a a ae aaa aeaeaei 1 RSView Alarm Concept cccccccccceeeeeee a a e a a a aeai 2 The Alarm Setup Editor aitse tinrap renar paree te ataata ika 3 The Alarm Log Setup TOON cesses Sete Geese oe ccetdeasedien see ei dee ceded Ger Cer aadeae sien onoeee 7 The Alarm Sumitiaty ODOC lietsacttisttataeh
93. A e Type Supervisory Edition Distributed RSView Studio Cancel Amv An unauthorized user attempting to open an application will see this dialog box You do not have security privileges to access this application To login as a different user click Retry To abort the application open click Cancel coel RSView Supervisory Edition Training Guide 12 7 Securing Commands Open the Secured Commands editor to restrict access to commands By default all users have access to all commands The asterisk means no restriction Select commands and associate them with a required security code Leaving the default to no security and then individually securing select commands is called Security by Inclusion i Secured Commands O x Command Ey Security Code x Description 1 UNSPECIFIED_COMMAND 2 DISPLAYCLIENTOPEN A 3 DISPLAYCLIENTCLOSE A APPSTART B An alternative is to apply a security code to the UNSPECIFIED_COMMAND This means that all commands require that code You may individually assign other codes or the to any other commands This is called Security by Exclusion i Secured Commands loj x Command jal Security Code I Description Any command not specified in this table A A RSView Supervisory Edition Training Guide 12 8 Securing HMI Tags Every tag in the HMI Tag Database Editor may be assigned a security code If t
94. E E Filling H A FillingHM F FillingRSLinx 4 Add User Accounts Recreate the RSView User and Group accounts from Lab 12 There is no way to transfer this information from one application to another RSView Supervisory Edition Training Guide 14 28 5 Edit Existing Graphics Open the existing Main graphic in the Filling Area to allow navigation across Areas e Double click the Tank Data button Change its command to display the TankData display from the Mixing area Use the command wizard a E f Repeat action m Tank Data F EJ a g Repeat rate secs 0 25 Secured Setpoint a Release action Display Mixing TankData Ttank_1 Command Wizard Step 2 of 2 T Syntax Display lt display gt 7B ZE U 20 ZZ ZZA Pfile ZT lt tag gt lt tag gt 4Hnnn Zw nnn Min Max position Area Mixing we File TankData v P 2B Display In Background M Window Position P 2 Disable Enter Key 2H Height M 2U Upload Data Entry Fields M Zw Width M 20 Disable Key List Z8 Left P 2Min Display Minimized M A Top Max Display Maximized Z4 Cache Display Always Updating JV 21 Parameter tags aki sd zZ Cache Display P XP Parameter File Command String Display Mixing TankData Ttank_1 Help Cancel lt Back e Save the changes and close the graphic RSView Supervisory Edition Training Guide 14 29 e Open the TankData graphic in t
95. HMI Comments Filling systemi Second Relative reference in the Home Area Mixing coos tee Absolute reference not in the Home Area RSView Supervisory Edition Training Guide 5 28 Tag Substitution Tag Substitution allows you to quickly replace tags used in your graphic displays The Tag Substitution tool allows you to replace e A Tag Name or part of a tag name e An HMI Tag Folder Name e Textin an Expression For example if you have a graphic with a tag called TankLevel used in an object you could replace it with a tag called TankVolume Open the Tag Substitution window by right clicking on and object selecting Tag Substitution from the Edit menu or by using the Ctrl R keyboard shortcut Select the objects you wish to replace tags in Open the Tag Substitution window Select the tag or part of tag you wish to replace in the top field Select what you want to replace it with from the bottom field Use the browse button to open the Tag Browser Tag Substitution can be very helpful if you are duplicating elements on a graphic display and then changing the tags Parts of directly referenced tags may be substituted all at once For example you can select every object on a graphic CTRL A bring up Tag Substitution CTRL R and replace only the OPC topic portion of the direct reference tag address This will convert all tags to the new OPC topic reference at onc
96. Help system e Use the Ctrl Z key to close the client e Look at the Diagnostics List in RSView Studio to see the result of the Shutdown macro x G Graphics is shutting down unloading all displays Clear Clear All Dbeep D Stopping Data Log model ODBC Data 9 Stopping Data Log model Trending Data DataLogoff shutdown MACRO G DisplayClientClose O s RSview_Class_SoftLogix Program Filling Bottle_Preset 8 Help F C Program Files Rockwell Software RSView Enterprise SLDisplayClient chm This Lab is Finished RSView Supervisory Edition Training Guide 11 18 This page intentionally left blank RSView Supervisory Edition Training Guide 12 1 1 2 Security Objectives e Explain what elements of an Application may be secured e Configure User Accounts in RSView e Configure Login Logout macros for Users e Configure Security codes for Users e Apply security to the Application e Apply security to commands e Apply security to HMI tags e Apply security to graphic displays e Use the login and logout commands e Use the Electronic Signature ActiveX control e Implement the DeskLock Utility to secure a workstation RSView Supervisory Edition Training Guide 12 2 Implementing Security Security provides a way to restrict access to certain parts of an application When you assign a security code for example to a command only those users who have access to the code can use the command There are 17 secu
97. LogOff ODBC Data ODBC model ODBC Data has started starting Data Log model ODBC Data DataLogOn ODBC Data RSView Supervisory Edition Training Guide 8 20 e Open the ODBC_DataLog mdb database and confirm that you have logged the numeric and string data amp FloatTable Table DateAndTime ed Taine Val Sau 6 13 2003 11 02 32 AM u RSView_Class_SoftLogix Prograr Tanks Tank_1_Level ou gt 6 13 2003 11 02 32 AM u RSView_Class_SoftLogix Prograrm Tanks Tank_2_Level ou 6 13 2003 11 02 32 AM 6 13 2003 11 02 32 AM 1 2 RSView_Class_SoftLogix Program Tanks Tank_3_Level ou 1 2 RSView_Class_SoftLogix Program Mixing Mixer_rpm_actual ou 6 13 2003 11 02 33 AM 403 RSView_Class_SoftLogix Program Tanks Tank_1_Level 465 BAZ BAZ 6 13 E Record 1 m A 3 2003 11 02 32 AM 6 13 2003 11 02 33 AM 6 13 2003 11 02 33 AM 6 13 2003 11 02 34 AM 6 13 2003 11 02 34 AM 6 13 2003 11 02 35 AM 6 13 2003 11 02 35 AM 6 13 2003 11 02 36 AM 6 13 2003 11 02 37 AM 1 system DateAndTimesString 1 system User 403 system DateAndTimeString Friday June 13 2003 11 02 32 AM 403 system User 414 system DateAndTimeString Friday June 13 2003 11 02 33 AM 414 system User 436 system DateAndTimeString Friday June 13 2003 11 02 33 AM 436 system User 457 system DateAndTimeString Friday June 13 2003 11 02 35 AM 457 system User 468 system DateAndTimeString Friday June 13 2003 11 02 35 AM O TI m 6 3 A
98. LogixJten_sec_timer 4CC Home area Cancel Help Le A RSView Supervisory Edition Training Guide 4 22 3 Importing and Exporting the Tag Database In this section you will export the tag database edit in Excel and then import your updated file back into RSView Studio e Open the Tag Import and Export Wizard from the Tools menu 4aRS iew Studio File view Tools Window Help a ij Diagnostics Setup Diagnostics Viewer Alarm Log Setup Alarm Log Viewer Tag Import and Export Wizard Application Manager 92 Launch SE Client Options e Choose to export to a CSV file and click Next Tag Import and Export Wizard x Select the operation you would like to perform Export RS files View tag database to CS Operation e Select Supervisory Edition project type and browse to your HMI project Click Next Tag Import and Export Wizard x Choose the ASView project that contains the tags you want to export Source project Project type Supervisory Edition ws Project C Documents and Settings 4ll Users Documents RSView Enterprise SE HMI Projects Rootbeer EK A Fin Help RSView Supervisory Edition Training Guide 4 23 e Create only the Tags file Note the path Click Finish to create the CSV file Tag Import and Export Wizard x Specify names for the destina
99. Multiple Running Copies Resize r FR After Displaying I Allow Display to be Resized G Hi When Resized e G V Always Updating Par Position IV Title B Ze C Use Current Position Specify Position in Pixels IV System Menu x o y JV Minimize Button Maximize Button Size to Main Window at Runtime ae I gi M Show Last Acquired Value Background Color Maximum Tag Update Rate 0 5 o seconds OK Cancel Set as Default Help OK RSView Supervisory Edition Training Guide 9 16 The TrendX Object Model The RSView trend object is an ActiveX control called TrendX You can interact with ActiveX controls trough their e properties named characteristics and values of an object such as Value Enabled and Caption e methods functions implemented in an ActiveX object that allow external actions to change the object s appearance behavior or properties A call to a method might be made in response to events from other objects and could trigger other events In RSView you can use the Invoke command as the external event that calls a method e events actions triggered by an ActiveX object in response to an external action on the object such as a mouse click In RSView you can use events to change the value of a tag or run an RSView command or macro When the event occurs the command or macro is run You can also receive parameter values from an event by assigning event parameters to tags Reference
100. ON2 are trademarks of Rockwell Software Inc PLC PLC 2 PLC 3 and PLC 5 are registered trademarks and Data Highway Plus DH DHII DTL Network DTL Pyramid Integrator PanelBuilder PanelView PLC 5 250 PLC 5 20E PLC 5 40E PLC 5 80E SLC SLC 5 01 SLC 5 02 SLC 5 03 SLC 5 04 and SLC 500 are trademarks of the Allen Bradley Company Inc Microsoft MS DOS Windows and Visual Basic are registered trademarks and Windows NT and Microsoft Access are trademarks of the Microsoft Corporation Ethernet is a registered trademark of Digital Equipment Corporation Intel and Xerox Corporation IBM is a registered trademark of International Business Machines Corporation AIX PowerPC Power Series RISC System 6000 are trademarks of International Business Machines Corporation UNIX is a registered trademark in the United States and other countries licensed exclusively through X Open Company Limited All other trademarks are the property of their respective holders and are hereby acknowledged This Rockwell Software product is warranted in accord with the product license The product s performance will be affected by system configuration the application being performed operator control and other related factors The product s implementation may vary among users This manual is as up to date as possible at the time of printing however the accompanying software may have changed since that time Rockwell Software reserves the right to chan
101. OPC 4 Filling HMI CE Mixing Mixing RSLinx OPC 3 Mixing HMI 3 System EJ Command Line J HMI Tags sy Channels Nodes Scan Classes SQ Alarms A Alarm Setup Gy Suppressed List SQ Data Log g Data Log Models ODBC Data i path Data Trending Data El Use the editors and the Tools menu to make changes to your application The RSView SE Administration Console has a 2 hour time limit per session RSView Supervisory Edition Training Guide 14 10 RSView SE Command Execution When an RSView command is issued from an RSView SE Client from a graphic display for example it is validated for security privileges and then processed Some commands are processed on the client while others are ignored or else sent to the HMI server for processing All commands issued by the SE Client that are processed on the HMI server are logged to the server s activity log file or activity bar according to the RSView activity log settings on the server If a command cannot be processed or generates an error an error message appears in the activity bar on the SE Client When you issue a command from an SE Client that is to be processed on the HMI server it will be processed in the context of the client user The security privileges of the user currently logged onto the server do not matter Commands Executed Locally The following commands are executed locally on the HMI Server SE Cl
102. Production Mixing Display Display Settings Display Keys VBA Code Property Panel Object Explorer Paste Paste Special Show Grid Snap On Grid Settings Zoom to Fit Zoom In Zoom Out Cancel Zoom Display Settings x Properties Behavior m Display Type Size Replace Use Current Size 2 Si C Specify Size in Pixels Keep at Back eo Top i Width E 2 Height f394 I Allow Multiple Running Copies r Resize ik sor After Displaying I Allow Display to be Resized oN C Is When Resized T Always Updating Pan Scale X Position Iv Title B meos Use Current Position C Specify Position in Pixels M System Menu x fi 3 Y E V Minimize Button Mavimize Button I Size to Main Window at Runtime Soene zl MV Show Last Acquired Value Background Color Maximum Tag Update Rate 0 5 i seconds Cancel Set as Detaut Help RSView Supervisory Edition Training Guide 5 6 Properties Tab Displays can be one of three different types e Replace Choose Replace to have this display replace any display of any type on the screen at run time if this display overlaps the other by at least one pixel e Overlay Choose Overlay to position this display over any others on the screen e On Top Choose On Top to position the display in front of any other display of overlay or replace types that might be open at run time Tip
103. Push buttons objects that are typically used to start or stop processes or actions Numeric and string objects for entering or viewing numbers or text in a graphic display Indicator objects that allow an operator to make a selection from a number of possible choices all of which are visible at once Gauge and graph objects that show the range of values and relationships between variables Key objects that represent keys on a keyboard and are for use with touch screens Advanced objects such as trends and alarm summaries that allow you to view and analyze the data in your system OLE objects objects such as spreadsheets charts or text produced by other Windows applications The types of OLE objects that are available depend on the software installed on your system ActiveX objects formerly called OLE custom controls or OCX control objects such as gauges sliders and buttons and objects you create yourself using a tool like Visual Basic These objects allow an external action such as a mouse click to initiate an action within RSView The ActiveX objects that are available depend on the software installed on your system RSView Supervisory Edition Training Guide 5 32 Embedded Variables Embedded variables allow you to display values that change dynamically at run time You put placeholders in strings where the embedded variable will be displayed At runtime the placeholder is updated with the real time values of the vari
104. ROCKWELL SOFTWARE Developing RSView Supervisory Edition Applications RSView Supervisory Edition 3 0 RSView Supervisory Edition Training Guide Contacting Rockwell Software Copyright Notice Trademark Notices Warranty Technical Support Telephone 440 646 5800 Technical Support Fax 440 646 5801 World Wide Web www software rockwell com 2002 Rockwell Software Inc All rights reserved Printed in the United States of America Portions copyrighted by Allen Bradley Company Inc and used with permission This manual and any accompanying Rockwell Software products are copyrighted by Rockwell Software Inc Any reproduction and or distribution without prior written consent from Rockwell Software Inc is strictly prohibited Please refer to the license agreement for details WINtelligent Series is a registered trademark The Rockwell Software logo RSAssistant RSBatch RSCompanion RSData RSEmulate 5 RSEmulate 500 RSGuardian RSHarmony RSKeys RSLinx RSLogix 5 RSLogix 500 RSPower RSPowerCFG RSPowerRUN RSRules RSServer32 RSServer RSServer Toolkit RSSql RSToolbox RSTrainer RSTrend RSTune RSView32 RSView RSWire A I Series Advanced Interface A I Series AdvanceDDE ControlGuardian ControlView INTERCHANGE Packed DDE PLC 500 WINtelligent WINtelligent EMULATE 5 WINtelligent EMULATE 500 WINtelligent LINX WINtelligent LOGIC 5 WINtelligent VIEW WINtelligent RECIPE WINtelligent VISION WINtelligent VISI
105. SE Client opens it inherits the security context of the currently logged in Windows user Issuing a Login command from an SE Client will bring up a login dialog box x Type your user name and password User name i i Password Cancel A user may log out of the SE Client with the Logout command The login dialog is displayed until another user logs in This leaves the SE Client in a secured state The SE Client may be configured to automatically log out after a period of time RS iew SE Client Auto Logout x To log a user out automatically when the keyboard or mouse is inactive for a period of time enable auto logout and then enter the inactivity period J Enable auto logout Inactivity period fi 0 minutes RSView Supervisory Edition Training Guide 12 10 Electronic Signature Verification The RSView electronic signature verification and authorization feature provides a way to secure operations by verifying the identity of the operator before an action can occur This is done through the Signature Button which is an ActiveX control that only allows certain operations to be performed if the operator provides the appropriate user name and password The operations that can be secured in this way are e setting a tag value e issuing an RSView command e downloading all input field values on a display For added security the Signature Button can also be set up so that authorization by another person
106. SView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program e Microsoft Access 1 Create an ODBC Data Source e You will log data to an Access database You must create a Windows ODBC Data Source before this can happen e Open the Windows Control Panel Start Settings e Double click Administrative Tools Double click Data Sources ODBC J Administrative Tools 15 x File Edit View Favorites Tools Help Back search yrolders lt 4 AS OF m Address E Administrative Tools sss AO a W a g Component Computer ag Event Viewer Internet Services Management ODBC Servic aw PD kh Local Security Performance Personal Web Server Services Policy Manager Extensions a Telnet Server Administration Adds removes and configures Op 1 52 KB E My Computer RSView Supervisory Edition Training Guide 8 12 e Click on the System DSN tab Click Add to create a new System Data Source Name ODBC Data Source Administrator 2 x UserDSN System DSN File DSN Drivers Tracing Connection Pooling About System Data Sources taa oE Driver do Microsoft Access mdb ECDCMusic Microsoft Access Driver mdb Configure e Select the Microsoft Access Driver and click Finish Create New Data Source x Select a driver for which you want to set up a data source lt b Driver do Microsoft E xcelf xls Driver do Microsoft Paradox d
107. Search For mem analog mem digital Digital mem string String RSView Supervisory Edition Training Guide 4 21 2 HMI Device Tag e The timer accumulator in the SoftLogix program is in milliseconds Create a new HMI tag to scale it First create a new folder called Scaling e Create a device tag named Timer within the folder e Use the Tag Browser to specify the timer accumulator in the SoftLogix e The timer accumulator is in milliseconds Scale it so the end result will be in seconds Mi Tags Rootbeer Standalone O x Tag Name Type Description Minimum r Data Source Scaling T imer Analog z L jo Maximum f100 Offset 0 Close Accept Discard Units 1 Data Type Long Integer 7 Hew Scale 1 001 Type Device Memory Address RSView_Class_SoftLogix ten_sec_timer ACC Cia amp Tag Browser Search For m Select Tag Folders Alt Rootbeer Standalone mem C RSView_Class_ControlL E RSView_Class_SoftLogi C Offline 3 online C Program Filling C Program Mixing C Program Tanks SJ ten_sec_timer ten_sec_timer DN ten_sec_timer EN ten_sec_timer PRE ten_sec_timer TT F Tag filter Selected Tag IR S View_Class_Soft
108. The values themselves are stored in a value table on a given HMI server When the HMI server is turned off the value table is cleared To have a permanent record of tag values log them to the data log file on disk To log tag values to disk you create a data log model and specify the tags that are to be logged This is done in the Data Log Models editor Data log information can be stored in two different formats e file sets with the extension DAT e ODBC data source If you use the File Set storage format tag values are stored in proprietary format files You cannot view the contents of these file sets except with RSView trends If you log to an ODBC database source you can view the data in trends and use third party ODBC compliant tools to analyze and create reports from the data Data Log Models A data log model contains the details of how you want to log data Storage format Path of log file backup path File management Auto deletion of files or database records Logging Triggers when to log tags Tags to log Data log models are kept in the Data Log Model icon in the HMI project Eg Mixing Mixing RSLinx OPC 3 Mixing HMI System H HMI Tags H Alarms H Logic and Control Data Log Data Log Models RSView Supervisory Edition Training Guide 8 3 Create a new data log model by right clicking on the data log model icon or by the File New menu e An HMI Server can have up to 20 data log models ru
109. To edit or run a file select one from the list below or type a file name in the File name box or browse to find and select one and then click Edit or Run To remove a file name from the list select it and then click Remove e Type Tank Data as the name of the client file Keep the default location Click Next RS iew SE Client Configuration Name x Type the name of a new configuration file Tank Data RSView Supervisory Edition Training Guide 5 82 e Select the Stand alone option Click Next RS iew SE Client Application Type x Select the type of SE application the client will connect to Distributed Stand alone e Select your application Click Next RS iew SE Client Application Name J x Type the name of the application you want to connect to R ootbeer Standalone v I Open RSView SE Client as view only J Enable on screen keyboard Allow display code debugging Help About Cancel RSView Supervisory Edition Training Guide 5 83 e Select the Tank Data graphic Type Ttank1 no spaces in the Display parameters field This modifies the Display command Click Next RS iew SE Client Components x Select components Components Initial display v Display parameters MiS e Accept the defaults for the next two dialog boxes Click Finish to save the settings and open the client file RS iew SE Client Completion Options x The RS View SE Client is now confi
110. a graphic display and assign the system tag system Time to the object At runtime the object would display the information stored in the system tag which is the current system time RSView Supervisory Edition Training Guide 4 10 Organizing the Tag Database Open the Tag Database editor by double clicking its icon in the System folder of the Project Explorer Tags may be organized into a folder hierarchy Create new folders from the Edit menu or by using the button on the Tag Database toolbar l ba 4 l 8 xO 0 A tag s name incorporates the folder s it resides in Once a name and type are given they cannot be changed Tag names may be up to 255 characters long The name can include letters numbers the underscore _ hyphen or minus sign and backslash for tags in folders 210 xi Tag Name Line_1 Tank level Type Analog v Description percent full of tank 1 Minimum jo Scale fi Maximum fioo Offset jo Data Type Defaut Data Source Type Device Memory Node Name PLC gy Scan Class a Address Nt 0 0 1 jLine 1 Tankilevel Analog percent full of tank 1 RSView Supervisory Edition Training Guide 4 11 Entire folders and their contents may be duplicated This greatly speeds up the development of a project where several similar tag groups are involved l ba a e Duplicate Tag Folder im am Line_1 i E conveyor C Pump C T
111. a scale value The value from the data source is multiplied by the scale value before it is written to the database It is divided by the scale value before it is written to the data source A scale value of 0 will result in an error Numeric values must use the decimal point as the decimal symbol regardless of which decimal symbol is specified in the Regional Settings of the Windows Control Panel RSView Supervisory Edition Training Guide 4 13 Offset Specify an offset It is added to the scaled value from the data source before the value is written to the database It is subtracted from the value before it is written to the data source Scale and Offset values work together to modify the raw data that comes from and goes to the data source Scale is a multiplication factor and Offset is a fixed value Values from the data source are first scaled then the offset is added The formula for this calculation is RSView value data source value scale offset When a number is written to the data source the process is reversed That is the offset is subtracted and the scale number is used for division The formula for this calculation is data source value RSView value offset scale This ensures that the correct unmodified value is sent to the data source The default values are Scale 1 and Offset 0 With these values a value from the data source will be saved in the database unmodified and values from the dat
112. abase will be written to the data source unmodified Numeric values must use the decimal point as the decimal symbol regardless of which decimal symbol is specified in the Regional Settings of the Windows Control Panel Units Type the units the tag value is measured in for example PSI or rpm This text label is for display only It can be up to 20 characters long Data Type For analog tags with Device as the data source select the data type that matches the format of the data stored in the programmable controller or Windows application Choose Default to automatically match the data format specified by the address for the device Do not use Default for OPC nodes because the default might not be as expected For tags with Memory as the data source select the data type that matches the format of the data you will store in the tag Choosing Default is the same as choosing Floating Point format RSView Supervisory Edition Training Guide 4 14 These are the data types and their allowable minimum and maximum values e Unsigned Integer unsigned 16 bit integer range 0 to 65535 e Integer signed 16 bit integer range 32768 to 32767 e Long Integer signed 32 bit integer range 2 147 483 648 to 2 147 483 647 e Floating Point single precision 32 bit floating point o range 3 40282e 38 to 1 17549e 38 0 1 17549e 38 to 3 40282e 38 e Byte unsigned 8 bit integer range 0 to 255 e 3 Digit BCD 3 digit binary coded decim
113. ables You can embed tag values Numeric or String date values and time values You can use embedded variables in the text captions on graphic objects and in message text and you can use multiple embedded variables in the same caption or message Example Embed a numeric tag into a local message E Bottle Rootbeer Standalone Local Messages Bottle is ready Battle is filled Bottle is capped N 2 RSView _Class_SoftLogix Program Filling Bottle_Count NOFILL DP 0 capped in this shift x Bottle is capped N 2 RSView_Class_SoftLogix Program Filling Bottle Count NOFILL DP 0 capped in this shift Insert Variable OK Cance in String Time Date Example Embed a numeric tag into a text object x General Common Text Bottles filled so far PN 2 CLx_Data FProgram Filling Bottle_Count NOFILL DP Insert Variable Font Size Numeric Arial ka fi E String Time Date RSView Supervisory Edition Training Guide 5 33 Push Button Objects There are seven different push buttons available Drawing d Button Numeric and String Momentary Indicator gt Maintained Gauge and Graph b Latched Key gt Multistate Advanced gt Interlocked OLE Object Ramp Button The Button object provides a method of running an RSView command Activities such as navigating to other graphic screens setting the value of tags co
114. ach local computer Control Panel Administrative Tools Computer Management Local Users and Groups User Accounts are application wide not limited to any individual HMI Project in the application Application Explorer xj Ga Rootbeer Production Gz User Accounts Secured Commands H E Filling EF Mixing You may create a default account so every new user added has the same security codes Select Default User Codes from the Setup menu x m Security Codes VMAMBMC WD he ye dk ae y A s GaS aaa a _ Gna _ Cancel Help RSView Supervisory Edition Training Guide 12 4 Select the Windows domain that contains the Users and Groups you wish to include The local computer name as well as the Domain that the computer is a member of will show in the drop down box Add a user account by using the Add User Group item on the Setup menu in the User Accounts editor or by selecting the Add User Group button Select users or groups from the left pane and double click or use the arrow button to create RSView User Accounts Add User Group x Windows Domain RSVSE CLASS Windows Users or Groups RSView User Accounts IUSR_RSYSE SERVER G student IVAM_RSVSE SERVER 5 maintenance G student G engineer R rsview power users 3 electrician maintenance G engineer G RSVSE SERVERS i G RSVSE02 E MOTOT A Remove Ca
115. acing servers and clients about the network The application is configured with RSView Studio These software components all reside on the same network RSView SE Client RSView SE Server RSView Studio Mobile Computing Control Logix 3rd Party OPC Servers All users in the distributed application must log into the same Windows Domain or Workgroup RSView Supervisory Edition Training Guide 3 3 RSView SE The Standalone Application RSView SE Station is a runtime activation that bundles a server and a client together Optional RSLinx or other OPC Data Server RSView SE Station RSView Studio RSLinx or other OPC Data Server RSView Studio is required to edit the application The editing functionality of SE Station is the same as with a distributed SE application RSView SE Station supports one HMI loaded on the local computer Multiple data sources local or remote may serve data to the standalone application Redundancy is not supported with the SE station license You may decide to expand the standalone HMI in the future for distributed control or redundancy support An RSView SE distributed application may import an SE Station standalone application The HMI project does not have to be changed as long as existing data references remain valid RSView Supervisory Edition Training Guide 3 4 Creating an App
116. ack to the primary server when it becomes available Browse for Computer 2 x Select the machine that will run the OPC server Se My Network Places Entire Network ft Microsoft Windows Network gy Rsvse class ml Rsyse0l IE Rsysel2 ml Rsyse server amp Directory OK Cancel RSView Supervisory Edition Training Guide 14 17 HMI Server Redundancy You may specify a failover computer in the event that the primary HMI Server fails This will ensure that an SE Client is able to access graphics and that Data Logging Alarming Eventing etc continues A valid SE Server license is required on the Secondary HMI Server computer Redundancy is configured in the HMI Server Properties HMI servers run as Windows Services You must specify the HMI server to load and run when the operating system initializes HMI Server Properties a x General Redundancy Components Name Control oomHhl Description Computer hosting the server COMPUTEROT A Startup Type C On demand Redundancy will be disabled Load and run startup components when operating system initializes N Specify the failover computer in the Redundancy Tab HMI Server Properties 4 x General Redundancy Components V Provide redundancy using a secondary server m Secondary server Computer hosting the server Computer02
117. acros For example if you have a macro named Display and try to run it the Display command will run instead Be sure that macro names do not conflict with RSView commands RSView Supervisory Edition Training Guide 11 5 Using Symbols A symbol is an abbreviation for a command or a command with parameters It can be used anywhere a command is used This command is only executed on a client RSView Studio SE Client or Administration Console Symbol definitions are valid only during the current client session they must be re defined each time the client is restarted Symbols are typically defined in a startup or login macro Create a symbol with the Define command For example Command Line Rootbeer Production i Define UP Ramp Mixing Mixer_rpm_setpoint 10 Define UP Ramp Mixing Mixer_rpm_setpoint 10 Now issuing the command UP will execute the above Ramp command Issuing the Undefine command will delete a symbol Undefine UP Undefine this command will remove all symbol definitions Symbols like macros may be named identical to a command Avoid doing this If you do this it will redefine the command name For example if you issue the command Define Display Ramp Mixing Mixer_rpm_setpoint 10 Now issuing the command Display will execute the above Ramp command RSView Supervisory Edition Training Guide 11 6 Using Keys Keys allow you to define an RSView command to a keyboard key sequence For example you could c
118. aining an automation solution made up of multiple distributed products and services FactoryTalk Diagnostics allows you to collect store and examine messages from multiple Factory Talk enabled products including the RSView Supervisory Edition components in a single central location on each computer where the service is installed In addition to logging and viewing local messages you can also view messages retrieved and merged from multiple products running on multiple computers logging to multiple destinations FactoryTalk Diagnostics replaces the Activity Logging from previous versions of RSView FactoryTalk Diagnostics Logging Configure FactoryTalk Diagnostics Logging with the Diagnostics Setup editor in the Tools menu of RSView Studio This is a separate application that may be opened from the Start Programs Rockwell Software Utilities menu AaRS iew Studio File view Tools Window Help Diagnostics Viewer Alarm Log Setup Alarm Log Viewer Tag Import and Export Wizard Application Manager pim Launch SE Client Options RSView Supervisory Edition Training Guide 7 3 The Local Log Diagnostics Messages are sent to a local log on every computer that has a FactoryTalk enabled product Ps Diagnostics Setup 215 x Local Log Destination Setup Diagnostics Setup Destination Setup Logging path ODBC Database C AWINDOWSSystem32 contig FT Diag EYT w ASView Diagnostics
119. al range 0 to 999 This data type is only supported with the Direct driver node definition reserved for Allen Bradley devices Using this data type with an OPC server including RSLinx will produce unexpected results e 4 Digit BCD 4 digit binary coded decimal range 0 to 9999 This data type is only supported with the Direct driver node definition reserved for Allen Bradley devices Using this data type with an OPC server including RSLinx will produce unexpected results String Tag Configuration r Tag Name JLine_1 Pump Pump_Number Type String al Description Display the corect pump number on HMI screen Length e2 Length Type a number between 1 and 82 to specify the length of the string tag in bytes The length must be a multiple of the size of the programmable controller data element you re addressing For example if you reference two byte data elements in an integer section the string tag length must be a multiple of two If you reference one byte data elements in an ASCII section the string tag length must be a multiple of one RSView Supervisory Edition Training Guide 4 15 The PLC Database Browser Another way to get tags into the Tag Database is to import Symbol and Address data from an existing ladder logic program This option applies to PLC SLC MicroLogix programs only With the Tag Database open choose Other Databases from the Edit menu or the DB Browser button on the toolbar Shl A alela
120. all on the computer determine which of the components will run To activate your RSView Supervisory Edition software you can make use of floating licenses or dedicated licenses Floating licenses Floating licenses are installed on the computer running the FactoryTalk Directory software These licenses float to whichever computer needs them This means that the license is granted for the exclusive use of any computer while that computer is using the software When the software is no longer being used the license becomes available for other computers For RSView SE Clients there are two types of floating licenses read write licenses and view only licenses Read write licenses allow full read write privileges View only licenses allow read only privileges If an RSView SE Client is set up as read write and only view only licenses are available the client will be view only and the activation key will override the read write configuration of the client If an RSView SE Client is set up as view only and only read write licenses are available the client will use a read write license but the view only configuration of the client will override the read write activation key and will allow view only access to the application Do not rely on the activation key to determine whether the client is view only Always configure the client explicitly as view only Each floating license requires one installation of the appropriate activation
121. an Scale I Title Bar Postion Use Current Position ponet Specify Position in Pixels JV System Menu a 50 Y 50 V Minimize Button Maximize Button Size to Main Window at Runtime Security Code M Show Last Acquired Value Background Color Maximum Tag Update Rate 0 5 X seconds Cancel Set as Defaut Help 3 Save the graphic display as My Artwork 4 Show the Grid and enable the Snap On feature Set these options from the Right Click menu or the View menu T Snap On a T Grid Settings RSView Supervisory Edition Training Guide 5 16 5 Draw geometry on the graphic using the Drawing tools in the Objects menu Panel Object 6 Create a Panel object to contain some of the geometry Double click it to edit its properties as follows Panel Properties xi I Border uses back color C Patter color Patter style C Back color oe IB Border color I Blink Solid Cancel Apply Help RSView Supervisory Edition Training Guide 5 17 7 Practice grouping and arranging multiple objects using the Arrange menu 8 Convert some of the drawing objects to Wallpaper 9 Add an Image to your graphic e Right click the Images icon in the Graphics folder and select Add Component Into Project Browse to the Supervisory Edition Class Files Images directory and select all the graphic files Click Open to import them e Select Image from the Objects Draw
122. analog1 HMI Tags not the graphic 5 Apply security to commands e Open the Secured Commands editor and deny the Maintenance user access to the AppStart and Invoke commands 6 Create and Run an SE Client to Test Security e Create anew SE client Use the Main graphic in your area as the initial graphic e Don trun any macros key files or parameter files e Force the client session to log out after 2 minutes of inactivity e Run the client RSView Supervisory Edition Training Guide 12 20 e Note the string display shows the currently logged on user The Windows user is automatically the initial RSView user e The logged on user is Administrator even though you removed that account It is valid because Administrator is part of the RSView Power Users group e You should be able to log in as Engineer for the same reason even though that account is not in the RSView Users list Login Screen Currently Logged In Administrator Login MixingTank Trend Alarms Signature Button Al Tank Data Mi j Logout Login Type your user name and password User name operator eN E Password e 4 Cancel RSView Supervisory Edition Training Guide 12 21 e Login as Operator e Test the electronic signature button Validate as Operator and Approve it with the Engineer RS iew Electronic Signature a x Operation Set tag value Current Yalue New alue fo 33 Performed by
123. ancel Help Advanced e The new System DSN has been configured Click OK ODBC Data Source Administrator 2 xi UserDSN System DSN Fie DSN Drivers Tracing Connection Pooling About System Data Sources ssDat Microsoft Access Driver mdb Archean Alama Driver do Microsoft Access mdb Remove ECDCMusic Microsoft Access Driver mdb Configure An ODBC System data source stores information about how to connect to the indicated data provider A System data source is visible to all users on this machine including NT services OK N Cancel Apply Help RSView Supervisory Edition Training Guide 8 15 2 Return to RSView Studio e Create a new Data Log Model the File New Data Log menu option You may also right click on the Data Log Models icon in the Application Explorer e Setup Tab 1 Add a description 2 Select ODBC database 3 Enter the name of the Data Source you created in the last step 4 Delete the entry for the Tag Table e By not creating a Tag Table the tag names rather than index numbers will appear with the data in the other tables Click Create Tables Click OK to confirm that the tables have been created ModelName Untitled Description ODBC Data Logaing Log File Cancel Identifier String 2 Help Storage Format File Set ODBC database it AccessData 7 Login Required Tag Table 4 h User Id Float T able Flo
124. ank Line_2 conveyor Pump P gt Tank E gt system Creating New HMI Tags Entering Tags Manually Create new tags by filling out the form view of the tag database Fields are available based on the tag type chosen Once you start editing a tag the Accept and Discard buttons are available on the right side of the form One of these buttons must be selected before moving on to another tag Accepting a tag edit enters the information into the spreadsheet view of the tag database Digital Tag Configuration Tag Name JLine_1 Pump on_off Type Digital F Description Hmi start stop button RSView Supervisory Edition Training Guide 4 12 Analog Tag Configuration Tag Name Line_1 Pump speed Type Analog Security Description Speed outpur from pump 1 Minimum fo Scale f Units ipm Maximum 1740 Offset fo Data Type Defaut Minimum Maximum These boxes establish the minimum and maximum possible values for the tag They ensure that values outside a specified range will not be written to the data source However values outside the range can still be read from the data source The minimum and maximum values for a floating point analog tag cannot exceed the range 3 40282e 38 Numeric values must use the decimal point as the decimal symbol regardless of which decimal symbol is specified in the Regional Settings of the Windows Control Panel Scale Specify
125. any changes to your graphic animation numeric displays etc Click the Test Display button in the Graphics toolbox or select it from the View menu to activate the graphic display w s o i BR wasee RSView Supervisory Edition Training Guide 5 61 Lab 6 Animating a Graphic Display Objective Animate a graphic display using interactive objects to read and write data Software Requirements e RSView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program 1 Import Components e You will animate a pre built graphic display Right click on Displays and choose to Add Component Into Application 5 6 Graphics Images e Add the Conveyor display from the Components to import for labs directory Add Component Into Project i 21x Look in E Components to import for labs 4 c EJ Conveyor gfx E Tank_Data gfx File name Conveyor gfx Files of type Graphic Displays gfx Cancel 4 e Right click on the Local Messages icon and choose to Add Component into Application Add the Bottles loc file from the Class Files Components to import directory Local Messages Batch Progress N Bottle DA Trend Templates A Trend Snapshots F RSView Supervisory Edition Training Guide 5 62 2 Open the Conveyor Graphic Display e Each bottle will have three animations attached to it Visibility Fill and Horiz
126. appear click No for each one 3 Inthe Distributed COM Configuration Properties dialog box click the Applications tab In the Applications list click RsAlmLogExpServ and then click Properties In the RsAlmLogExpServ Properties dialog box click the Identity tab Click The interactive user Click OK In the Applications list click RsAlmLogService Class and then click Properties oN oats 9 In the RsAlmLogService Class Properties dialog box click the Identity tab 10 Click The interactive user 11 Click OK 12 Restart the computer Tip If the location of the remote database has been specified using a UNC path in steps 6 and 10 you should specify This user instead of The interactive user and then type the name and password of a user that has access to the network share or database RSView Supervisory Edition Training Guide 6 9 To change the security account of the alarm log program files in Windows XP 1 On the computer on which you want to run alarm monitoring click the Windows Start button and then click Run In the Open box type dcomcnfg and then press Enter In tree view left hand side of the Component Services window double click the Component Services icon double click the Computers folder double click the My Computer icon and then double click the DCOM Config folder If DCOM Configuration Warning messages appear click No for each one 4 In the list of DCOM Config applications on the r
127. arm Setup editor For example you could make all the lowest level alarms a separate severity and choose to filter them out of the alarm summary alarm log or printer RSView Supervisory Edition Training Guide 6 17 The Alarm Summary Object An operator will interact with alarms though the Alarm Summary object in a graphic display This object will display alarm information and allow an operator to take actions with an alarm Acknowledge Silence Filter Sort In addition an operator may e Execute carry out a command or macro from the alarm summary e Identify carry out a command or macro for a particular alarmed tag Create an alarm summary by opening a graphic display and selecting the Alarm Summary object from the Objects Advanced menu Drag a rectangle to fill the space you wish the alarm summary to occupy When you release the mouse the alarm summary will be in edit mode Use the Insert Format and Data menus to configure the Alarm Summary 4aRS iew Studio File Edit Insert Format Data Help Window ow iy et x EST Area Name Tag Value Tag Description Tag Units Alarm Type Alarm Time Alarm Date Alarm Severity Alarm Label tled Rootbeer Production Mixing Display Analog Threshold Analog Level Digital Alarm Type Acknowledge Time Acknowledge Date Operator Name Ack Current Ack Page Ack All Click on the graphic outside of the alarm summary to exit editing and return t
128. arme dinitall 4 gt Feb 14 4 A Feb 13 4 You will be shown the current alarm log file as defined in the Alarm Log Setup The name of the file is in the top left corner Right click in the window to change the alarm log viewer e Select Log Files this will present you with a dialog box to select an alarm log file e Properties use this to customize the Viewer Change o How many files are shown and from which computer o Which columns are shown o Text fonts o Row colors e Record Navigation move within the current alarm log file Print the records Refresh the Viewer Use the AppSt art command to open the Alarm Log Viewer from within RSView AppStart C Program Files Rockwell Software RSView Enterprise AlarmLogViewer exe RSView Supervisory Edition Training Guide 6 19 Suppressing Alarms You can suppress alarm monitoring for one or more tags This is useful for testing the system or performing repairs or maintenance on a piece of equipment You can view a list of the tags not being monitored using the Suppressed List You can also turn monitoring back on from this list To suppress alarm monitoring for a tag issue this command SuppressOn lt tag name gt To suppress more than one tag you may use wildcards matches any number of characters including the backslash and period characters matches any single character SuppressOn lt Linel gt To view the list of alarms with suppression t
129. at Specifies the maximum amount of time between updates If the value of a pen has not changed within the amount of time specified the chart displays the current value Setting the heartbeat rate to 0 disables the heartbeat Deadband Specifies a percentage by which a value must change before the chart displays the next value Setting the deadband rate to 0 updates the chart whenever the value changes RSView Supervisory Edition Training Guide 9 5 Display Tab General Display Pens X Axis Y Axis Overlays Template Runtime m Chart display options Current value legend Time format IV Display pen values Use system time setting I Display milliseconds M Display time Chart radix IV Display value bar V Display pen icons Decimal x fi Background color Data point connection B Text color Connect points i Fonte rm Line legend Scrolling MV Display line legend M Allow scrolling Position Max ste Scroll mode Bottom fe A E Continuous Scroll MV Display min max values p MV Display scrolling mechanism Pen caption Long tag name bd z z Buffer for extra data Maximum pen caption length po H 200 records per pen Chart display options Time format Determines whether the Trend displays time in 24 hour format or in AM PM format This setting affects every time display in the Trend Click Use system time setting to use the date format specified in the Windows Contr
130. atT able a Password i Confirm String Table StringT able os EROR Teac Tes EE x ODBC tables were successfully created 6 RSView Supervisory Edition Training Guide 8 16 e Log Triggers Tab Configure the model to collect data every 1 second Untitled Rootbeer Production Mixing Data Log Models Setup Paths File Management Log Triggers Tags in Model Periodic C OnChange OnDemand OK Log Periodically Cancel Interval fi Seconds Help e Tags in Model Tab select the tags to log by using the Tag Browser and Add button Untitled Rootbeer Standalone Data Log Models Setup Paths File Management Log Triggers Tags in Model Enter tag names separated by a space if more than one in the Tag s to Add box then choose the Add button to add them to the list of tags in the model _ Cancel Taa s to Add wi e Tags in Model 2 FiS iew_Class_SoftLogix Program Mixing 2 RSView_Class_SoftLogix Program T anks 2 RSView_Class_SoftLogix Program T anks Add FS iew_Class_SoftLogix Program T anks ery system Date ndT imeS tring Remove system User Remove All Tag s in the Model See the next page for the Tag Browser and tags to choose RSView Supervisory Edition Training Guide 8 17 e Browse for and select the following 6 tags m Select Taa s Folders
131. ata TEZ Delete Remove Rename Ie e Call it Trending Data Sh x Component name Trending Data Cancel e Double click the model to open it Change the storage format from ODBC to File Set Change the Description and add an identifier string to be attached to the file names Click OK to save the changes Trending Data Rootbeer Production Mixing Data Log Mode File Management Log Triggers Tags in Model Trending Data Model Name Description Trending Data Log A Cancel hog Fie Sine Historical Trending Help Storage Format File Set ODBC database Number of Characters in String 82 RSView Supervisory Edition Training Guide 8 19 4 Test the Data Logging e Open a command line in your HMI Project Application Explorer Rootbeer Rootbeer Standalone Ge User Accounts Secured Commands 4 RASLinx OPC Rootbeer Standalone B System fees OSE Command Line B HMI Tags ly Lug Tags e Issue the DataLogOn command for the ODBC data log model Tip Use the Command Wizard to automatically build the command Command Line Rootbeer Production Mixing DataLogOn ODBC Data e Let the command run for around 10 seconds then stop data logging Command Line Rootbeer Production Mixing DataLogOff ODBC Data e Note the entries in the Diagnostics List Diagnostics List Stopping Data Log model ODBC Data Clear All G Data
132. ax 3000 min 2500 max 3000 min 2500 max 3000 5 Test Run the Display e Check your animation settings by test running the graphic display Click the Test Display button on the toolbar Use the Ramp buttons to enter a number of bottles to process Click the Start button on the graphic display You should see the empty bottle move along the conveyor fill be capped and counted Check that the Local Message Display is updating correctly Stop the test run when you are done troubleshooting RSView Supervisory Edition Training Guide 5 69 6 Animate the Filling and Capping Machines e Animate the stream coming from the filling machine The rectangle should be visible when the timer tag is between 2250 and 3000 There is no fill animation just visibility This is similar to the Bottle 2 Visibility animation e The capper machine should have the effect of moving down and then up to reveal a capped bottle To achieve this make a duplicate of the gray rectangle Apply Visibility animation to one rectangle so it is visible when the timer tag is less than 5750 The other rectangle should be visible when the timer is over 5750 e Click on the Height tab after setting the Visibility animation The first rectangle visible under 5750 should start small 38 and expand down to 100 1 Choose the tag from the Tags button 2 Specify the percent change from a minimum of 38 to a max of 100 3 Specify the height change to
133. aximum values For example if a tank with a thousand gallon capacity is being monitored the expression s minimum and maximum values would be 0 and 1000 If the tank is 50 full the arrow will be halfway between the bottom and top of the rectangle Control List Selector The control list selector allows the operator to select from a list of states for a process or operation The list is highlighted to show the current state and the operator can scroll through the list to select a different state The value assigned to the selected state is written to the data source The tag entered in the Value control of the Connections tab is a read write control The application monitors this tag to control the operation mode If the operator scrolls the list and selects an entry the Value control value changes and the machine switches modes Pump OFF LLL RSView Supervisory Edition Training Guide 5 46 Tag Label Use label objects to display information about a tag s properties at run time You can display the value of one property per tag label object Select a property from the drop down list The properties listed are by their OPC property names The value for all properties except Contact Value are only read once when the display is opened and are not updated after that xi Tag Mixing M ixer_rpm_actual E Property Tag Name z Low EU Field Length High EU Contact Value Contact Close Label Cancel Help
134. b Driver para o Microsoft Visual FoxPro e Microsoft Access Driver mdb Microsoft Access Treiber mdb Microsoft dBase Driver dbf Microsoft dBase YFP Driver dbf Microsoft dBase T reiber dbf Microsoft Excel Driver xls hdieracaft Eural T raihar ule gt a pph eee Cancel e Type the name AccessData Click Create to create a new database ODBC Microsoft Access Setup 2 x Data Source Name JAccessD ata OK Description Cancel m Database Database Help Select Compact Advanced RSView Supervisory Edition Training Guide 8 13 e Create a new Access database in the Supervisory Edition Class Files folder e Call it ODBC_DataLog e Click OK Database Name 2 Directories 3 ODBC_DataLog K amp Supervisory Edition Class ime Help A C Images E SoftLogix program m Format Version 4 x C Version 3 x Version 2 x x Cancel Options J System Database I Encryption Locale Drives General C gt Network e Click OK to acknowledge the file creation ODBC Microsoft Access Setup x a G Database C Supervisory Edition Class Files ODBC_DataLog mdb was successfully created RSView Supervisory Edition Training Guide 8 14 e Click OK to accept the setup Note the Database file is specified ODBC Microsoft Access Setup a Data Source Name JAccessD ata Description C
135. b you can create message contents that can be used for any alarm To select them for a particular alarm you click the User Defaults button when you are setting up the messages for an alarm in the Analog or Digital Alarm editor Alarm messages can contain words and placeholders Placeholders are replaced by current information when the message is sent Placeholders can be upper or lowercase and must be preceded by a backslash You can specify a fixed amount of space for the information generated by placeholders by putting a number between the backslash and the character Placeholder Information d date of the message t time of the message n name of tag in alarm c current value of tag in alarm v threshold value that was crossed s tag description of tag in alarm I alarm label of current alarm u units RSView Supervisory Edition Training Guide 6 7 The Alarm Log Setup Tool With the Alarm Log Setup tool you set up the logging path file management and central logging To set up alarm logging 1 Open the editor by clicking Alarm Log Setup in the Tools menu or Select Programs Rockwell Software RSView Enterprise Tools SE Alarm Log Setup from the Windows Start menu 2 In the Logging tab specify the logging paths and whether or not to use long file names 3 Inthe File Management tab specify when to start new log files and delete old ones 4 Inthe Central Logging tab you can choose to log alarms to a central data
136. base via ODBC specify how frequently logging will take place select the data source name and target table and set up security for the central database 4aRS iew Studio File view Tools Window Help ie m Diagnostics Setup Diagnostics Viewer Alarm Log Viewer Tag Import and Export Wizard Application Manager pn Launch SE Client Options Tips e Every HMI Server in your application may generate alarms These settings apply to the computer containing the HMI server not to the application All alarm data for this computer will use the same path e Alarm logging must be set up using the Alarm Log Setup editor on the same computer as the HMI server that will be monitoring the alarms e If you are going to use an ODBC data source it cannot have the same name as the HMI project and must be either a System or File ODBC data source RSView Supervisory Edition Training Guide 6 8 Logging to a Network Drive If you are logging to a network drive network share or ODBC database that is not located on the same computer as the HMI server you must change the Windows security settings of the alarm log program files To change the security account of the alarm log program files in Windows 2000 1 On the computer on which you want to run alarm monitoring click the Windows Start button and then click Run 2 Inthe Open box type dcomcnfg and then press Enter If DCOM Configuration Warning messages
137. beer Standalone D loj x xf Electronic Signa 4 gt Note The ActiveX Toolbox automatically includes the Electronic Signature Button You may customize the toolbox to contain the ActiveX controls you use most often Right click on the toolbox to create new tabs and new controls within the tabs You may configure the button to set a value run an RSView command or download all inputs on the graphic display You may specify that the user downloading or authenticating the download come from a certain group in the domain RS iew SE Signature Button Properties x General Signature Color Common Connections Operation m Authentication set Yalue Domain Jaaa foPeRATIONS OOS E Send Command h Download Input Values IV Enable performer authentication Performer group Operation description OPERATORS ale Change Ingredient Setpoint al m Set value V Enable approver authentication Minimum Decimals po aI A4pprover group 0 p MANAGERS a Maximum 100 OK Cancel Help RSView Supervisory Edition Training Guide 12 12 DeskLock DeskLock is a utility included with RSView It lets you configure a Windows 2000 XPcomputer so an operator only has access to the applications you select DeskLock replaces the standard Window Desktop preventing access to the Start button and desktop shortcuts Caution DeskLock can have far reaching effects on your operating system Open D
138. box of the code window in VBA because the object s ExposeToVBA property is set to Not Exposed This property is provided to improve the performance of loading editing and saving displays containing large numbers of objects The more objects that are exposed as VBA controls the longer it takes to load a display Property Panel Button Button Properties Connections All Properties Shared Properties Name Buttoni BackColor E oocebob4 BackStyle Solid Not Exposed ForeColor Not Exposed Height Type Info Extension Left VBA Control PatternColor ME 00000000 PatternStyle None StateOFont Arial ToolTipT ext 54 True 136 ExposeTo BA To expose an object as a property of a display or to write an event handler e Right click on the object in the Graphics editor and select VBA Code This will change the value of the ExposeToVBA property from Not Exposed to VBA Control if the object exposes events or to Type Info Extension if the object does not expose events e Right click object in the display in the Graphics Display editor and select Property Panel from the context menu Change the ExposeToVBA property from Not Exposed to VBA Control or to Type Info Extension RSView Supervisory Edition Training Guide 13 8 Lab 14 Creating VBA Display Code Objective In this lab you will create a graphic display add some objects and write code for those objects This is a very rudimen
139. but the text of the variable appears on the face of the object Down Appearance Tab Specify what the button will look like when it is in its pressed position By default it will have the same properties as the Up Appearance Button Properties 7 xj General Action Up Appearance Down Appearance Common General Back style sa BB Fore color oli af Pattern style L Back color none o Pattern color Caption Start the Mixer N 5 RSView_Class_SoftLogix Program Tar a Insert Variable Font Size he por oo fw m Image settings No image leas Use image reference _ a Import file None Inport F Scale image Cancel Help RSView Supervisory Edition Training Guide 5 35 Action Tab Choose an action for this button Run Command is the default setting Set Tag to 1 Set Tag to 0 Toggle tag value Set tag to 1 on press and to 0 on release Set tag to 0 on press and to 1 on release It is good practice to issue a single command from the Release action rather than the Press This allows an operator to move off of a pressed button without running the command if he had pressed it by mistake Button Properties x General Action Up Appearance Down Appearance Common Action Run command Fress action Repeat action Repeat rate secs fo 25 Release action Display Tank_Data Li Click the browse button to sho
140. cc eccesecceeeeeeseeseeeneceeeeeeeeeesseneseeeeeeeeennenecees 3 Display SOUINGS pc cssc cates iegaeete celtic aie deer ooeace Sone aa uhoatctes E A a EEE 5 Grid Snap and ZOOM aene deat Meee stewseetsh laueeincie a a deeded istered 8 Using Objects in a Graphic Display is snusencteccstetauetanasiecem cena itac tee sananaedeiauysiesieedes 9 Drawing ODiSCIS occdciisecaiehetyecetietectaniedagsedek taphanashwelly a kaakaa KA aves KAKAA EA NUE iea nekis 10 The Prop rty Panel avsccecccccencdeesccicnceieneetens gaunecteen cet Sasn das CAME cea easeeaadey NIEA K Estase 11 Arranging ODjectS ssr a e ae E an a A R E eisa 12 Converting Objects to Wallpapers txcices sae sshtnenranihestemepetiahesdshesdedssleemneatnenstinydlases 14 Lab 4 Basic Graphic Display Elements cccccccccecececceeeeeeeeeeeeeeeneeeeeeeeneaeeeeeneaaaees 15 Adding Objects from the Graphics Library ccceicceeeeeeeeeeeeeeeeeeeennaeeeeeeeeeeeeeea 18 The Object Exploret xcsccceccichewieed dicot sccapeadeavadabhcieneetanss dorn dauk EnEn ENAK NATERA k EES anced 19 TG PAG BLOW SEE bse ccc octane ast ioed Ouatce lavas ct AE Guanes sempecenseactostatatse 21 PRS ViCW Command S 225 feces tence a isn wi seteendataatect escent aaa AEAEE EAR ani aani ieai hoai 23 Relative and Absolute Referencing seeecceeeeeaseeseeeeneeeeeeeeeeeseensneseeeeeeesteeees 27 Fag SUD SUG OMS iee e ened ou mday iden wale ae heehee TEE aa 28 The Expression Editor achicsvinne ee ee ei Aine ee 2
141. ccounts have been created on your computer Create them if they don t exist User Name Password student student maintenance main engineer eng operator oper electrician elec e The Windows group RSView Power Users includes the Administrator and Engineer accounts e Open the User Accounts Editor Click the Add Users Groups button e Delete the Administrator account Add the following Users and Groups Add User Group Your computer name will x show here if you are in a Windows Workgroup Choose a Domain if you are Windows Domain COMPUTERO1 Windows Users or Groups Administrators Backup Operators Guests Power Users Replicator Users G electrician maintenance operator G student R RSView Power Users Administrator a cminrsr RSView Supervisory Edition Training Guide 12 16 e Configure the RSView Security Codes as follows a in x Account ID ELECTRICIAN pees aaa Mame MCT D Login Macro E CeErFrGerH Logout Macro Ie wi om mm fg nf Ho e 1 ELECTRICIAN YYYNNNNNNNNNNNNN 2 MAINTENANCE YYYYNYNNNNNNNNNN 3 OPERATOR YNNNNYNNNNNNNNNWN 4 STUDENT YIYIYIYIYIYIYIYIYIYIYIY IY IY IYIY 5 RSVIEW POWER USERS YYYYYYYYYYYYYYYY e Close and Save the User Accounts dialog box e You will receive a warning because the current Windows user Administrator has been removed Answer OK to the warning
142. ck as the acknowledge bit 3 Browse for Alarms handshake as the handshake bit 4 Click OK to exit the dialog Click Accept in the tag database editor to accept these edits EEN Discard RSView Supervisory Edition Training Guide 6 23 e Select the Alarms analog1 tag in the tag database Click the Alarms checkbox and configure it Analog Alarm Alarm Messages Alarm Thresholds x Tag Alarms analog1 Select Threshold Remove Threshold 2 Alarm Label Severity way too hot ji Threshold 95 E Increasing 4 Cancel Decreasing In Alarm Messages C System Defaults File Printer User Defaults Mid 8t This temp is HOT HOT HOT 440n S Custom Message Threshold 4 Threshold 6 Configure thresholds in ascending order from lowest 1 to highest 8 Threshold 8 Threshold 10 Threshold 20 Threshold 80 Threshold 95 Decreasing Decreasing Increasing Increasing Label way too cold Label too cold Label too hot Label way too hot Severity 1 Severity 3 Severity 3 Severity 1 System default message System default message System default message Custom message see picture or make one up Click OK and Accept these edits e Click OK to close the editor Accept the tag edits Close the Tag Database editor RSView Supervisory Edition Training Guide 6 24 3 Configure
143. counts and passwords on every computer participating in an RSView Supervisory Edition application For details see Help provided with Windows e If any computer participating in an RSView Supervisory Edition application is running Windows XP disable simple file sharing in Windows XP For details see Help provided with Windows XP RSView Supervisory Edition Training Guide 2 6 Activating RSView SE Software Rockwell Software uses activation files to activate its Windows based software packages The activation files reside on the Activation disk During installation the software prompts you to insert the Activation disk and move the activation key from the disk to the drive where you ve installed RSView About the Activation disk RSView comes with an Activation disk also referred to as a Master disk that activates the RSView software Without activation RSView runs in demo mode allowing a maximum of five HMI servers per application and two hours of use on a local SE Client The Activation disk contains e one or more activation keys The activation key is the software that activates RSView Depending on what you purchased your Activation disk will have one or more activation keys For example if your company purchased four RSView Studio installations you require four activation keys The keys are product specific For example RSView SE Client requires an SE Client activation key Multiple copies of the same software require activa
144. cs folder in the Project Explorer There are a number of default images included in a new project ESQ Graphics Displays Libraries Es 1 oy Ta Right click on the Images icon and select Add Component Into Project to import other bmp files into a project Using the Image Object Select Image from the Objects Drawing menu to place a bitmap image on a graphic display The Image Browser opens to let you preview and select the bitmap or jpeg files You may also remove and import other image files from this browser x Select image Preview Arrow Down Add Delete m Image attributes Type 16777216 color Width x Height 108 x 99 Format Bitmap OK Cancel Help RSView Supervisory Edition Training Guide 5 14 Importing Other Graphic files Other types of graphic files may be added to a graphic display with the Import command in the Objects menu dxf AutoCAD files wmf Windows Metafiles omp tif gif pcx Bitmap files jpg JPEG files File name Files of type Autocad Files dxf Cancel Autocad Files dxf Metafiles vwmf Bitmap Files bmp TIF Files tif GIF Files gif Z x PEX Files pcx Converting Objects to Wallpaper Some objects on your graphic display have no interaction with the system An imported image for example may simply be part of the background It is advantageous to convert the
145. cts Startup Beep on Press DerivedOn Tanks EventOn TankE vent 7 Ea eenaa Shutdown Highlight Color E DerivedOff Tanks EventOff TankE ven e Test the Trend display Check the Diagnostics List to see that the commands are being carried out Close the display when you are done troubleshooting it xj g Event Detector Issuing command Toggle RS iew_Class_SoftLogix Program Tanks Tank_1_Pump Clear Clear All G Total Tank Level over 1000 Event Detector Issuing command Remark Total Tank Level over 1000 Starting Event Detector component TankEvents DeventOn TankEvents Starting Derived Tags File Tanks Q Derivedon Tanks This Lab is Finished RSView Supervisory Edition Training Guide 11 1 1 1 Macros Symbols and Keys Objectives e Define what a macro does in RSView e Build macros with the macro editor e Understand passing parameters in macros and nesting macros e Run a macro e Define a symbol e Use a symbol e Undefine a symbol e Understand the difference between Client Display and Object Keys e Create a Key file for the HMI Project e Create key assignments for graphic displays and graphic display objects RSView Supervisory Edition Training Guide 11 2 Using Macros A macro is a list of commands stored in a text file To run a macro you use its name just as you would a command For example you can type the name of the macro in the command line and then press Ent
146. cts running on multiple computers logging to multiple destinations 4aRS iew Studio File view Tools Window Help a m t Diagnostics Setup Alarm Log Setup Alarm Log Viewer Tag Import and Export Wizard Application Manager pee Launch SE Client Options The Diagnostics Viewer reflects the messages as configured in the Setup 2 FactoryTalk Diagnostics iewer Untitled O x Fie view Help ohare S be amp Time Location Provider User User Description a E 04 22 03 20 28 27 PAC1 1 FactoryTalk Service TECHED PAC1 1 SE1 TECHEDSP In service The server RNA Global D ataR edundancyLab Control Room ASLins Remote OPC on computer PAC1 1 is now a oS Ti 04 22 03 20 35 03 PAC1 1 RS View Studio PAC1 1 Administrator The Displays Data was added a A 04 22 03 20 38 16 PAC1 1 RSView SE Client PAC1 1 Administrator Acquired a license key allowing full functionality x 04 22 03 20 38 33 PAC1 1 RSView SE Client SYSTEM Unable to authenticate user OF amp 04 22 03 20 33 27 PACT 1 R RSView SE Client administrator User administrator has been logged in D 04 22 03 20 39 31 PAC1 1 RSView SE Client ADMINISTRATOR Display Data ED 04 22 03 20 39 34 PAC1 1 RSView SE Client ADMINISTRATOR Time 04 22 03 20 38 33 Location PAC1 1 a udience Operator Provider AS iew SE Client Severity Error User SYSTEM erbosity 0 User Desc Message Unable to authenticate user ee 4
147. d before the other Create a derived tag file from the File New menu or by right clicking the Derived Tags icon in the Application Explorer s HMI Project B Logic and Control 2 A e E Events Add Component Into Project Macros 8 Client Keys RSView Supervisory Edition Training Guide 10 3 The Derived Tag Editor consists of a form view on top and a spreadsheet view to display the configured tags i test Rootbeer Production Mixing Derived Tags Tag Name Tanks total_level a Close Description r Expression Tanks Tank_1_Level Tanks Tank_2_Level Tanks Tank_3_Level Logical Relational Arithmetic Bitwise Functions Check Syntax Line 1 Column 1 E Tanks total_ level Tanks Tank_1_ Level Tanks Tank_2_ Level 2 Filling Bottles left RSVSE_Class Program Filling Bottle_Prese Browse for a tag in the Tag Name field This will be an HMI tag with memory as its data source Create an expression to define the tag See page 5 29 for more details on the expression editor The derived tag file will be evaluated by RSView according to the settings in the Setup menu The default evaluation rate is 0 5 seconds Derived Tag Setup x Description Derived Tag file Maximum Update Rate os seconds Cancel 0 25 a RSView Supervisory Edition Training Guide 10 4 Running a Derived Tag File Issue the DerivedOn command to start a derived tag file Command
148. de fails Fr vba Rootbeer Production Mixing Display Mixer RPM Setpoint 500 RS iew Studio x The value must be between 0 and 1740 Part B More VBA Working with an ActiveX control e This next section will use RSView pushbuttons and a Microsoft ComboBox ActiveX control The buttons will be enabled by selecting an entry from the ComboBox The ComboBox will be populated automatically by VBA code e The ComboBox is part of a group of Microsoft Forms ActiveX controls Show these by selecting ActiveX Toolbox from the View menu ActiveX Toolbox x Forms 2 0 Electronic Signature A ELLLELELL Microsoft Forms 2 0 ComboBox e Select the ComboBox control and draw one on the graphic display RSView Supervisory Edition Training Guide 13 12 e Use the same VBA graphic from the last exercise Add four RSView Buttons Do not configure these f vba Rootbeer Production Mixing Display o x aes e Open the Property Panel Select all the objects and change their ExposeToVBA property to VBA Control e Keep the Property Panel open Change the ComboBox name to cmbControl and Buttons to btnOne through btnFour e Right click in the graphic to bring up the VBA editor Write code to populate the ComboBox and give the buttons captions when the display animation starts Microsoft isual Basic BA gfx ThisDisplay Code i fm Ea File Edit View Insert Format Debug Run Tools Add Ins Window Help
149. e Tag Substitution a x Search for clx_data a z cels_data program filling bottle clx_data program filling cony_running clx_data program filling conveyor_timer clx_data program filling bottle_message clx_data program filling bottle_preset xl Replace with plc_data 7 clx_data program lt filling bottle clx_data program filling cony_running clx_data program lt filling conveyor_timer clx_data program filling bottle_message Confirm replacements RSView Supervisory Edition Training Guide 5 29 The Expression Editor You may wish to display not just the value of a Tag but an expression instead An expression allows you to manipulate tag values using Arithmetic operators MOD Bitwise operators AND OR XOR shift left shift right complement Relational operators lt gt gt lt Logical comparisons AND OR NOT lf Then Else statements Functions see next page The Expression Editor is available in many RSView objects graphics derived tags events data log setup command line The following example of how an expression might be used to control the value of a String Display Object String Display Properties x m Expression If Tanks Tank_1_Level lt 20 Then Tank is Low Else Tank is OK Logical Relational Arithmetic Bitwise Functions Check Valid Syn
150. e RSView Supervisory Edition Training Guide 6 29 e Select your application Click Next RS iew SE Client Application Name k x Type the name of the application you want to connect to JR ootbeer Standalone v e Select the Alarms graphic as the initial display Click Next x Select components Initial display Alarms z Components e Accept the defaults for the next two dialog boxes Click Finish to save the settings and open the client file RS iew SE Client Completion Options x The AS iew SE Client is now configured To save click an option below and then click Finish To discard click Cancel Save configuration and open RS iew SE Client now Save configuration and exit RSView Supervisory Edition Training Guide 6 30 Test the Alarm System e Click the Enable Alarms button to activate the alarm system ti Alarms RS iew SE Client z 2 F Alarms Rootbeer Standalone Rootbeer Standalone Enable Alarms Alarms Alarm Alarm Log Viewer Vener l Alarmsiack Alarmsihandshake Alarmsihorn Disable Alarms f Home 0 Alarm Time Tagname Tag Value Alarm Label Alarm Severity Operator Name 3 40 08 PM Alarms digital1 Pressure Switch NT AUTHORITY SY 3 40 01 PM Alarms analog1 way too hot ADMINISTRATOR 3 40 00 PM Alarms analog1 too hot ADMINISTRATOR 3 39 57 PM Alarms digital1 NT AUTHORITY SY 3 37 53 PM Alarms digitall Pressure Switch NT AUTHORITY SY Ack Current
151. e Configure the topic to reference an offline logic file Check the Use Symbols box Navigate to the RSView_Class_ControlLogix acd file DDE OPC Topic Configuration a T 21x Project Default Topic List Data Source Data Collection Advanced Communication RSView_Class_ControlLogix RASView_Class_SoftLogix Processor Type Logix5000 7 m Data Collection Mode IV Polled Messages mSec fi 000 Tl Unsolicited Messages F Cache Unsolicited Data F Send all unsolicited updates ommunications Time Out Secs 20 Select Database Select Tag Name Database 2 x Iv _ z Fi Look in ja ControlLogix program a c E V i E RSview_Class_Controllogix fa tt Eh New Clone File name R SView_Class_ControlLogix ee ee EA Files of typ E RAS Logix 5000 acd X Cancel Apply these changes and close the Topic Configuration dialog box Z RSView Supervisory Edition Training Guide 2 20 Exploring RSLinx 1 Open RSLinx and select Topic Configuration from the DDE OPC menu The topic to the SoftLogix controller was created automatically by RSLogix DDE OPC Topic Configuration E 21 xj Project Default Topic List _ Data Source Data Collection Advanced Communication Workstation RSYSEO1 a Linx Gateways Ethernet AB_ETH 1 Ethernet E AB_YBP 1 1789 A417 4 Virtual Chassis al 00 Workstation RSLinx Server E j 01 1789 L60 4 Softlogix5860 Controller RS
152. e Parameters E Documents and Settings All Users Documents RS Browse Window Style MaximizedFocus bel IV Include a button on the DeskLock window Automatically run program at startup Auto Start Delay sec fo Defaults Cancel Help An RSView SE Client can be run automatically upon startup if configured here 3 4 5 6 7 8 g 1 e Enter the path to MERuntime exe in the program field o C Program Files Rockwell Software RSView Enterprise DisplayClient exe e Enter the path to the specific SE Client file cli in the Command Line e Check Automatically run program at startup By automatically logging on to Windows and running the Machine Edition project at startup the computer RSVSE App doesn t require any input from an operator oo Cuo Click the Password tab to password protect the Restart Windows Exit DeskLock and Set Up Restart Windows DeskLock buttons Exit DeskLock Set Up DeskLock RSView Supervisory Edition Training Guide 12 15 Lab 13 Implementing Security Objective In this lab you will implement security by configuring User Accounts and placing security codes on different HMI elements You will add an electronic signature button to a display You will test the security with an SE Client Software Requirements e RSView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program 1 Create RSView User Accounts e These Windows a
153. e Property Panel open and select the button to the right Name it btnNoElec and give it VBA Control xl xf btnNoOp Button 2 btnNoElec Button l Properties Connections Properties Connections All Properties Shared Properties Name BackColor BackS aa All Properties Shared Properties A e a Name BackColor BackStyle ExposeT oVB4 ForeColor Height 95 Left 350 PatternColor Ml OOO00000 ForeColor E Exposed Height nfo Extension Left ies Control PatternColor 00066666 You will now write VBA code to disable the left button when the Operator is logged in and disable the right button when the Electrician is logged in First you will dimension a variable You need to create an object to represent the Display Client Application The object will be named oDCApp Use the WithEvents keyword to allow the object to raise events You will trigger code from one of the events in a later step e Type F7 to open the VBA window e Select General from the objects drop down list e Enter the code Dim WithEvents oDCApp As DisplayClient Application Main gfx ThisDisplay Code iol xj Declarations Dim WithEvents oDC pp s DisplayClient Application RSView Supervisory Edition Training Guide 13 16 Add code to set the variable oDCApp to your particular Display Client Application and to enable or disable the pushbuttons based on w
154. e created once a node exists Open the Tag Database Editor by double clicking the Tags icon in the HMI Tags folder i Tags New Distributed App Area 1 Tag Name New_Tag Type Security Close Description i Hew Tag Types Tag type specifies how the application interprets data from the programmable controller or other source and how it is represented in the application Data source specifies where the data for a tag will come from There are three tag types e Analog tags store a numeric value from a range of values defined for the tag Use them to represent devices that can have a range of values such as temperature pressure flow or the position of a rotary control e Digital tags store a numeric value of either 0 or 1 Use them to represent devices such as switches contacts and relays that have two states on or off e String tags store ASCII strings that can be a string of characters or whole words The maximum size string allowed is 82 characters Tag Data Sources e Device A tag that gets its value from an external data source The data can come from a programmable controller or other device via RSLinx or other OPC server Note See Appendix C of the RSView SE Users Guide for information on using DDE communications with HMI tags e Memory A tag whose value is stored only in the RSView Machine Edition value table It does not reference any physical device Note Memory tags may be d
155. e logged For data server tags which do not have minimum maximum properties every change is logged In addition you may specify a Heartbeat to log data even if no change has occurred The heartbeat ensures that the data in the log file is current The heartbeat rate must be equal to or greater than the update rate Specify 0 for the heartbeat if you don t want to use it data Rootbeer Production Mixing Data Log Models Setup Paths File Management Log Triggers Tags in Model Periodic OnChange OnDemand m Log On Tag Change Cancel Maximum Update Rate as seconds Change Percentage 3 Help Heartbeat 0 Seconds RSView Supervisory Edition Training Guide 8 9 On Demand Choose On Demand as the trigger to log data command DataLogSnapshot is issued This command can other RSView commands and macros can be For example i only when the RSView be given anywhere that t could be the typed in the command line or specified as the action for an event If you specify Periodic or On Change you can still use on demand logging whenever it is appropriate Specify a Maximum Update Rate to limit the rate at which tags in the data log model will be updated The default maximum rate is for tags to be updated is every 5 seconds data Rootbeer Production Mixing Data Log Models File Management Log Triggers Periodic C OnChange OnDemand m Log On Demand Maximum Update Rate
156. ect and display keys take precedence over client keys The order of precedence for key animation is object keys display keys and client keys This means for example that if a key has both object and client key definitions when the object has focus at run time and the key is pressed the object key action will be carried out and the client key action will not Note When a non native embedded OLE object such as a Microsoft Excel worksheet has focus its keys always take precedence over all three levels of keys defined above This means that if for example a key has both a display action assigned to it and an action assigned to it within the non native OLE object when the OLE object has focus its key action will be carried out and the display action won t You may create multiple Client Key files They are saved in the Logic and Control section of the HMI Project ae Logic and Control HAF Derived Tags E Events I Pumping tartup Keys troubleshooting Keys og w You may specify a key file to be used in the SE Client Wizard covered later in this book You may also issue the Key command to start a Client Key file Issuing the Key r command will stop client keys from running Key Startup Keys enables the Startup Key client key file Key r disables all client keys RSView Supervisory Edition Training Guide 11 10 Lab 12 Macros Symbols and Keys Objective In this lab you will create symbols macros a
157. ee the data real time in the processor Alarm_DINT Decimal Analog_Tag Decimal Pressure_Switch Decimal Program Filling Program Mixing Tank_1_Level he Decimal Tank_1_Number j Decimal Tank_1_Pump Decimal HTank_1_Timer Tank_2_Level Decimal Tank_2_Number Decimal Decimal Decimal Decimal Decimal HTank_3_Timer ten_sec_timer Status Active Close the Data Monitor when you are done looking at it This Lab is Finished RSView Supervisory Edition Training Guide 2 22 This page intentionally left blank RSView Supervisory Edition Training Guide 3 1 3 Creating An RSView SE Application Objectives e Understand the architecture of RSView Supervisory Edition standalone and distributed applications e Install the RSView SE Software components e Set the FactoryTalk Directory for the application e Create and application with RSView Studio e Explore the RSView Studio software interface e Configure Areas HMI Servers and Data Servers e Create a Standalone RSView SE Application RSView Supervisory Edition Training Guide 3 2 RSView SE The Distributed Application RSView Supervisory Edition supports multi server and multi client distributed applications RSView SE Client is used to view and interact with the application The HMI and Data Server components of the application are separate from the client There is complete flexibility in pl
158. eeaeeeeeeneaaeees 20 A GOMMUNICATIONS iicce ceases sess cee ees cee eerctite 2 se ceneecen ete cesta 1 Communicating with a processor ira Ganec pees toauscanded nesta Malvade taredel acest dant iagdiate tanner Gens 2 Directly Referenced Tags sis inimeseni aes naan 2 Using Directly Referenced Tags ccccccccesscceceececseeeseneneeeeeeeseeeeeeeesedentecdeneeeenentenzeds 3 PMD TAOS eA E E ed Ssbes GBM vances Ga sakcucce dey ele te ndeaeacsanese 5 Whento aus IML TAGS ars ere ans cues tersasiactieestleanssscdenesd aa a ieii etase 6 Greating AMI Jags ai a thee tues gant ea ea Ea aE A a ends bora dactah lands etheas ERRETEN 7 The Fag Dalabase Edit r i iiirn arre nianna e athe eae a E t ra aa 8 Creating NEWiAIMET GOS casiece ia sseced anise tertctinads Seabees ade te dents ddeanmd eyedesyenneeenminecedy 11 The PLC Database Browse w cc cc ce gissasecacees sdteg caveussavsncereeuesge cease doctbe secepens ey ctceanceepanenes 15 Importing and Exporting the Tag Database ee eeceeeeeeeeee eter teeeeeeeeeeeeeeeeeneeenaaaees 17 Lab 3 Create an HMI Tag Database cccccccccceceeeecceeeeeeeceeeeeeeeeeeeeseeeueeeeeseeaaeees 20 RSView Supervisory Edition Training Guide i 5 Graphic Displays nnssnnssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nannan 1 The Graphic Display Editor cc cccscccceeceeeeeeeeeeeeaaeeaaeeaaeesaaeeaaeaaaeaaaeaaaeaaaaaaaaaaaasaes 2 Creating a New Graphic Display 200 ccc
159. eecceccceeeceeeeeeceeeeeeeeeeteeeeeeeeeeeeeeeeneees 2 RSView SE The Standalone Application ccceccceccceeeceeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeeeees 3 Creating an AppliCation sers beenie a a E A a EEEE 4 The Factory Talk Directory s teeci caste ocecestre cheat ekirar a a e A ea 4 Navigating RSView Studio scccesecissccsades ten chees carts sattuelechesadiedice thas nicigeeeses edhe Meeedianereete 7 The View MOU iisycaseesdeeccceteecansavisestetenenccus orrore seeriad ACANA cueaneeadeendaccedey cdeexesatesaneeee 7 PHE St t s Bai grzeni ae ea a a a aa Eai ttad 8 Work oo k MOE a a A a ty ae a E etd a a Aa Eea 9 Building a Distributed Application ccccccccccccccccececeeeceeeeeeeeeeeeeeeeceeeeeeeeeeeeeeeeeeeeeeeeeees 9 PRE OAS saad tian Ta E We elena We les blac alive ae a L A ean ets dele nad teeny ERE 9 HMI Servers and HMI Projects 2 cccccccccsccctececteeceteesessedeeeeeeeteeeenesdeeteceeeenteneecees 10 Building a Standalone Application ccccccccccccccccececececeeeeeeeeeeeeeeeeeeeeeeeseeeseeeseeeneees 15 Communicating with a PrOC SSOF 2 ccccesesecteenereneeeseteeseeeseeeeeeeeeenssneneseeeeeneneseeees 16 Creating and configuring a Data Servel 2 1 ccccsececeeeeeeeeeesnectececeeeeesestesesnecneeeeees 16 Data Server RECUNOANCY i iiectic ete cte tide tenk ii encseers ontepende addi aie Medaaerydads MEA eaeey 18 Lab 2 Create a Standalone SE Application ccccccccccccceeecseeeceeeeeeeeeee
160. emplate commands take effect immediately Display Value Bar and cannot bs w Data Point Connection cancelled v Chart Radix Custom Colors Y Display Milliseconds Display 24 Hour Format A oe All options Check All Uncheck All Default RSView Supervisory Edition Training Guide 9 13 Open the trend properties Template tab and select Load Template to use a saved template Trendx Properties General Display Pens X Axis Y Axis Overlays Template Runtime rm Select template options General tab I All options 4 Description Length W Display Min Max Values Background Color w Display Pen Bitmaps w Display Pen Values w Display Current Time Scroll Mode W Display Scroll Mechanism W Display Value Bar w Data Point Connection W Chart Radix 1 Custom Colors W Display Milliseconds 4 Display 24 Hour Format K Fon ba Check All Uncheck Al Default Cancel OK x Save Template Load Template Component Browser x m Select a component Ter take and can Tank Template Temperatures Template Ag Cancel Help The trend templates are shown in the Graphics tab of the Application explorer A Graphics Displays Libraries Ea Images Parameters Recipes E Local Messages Ba Trend Templates Pressures Template Tank Template Temperatures Template m Trend Snapshots
161. en hae tedutae oeanadananel gant lundeee cial tenes haonchle 17 J he Alar HOO Viewer merrer aa aaa enesh ance E AE EA AEA AAAA ARA SAri 18 S ppressing Alar MS isre in e dicted aa a a A aa T i 19 Lab 8 Configuring ALANIS sssoeseneeeenneeooeeneneeeneeesnrreserrrntrtterersoerrnerrnnnrtterrsereen tnt 20 RSView Supervisory Edition Training Guide i 7 Diagnostics Logging nniccczscsssss see cet cece cc cece n tke ces csasaenn see cece cee 1 Factory Talk Diagnostics sjccicaa heat aie caxeh ies es lay bile dhvlahs sole teltadeavhduanaeucctiiendacenehudeldeetebee 2 Factory Talk Diagnostics Logging si alectecin alii cea en A Ried cece usd oes ceaeceeedaaeees 2 The FactoryTalk Diagnostics Viewer ccccceeeceeececeeeeeeeeeeeesceeceeeeeeeeeeeneeseeeneeeees 7 The RSView Diagnostics hist s 4cscvcttsusseu hanetivecksgnovencstateataendemrraget aE eiaa 9 Sy Data EosT ao PAEA TEE E S E E 1 Data Log Modelska e dnc e aa a a a r a aa a aiaa 2 Starting and Stopping Data Logging pus sdecco cins sussioviaoogattegaded deacon ieee ieavaeradd an Aleass 10 Lab 9 D ta Logging merser ae aoaea ii AO ad Gant aA TA Minded Gani Ea ua cathe 11 9 THEM GUNG Date aaa see et eee aeeai 1 eTe Ee TSN y Ae cecvcnaetdeaiecs send henckeltaubsnenetceettiads RT 2 Snapshots and Trend Overlays raecctesnontes an sh aloes tsar peaence th sderelee bere Gibin Ben tnetl arate 10 Creating Trend Templates jsc cisce patecescesseeecaueecek og aanieneigge ene dean nnua u Ninen
162. ent Application Determine if the current user has the specified security code s RSView Supervisory Edition Training Guide 13 17 The code you entered above will only check the security codes when the display first starts up It will need to be checked whenever someone logs in Accomplish this by repeating the button code in the Login event of the oDCApp object you created earlier e Select the oDCApp object Login event e Copy and Paste the two lines of code from the earlier subroutine Main gfx ThisDisplay Code l x onca gt _ ED z Dim WithEvents oDCapp s DisplayClient Applica ion g Private Sub Display _AnimationStart Set oDCapp Me Application btnNoOp Enabled CurrentUserHasCode bce btnNoElec Enabled CurrentUserHasCode f End Sub Private Sub oDCApp Login ByVal UserName As String btnNoOp Enabled CurrentUserHasCode bce btnNoElec Enabled CurrentUserHasCode f End Sub Note the default event for the oDCApp object is ActivityBarMessage A subroutine will automatically be created for this You may delete it Finally it is good practice to destroy an object that has been created in code e Select the Display object AfterAnimationStop event e Enter the following line of code in the subroutine Private Sub Display _AfterdnimationStop i J set obCapp Nothing RSView Supervisory Edition Training Guide 13 18 The complete code looks
163. ents icon in the Application Explorers HMI Project s Derived Tags ia verr EERE E W Client K Add Component Into Project 5 Logic and Control RSView Supervisory Edition Training Guide 10 6 The Event Editor consists of a form view on top and a spreadsheet view to display the configured events Tank Events Rootbeer Production Mixing Events Action Toggle Tanks T ank_1_Pump E M Enabled Description Automatically toggle the pump on and off Prev Next m Expression Logical Relational Arithmetic Bitwise Functions Check Syntax Line 1 Column 20 Remark Total Tank Level over 1000 Tanks total_level gt 1000 Toggle Tanks Tank_1_Pump interval 5 sec ra Select an RSView command or macro for the Action field Create an expression to trigger the action See page 5 29 for more details on the expression editor The action will occur upon a false to true transition of the expression The event file will be evaluated by RSView according to the settings in the Setup menu The default evaluation rate is 0 5 seconds x Description Event file Maximum Update Rate os seconds Cancel RSView Supervisory Edition Training Guide 10 7 Running an Event File Issue the Event On command to start an event file Command Wizard Step 2 of 2 Syntax EventOn lt file gt Area z File Mixing Events Alarms Daily Tasks Mixing Events Co
164. er Show and hide the Diagnostics List from the View menu 4aRS iew Studio File view Tools Window Help rj iv Status Bar Workbook Mode E Explorer Window Pi Toolbars The information displayed in the Diagnostics List depends on how you have configured Diagnostics Setup ax Message Routing Select one or more logging destinations to configure message routing Diagnostics Setup Destination Setup Local Log oe ae ODBC Database Local Log essage categories RSView Diagnostics List ODBC Database aar Error Warning Info Audit Message Routing ee Operator Iv Iv Iv E Engineer WM IV IV iv Developer E E L Secure El ia ia i IV Accept message from Windows CE devices Cancel Apply Help There is no lab for this chapter Experiment with FactoryTalk Diagnostics settings on your own RSView Supervisory Edition Training Guide 7 10 This page intentionally left blank RSView Supervisory Edition Training Guide 8 1 8 Data Logging Objectives e Define the function of Data Logging e Configure Data Log Models in RSView Studio e Compare and configure the different storage formats for data logging o Data Log File Set o ODBC Database e Use the Data Logging commands e Start and Stop data logging RSView Supervisory Edition Training Guide 8 2 Data Logging in RSView The tag database does not store actual tag values Instead it defines which values are to be collected
165. er or use the name of the macro in an RSView button Create a macro with the Macro Editor in the Logic and Control folder in the Application Explorer Right click and select New or use the File New menu 3 2 Logie and Control 2 Derived Tags Events Ss Client Keys The text editor holds a list of commands Show the Command Wizard to help you build commands by double clicking in the macro window or selecting Commands from the Edit menu MixerStart Macros Macro File created 02 18 2002 Macros are lists of commands with one command per line See Help or the manual for a list of commands and their parameters l This macro will be used when the HMI Project starts up Display Filling Conveyor Display graphic from remote area Pause 3 DerivedOn Tanks EventOn Tank Events DataLogOn ODBC Data DataLogOn Trending Data You can comment your macro by placing an exclamation mark before any comments in the file RSView Supervisory Edition Training Guide 11 3 Macro Command Execution RSView has multi tasking capabilities that you can take advantage of when you create macros Generally the commands in a macro are executed in the order in which they are listed with one command finishing before the next begins execution Some commands such as Print finish quickly and the next command can start Others such as Set take longer In the case of Set it does not
166. ers A tag placeholder is a crosshatch character followed by a number from 1 to 500 Use a tag placeholder wherever you would use a tag Example Use a tag placeholder in a Push Button Maintained Push Button Properties l x General States Rotation Horizontal Position Vertical Position Horizontal Slider Expression id a Tag ha Expression m Expression range Fill Percent C Use tag s min and max property values At minimum fe At maximum Use constant Min 2500 Max 2000 pe nays ae IV Inside Only e ig Mint j Up Down Read from tags fle r pipu Cose Help RSView Supervisory Edition Training Guide 5 72 When the graphic is complete create a parameter file A new file can be created by clicking the New command in the File menu by right clicking the Parameter icon or by dragging and dropping the Parameter icon to the right pane In the parameter file simply associate the tag placeholder with the actual tag Use the format tag placeholder tagname Any words preceded with the explanation mark will be ignored Use this to comment your file Tank1 Rootbeer Production Mixing Parameters Parameter File created 01 22 2002 Parameter files are used with graphic displays to specify the tags a display uses at runtime The parameter file is passed to the graphic using the P option of the Display command Syntax
167. es i x Lo e d n General Signature Color Common Connections 1 gg i Operation Authentication SSSSSSSSSSS set Value X Domain COMPUTERO1 f Window title Tank Data RSview Electronic Signature JV Enable performer authentication Operation description eee a 2 Change the Analog Tag m F Set value IV Enable approver authentication signature Button Minimum Decimals b Approver group pa H Maximum fioo Cancel Apply Help e Configure the signature button o General Tab Caption Secure Setpoint o Signature Tab Domain lt your computer name gt o enable performer and approver authentication but don t specify a group this works for Windows Domains only o Connections Tab Value mem analog e Create a Numeric Display below the Signature Button to show the value of mem analog RSView Supervisory Edition Training Guide 12 19 4 Edit your existing Displays and Tags e Edit each of the Displays referenced in the Display List Selector and the Tank Data Display Add a button to Display the Main graphic e Edit the Display Settings of the Existing graphics o Restrict the TankData graphic so Operators may not access it but all others can o Restrict the Alarms graphic so Electricians may not access it but all others can e Edit HMI Tag Security o Restrict Operators from changing the values in the Alarm graphic Put security on the Alarms digital1 and Alarms
168. esignated as Retentive Their value will remain after an RSView SE Client has shut down e System A folder of system tags are created automatically with a new project These are specialized memory tags that hold system information RSView Supervisory Edition Training Guide 4 9 System Tags The system folder and tags are created by default and cannot be edited deleted or added to They store information generated by the system such as recent alarm values current time and date communication status and errors and currently logged in user i Tags New Distributed App Area 1 Oj x system4larmMostRecentD ate Type String z Security oy Description Date of most recent most severe alarm m Data Source Type Device Memon System Search For system AlarmMostRecentLabel String Label of ma system AlarmMostRecentSeverity Analog Severity of system AlarmMostRecentlagDesc String Description system AlarmMostRecentlagname String Name of tac system AlarmMostRecentlime String Time of mo system AlarmMostRecentUnits String Units of tag system AlarmStatus String Alarm statu system AlarmSummaryltems Analog Number of system AlarmSummaryltemsUnacke Analog Number oft system AlarmSuppressedCount Analog Number of cuctemiRlinkFact Ninital Channec_es 2 You can use system tags wherever you would use any other tag For example you can create a string display object in
169. eskLock Start Programs Rockwell Software RSView Enterprise Tools DeskLock Click Set Up DeskLock Check the box and provide logon information if you wish to automatically log into Windows Click the box to open the Microsoft Management Console Application 1 Restart Windows Exit DeskLock Logon Desktop m Windows Logon Open the Microsoft V Automatically Logon to Windows Management Console for Default Domain Name IRSVSECLASS SCS DeskLock Default User Name student Default Password gt Confirm Password Defaults i a Cancel Help RSView Supervisory Edition Training Guide 12 13 The Microsoft Management Console allows you to make specific settings to prevent users from accessing operating system functionality The console opens by default to the Console Root Local Computer Policy User Configuration Administrative Templates System Logon Logoff folder It is recommend that you enable the following items in this folder e Disable Task Manager e Disable Lock Computer e Disable Change Password e Disable Logoff In addition the following item in the Start Menu and Taskbar folder should be enabled e Disable and remove the Shut Down command ii DESKLOCK Console Root Local Computer Policy User Configuratio n A Action View Favorites P mlm EX Tree Favorites J Console Root lgt Local Computer Policy Com
170. ew Supervisory Edition Training Guide 10 1 1 0 Derived Tags and Event Files Objectives e Define Derived Tags e Configure a Derived Tag file e Start and Stop a Derived Tag file e Describe how to automate tasks by using an Event file e Configure an Event file e Start and Stop an Event file e Configure the update rate for Derived Tag and Event files RSView Supervisory Edition Training Guide 10 2 Derived Tags A derived tag is an analog digital or string HMI tag whose value is determined through the evaluation of an expression An expression can be simply a tag name or it can be an equation made up of tag names mathematical and logical operations special functions and If Then Else logic The current value of a derived tag is written to the tag s data source A derived tags file consists of a number of derived tags and a maximum update rate for them At runtime you can have multiple derived tag files active at once up to 20 derived tag files each containing up to 1000 derived tags You should not write to derived tags because they are only evaluated when the expression changes For example if a derived tag tag3 has the expression tag1 tag2 and if you set tag3 0 the value of tag3 becomes zero and will only be updated when the value of tag1 or tag2 changes Derived tags are evaluated asynchronously Therefore don t use a derived tag in the expression of another derived tag there is no guarantee that one is evaluate
171. ey buttons can control multiple Control List Selectors for example Pump 1 OFF Pump 2 ON Move Down These are the types of key buttons e Backspace moves back to the previously highlighted item e End moves to the bottom of the page that s currently displayed e Enter selects the currently highlighted item e Home moves to the top of the page that s currently displayed e Move Left moves to the left e Move Right moves to the right e Move Down moves down one item in the list e Move Up moves up one item in the list e Page Down moves down one page in the list e Page Up moves up one page in the list RSView Supervisory Edition Training Guide 5 45 Advanced Objects A number of interactive objects are collected in the Advanced menu e I Advanced Alarm Summary Arrow OLE Object Control List Selector ActiveX Control Tag Label Import f Display List Selector Local Message Display Recipe Time and Date Trend Alarm Summary and Trend objects will be covered in later chapters Arrow An arrow object can move vertically or horizontally based on the results of an expression The rectangle you draw when you create an arrow defines the arrow s path The orientation of the rectangle vertical or horizontal should be the same as the direction the arrow is to move in The arrow s position within the rectangle is determined by the expression and is proportional to the expression s minimum and m
172. for each HMI server in each application To do this a Right click the HMI server and then click Properties b Inthe Startup type list click On demand c Click OK 2 Close RSView Studio and all other Rockwell Software products that are using licenses on this computer Restart the computer If RSLinx is installed and running as a service right click the RSLinx icon in the system tray and then click Shutdown RSLinx Insert the Activation disk into the disk drive Run A EVMOVE EXE where A is the disk drive containing the Activation disk The EvMove Summary dialog box opens 7 Inthe From list click the drive containing the Activation disk In the To list click the drive where RSView is installed Click OK 8 Either move activation keys for all installations or for a selected number of installations To move activation keys for all installations click Move To move a selected number of installations do the following Click Edit all In the Move box type 0 and then click OK Click the activation key you want to move Click Edit Selected In the Move box type the number of activation keys you want to move Click OK and then click Move 9 To close the EvMove Summary dialog box click OK sap a00D RSView Supervisory Edition Training Guide 2 9 RSLinx for RSView RSLinx communication software is included on the RSView SE Install CD RSView Studio and SE Server provide activation for RSLinx as long as t
173. ful if you want to view the current state but also want to see the other possible states For sequential processes the list can alert the operator about what happens next in the process Indicators Symbol List Multistate State 0 State 1 State 2 State 2 State 3 RSView Supervisory Edition Training Guide 5 43 Gauge and Graph Objects RSView Studio contains objects to represent data in both gauge and bar graph format e Gauge the gauge control will display tag or expression values with a sweeping line Options include the ability to set two thresholds with unique fill colors 30 D 60 e Bar Graph and Scale These objects are used to display data in a bar chart format Two thresholds with unique fill colors may be configured Typically a scale object is used in conjunction with a bar graph to show tick marks 60 Text object J i Bar Graph object oS Scale object Scale Setup m Scale Setup Up m Tick direction Left a Right Down Major ticks 3 m Minor ticks 1 RSView Supervisory Edition Training Guide 5 44 Key Objects At runtime the operator can use key buttons to move the cursor and make selections on certain objects You may have custom captions or images on the buttons You can use key buttons with these graphic objects e Control List Selectors e Display List Selectors e Trends Key buttons operate with the control that is highlighted In this way one set of k
174. g Guide 5 12 Arranging Objects Select multiple objects by e Holding the CTRL key while single clicking on objects e Clicking and dragging the cursor completely around the objects you want to select Grouping Once multiple objects are selected you may group them into one object Select the Group button on the Graphics toolbar or the Group command from the Arrange menu Edit grouped objects by double clicking the group You may single click each item within the group to edit that item The group does not need to be ungrouped Other options on the Arrange menu include selecting Send to Back and Bring to Front Use this to arrange objects when they overlap each other Multiple items may be automatically spaced evenly and arranged relative to each other with the Arrange menu File Edit View Objects Arrange Animation Project Tools Window Help le mw Ogg sow Ctr G Unaroup Gtr I Send to Back Bring to Front Align Left 4lign Center 4lign Right Align Top Align Middle Align Bottom Align Center Points Align to Grid Space Vertical Space Horizontal Flip vertical Flip Horizontal RSView Supervisory Edition Training Guide 5 13 The Image Object Bitmap or jpeg images may be added to a graphic display or placed on objects such as symbol indicators multistate indicators or any push button Before images can be used they must be imported into your project Select Images from the Graphi
175. g historical data PRS Chart style Poll historical data Standard Xy Plot eels pen r Chart update mode Manual Automatic Refresh Rate fi Second s x C On Change Heartbeat fi f Minutels Deadband jo 7 Cancel Apply Help Display chart title Displays a title at the top of the chart during run time Select the check box and type up to 80 characters The title includes the text that you type along with the current date Data server Specify a server to provide data to the Trend None Retrieves data from another source using the Trend object model Real time data server Retrieves data automatically from RSView Poll historical data Retrieves the newest historical data from the data server When using historical polling the Current Value legend does not display pen icons or pen values Display progress bar while loading historical data Select this option to display a progress bar with a Cancel button while loading data into the Trend Providing this option allows operators to cancel a request for data RSView Supervisory Edition Training Guide 9 4 Chart style Determines the plotting style of the chart A TrendX chart can either plot values against time or against a selected pen Chart update mode Manual This option is only available when the Data Server is set to None It does not apply when using the real time data server Use this chart mode if you need to log data faster
176. g input field object by the user will remain displayed and waiting to be written to the programmable controller until the user performs a download or presses ESC which discards any user input If the user performs an upload a value from the programmable controller or OPC server is displayed in the input field Discard input and resume updating when focus is lost When this option is checked the input field discards any user input and returns to updating the field when it loses focus This option is available when the Continuously update option is checked RSView Supervisory Edition Training Guide 5 42 Indicator Objects RSView Supervisory Edition has three different indicators available e Multistate The multistate indicator displays the current state of a process or operation by showing a different color caption or image to reflect different states e Symbol Symbol indicators show the state of a process or operation at a glance For example you might create a symbol indicator with a picture of a pump and set up the states so that the pump changes colors to show the state You can assign unique attributes such as color blink and so on to every state but the monochrome graphic image you assign to the indicator is used for all states e List The list indicator displays a list of states for a process or operation and highlights the current state Each state is represented by a caption in the list This type of indicator is use
177. g is in an area called Packaging The graphic display s home area is Packaging HMI Servers and HMI Projects HMI servers are software programs that supply information to clients when they request it HMI servers have no user interface Once installed they run as a set of Windows services HMI servers store HMI project components for example graphic displays and serve these components to clients Each HMI server also manages a database of tags and performs alarm detection and historical data management logging HMI projects contain displays data log models alarms HMI tags and other services HMI projects are loaded on HMI servers Each Area may contain one HMI Server Right click on an Area or the root Area and select New HMI Server to create a new HMI Server Untitled __ x fey New Distributed App Ge User Accounts Secured Commands cB New Area Remove New HMI Server New Data Server Properties RSView Supervisory Edition Training Guide 3 171 Creating an HMI Project There are three options for including an HMI Project in the newly created HMI Server Create a new HMI project Copy an existing HMI project from another SE server Import an existing RSView32 RSView SE or RSView ME HMI project Reference but not copy an existing SE HMI project Add HMI Server Wizard Select Operation s xj Select the operation to be performed po a DS Create a
178. ge any information contained in this manual or the software at anytime without prior notice The instructions in this manual do not claim to cover all the details or variations in the equipment procedure or process described or to provide directions for meeting every possible contingency during installation operation or maintenance Revision Date 2 13 2006 Covers RSView Supervisory Edition 3 0 RSView Supervisory Edition Training Guide I Table of Contents 1 Course Objectives acco ccsec nc oecst cos cece coed cacennsseecneeensetendeadenetenctenne 1 2 Introducing RSView Supervisory Edition e 1 What is RSView Supervisory Edition 0 ccc ceccccceeeeeseeeeseeceeeeeeeeeeeeeeeeneeeeeeeeeentes 2 WETS toget Help airoides eni nig Aan chasm cain 4 iol et wha Nod een tance S eiaei 3 Before You BCC acai bat acre ee eaten Baa digo a eget eae endear e anime ee 4 Minimum Hardware and Software Requirements ccccccccccccecccecceeeeeeeeeeeeeeenees 4 Activating RSView SE Software 5 c c 2 cs saccesgetaks ceed e Sada isd copadegenenfaadsgeactacbitaelaseuiau sthiegee 6 FREI for RO VICW 5 5 cisco cocci ah aaa ar amet n aa eaaa E Taa aaa aa A ASAA DAE ATEA AAL acts Ama ESEE eane 9 Lab 1 Working with RSLINX cd aot hth i She ct aheata vant th iat oda telece eats iia esi noida 12 3 Creating An RSView SE Application eeee 1 RSView SE The Distributed Application ccc
179. ght click menu or from the View menu to configure how the grid looks The Show Grid and Snap On commands may be toggled from these same menus In addition you may zoom in and out of the graphic to see objects in more detail r Untitled Rootbeer Production Mixing Display a DisplayKeys soc ett tees VBA Code PO i ae Wet oe eee A ee ObjectExplorer BOM Paste Paste Special See vo ee E E aie Bitte BAG alae os Snap On Pai ig ye adn SE eee Eee OU es I 55 nh ales arg aw niet ee ns Cancel oy RSS Grid Settings Grid Settings x Attributes Spacing M Show Grid a Horizontal x fio Cancel IV Snap To Grid ml Grid Color Vertical y fio me RSView Supervisory Edition Training Guide 5 9 Using Objects in a Graphic Display Build a graphic display by placing objects on it There are objects for every part of the user interface e simple drawing objects includes geometric and freehand shapes text and bitmaps You can combine these to create more complex objects and animate them by attaching a tag or expression e native objects that require setup includes push buttons numeric and string input and display objects indicators gauges graphs keys and the objects on the Advanced submenu e OLE objects the OLE objects that are available to you depend on the software installed on your system but can include spreadsheets charts and text produced by o
180. gured To save click an option below and then click Finish To discard click Cancel Save configuration and open RS iew SE Client now Save configuration and exit Help About Cancel RSView Supervisory Edition Training Guide 5 84 Test the Display e The SE Client will open Look at the Activity Bar for any errors generated o x Tank 2 Tank Level 441 Thursday June 12 2003 ig Tank Data RS iew SE Client 441 356 272 188 104 20 11 21 15 AM 11 23 15 AM ia Cet Cad Col Cel D Le rsview _class_softlogix program tanks Pump Control Turn Pump OFF 2 Display TankData Ttank_2 Clear Clear All e Click the buttons at the top and verify that you see the different tanks data e Ignore the Home button It will be used in a later lab e Close the SE client when you are done This Lab is Finished RSView Supervisory Edition Training Guide 6 1 6 Alarms Objectives e Describe how to use the Alarm system e Configure general settings in the Alarm Setup Editor e Configure Alarms on HMI tags e Configure Alarm Logging using the Alarm Log Setup Tool e Configure central alarm logging to an ODBC database e Analyze Alarm log files using the Alarm Log Viewer e Display Alarm information to an operator using o Alarm Summary object o Alarm system tags e Configure when to start and stop alarming e Understand the limits of alarmed
181. h pen Scrolling is faster when data points are held in the buffer however larger buffer sizes require more system resources If you notice run time chart performance slowing down you may want to reduce the number of data points held in the buffer RSView Supervisory Edition Training Guide 9 7 Pens Tab General Display Pens xAsis Y Axis Overlays Template Runtime Pen Attributes E TaghExpr Modei Color Visible width Type SI J 1 Tanks Tank_1Level ODBC Data AW Analog f 2 Tanks Tank_3 Level ODBC Data 1 Analog _ 3 Tanks Tank_2 Level ODBC Data 1 Analog Add Pen X Add Penfs from Model Delete Penfs Multiple Pen Edits Visible Width Type Style Marker Min Max Eng Units ee ES e G a eee ee ee Clear Selections Apply to Selected Penfs Use this tab to add and set up pens on a TrendX chart control To add a pen to the Trend click the Add Pen button The Expression Editor will show allowing you to browse for tags To add a pen from a data log model to the Trend click the Add Pen s from Model button You may edit pen properties to multiple pens at once Select multiple pens in the Pen Attributes box by pressing and holding the Ctrl key while clicking the tag names In the Multiple Pen Edits box specify the attributes you want to apply to all of the selected pens and then click the Apply to Selected Pens button RSView Supervis
182. he logged in user does not have access to the code the tag may be read but not written to There is no security on a tag by default Tags referenced directly from an OPC server tags not in the HMI tag database have no security i Tags Rootbeer Production Mixing Name Mixing Mixer_on_off Type Digital E Description Tag Off Label ff On Label 0n Data Source Type Device Memory Node Name OPC_RSLinx H Address iRsvs E_Class Program Mixing Mixer_on_off 7 Ir0nmow o r Securing HMI Graphics Every graphic display has a security setting in its Display Settings The default is no security on a graphic display Display Settings x Properties Behavior m Display Type Size Replace C Use Current Size C Ehi Specify Size in Pixels Keep at Back 7 7 n Width 700 Height 525 T Allow Multiple Running Copies Resize i ra After Displaying I Allow Display to be Resized No f C Yes ili Resized 7 F Always Updating Pin Scale I7 Title Bar Postion a Use Current Position Specify Position in Pixels IV System Menu x jo w jo IV Minimize Button F Mavimize Button TSize to Main Window at Runtime IEE IV Show Last Acquired Value Background Color Maximum Tag Update Rate as x seconds Cancel Set as Detaut Help RSView Supervisory Edition Training Guide 12 9 Login and Logout When RSView SE Studio or an
183. he Mixing area e Double click the Home button and change its command to display the Main graphic in the Filling area j LE Le Release action Value Min Max Units Cancel Help e Save the changes and close the graphic RSView Supervisory Edition Training Guide 14 30 6 Create an SE Client Create a new SE Client to navigate between the HMI Servers e Name the client Navigate e Reference the new distributed application e Start in the Main graphic in the Filling Area xi Type or browse for an area name and then select components Area Filing zal r Components Initial display Main ii e Run the client and confirm that you can navigate across the HMI Servers 7 Edit the Application Online Changes made to graphics will be updated on a running client the next time that client shows the display e Run the client file from the last step e Open the application in RSView Studio from either computer e Open a graphic display that the client has access to Conveyor in the Filling area for example Edit the graphic somehow add text change colors etc e Save the changes to the graphic display e Navigate to that graphic in your SE Client Confirm that the updated file is shown e Close RSView Studio and the SE Client when you are done troubleshooting This Lab is Finished www rockwellautomation com Corporate Headquarters Rockwell Automation 777 East Wisconsin Avenue Suite 1400 Milwaukee
184. hey are on the same computer A separate activation is not needed RSLinx for RSView may be installed from the RSView SE Product CD A RSYiew Enterprise Supervisory Edition ioj x Fax E Install RSView Supervisory Edition F as E W Install RSLinx for RSView W install RSLinx Enterprise RSView TE n Supervisory Edition meuo W Install Adobe Acrobat E View Release Notes W View Installation Guide wee Exit FactoryTalk TR JAE aa This program is protected by U S and international copyright laws as desoribed in the about box RSLinx for RSView will serve data from Rockwell Automation controllers to a distributed SE application RSView Supervisory Edition Training Guide 2 10 RSLinx for RSView will use the activation from RSView Studio or RSView SE Server If the program starts as RSLinx Lite it has failed to find any activation RSLinx will use an existing activation RSLinx Professional OEM Gateway if there is one on the computer RSLinx for RS iew File View Communications Station DDEfOPC Security Window Help slal Copyright Rockwell Software Inc RS Lins a family of industrial communications software for Rockwell Automation networks and devices Revision 2 31 00 Build 10 Rockwell Software Inc P O Box 351 Milwaukee WI 53201 0351 Business 440 646 5800 Tech Support 440 646 7800 Tech Fax 440 646 7801 Non Exclusive License Granted
185. ho is logged in This code will run when the display starts when the Display AnimationStart event occurs The button object has an enabled property Set this property based on the security code of the logged on user Test for this code by using the CurrentUserHasCode method of the Application object e Select the Display object AnimationStart event Enter the following code 4 Main gfx ThisDisplay Code loj xj Display v AnimationStart v Dim WithEvents oDCapp s DisplayClient Application Private Sub Display _AnimationStart et oDCapp Me Application btnNoOp Enabled CurrentUserHasCode bce btnNoElec Enabled CurrentUserHasCode f Reference the User Accounts editor to see that the Operator account does not have access to codes B or C while all others do The Electrician does not have access to F Tip Find out more about the available properties methods and events of the Application object by using the VBA Object Browser HE DisplayClient gt Ble 2 z alx Classes Members of Application lt globals e ActiveDisplay a W ActivexExtender 8 ActivityBarMessage E AlarmSummary e Application B Application mane E ApplicationName W Arc e ConfigurationFileName E Arrow es CurrentUserCodes W BackspaceButton es CurrentUserHasCode Bargraph gt eS CurrentUserName x Function CurrentUserHasCode Codes As String As Boolean Member of DisplayCli
186. ications you should use computers with faster CPUs and more RAM In any application faster CPUs and more RAM will result in better performance In addition there should always be sufficient disk space to provide virtual memory that is at least twice the size of the physical RAM RSView SE Server Minimum Platform Requirements e Single RSView SE Server running on the computer with RSLinx o Pentium Il or higher 128 MB RAM or more o Windows 2000 Professional SP3 or Windows XP Professional SP1 up to 10 users or Windows 2000 Server SP3 more than 10 users o Internet Information Server e Multiple RSView SE Servers running on the computer or any other significant software application running concurrently o Pentium III or higher 256 MB RAM or more o Windows 2000 Professional SP3 or Windows XP Professional SP1 up to 10 users or Windows 2000 Server SP3 more than 10 users o Internet Information Server FactoryTalk Directory Minimum Platform Requirements e Pentium II or higher 128 MB RAM or more e Windows 2000 Professional SP3 or Windows XP Professional SP1 up to 10 users or Windows 2000 Server SP3 more than 10 users RSView Studio or RSView Administration Console Minimum Platform Requirements e Pentium II or higher 128 MB RAM or more e Windows 2000 Professional SP3 or Windows XP Professional SP1 up to 10 users or Windows 2000 Server SP3 more than 10 users e Internet Information Server to access sample application SE Servers
187. ient RSView SE Studio or Administration Console that issued the command Equals ActivityLogNewFile ActivityLogSendToODBC AlarmLogRemark AppAbort AppActivate AppsStart Beep DDEExecute Pause PlayWave Ramp Remark Set Toggle RSView Supervisory Edition Training Guide 14 11 Commands Executed by the SE Client Only The following client side commands are only executed when they are issued from an SE Client and are always executed on the SE Client They are ignored when issued from the RSView SE Studio Administration Console or an HMI Server Abort Display DisplayClientClose DisplayClientOpen FlushCache Key Login Logout NextWindow PrevWindow PrintDisplay PullForward PushBack SetFocus Commands Ignored by the HMI Server The following commands are executed on the SE Client RSView SE Studio or Administration Console that issued the command The commands are ignored when they are issued from an HMI server Define DownLoad DownLoadaAll Help Identify Invoke NextPosition Position PrevPosition RecipeRestore RecipeSave ScreenPrint SendKeys Undefine UpLoad UpLoadAll RSView Supervisory Edition Training Guide 14 12 Commands executed on the HMI Server Only The following commands can be issued from an SE Client RSView SE Studio Administration Console or HMI Server They are always executed on an HMI server Acknowledge AcknowledgeAll AlarmEvent AlarmLogNewF lle AlarmLogOff AlarmLogOn Alar
188. ight hand side of the Component Services window scroll down to RsAlmLogExpServ Right click RsAlmLogExpServ and then click Properties on the context menu In the RsAlmLogExpServ Properties dialog box click the Identity tab Click The interactive user Click OK In the list of DCOM Config applications right click RsAlmLogService Class and then click Properties oO ON on 10 In the RsAlmLogService Class Properties dialog box click the Identity tab 11 Click The interactive user 12 Click OK 13 Restart the computer Tip If the location of the remote database has been specified using a UNC path in steps 7 and 11 you should specify This user instead of The interactive user and then type the name and password of a user that has access to the network share or database RSView Supervisory Edition Training Guide 6 10 Logging Tab FS Alarm Log Setup x Logging File Management Central Logging m Logging to disk Logging path Its and Settings All Users Documents ASView Enterprise SEAlarmLog V Use long file names m Logging to printer Logging printer Printer Configure a path to log alarm files Specify a printer if you will be logging to one File Management Logging File Management Central Logging Start new files Periodic C Never Hourly Daily Change at midnight Weekly Change at midnight Saturday Monthly Change at midnight
189. ing and alarm logging You may issue the AlarmOff and AlarmOn commands or start alarming automatically in the Startup editor i Startup Rootbeer Production Mixing x Start the following components when the HMI server is run o The Alarm Setup Editor Configure general alarm settings with the Alarm Setup Editor Open the editor from the Alarm folder in the HMI Project cE Mixing Mixing ASLins OPC Mixing HMI C System _ HMI Tags CI Graphics 3 Alarms ol REE p Gs Suppressed List H Logic and Control H Data Log E H o Do RSView Supervisory Edition Training Guide 6 4 Setup tab Generate alarms when approaching normal operating range Check this input box if you want an alarm transaction to be generated if an analog tag value is moving back to the normal operating range when it crosses an alarm threshold The alarm threshold can be increasing or decreasing Maximum Update Rate Select a value from the list to specify the frequency at which HMI tags that have alarms defined for them will be scanned or leave the default update rate of 2 seconds The range of values is from 0 50 to 120 seconds E Alarm Setup Rootbeer Standalone x I Generate alarms when approaching normal operating range Maximum Update Rate 2 k seconds Cancel Help RSView Supervisory Edition Training Guide 6 5 Severities tab m Select Severity Severity 1 r Lagging Destination MV Log to Alarm
190. ing menu Draw a space for an image on the graphic Double click the object and select the RSView Image from the Image Browser ra My Artwork Display 10 Save and close the graphic display This Lab is Finished RSView Supervisory Edition Training Guide 5 18 Adding Objects from the Graphics Library RSView Studio comes with an extensive library of graphical objects you can copy into your graphic displays They are located in the Library item in the Graphics folder in the Application Explorer Some libraries are simply groups of drawing objects while others have built in animation A S Graphics H a Displays H Libraries H E Images E Parameters G0 Recipes E Local Messages A Trend Templates AS Trend Snapshots uses tags system second system blinkfast and system blinkslow To use an object from a library file simply copy and paste it or drag and drop it from the library to your graphic display Library files are simply RSView graphic displays gfx that have been installed in a common directory on your hard drive You may alter the files like any other graphic display file You can create your own library files using the New Library command in the File menu RSView Supervisory Edition Training Guide 5 19 The Object Explorer The Object Explorer tool helps in editing and troubleshooting complex graphic displays It provides a listing of all objects in a graphic display organized in a tree structure
191. inity fla Channel 0 Serial Port None z Be cba RSView Supervisory Edition Training Guide 2 14 2 Configure RSLinx e Open RSLinx by single clicking its icon in the system tray Hel hci a 11 01 AM If the icon is not there RSLinx is not running as a service If this is the case start the service by running the RSLinx Launch Control Panel Start Programs Rockwell Software RSLinx RSLinx 2 3 will run as a service by default RSLinx Launch Control Panel i 5 x pees Service is not running Start lt Stop M Always Run As Service e SoftLogix 5800 uses the Virtual Backplane driver Configure it by clicking on the Configure Drivers icon in RSLinx Select the Virtual Backplane driver lt Q RSLinx for RS iew 2 1o x File view Communications Station DDE OPC Security Window Help Configure Drivers r Available Driver Types lt Add New RS 232 DF1 devices Ethernet devices 01784 KT KTX D PKT D PCMK for DH DH 485 devices 1784 KT CE for ControlNet devices DF1 Polling Master Driver 1784 PCC for ControlNet devices 1784 PCIC S for ControlNet devices 1747 PIC 7 AIC Driver DF1 Slave Driver s0750 DH La eNet Drive g4 PLC 5 DH Emulator driver SLC 500 DH485 Emulator driver SoftLogix5 driver Remote Devices via Linx Gatewa RSView Supervisory Edition Training Guide 2 15 e Click the Add New button Accept the default name and click OK Click C
192. ion 6 12 2003 2 52 27 PM RSView SE Client Operator 1001 h Information 6 12 2003 2 50 29PM RSV iew SE Client Operator 1001 h Information 6 12 2003 2 50 21 PM FactorvTalkDiaanostics Operator 1001 nS RSView Supervisory Edition Training Guide 7 4 ODBC Logging The local FactoryTalk Diagnostics log may be exported to an ODBC Database The ODBC Database destination supports these ODBC compliant databases e Microsoft Access e Microsoft SQL Server e Oracle e Sybase SQL Server Ps Diagnostics Setup o xi Diagnostics Setup ODBC Database Destination Setup Destination Setup Messe Halen b Log z Log message to database every 2 Minutes gt ASViow pt List Buffer message locally for up to fi 2 Hours Message Routing ODBC Data Source Data source name CentralFT Log mj Target Table F FTD al Create table Maintain connection for f5 minutes indefinitely Tl Login required Database user ID Password Confirm password Cancel Apply Help RSView Supervisory Edition Training Guide 7 5 Message Routing Use the Message Routing window to specify which categories of messages should be routed to each logging destination available on your computer The options available to you are specific for each logging destination installed on your computer Each FactoryTalk enabled product categorizes the messages that it generates
193. ion Distributed Application New Existing Application name New Distributed App Description This application will be used to control the manufacturing of the doughnuts RSView Studio __ Cancel RSView Supervisory Edition Training Guide 3 7 Navigating RSView Studio You and anyone on the FactoryTalk network may start editing the application after it is created The Application Explorer window shows the name of the application User Accounts and Secured Commands will be covered in a later chapter 4aRS iew Studio File view Tools Window Help z Bali sE oA New Distributed App Ge User Accounts Secured Commands The View Menu You can customize your work environment with the view menu From here you can toggle the visibility of a number of items including the Explorer Window the Activity Bar and the Status Bar Workbook mode is toggled on and off from the View menu Toolbars are also shown or hidden with the View menu 4aRS iew Studio File View Project Tools Window Help rj iv Status Bar Workbook Mode E Explorer Window v Activity Bar v Standard The Application Explorer will contain all the elements of the distributed application The window can be shown and hidden from the View menu It may be displayed in different ways To change how it looks right click in the title bar The choices are docked floating or MDI Multiple Document Interface child
194. ion Training Guide 5 48 Local Message Files Local Message Files are created and stored in the Graphics folder in your Project Explorer Displays Libraries Ea Images Parameters Recipes Local Messages R Batch Progress Bottle BA Trend Templates E Trend Snapshots 3 Graphics Here is an example of a Local Message File Batch Progress Rootbeer Production Mixing Local Messages O x Trigger ale Message Tank Empty Ready to start Water Adding Water to Batch Water Done Start Syrup Now Adding Syrup to Batch Syrup Done Ready to Pump Tank Pumping Tank Out Trigger values are arbitrary but must be unique They can be positive or negative but not zero The message can be up to 256 characters long You can use the new line character n to specify that the message continues onto the next line after the character Embedded Variables may be inserted into a message Right click the message and select Edit RSView Supervisory Edition Training Guide 5 49 Recipe A recipe object provides operators a way to specify the name of a recipe file containing data for the numeric and string input boxes in a display You can create a recipe using the Recipes editor or any text editor that produces ASCII files You can also create a recipe by saving the values from input boxes in a graphic display to the name specified in the Recipe input ob
195. is option if you want the button to base its state on external changes to the Value control If the value does not match one of the button s state values the application changes the button to State 0 and writes out the State 0 value Note If you use the auto repeat function for this button the application uses the last value written out to determine the next value to write out regardless of the Next state based on setting Interlocked An interlocked push button is one of a group of buttons that have the same control tag The buttons function together in much the same way as Microsoft Windows option buttons pressing one cancels the others and makes a new selection Although interlocked push button function as a group you add them to the screen one at a time When the operator presses an interlocked push button it changes from State 0 to State 1 and sends the Button Value to the data source When the operator presses another interlocked push button it changes from State 0 to State 1 sends its Button Value to the data source and the first button is set back to State 0 m Button Value r RSView Supervisory Edition Training Guide 5 38 Ramp A ramp changes a tags value by a given increment When the operator presses the ramp button the application reads the Value control value stores a local copy of the value adds or subtracts the ramp amount from the local value and writes the result to the Value control at the data source
196. ition Training Guide 13 5 The VBA IDE The Microsoft VBA IDE Visual Basic for Applications Integrated Design Environment lets you write edit test run and debug code To open it do one of the following select Visual Basic Editor from the View menu in the Application Explorer select VBA Code from the Edit menu in the Graphics Display editor right click on a display when it is open in the Graphics Display editor and then select VBA Code from the context menu right click on an element in a display and then select VBA Code from the context menu The VBA IDE consists of a project explorer properties window and code window 4g Microsoft isual Basic Alarms gfx File Edit View Insert Format Debug Run Tools Add Ins Window Help 4 3 Olt esloo gt naX Vr Project DisplayCode X FT EERTE Alarms gfx ThisDisplay Code E CO General Declarations X DisplayCode Alarms gfx 29 RSView Studio Objects i ThisDisplay amp Alarms gfx UserForm1 UserForm 65 Forms UserForm1 Properties UserForm1 xi UserForm1 UserForm X Alphabetic Categorized UserForm C amp Hs000000 BorderColor BB eHs0000012 BorderStyle 0 FmBorderStylen Caption UserForm Cycle 0 FCycleAllForm DrawBuffer 32000 Enabled True Font Tahoma ForeColor WB 8H800000128 Height 180 HelpContextID 0 KeenSrrallRarsyisihle 3 fmScraliRareFint
197. ject A Trend Snapshot i Batch Progress Rootbeer Production Mixing Local Messages Trigger value Tank Empty Ready to start Water Adding Water to Batch Water Done Start Syrup Now Adding Syrup to Batch Syrup Done Ready to Pump Tank Pumping Tank Out Message Save the Local Message file as Batch Progress RSView Supervisory Edition Training Guide 5 52 2 Create a new graphic display e Create a new graphic display Refer to the following pages for instructions on how to build it At the end of the lab it will have the following objects f Mixing_Tank Rootbeer Standalone Rootbeer Standalone Display Mixer Control Setpoint via bee Actual 4 Mixer OFF Home Local Message Display e As soon as you place an object on the display save it as MixingTank Remember to save your work often RSView Supervisory Edition Training Guide 5 53 3 Add Objects see following pages for details f MixingTank Rootbeer Standalone Rootbeer Standalone Display lol xj Water Line A Syrup Line B Start m Mixer Control APS etpoint A e f H gt ER E A seee ae Actual 4 oi os Start E Mixer OFF Pump HF j Leve g 2 oo A Text All text can be the same e Fore color black Back style Transparent e Font Arial 18 pt bold B This group consists of Text a Panel and a Momentary Push Bu
198. ject The user can read data from a recipe on disk to the input boxes then download these values to an external device such as a programmable controller Alternately the operator can upload values from an external device into the input boxes and then save the contents of the boxes to the recipe Recipe Properties x Default recipe name potent rootbeer recipe Field length 25 m Justification Left C Center C Right Cancel Help a Graphics E Displays Ej Libraries H fa Images E Lecaros L H A Local Messages DA Trend Templates al Trend Snapshots RSView Supervisory Edition Training Guide 5 50 Recipe Files Create recipe files in the Recipes Editor under the Graphics folder When you create numeric and string input boxes each is assigned an index number Numeric Input Properties x Tag Mixing Mixer_rpm_setpoint amp Tab index c_ Use this index number when creating a recipe For each line in the recipe specify the index number a comma and the value String values must be in quotes You can include comments in the file by placing an exclamation mark after the value and entering the comment For example a simple recipe would look like the following Setup 1 Recipes x Recipe File created 01 23 2002 Recipe files are used with graphic displays to load specified values into numeric or string input fields l Syntax index Value Example 1 44 2 56 The
199. key The Object Key Current Tag parameter is a placeholder for a tag name or any character string Use this parameter to create a command that is object specific For example if you want F2 to set the value of a selected object s tag to 1 you would set up a display key for F2 using the tag parameter and then set up object keys for each object on the screen specifying which tag to use for each object When the display runs pressing F2 on an object will substitute the tag in the Object Key Current tag field into the Display Key action E Mody Repeat action Hanae gl Remove All a Ie ney Release action Lae al Tab index fi V Highlight when object has focus z Current tag Tanks Tank_1_Pump Tags Display Keys x Select key Label F3 Pump OFF Press action N d Modify Repeat action Remove Br M Pove B Remove All l Help Release action RSView Supervisory Edition Training Guide 11 9 Client Keys Client keys like object and display keys allow the operator to interact with the system at run time to do things like change displays or set tag values Object and display keys are defined in the Graphics Display editor Client keys are defined for an application using the Client Keys editor They are enabled whenever the application is running on an SE Client unlike object and display keys which are active only when their associated object or display is However obj
200. l Text Enable Task Two btnThree Enabled CBoolfembControl Text Enable Task Three btnFour Enabled CBoolfcembControl Text Enable Task Four End Sub Hint cBoo1 is a VBA function that returns a 0 or 1 based on the expression in parentheses For more help in VBA select the item you want help on and use the F1 key on the keyboard RSView Supervisory Edition Training Guide 13 14 e Test the display The item selected from the ComboBox should enable the button The other buttons should be disabled F YBA Rootbeer Standalone Rootbeer Standalone Display o x a ES ea e Save and close the graphic display Part C Now integrate VBA into an existing graphic You will add VBA code to enable or disable pushbuttons based on the security code of the logged on user e Open the Main graphic display from Lab 13 e Add two RSView buttons at the bottom of the graphic e Give them the captions as shown below f Main Rootbeer Production Mixing Display oo x i Currently Logged In Login Screen SSSSSSSSSSSSSSSSSSSS Login Mixing Tank A Trend co Tank Data Alarms MM OPERATOR ELECTRICIAN Logout may NOT press this may NOT press this RSView Supervisory Edition Training Guide 13 15 e Rename the buttons and expose them to VBA Right click a button and select Property Panel Name the button on the left btnNoOp Select VBA Control from the ExposedToVBA property Leave th
201. lass J system lt None gt Tag filter amp F_Sediment_Truck_Enable F_Sediment_Truck_Load F_Sediment_Truck_Move amp Motor_Amperage Motor_IN_Temp Motor_Oil_Reservoir Motor_OUT_Temp amp Motor_Stator_Temp Overview _Back amp Overview_Next m Selected Tag Home area i FiterStation Control_R un_Enable aa K Cancel Help pe ee Ee See page 5 21 for more information on using the Tag Browser RSView Supervisory Edition Training Guide 4 3 Directly referencing the processor tag values requires an OPC server RSView conforms to the OPC Data Access DA 2 0 specification for information exchange among automation or control applications field systems or devices and business or office applications RSView provides direct access to the basic set of attributes of all OPC DA compliant tags The OPC DA specification calls these tags data items In RSView you access OPC DA compliant tags through the data server The tags you access through a data server are called data server tags Using Directly Referenced Tags Use directly referenced data server tags whenever you need to access a value from the controller and you don t need to attach alarming or security or need to manipulate the value of the tag Using data server tags allows you to add modify or delete tags i
202. ld Startup type Load and run startup components when operating system initializes Number of displays Unknown Licensed maximum Unknown RSView Studio will check that the HMI project exists on the failover computer Clicking OK at this point will make a connection to the failover RSView Supervisory Edition Training Guide 14 18 Specify the startup components in the Components Tab You can decide what components will run on the primary and secondary HMI Servers and when HMI Server Properties i x General Redundancy Components On startup components JV Alarming These V Data logging opec Data components will Derived tags SSS rl be executed on both the Primary Events z and Secondary HMI Servers Macro V On shutdown macro Shutdown RSView commands in 7 On active macro Active HMI Events these macros will execute V On standby macro Failover Events z relative to the failover m Primary server Run Startup Components Stop All Running Components Secondary server Run Startup Components Stop All Running Components Cancel Apply Help Alarming Alarm Detection occurs only on the Primary HMI regardless of the components alarm checkbox Alarm state information is synchronized with the Secondary HMI so the Alarm Summary is current on a failover Note HMI redundancy in RSView SE 3 0 has no project synchronization You
203. lect the shared network location of the FactoryT alk Directory and optional redundant location that all FactoryT alk enabled software installed on this computer will use Current FactoryT alk Directory Location localhost connected Use the FactoryT alk Directory installed on this computer aremote computer c h os t IV Provide FactoryT alk Directory redundancy using a secondary location Provide redundancy using the FactoryT alk Directory installed on this computer aremote computer FTD Backup Browse lt lt Configure Redundancy Cancel RSView Supervisory Edition Training Guide 14 16 Data Server Redundancy You may specify a failover computer to supply data if the primary data server fails An SE Client will continue to receive updates from the backup computer after a brief delay You may specify whether to fail back to the primary server when it comes back online or continue to use the secondary The secondary computer must be configured with the same OPC Server as the primary For redundant RSLinx configure identical topics as well Configure redundancy in the Data Server Properties Data Server Properties 2 x General Redundancy Advanced IV Provide redundancy using a secondary server Computer running secondary server SSE Browse Switch back options Continue using the secondary server even when the primary becomes available again Switchb
204. lence Cur Identify Filter Sort Alarms digital1 Te Alarms analog1 Toggle Alarms digital1 Show only the following buttons in the alarm summary e Ack Current e Ack All e Silence Current e Identify e Filter e Sort Save and close the graphic display This alarm summary will be the operator interface for viewing and acknowledging alarms generated in the project RSView Supervisory Edition Training Guide 6 28 5 Testing the Alarm System Testing the display will not activate the alarm summary An SE Client must be configured to test the alarming functionality SE Client is the runtime operator interface A 2 hour test client is included with RSView Studio The steps for creating a client to test the tag placeholders are detailed below Select Launch Display Client from the Tools menu Click New Launch RS iew SE Client l x Select a configuration file and click OK to launch an RSView SE Client CAD ocuments and Settings All Users Documents ASView En OK Cancel Browse ESN Click New again in the RSView SE Client Wizard Type Alarms as the name of the client file Keep the default location Click Next RS iew SE Client Configuration Name x Type the name of a new configuration file Alarms Select the Stand alone option Click Next RS iew SE Client Application Type x Select the type of SE application the client will connect to Distributed f Stand alon
205. lication The FactoryTalk Directory Information about a distributed application resides in the FactoryTalk Directory You must decide which computer on your network will be the FactoryTalk Directory and then you must install the FactoryTalk Directory software on that computer You will be prompted to specify the FactoryTalk Directory Server when you install RSView Supervisory Edition Note This applies to a distributed application only An RSView SE Station installation will automatically reference a local FactoryTalk Directory At any time you may use the Specify FactoryTalk Directory Location utility Start Programs Rockwell Software Utilities to set the name of the computer on which the FactoryTalk Directory is installed You must use the Specify FactoryTalk Directory Location utility on every computer on the network you want to have access to your applications Aj Select Shared Network FactoryTalk Direc This utility allows you to select the shared network location of the FactoryT alk Directory and optional redundant location that all FactoryT alk enabled software installed on this computer will use Current FactoryT alk Directory Location localhost connected Use the FactoryT alk Directory installed on this computer aremote computer oca h ost JV Provide FactoryT alk Directory redundancy using a secondary location Provide redundancy using the FactoryT alk Directory installed on this
206. lose to exit the Configure Drivers window Configure Drivers l Available Driver Types Virtual Backplane SoftLogix58xx v Add New m Configured Drivers Name and Descriptior Add New RSLinx Driver i Choose a name for the new driver 15 characters maximum Cancel AB_VB P 1 _ Cancel _ Configure Startup e Select Options in the View menu Note that by default RSLinx will allow RSLogix to create OPC topics They are created when the RSLogix program is saved and downloaded to the processor You will use the topic in later labs Click OK to close the dialog box Options 21x General MV Status Bar M Toolbar IV Enable Event Viewer Notification MV Enable RSWho Autobrowse M Show Linx Gateways in RSWho V Accept UDP Messages on Ethemet Port IV Allow RSLogix 5 to Create DDE OPC Topics Allow ASLogix Allow RSLogix 5000 to Create DDE OPC Topics Cancel Apply Help RSView Supervisory Edition Training Guide 2 16 3 Download a program to the processor e Open RSLogix 5000 Start Programs Rockwell Software RSLogix 5000 Enterprise Series Open the RSView_Class_SoftLogix acd file from Supervisory Edition Class Files SoftLogix Program e With the program loaded select Who Active from the Communications menu fg RSLogix 5000 RS YSE_Class 1789 L60 File Edit View Search Logic Communications Tools Window Help Boba 8 Select
207. lt expression gt THEN lt command gt lt command gt ELSE lt command gt lt command gt ENDIF Expression EPS Walve Open Logical Relational Arithmetic Bitwise Functions Check Valid Syntax Line 1 Column 115 THEN action Display Lift Station ELSE action ne Command String lf EPS Valve Open Then Display Lift Station Else Display Aeration Endif Help Cancel lt Back Raho Upon an operator pushing the button the tag EPS Valve Open is evaluated If the tag resolves true 1 the Lift Station display is opened If the tag resolves false 0 the Aeration display is opened RSView Supervisory Edition Training Guide 5 26 Using Placeholders in Commands You may use a tag placeholder to replace a tag reference with its current value when the command is evaluated To create a tag placeholder enclose the tag reference in dollar signs If the tag placeholder is enclosed within double quotes or nested in the string value of another tag placeholder RSView does not substitute the tag value Examples For the following examples assume that the HMI project contains the following tag references with the following values Tag1 1 Tag2 2 Tag3 3 Tag4 Screen2 The following commands are executed Example 1 Display ScreenSTag1 Result Replaces Tag1 with the tag s value 1 then executes the command Display Screenl Example 2 Display Tag4 Result
208. m tanks tank_1_number tsview_class_softlogix program tanks tank_1_pump display main Replace with tsview_class_softlogix pragram tanks tank_1_level tsview_class_softlogix program tanks tank_1_number tsview_class_softlogix program tanks tank_1_pump display main Confirm replacements e Click Replace Five instances of the tag should be replaced Open a numeric display to confirm that the substitution has occurred Numeric Display Properties General Common Expression RS iew_Class_SoftLogix Program T anks 1_Number RSView Supervisory Edition Training Guide 5 78 There is only one placeholder in this solution Use the Display T command to substitute the tank information at runtime Display TankData TtankX e Configure the three buttons at the top of the display Clicking these buttons at runtime will display this same graphic with the individual tank data substituted for the tag placeholders Double click each button and click on the Action tab Build a command to display the Tank Data graphic with the T switch You will have to type tank_1 etc Click OK when you are done ankData Rootbeer Standalc F Button Properties E g General Action up Appearance Down Appearance Common Action Run command gt T Press action HHH A ne 12 2003 WA Repeat action E Repeat rate secs 0 25 10 49 21 AM eae ae a C OE
209. mLogSendToODBC AlarmOff AlarmOn AlarmPrintOff AlarmPrintOn DatalogChangeRate DatalogMergeToPrimary DatalogNewFile DatalogOff DatalogOn DatalogRenameFile DatalogSnapShot DatalogSwitchBack DerivedOff DerivedOn DriverPrimary DriverSecondary DriverToggle EventOff EventOn HandShakeOff HandShakeOn NodeDisable NodeEnable NodeSwitch Silence SilenceAll SuppressOff SuppressOffAll SuppressOn RSView Supervisory Edition Training Guide 14 13 Deploying A Distributed Application RSView SE has a level of flexibility that allows you to develop an entire application on one computer then deploy it to a distributed network of computers before runtime For example an engineer has developed an entire SE application on a laptop computer RSView Studio SE Server 2 SE Client 2 FactoryTalk Directory RSLinx OPC Server At runtime the distributed application will look like this SE Client SE Client RSView Studio SE Server SE Server RSLinx FTD RSView Supervisory Edition Training Guide 14 14 Steps to Deploy the Application e Install the appropriate software on the runtime computers e Configure RSLinx or other OPC servers on the runtime data server computers with the appropriate OPC Topics You may use the RSLinx Backup Restore utility to automate this e Move the application file rnad from the development computer to the runtime FactoryTalk Directory computer The application file is in this path
210. me Tag Expression Tag Expm Indicator m Select Tag Folders Rootbeer Production cl Filing CE Mixing Comments Filling H mem Mixin a 9 Mixer_rpm_actual new H E OPC_Browse Mixer_rpm_setpoint H E RSYSE class Mixer_Tank_Level H E system Pump_hold Tanks amp Pump_on_off ten_sec_timer Syrup_Done Tag filter z Selected Tag Mixing Mixer_on_off Home area Mixing cect oo RSView Supervisory Edition Training Guide 5 22 The tag browser shows all Data Server and HMI tags To separate the two right click in the folder area and choose Show Server Names Refresh Folder Refresh All Folders Show Server Names few AMI Tag Folder Go To Home 4rea i Tag Browser r Select Tag RE Application SEA Rootbeer Production 0 Filling Area Home Area in Bold ed Mixing 8 Mixing RSLinx OPC p lass Data Server Onine Data Server Tags 2 A Mixing HMI Z1 Filling C mem Mixing C OPC_Browse C system G Tanks C ten_sec_time HMI Server HMI Tags Select tags from the right pane of the browser
211. ments and Settings All Users Application Data Rockwell RN View Favorites Tools Help Fie Edit lt Back gt search GyFolders 64 AS OS x a E Address C Documents and Settings All Users Application Data Rockwell RNAServer Global red Go Name 0 Size Type Modified File Folder 4 21 2003 11 01 PM 16KB RNAD File 6 17 2003 12 23 PM E Rootbeer Distributed RnaD N a Samples Water RnaD 13KB RNAD File 4 21 2003 11 04 PM RSView Supervisory Edition Training Guide 14 22 3 Edit the Application You want to have a single application with 2 HMI Servers Areas need to be created in the application Areas are logical organizers that contain a single HMI server and any number of Data Servers e Right click on the root of the application and select New Area Name it Mixing 4aRS iew Studio File view Tools Window Help SO ole Application Explorer SENER ootbeer Distributes E User Accounts i Secured Comma New HMI Server New Data Server gt Properties Refresh RSView Supervisory Edition Training Guide 14 23 You will now incorporate the work you did on the standalone HMI by adding it to this distributed application e Create an HMI Server in the Mixing Area by right clicking on the area and selecting New HMI Server e Choose to Copy an HMI server HMI servers may only be associated with one application This prevents you from attaching to the existing HMI
212. mmand String EventOn Mixing Events Help Cancel lt Back One event file may be started automatically by specifying it the Startup editor Startup Rootbeer Production Mixing r Start the following components when the HMI server is run IV Alarming Tl Data Logging obec Daa O IV Derived Tags Miner sti s sSY M Event Detector Mixing Events o Startup Macro F Shutdown Macro Cancel Help Stop a derived tag file by issuing the EventOff command RSView Supervisory Edition Training Guide 10 8 Lab 11 Derived Tags and Event Files Objective In this lab you will create a derived tag file and an event file The derived tag file will perform some math functions on existing tags The event file will automate an entry into the Activity Log Software Requirements e RSView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program 1 Create a new derived tag file e Open a new derived tag file Bring up the tag browser and double click the mem folder to open it Right click in the right pane and create a new tag called TotalTankLevel E Untitled Rootbeer Standalone D Tag Name R Description Select Tag Folders Contents of mem Rootbeer Standalone L Alarms amp analog ea Comments digital TEN string CI RSView_Class_ControlLo a RSview_Class_SoftLogix Show Description CI Scaling C system New HMI Tag Import PLC Tags
213. n Training Guide 14 3 RSView SE Client RSView SE Clients are deployed to a runtime computer with an RSView SE Client software installed Create a client file in RSView Studio These files have the cli extension Select Launch SE Client from the Tools menu Click New to create a new client file Launch RS iew SE Client E x Select a configuration file and click OK to launch an RSView SE Client CAD ocuments and Settings All Users Documents ASView En OK Cancel Browse This will launch the RSView SE Client Wizard Use the wizard to configure a new client file edit existing files or remove files Removing a file from the list does not delete if from the computer RSView SE Client Wizard x Welcome to the RSView SE Client wizard New To create a new RSView SE Client configuration file click New To edit or run a file select one from the list below or type a file name in the File name box or browse to find and select one and then click Edit or Run To remove a file name from the list select it and then click Remove Most recently used configuration files s ll Users Documents ASView Enterprise SE Client Main cli lt All Users Documents AS View Enterprise SE Client M acro Key Test cli s All Users Documents AS View Enterprise SE Client 4larms cli Edit Remove ui Run i gj File name C Documents and Settings All Users Documents ASView EnterprisesS l Help Cancel
214. n Training Guide 9 12 Creating Trend Templates Templates allow you to save the display options for a Trend and then apply those options to other trend charts for a consistent appearance Templates are also a good way to create a set of different views of the same data or a quick way to return to a standard display after experimenting with display options To create and save a new template 1 Use the General Display Pens X Axis and Y Axis tabs to specify the display options and pen attributes to be captured in a template 2 On the Template tab specify which of the set up options should be applied to a trend chart when the template is loaded On the left side of the options box click a property tab to select it On the right side of the box select the specific options available from that tab to load with the template Clear the check boxes for those options that should not load with the template 3 Click the Save Template button Type a name for the template and then click OK The new template is saved immediately it is not necessary to click OK or Apply on the property tab General Display Pens X Axis Y Asis Overlays Template Runtime m Select template options General tab T TETA Description Length Display Min Max Values Background Color Display Pen Bitmaps Display Pen Values Display Current Time Scroll Mode Load Template iHi Delete Template Display Scroll Mechanism T
215. n a device without having to duplicate the changes in RSView s HMI tag database It allows you to browse a tag in a controller as opposed to creating a static database Data server tags allow access to complex data types Some devices for example ControlLogix processors support complex data types such as arrays and structures Your controller might have structures that contain hundreds of member elements Referencing tag values directly eliminates the need for creating one HMI tag for each member and creating additional HMI tags every time you create a new instance of a data structure in your controller RSView Supervisory Edition Training Guide 4 4 An additional benefit of directly referencing tags is the efficiency achieved in bypassing the HMI server The OPC server serves its data to the client The HMI does not have to process the information This resolves to less network hops in a distributed environment In the diagram below tag information from the ControlLogix is served directly from the OPC Server RSLinx to the Client requesting the information It is not routed through the HMI Server SE Client HMI Server Data Server RSLinx Control Logix RSView Supervisory Edition Training Guide 4 5 HMI Tags In addition to directly referenced data server tags RSView provides a tag with additional properties for alarms security and data manipulation This type of tag is called an HMI tag Every HMI Project has its own
216. ncel Help Use this dialog box to remove users from the security system as well as add them RSView Supervisory Edition Training Guide 12 5 You may assign a Login or Logout macro to an account This may be any command you wish to execute when a user logs in or out Use these macros to customize the Client for a particular user For example Display an overview screen automatically when a supervisor logs in 1o x Account ID STUDENT mea SE VMAMBMC WD Login Macro A de dr de di Logout Macro te VI MMJ MK Mw L VMMMWN Ww Ow P Pind eect FPS RN OR REC CR GEZE 1 STUDENT YYYYYYYYYYYYYYYY 2 ELECTRICIAN YYYYYYYYNNNNNNNWN 3 MAINTENANCE YYYYYYYYNNNNNNNWN 4 ENGINEER YIYIYIYIYIYIYIYIYIYIYIYIYIYININ 5 RSVIEW POWER USERS YYYYYYYYYYYYYYYY You must save the changes in the User Accounts dialog for them to take effect RSView Supervisory Edition Training Guide 12 6 Securing the Application The entire application can be protected from unauthorized editing by placing a security code on it Right click on the application name and select Properties Associate a security code with it RSView Studio will check the user logged into Windows to authorize the editing of the application This only applies to a distributed application Standalone applications don t have a security code associated with them Application Properties x General Name Rootbeer Production Description Security code
217. ncs asi heeeatohaektnenbahutdeyentony 15 Factory Talk Dire Cuony coc ftcic steels id alicnt Sicetvedcatassetcetds nde cusutesseited aicetaacaesadahd EAn a EaR Eies 15 Data Server RECUMGAMO Ys 2c cst acute date anoittianlt eae tein Sida clita tes ia hole Ghy a d ankaa asse 16 HMI Server REAUAGANCY ai icee ect tse tnd cud tva deco aiewd es nee ned Maauedeee deveudadel neendvaeivenee 17 Lab 15 Create a Distributed AppliCAationn cccccccccccccccceeeeeeceeeeeeeeeeeeeeeeeneeeeeeeeaeeees 19 RSView Supervisory Edition Training Guide 1 1 1 Course Objectives Upon completion of this course you will be able to develop a working RSView Supervisory Edition project by performing the following tasks e Understand the architecture of both standalone and distributed RSView Supervisory Edition applications e Create a new application in RSView Studio e Create Areas HMI Servers and Data Servers within an application e Configure communications using direct referencing of OPC topics and HMI tags e Build an HMI Tag Database by manual entry Database Browser and Database Import amp Export Wizard e Create and run Derived Tag and Event files e Create graphic displays e Configure Alarming for HMI tags and view it in Alarm Log files and an Alarm Summary object e Configure FactoryTalk Diagnostics Logging and Data Logging e Create Trends to show real time and historical data e Configure User Accounts and apply security to graphics HMI tags a
218. nd commands e Learn about VBA Display Code and the SE Client Object Model e Create a distributed application e Configure HMI Server and Data Server Redundancy e Deploy a distributed application to multiple computers e Configure RSView SE Client and run an application RSView Supervisory Edition Training Guide 1 2 This page intentionally left blank RSView Supervisory Edition Training Guide 2 1 2 Introducing RSView Supervisory Edition Objectives e Understand where RSView Supervisory Edition fits into the ViewAnyWare strategy e Understand the different software packages needed for developing and running Supervisory Edition applications e Understand the minimum hardware and operating system requirements for the Supervisory Edition development and runtime environments e Understand how to activate your software e Understand the general features and functions of an RSView Supervisory Edition application RSView Supervisory Edition Training Guide 2 2 What is RSView Supervisory Edition RSView Supervisory Edition is a product in the ViewAnyWare strategy from Rockwell Automation ViewAnyWare is a complete visualization effort encompassing both hardware and software ViewAnyWare provides a single development environment to create visualization solutions that span from small machine level to large supervisory level projects The RSView Enterprise Series refers to the software foundation of ViewAnyWare The Enterprise Series
219. nd keys assignments Software Requirements e RSView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program 1 Test Symbols e Symbols are best used as shortcuts while you are editing a project Test this by creating a new graphic Place a numeric display of the tag mem analog P Untitled Rootbeer Production Mixing Display mem analog HEF e Open a command line Issue the following two commands Define UP ramp mem analog 5 Define DOWN ramp mem analog 5 e Test the graphic and show a command line Issue the UP and Down commands and observe the effect Note the up arrow on the keyboard will scroll through past command line commands Close the display don t save it when you are done mem analog 15 Command Line Rootbeer Production Mixing RSView Supervisory Edition Training Guide 11 11 2 Create macros e Create two new macros The first will be named Startup and contain commands to start data logging display a graphic and set a tag 0 Use the Command Wizard to build the commands E Startup Rootbeer Standalone Macros Oj x Macro File created 02 19 2002 Macros are lists of commands with one command per line See Help or the manual for a list of commands and their parameters This will start all of the data logging for the SE Client DataLogOn ODBC Data DataLogOn Trending Data Display the Conveyor graphic and force the number of bottles to zero
220. nding Data Objectives e Create Trends in an HMI graphic display e Configure Trend properties e Configure a trend to display both real time and historical data e Capture and overlay snapshots of trend data e Create trend templates RSView Supervisory Edition Training Guide 9 2 RSView Trending Trends allow you to visualize data in your RSView project There are two ways to look at data e use trends to see real time data as it is generated by the HMI Server e analyze historical data collected with local or remote data log file sets Creating a Trend Trends are graphic display objects used in an HMI Project Select the Trend tool from the Objects Advanced menu Draw a rectangle in the graphic to define the size of the trend Double click the trend or right click and select Properties to configure it f Untitled Rootbeer Standalone Rootbeer St f Oj x a fe a Trend Friday June 13 2003 Properties h GS Fit i im el VBA Code Activex Events Methods byect Keys Arrange gt Animation gt 11 11 24 AM 1 11 48 11 12 12 11 123 ed me E a Tag Substitution Convert to Wallpaper Dranerty Danal RSView Supervisory Edition Training Guide 9 3 General Tab Trend Properties x General Display Pens Axis Y Axis Overlays Template Runtime Common MV Display chart title Data Server Trend Real time data server V Display progress bar while loadin
221. nfigure S ws amp SE Distributed SE Machine Stand alone Edition RSView Studio Cancel RSView Supervisory Edition Training Guide 3 24 e Select SE Stand alone and click Continue e Give the application a name Make it unique so you can identify it later on Use your name ex Jim Standalone App For this manual the application will be named Rootbeer Standalone New Open SE Stand alone Application New Existing Application name Rootbeer Standalone Description L Import Ppa a The basic structure of the standalone application is created 4aRS iew Studio File view Tools Window Help ort th S O ole e xj ppli SEER ootbeer Standalone E gt User Accounts Secured Commands f Rootbeer Standalone RSView Studio Cancel RSView Supervisory Edition Training Guide 3 25 4 Create a Data Server Create a Data Server within the application to reference the RSLinx OPC Server This is how the SoftLogix or ControlLogix tags will be directly referenced e Right click on the root of the application and select New Data Server OPC Data Server 4aRS iew Studio File view Tools Window Help m S D ole x Jeg Rootbeer Standalone Ge User Accounts New Data Server gt OPC Data Server Secured Comma AB Rootbeer Stande Properties RSView Supervisory Edition Training Guide 3 26 e Keep the computer setting to you
222. nknnn nuneco eeieenes 12 The TrendX Object MOG le coressasscccitncs catch tack hate acetates eto ee ne Soe staal iannus Sean 16 Lab 10 Trending isien ita whites es iasbelae ty aak beh tet aseag A ENAA a rekest base tek 20 10 Derived Tags and Event Fil S ccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 1 Derved TajSheririrmon konne e aa E A E a tee eteaduse 2 Event Pile sinc tcccedsteavtenciter cine as utenhicetstraradandey may a a A AAA EEE E AENEAN TEE Eek EE aiai 5 Lab 11 Derived Tags and Event Files ccccccccccecceccecceeeeeeeeeeeeeeeeeneeeeeenesesesseneeeeeees 8 11 Macros Symbols and KeyYS cccccceceeeeeee cece cece eeeeeeeeeeeeeeeeeeeeeeeeees 1 Using MACKOS Ses cietesetcu eae Rina ieee E Bate cede Se bes EEE AREA Alans ea Datel ewede body Raced 2 Using Symbols swiss aisle sces enna taeien Sac esap iiaa re Munk aceon nev eas sawsadene AEGEA ENAA ond EEN PEE esetei 5 ETa ROY Sars A ATA EEA 6 Lab 12 Macros Symbols and KeyS sessneeenneennereseerrnneenrersrerrsssrtnnrerenensssrrrnnt 10 E E ETITI 1 User ACCOUIUS hie shea stactuet i datt ehailehe car o enaa Eaa AEO EA a AA a AAVA chkaeneaudabdnedtads 3 Securing the Application cccccccccccceccecceeceaeeeaeeeaeeeaeeeaaeeaaeeaaeeaaeeaaeeaaeeaaaeaaeeaaaeaaanaes 6 Securing Command Saaie n a a ee aA A E aTa Eaa a 7 Securing AMI Fags are ene a eae nents EET EN AAAA AASE a 8 Securing AMI Grapes iaia tarea e A a ae esea 8 LOGIN ANC Logo ts irie eee e aea EERE
223. nless your computer is part of a Domain and not a Workgroup e Select the Administrator user account Double click on the name or click the gt button to move it to the RSView User Accounts field e Click OK to close the editor Add User Group x Windows Domain C COMPUTEROI X Windows Users or Groups RASView Accounts CIG Administrator Administrators Backup Operators Guests Power Users Replicator e The account is added Keep all the default settings and click Close to exit the editor Click Yes to save the changes ioj xi AccountID ADMINISTRATOR me VA MBMC HD Login Macro a VEREMGRH Logout Macro a VI wi MK WL MMN WO WP RSView Supervisory Edition Training Guide 5 81 Create an SE Client Each student will do these steps e Select Launch SE Client from the Tools menu 4aRS iew Studio File view Tools Window Help F m t Diagnostics Setup Diagnostics Viewer Alarm Log Setup Alarm Log Viewer Tag Import and Export Wizard Application Manager e Click New Launch RS iew SE Client x Select a configuration file and click OK to launch an RSView SE Client z OK Cancel Browse EEEN e Click New again in the RSView SE Client Wizard RSView SE Client Wizard J x Welcome to the RSView SE Client wizard To create a new ASView SE Client configuration file click New
224. nning at one time e The maximum number of tags that can be logged by one data log model is 10 000 e The total number of characters and spaces allowed for the path and name of a tag in a data log model is 255 Setup Tab Select the data storage format here File Set or ODBC File Set Logging Untitled Rootbeer Production Mixing Data Log Models x Paths File Management Log Triggers Model Name Untitled OK Description JUntitled datalog model Log File Cancel Identifier String 7 Storage Formal File Set ODBC database Number of Characters in String e2 Specify the maximum number of characters in a string tag to be logged up to 82 RSView Supervisory Edition Training Guide 8 4 ODBC Database logging Untitled Rootbeer Production Mixing Data Log Models Paths File Management Log Triggers Model Name Untitled Description Untitled datalog model Log File Identifier String r Storage Format C File Set Tana AccessDats m Login Required User Id Sa Float T able FlostT able w Password pe String Table StringT able A C Create Tables You must first create the data sources on the machine on which the data logger will run To do this use the Microsoft ODBC Data Source Administrator which you will find in Start Settings Control Panel Administrative Tools Data Sources ODBC ODBC database
225. ns It can also be found in the Start Programs Rockwell Software RSView Enterprise Tools menu Options with the Tag Import and Export Wizard Tag Import and Export Wizard x Select the operation you would like to perform Operation Export RSView tag database to CS files Export ASView taq database to CSV files Import RSView tag CSV files Merge AS View tag database Import 4 1 Series or Logic 5 database files Import RSLogix 5 500 Address amp Symbol ASCII files Help Cancel lt Back Einish RSView Supervisory Edition Training Guide 4 18 Editing the Tag Database in Excel Once the csv file is opened in Excel you are free to modify existing data and add folders and tags It is safest to copy paste and modify rows of data so no column information is left out Ed Microsoft Excel Rootbeer Standalone Tags CS gt iol xj File Edit Yiew Insert Format Tools Data Window Help Type a question for help m g X g amp B ne ESA Li 49h al 378 ral ys id fa ta ACB x Gt fre Ye Reply with Changes bed Arial 10 BZ U EFSSS S 3 500 EH i E A27 bd fe IF G H zl Security Code Alarmed Native Type Ya Tag Type Tag Name Tag Description Read Only Data Source 002 THIS LINE CONTAINS VERSION INFORMATION DO NOT REMOVE Folders Section Must define folders before tags F Alarms Comments mem Scaling nnn njma
226. ntrolling the logging of data and logging in and out are all achieved by running a command All commands are listed and explained in Appendix A of the User s Guide Help Online Books User s Guide The Button Properties dialog box When you place a button object on a graphic xj General Tab Configure how the button will look Choose a style for the button s appearance General Action Up Appearance Down Appearance Common Style 3D If you choose to Capture Cursor the cursor will be trapped on the button C Recessed after a press action This ensures that the button is released Use this to C Raised Raised guarantee that both a press and release action will occur C Beveled Beveled width fa Other Common Tab J Capture cursor Some properties such as size and position are common to all graphic Tabindex I objects These properties are set up through the Common tab in the Properties dialog box IV Highlight when object has focus Cancel Help RSView Supervisory Edition Training Guide 5 34 Up Appearance Tab Specify what the button will look like when it is not in its pressed position Enter a caption for the button The caption is displayed in the center of the button If it is longer than the width of the button the caption is truncated at either side If you have added an embedded variable to the caption the embedded variable syntax appears in the Caption box
227. o the graphic editor Double click the alarm summary to return to edit mode RSView Supervisory Edition Training Guide 6 18 The Alarm Log Viewer The alarm summary object will display current alarm information Use the Alarm Log Viewer to see historical information The Alarm Log Viewer shows the historical alarm log files that are local to an HMI Server Select Alarm Log Viewer from the Tools menu t Alarm Log Yiewer 20020214AL DAT Date Time s Area TagName TagVYalue 2 14 2002 9 49 26 AM RNA Global Rootbeer Production Mixing Alarms digitall 0 2 14 2002 9 49 26 AM RNAX Global Rootbeer Production Mixing Alarms digitall 1 2 14 2002 9 49 26 AM RNA Global Rootbeer Production Mixing Alarms analog 16 2 14 2002 9 46 33 AM RNA Global Rootbeer Production Mixing Alarms digitall 0 5 2 14 2002 9 46 23 AM RNA Global Rootby Dy 18 Select Log Files 2 14 2002 9 46 21 AM RNA Global Rootb 79 z 2 14 2002 9 45 41 AM RNA Global Rootb 96 B 2 14 2002 9 45 41 AM RNA Global Rooth Record Navigation 81 2 14 2002 9 45 40 AM RNA Global Rootbi eE 1 A0 2 14 2002 9 42 43 AM RNA Global Rootbi 79 m 2 14 2002 9 42 41 AM RNAJ Global Roctb Bete 0 2 2 14 2002 9 41 19 AM RNA Global Rootbeer Production Mixing Alarms digitall 0 13 2 14 2002 9 41 12 AM RNA Global Rootbeer Production Mixing Alarms digitall 0 d 2714 2002 E k er Produrction Mivina Al
228. ogOn command on the command line in RSView Studio or the Administration Console e Create a button object and attach the Dat aLogOn command to it e Create a graphic object and attach object display or client key animation with the DataLogOn command as the action When the key is pressed data logging starts e Enter the DataLogOn command as the action for an event The ways to stop data logging include e Add the DataLogOff command to a shutdown or logoff macro e Specify the DataLogOff command as the shutdown command in the Display Settings dialog in the Graphic Display editor e Type the DataLogOff command on the command line in RSView Studio or the Administration Console e Create a button object and attach the Dat aLogOff command to it e Create a graphic object and attach object display or client key animation with the DataLogOff command as the action When the key is pressed data logging stops e Enter the DataLogOff command as the action for an event When you use the DataLogOn and DataLogOff commands you need to specify the model name If you use an asterisk with either command it turns logging of all models on or off RSView Supervisory Edition Training Guide 8 11 Lab 9 Data Logging Objective In this lab you will collect data and view it in an ODBC data source You will also collect data in a File Set to be used for historical trending in a later lab Software Requirements e R
229. oggle RSView_Class_SoftLogix Program Tanks Tank_1_Pump E Tank Events Rootbeer Standalone Events Oj x Action Remark Total Tank Level over 1000 ey IV Enabled Description Automatically create an entry in the Diagnostics Log Prey Next Expression mem T otalT ankLevel gt 1000 E TankEvents Rootbeer Standalone Events Toggle RSView_Class_SoftLogix Program T anks Tank_1_Pu wl V Enabled Close Description Automatically toggle Pump 1 on and off Prev Next m Expression interval 5 sec Logical Relational Arithmetic Bitwise Check Syntax Line 1 Column 1 Remark Total Tank Leve mem TotalTankLevel gt 1000 Automaticall joe Toggle RSView_Class interval 5 sec Automaticalh 4 H RSView Supervisory Edition Training Guide 10 14 e Save the event file as TankEvents 5 Test the Event Files e Instead of issuing the commands from a command line automate the commands by placing them in the graphic display e Open the Trend graphic display and show the Display Settings dialog box Edit menu Add commands to start the Derived Tag file and the Event file to the Startup field Use the command wizard it will automatically add a semicolon in between multiple commands e Add commands to stop the Derived Tag file and the Event file to the Shutdown field Display Settings x Properties Behavior r Commands Behavior of Interactive Obje
230. ogix engine to get data into your project If the classroom is equipped with a ControlLogix processor you may also get data from that The controller should be already running the program RSView_Class_ControlLogix and be available to the student machines via ethernet 1 Open RSLinx and configure an Ethernet devices driver You will need to know the IP address of the 1756 ENET module Use the Ethernet IP driver if you are connecting to a 1756 ENBT module Confirm the connection in RSWho 2 Create an RSLinx topic to the ControlLogix processor Since you haven t downloading the program one will not have been created automatically e Right click on the controller in RSWho Select Configure New DDE OPC Topic LS ioi x IV Autobrowse ines Browsing node 2 found Workstation COMPUTEROL a H a Linx Gateways Ethernet AB_ETH 1 Ethernet D E J 192 168 100 100 1756 ENET A 1756 ENET A RSView_Cl 1756 IB16 Backplane 1756 A4 A By M00 1756 L1 4 LOGIXSSSO RSView_Class_Control 01 1756 IB16D 4 1756 IB16D 4 DCIN DIAG 02 1756 OB16D 4 1756 OB16D 4 DCOUT DIAG Station Diagnostics 03 1756 ENET A Configure New DDE OPC Topic H E AB_VBP 1 1789 417 4 Virtual Chassis Data Monitor Driver Diagnostics Configure Driver Remove Device Properties RSView Supervisory Edition Training Guide 2 19 The new topic will have the same name as the processor Click on the Data Collection tab
231. ol Panel in the Regional Options dialog box Chart radix Determines the number base decimal hexadecimal or octal used to display numeric values on the chart This setting affects numbers on the y axis current value legend value bar tool tips and the x axis if XY plot is selected If the number of decimal places on the Y Axis tab is set to anything other than 0 it overrides the radix selection and displays numbers as decimals Data point connection Determines whether data points on the chart are connected with a line or not connected RSView Supervisory Edition Training Guide 9 6 Current value legend The options in this group determine which types of pen information display in a current value legend By default the current value legend is displayed to the right of the trend chart However if the line legend is set to appear at the bottom of the trend chart the current value legend is displayed as part of the line legend Line legend The options in this group determine which types of trend line information display in a line legend Allow scrolling Determines whether to continually update the chart with new data during run time If you clear the Allow Scrolling check box data is not plotted on the trend Instead the data buffer fills with trend data until the buffer limit is reached The chart will not update until the operator toggles the scroll mode manually using the Pause button Scroll mode If you allow the
232. on the last day of the month m Delete oldest files After maximum time 10 Days Weeks Months After maximum files fi 0 If you select both checkboxes files are deleted after maximum time or after the maximum number of files is reached whichever happens first In the File Management tab you define when new files are started and old files are deleted Log files are named automatically by the system You can start a new file at anytime by issuing the AlarmLogNewF ile command This creates a new alarm log file on the computer containing the HMI server All subsequent alarm messages will be logged to the new file RSView Supervisory Edition Training Guide 6 11 Central Logging In addition to logging to file sets you can optionally set up RSView to automatically log data to a central ODBC compliant database Central logging works by periodically exporting the contents of the alarm log file to an ODBC compliant database RSView supports the following ODBC compliant databases Microsoft Access Sybase SQL Server Oracle and Microsoft SQL Server If you have set up file management to delete the oldest files when a new set is started and you are exporting data to an ODBC database make sure you export the data before the oldest files are deleted f Alarm Log Setup x Logging File Management Central Logging CIV Enable periodic central logging Log every 2 Minutes ODBC Data Source
233. onents when operating system initializes Project file relative to server computer C Documents and Settings All Users Documents AS View Enterprise SE HMI Projects Water Utilities Project Number of displays 5 Licensed maximum Unlimited Server status Primary server Active Secondary server Unknown HMI Server Licensing Information Cancel RSView Supervisory Edition Training Guide 3 15 Building a Standalone Application You create a standalone application in RSView Studio to run with an RSView SE Station license Standalone applications consist of one HMI Server No Areas are used x mH Single staion HMI Ge User Accounts m Secured Commands a Single staion HMI System EJ Command Line a HMI Tags g Tags a Graphics Displays Libraries Ea Images Parameters T Recipes EE Local Messages DA Trend Templates ak Trend Snapshots Sq Alarms Al Alarm Setup Gy Suppressed List SQ Logic and Control Derived Tags Events a Macros W Client Keys Data Log Data Log Models The HMI Project created in a standalone application may be imported into a distributed application at a later time RSView Supervisory Edition Training Guide 3 16 Communicating with a processor There are two basic ways of establishing communications with a processor 1 Data Servers Create a Data Server in an Area or at the root of your SE application Associate the data server with a local
234. ontal Position The animation is assigned to the RSView tag RSVIEW_CLASS_SOFTLOGIX PROGRAM FILLING CONVEYOR_TIMER This is a timer accumulator in the SoftLogix The timer lasts for 8 seconds and has a time base of 0 001 seconds e Select Bottle 1 the left bottle Choose Visibility from the Animation menu The first bottle should be visible when the timer is between 0 and 2000 Click the Expression button and build the following expression x v Horizontal Position Vertical Position Horizontal Slider Vertical Slider r res RSView_Class_SoftLogix Program Filling Conveyor_Timer lt 2000 Expression Expression true state Invisible Visible X Delete Close Help RSView Supervisory Edition Training Guide 5 63 e With the Animation dialog box still open click on the Fill tab The contents of the bottle will fill when the timer is between 2500 and 3000 1 Click the Tags button and browse to the correct Data Server tag Use your home area 2 Configure the bottle to fill only to 90 from bottom to top 3 Fill from the inside only this will keep the outline of the bottle 4 Specify the range of values of the timer for the Fill animation to occur Select Use Constant and specify the min 2500 and max 3000 5 Click the Apply button when you are done editing Animation Rotation Horizontal Slider Vertical Slider fi OLE
235. ontrolLogix processor running the RSView_Class_ControlLogix program 1 Configure SoftLogix The SoftLogix 5860 processor is a controller that runs in the computer s CPU It runs a program created in RSLogix 5000 This will be the data source for our lab projects e Confirm that the SoftLogix 5800 Chassis Monitor is running as a service on your computer e Click the icon in the system tray to open the SoftLogix Chassis Monitor It has no modules configured Right click on the first slot and click Create For Help press F1 RSView Supervisory Edition Training Guide 2 13 e Select the L60 SoftLogix 5860 Controller module and click OK Select Module x Module Type Sp gsEMMSnpevet Mater 0 Bent tre at OK 1784 PCIC ControlNet PCI Messaging aa 1784 PCICS ControlNet PCI Scanner 1784 PCIDS DeviceNet PCI Scanner __Cancel 1784 PMO2A4E 2 Axis Analog Encoder Servo 1789 SIM 32 Point Input Output Simulator e Change the Startup Mode to Last Controller State and click Next General eee x Type 1789 L60 4 SoftLogix5860 Controller Vendor Allen Bradley Startup Mode Last Controller State Memory Size KB 3072 Periodic Save z iE Interval rint 10 IV Enable Periodic Save Controller Name Last Loaded e Change the dwell time to 100 ms and click Finish NT System q x Type 1789 L60 4 SoftLogix5860 Controller Vendor Allen Bradley Dwell Time ms 100 4 CPU Aff
236. or then select the digital tag you want to set up an alarm for e Check the Alarm checkbox to open the Digital Alarm editor e Inthe Alarm States tab specify the alarm type assign severities and choose the message that will be sent when the tag goes into alarm In the Alarm Messages tab specify the Out of Alarm and Acknowledge messages that will be sent to the alarm log file and or the printer e Inthe Advanced tab set up advanced features such as alarm identification macro or command and alarm acknowledge and handshake behavior e Click OK when the alarm set up for the tag is complete e Click Accept in the Tags editor to save the alarm information Digital Alarm x Alarm States Alarm Messages Tag Alarms digitall OK Alarm Type Alarm Label Pressure Switch On Severity ho ses c Off Help Any Change Changes to On Changes to Off mIn Alarm Messages System Defaults User Defaults C Custom Message File 411d 8t In lm Tag 440n 515v 410u 4101 Printer 411d 8t Indlm Tag 440n 515 810u 4101 RSView Supervisory Edition Training Guide 6 15 Alarm System Tags System tags are created and updated on the HMI server that Alarming is running You can use them anywhere a tag name is required The system tags for alarms are system AlarmBanner string Contains the most severe most recent alarm in the HMI server If an alarm of an equal or higher severity occurs it replaces the first alarm whe
237. ory Edition Training Guide 9 8 X Axis Tab General Display Pens Axis v Axis Overlays Template Runtime r Chart time range Start date Start Date and Start Time are not available when Start time scrolling is allowed To clear Allow Scrolling use the Display tab 2 17 2002 1 52 52 PM Time span 2 f Minute s Y m Display options IV Display scale I Display date on scale V Display arid lines fs Major grid lines fo Minor grid lines O Grid color Use the TrendX properties X Axis tab to set up the run time chart s horizontal axis The horizontal axis represents time for a standard line chart or the selected pen value for an x y plot Specify the chart style on the General tab Fix a time to start displaying historical data with the time range settings If you allowed scrolling in the Display tab the start time is grayed out RSView Supervisory Edition Training Guide 9 9 Y Axis Tab General Display Pens X Axis Y Axis Overlays Template Runtime m Minimum maximum value options Automatic best fit based on actual data C Preset use min max setting from Pens tab Custom m Minimum value Actual minimum value fo Minimum value tagsexpr m Maximum value Actual maximum value 100 Maximum value tag expr m Display options Scale options Isolated graphing 0 a isolation All pens on same scale
238. pButton2 Text4 Polygon3 Capper l Group CappedBottle Cap CEE Uncapper iy Shaner Gonnections 4 CapperMe VBA Code FillerMact Actives Events Groupl22 Methods Text3 Object Keys Alurasar inl Arrange gt Animation gt Convert to Wallpaper Tag Substitution Property Panel Cut Copy Paste Delete Duplicate Copy Animation RSView Supervisory Edition Training Guide 5 67 e Edit Bottle 3 Animation The Fill animation does not change e With the bottle still highlighted in the Object Explorer select Visibility from the Animation menu The bottle should be visible when the timer is greater than or equal to 5750 Apply the change Expression RSView_Class_SoftLogix Program Filling Conveyor_Timer gt 5750 Tag Expression e Select the Horizontal Position tab The bottle should move when the timer is between 6250 and 8000 Use Object Smart Path to position the bottle at the end of the conveyor Horizontal Position Horizontal Slider Vertical Slider Tag Expression x Expression m Expression range Horizontal offset Pinets C Use tag s min and mas propert value inium M At maximum Mjr Use constant Min 6250 Max 8000 Use Object Smart Path to fill in this field ASYiew_Class_SoftLogis Program Filing Conveyor_T imer e Copy the bottle animation to the cap o Select Bo
239. phic displays containing Tag Placeholders The Recipes editor holds recipe text files used to load saved values into numeric and string inputs The Local Messages editor holds Local Message files for use with graphic displays containing a Local Message Display object The Trend Templates editor holds trending tem files used to save trend configurations The Trend Snapshots hold dbf files of trending data that has been saved These files may be overlaid on a trend object RSView Supervisory Edition Training Guide 5 3 Creating a New Graphic Display A graphic display represents the operator s view of plant activity The display can show system or process data and provide operators with a way to write values to an external device such as a programmable controller Operators can also print the display at run time to create a visual record of tag values There are multiple ways to create a new display A New Display button is part of the Standard toolbar 4aRS iew Studio File view Tools Window Help D amp E ACK Right click the Display icon in the Graphics folder in the Application Explorer 3 Graphics a oor M Fa Images Add Comp hent Into Project Parameters Select Display from the New command under the File menu 4aRS iew Studio File view Tools Window Help bed Save Data Server Save 45 HMI Server Glose z EE Select Prod
240. port by clicking and dragging in the window They will be added to the folder that was open when you initiated the PLC Database Browser You may specify a different folder or create a new folder in the Import Tags into Folder field Specify an OPC topic that the tags will use The Symbol name will become the RSView HMI tag name If there is no symbol the address will become the tag name You have the option to use symbol names as the tag address If you import a tag name that already exists you will be prompted with the following dialog box x Tag outputs MIX_DISCHARGE already exists Would you like to replace it replace all ignore it ignore all or rename it Replace Replace All Ignore Ignore All RSView Supervisory Edition Training Guide 4 17 Importing and Exporting the Tag Database The Tag Import and Export Wizard is included with RSView Supervisory Edition This utility allows you to export an RSView tag database to the csv format This file can be edited in Microsoft Excel and then imported back into the RSView application Access the Tag Import and Export Wizard by clicking Tag Import and Export Wizard from the Tools menu in RSView Studio 4aRS iew Studio File view Tools Window Help a Ld Diagnostics Setup Diagnostics Viewer Alarm Log Setup Alarm Log Viewer Tag Import and Export Wizard Application Manager W Launch SE Client Optio
241. ppearance Down Appearance Common Action Run command Press action Invoke Trend Trend1 ClearChart Make sure the name of the object is correct in your command The trend object above is Trend1 c Add a Button with a caption of Home to display a graphic called Main The graphic doesn t exist yet You may copy the button from the Alarms graphic if you wish Release action Display Main RSView Supervisory Edition Training Guide 9 25 e Create a snapshot and overlay a Right click on the trend after is has been running for a while Select Create Snapshot Save the snapshot with the name Levels b Right click on the trend again Select Chart Properties Add the Levels snapshot in the Overlays tab ae Fe Trend Rootbeer Standalone Rootbeer Standalone Displa O x Trend Friday June 13 2003 1 39 04 PM 1 39 28 1 39 52 1 40 16 1 40 40 1 41 04 PM a E eee 1 41 04 PM Min RSView _Class_SoftLogix Program Tanks f 00 ic RS View _Class_SoftLogix Program Tanks 170 20 c RSView _Class_SoftLogix Program Tanks 250 10 RSView _Class_SoftLogix Program Tanks oft 00 E c Sie Class_SoftLogix Program Tanks Oooo e 20 E eS Class_SoftLogix Program Tanks Ooo e 10 Tank 1 Pump Tank 2 Pump Tank 3 Pump Clear ON ON ON Trend This Lab is Finished RSView Supervisory Edition Training Guide 9 26 This page intentionally left blank RSVi
242. programmable controller The scale is a multiplication factor the value from the PLC is multiplied by the scale The offset is a fixed value after the value from the PLC is multiplied by the scale the offset amount is added Minimum and maximum HMI Tags allow you to set minimum and maximum values that can be written to the programmable controller or server These values do not affect what is read from the programmable controller or server For example if you specify a minimum of 0 and a maximum of 100 RSView would be able to read a value of 200 from a PLC and store it in the value table but would not be able to write this value to the PLC Storing values in RSView s memory A memory tag can be used to store values without the need for an attached or accessible device For example you might need to store a value in memory to store result of a calculation or to temporarily keep a value for example a counter or index number Values can be calculated and held in memory with Derived Tags RSView Supervisory Edition Training Guide 4 7 Creating HMI Tags HMI tags are created within an HMI project Open the project and expand the HMI Tags folder Ge User Accounts Secured Commands gi Waste Water Waste Water Project Ey System Command Line Tags a Graphics N E Displays Libraries Ea Images Parameters RSView Supervisory Edition Training Guide 4 8 The Tag Database Editor Tags may b
243. puter Configuration User Configuration J Software Settings C Windows Settings C Administrative Templates J Windows Components Start Menu amp Taskbar C Desktop J Control Panel CI Network J System 4S Logon Logoff CI Group Policy oe Disable Lock Computer Disable Change Password Disable Logoff oe Run logon scripts synchronously oe Run legacy logon scripts hidden oe Run logon scripts visible oe Run logoff scripts visible oe Connect home directory to root of the share oe Limit profile size i Exclude directories in roaming profile fj Run these programs at user logon oe Disable the run once list a Disable legacy run list Enabled Enabled Enabled Not configured Not configured Not configured Not configured Not configured Not configured Not configured Not configured Not configured Not configured Not configured RSView Supervisory Edition Training Guide 12 14 Click on the Desktop tab to customize the desktop Configure up to ten programs that an operator will have access to The applications can be started automatically and included on the DeskLock window that the operator has access to TF C Use existing Windows desktop Explorer exe Replace existing desktop with new DeskLock m DeskLock Applications Programs Name RSVSE App Program C Program Files Rockwell Software AS View Enterprise Browse Command Lin
244. r information as needed for the new runtime environment Depending on your application you may have database and logging changes to make as well See Chapter 25 of the Online Books Users Guide for more information Help menu RSView Supervisory Edition Training Guide 14 15 RSView SE Redundancy You may implement three types of software redundancy within an RSView SE application e FactoryTalk Directory e Data Server e HMI Server FactoryTalk Directory If the FactoryTalk Directory becomes unavailable while an application is running the application will continue to run correctly SE Clients will be able to read and write values acknowledge alarms open and close displays and so on even if no redundant FactoryTalk Directory is present on the network This is because a copy of the information provided by FactoryTalk Directory is stored locally on each computer that is connected to the FactoryTalk Directory However while FactoryTalk Directory is disconnected you cannot modify an application s structure for example you cannot add or remove an area a data server or an HMI server To ensure that you can modify an application s structure while FactoryTalk Directory is unavailable set up a redundant computer running FactoryTalk Directory FactoryTalk Directory Redundancy is configured with the Specify FactoryTalk Directory Location wizard 4 Select Shared Network FactoryTalk Direc This utility allows you to se
245. r local computer Browse for the RSLinx Remote OPC Server The remote part will come when you combine OPC Data Server Properties i 2 x General Advanced Name RSLing OPC Description r Computer hosting the serve Server will be hosted on local computer C Server will be hosted on remote computer Browse e Click OK to close the Data Server configuration RSView Supervisory Edition Training Guide 3 27 The Application should look like this 4aRS iew Studio a File View Tools Window Help z OD skl Application Explorer E H Rootbeer Standalone Ge User Accounts Secured Commands 4 p Rootbeer Standalone RSLins OPC i In service The server RNA Local Rootbeer Standalone RSLinx OPC on computer localhost is now active Clear Clear All D Server available The server RNA Local Rootbeer Standalone RSLinx OPC is now available on computer localhost For Help press F1 Note the messages in the Diagnostics List at the bottom of RSView Studio confirming the active data server This Lab is Finished RSView Supervisory Edition Training Guide 3 28 This page intentionally left blank RSView Supervisory Edition Training Guide 4 1 4 Communications Objectives e Understand the difference between communicating to a processor by directly referencing a Data Server and by using HMI tags e Understand when HMI tags are required e Build an HMI Tag Database RSVie
246. r will highlight all of these objects In the example below the highlighted object Polygon129 uses the EPS Valve Open tag The object is highlighted in the graphic as well Highlight Settings x By object type By animation type Activex Object Color Alarm Summary Fill Are Height Arrow Horizontal Position Backspace Key Horizontal Slider Bar Graph OLE Verb Button Rotation Control List Selector C Touch Display List Selector Vertical Position Ellipse Vertical Slider End Key Visibility Enter Key Width Freehand Gauge pii zl 4 Polygon135 V By tag name EPS Valve Open Polygon 34 Polygon 33 Uses object keys Polygon 32 LineS4 Polygonl 28 Polygonl 2 Line83 Line82 Line81 Line80 Polyline52 j Settings Expand Collapse Help V Highlighting on RSView Supervisory Edition Training Guide 5 21 The Tag Browser Interactive objects will read write and react to tag values These can either be Data Server tags or HMI tags Use the Tag Browser to select any tag for an object For example you wish to configure a Maintained Push Button On the Connections tab of the properties editor you may browse for the tag Maintained Push Button Properties x General States Connections Na
247. ram from Lab1 is running in the SoftLogix processor Click on the SoftLogix icon in the system tray of your computer e The SoftLogix Chassis Monitor window is opened Bring up the tooltip information by hovering the mouse over the processor Si SoftLogix Chassis Monitor lol x Slot view Options Help Computer COMPLITEROI Controller Name RS iew_Class_SoftLogix Mode Remote Run I O Status No I O or Communications Configured Force Status Disabled Persistent Storage OK press F Serial Comms No Port Assigned For Help RSView Supervisory Edition Training Guide 3 23 e Open RSLinx and confirm that the RSView_Class_SoftLogix topic created in Lab 1 exists Select Topic Configuration from the DDE OPC menu DDE OPC Topic Configuration Es i 21 x Project Default Topic List _ Data Source Data Collection Advanced Communication RSView_Class_ControlLogix JV Autobrowse Workstation RSYSEO1 a Linx Gateways Ethernet 2s AB_ETH 1 Ethernet E5 AB_VBP 1 1789 417 4 Virtual Chassis 00 Workstation RSLinx Server Ej j 01 1789 L60 4 Softlogix5860 Controller RS iew_Class_SoftLogix f A e Notify your instructor if there are any questions about your SoftLogix RSLinx setup 3 Create the Application e Open RSView Studio Start Programs RSView Studio Product Type Selection l RSView Studio Select the type of product you would like to co
248. re you can add a snapshot to a Trend and set it up as an overlay you must create one Settings on the Runtime tab control an operator s ability to create snapshot during run time 1 Run the Trend 2 Right click the run time chart and then click Create Snapshot 3 Type a name in the component editor and then click OK Sunday February 17 2002 2 23 47 PM Scroll v Show Yalue Bar Print Trend Overlays Create Snapshot Chart Properties 2 25 38 PM 2 25 50 2 26 02 2 26 14 2 26 26 2 26 38 PM Graphics Displays Trend Snapshots are kept in the Graphics j Libanas folder of the Application Explorer fa Images Parameters Recipes eB Local Messages DA Trend Templates ae Trend Snapshots tank snapshot tank snapshat2 RSView Supervisory Edition Training Guide 9 11 To overlay a snapshot on the Trend 1 Open the TrendX property tabs and then click the Overlays tab 2 Click the Add button and select a snapshot name All of the snapshots that you add to the Trend can be available for operators to either show or hide on the run time chart from the context menu Set up run time options on the Runtime tab Trendx Sunday February 17 2002 Sunday February 17 2002 2 27 32 PM 2 30 51 PM 2 31 03 2 31 15 2 31 27 2 31 39 Les La Cosa Coase Lei raven tie O ofsof SSCS A soo SSCS ne OO o CS E SSCS Mne e A E DEN Overlay pens 2 31 51 PM RSView Supervisory Editio
249. reate a key association so an operator could press F3 and be presented with the main graphic display There are three levels of keys Object Keys You may assign a key to be active only when a particular graphical object has focus This type of key will not be in effect otherwise Access the Object Key dialog box from the right click menu or from the Edit menu f Untitled Rootbeer Production Mixing Display Properties Edit Gonnections VBA Code E Actives Events Methods Object Keys RSView Supervisory Edition Training Guide 11 7 Click the Add button to configure a key Select one from the list then associate a command with the key Object Keys x Select key Label Tanki Pump ON OK Press action Cancel Set Tanks Tank_1_Pumy Add Repeat action xi Cancel Help Release actio Tab index fi IV Highlight when object has focus Current tag Display Keys Display Keys are in effect when the graphic display not any particular object has focus They are configured the same way as Object Keys Display Keys x Select key Label Ramp Speed UP F3 Ramp Speed Down Press action Cancel Ramp Mixing Mixerrpm_ Repeat action El Release action gi RSView Supervisory Edition Training Guide 11 8 Using Object and Display Keys Together It is possible to pass a parameter from an object key to a display
250. red network location of the FactoryT alk Directory and optional redundant location that all FactoryT alk enabled software installed on this computer will use Current FactoryT alk Directory Location localhost connected Use the FactoryT alk Directory installed on this computer aremote computer Computer i Configure Redundancy gt gt OK k C Run the utility once more to confirm that you have established communications with the FactoryTalk directory Look for Connected in the text Important At this point Computer B will be working on a common application with Computer A If Computer B opens RSView Studio the list of SE Applications to edit is coming from the FactoryTalk Directory on Computer A The FactoryTalk Directory holds application files in this location on the FactoryTalk Directory computer C Documents and Settings All Users Application Data Rockwell RNAServer RSView Supervisory Edition Training Guide 14 21 2 Create the Application Important Only one member of the group may do this step Whoever is sitting at Computer B not the FactoryTalk Directory proceed Open RSView Studio Select SE Distributed Create a new application with a J unique name x New Open SE Distributed Application New Existing Application name Rootbeer Distributed Description RSView Studio e Verify the creation of the rnad file on the FactoryTalk Directory computer C Docu
251. replace any number of characters e is used to replace any single character Tag Statistics Choose Tag Statistics from the View menu the Tag Database must be open and have focus to bring up a summary of your Tag Database Tag Statistics x Database C DOCUMENTS AND SETTINGSSALL USERSSDOCUMENTSSASVIEW ENTERPRISESSESHMI PROJECTSSHMI PROJECT 1STAGSHMI PROJECT 1 DB ODBC Data Source HMI PROJECT 1 Last Modified Mon Jan 14 20 46 46 2002 m Tag Summary Analog 15 Digital 2 String 15 Total 32 Folders 1 OK RSView Supervisory Edition Training Guide 4 20 Lab 3 Create an HMI Tag Database Objective Create a tag database in your HMI project Populate the database by entering tags manually Use OPC Browse to select tag addresses Use the Tag Import and Export Wizard to edit the database in Excel Software Requirements e RSView Studio e SoftLogix 5860 running the RSView_Class_SoftLogix program e Microsoft Excel 1 Manual Tag Creation e Open the Tag Database editor by double clicking its icon in the HMI Tags folder in the Project Explorer e Create a new folder for tags called mem by selecting New Folder from the Edit menu or by clicking the Create Folder button x Name mem Cancel Help e Manually create three tags in the mem folder Use Memory as the Data Source and keep all the default values e Configure the tags to hold their value by designating them Retentive
252. ributed RSView SE application e Understand how to incorporate Redundancy into a distributed application e Create a distributed application from existing Stand alone HMI projects e Deploy SE components from a single computer to a distributed environment RSView Supervisory Edition Training Guide 14 2 The Distributed Application RSView Supervisory Edition is built upon a Client Server model It may be distributed among many computers One example of a distributed application Admin Console Factory Talk Directory Data z i Servers d l SLC 500 Control Logix 3rd Party Devices RSView SE Servers contain the HMI Projects and serve up the graphics handle alarms data logging etc The SE Server runs headless without a user interface Data Servers such as RSLinx or 3 party OPC servers supply controller information Clients are the recipients of this data RSView Studio the editing environment used throughout this class is a client RSView SE Client is the runtime software for viewing and interacting with applications developed using RSView Studio RSView SE Administration Console is client software for administering RSView Supervisory Edition applications after they have been deployed The Administration Console contains a sub set of the RSView Studio editors so you can make minor changes to an application There is no licensing associated with RSView SE Administration Console RSView Supervisory Editio
253. rity codes A through P and the asterisk symbol The represents unlimited access Security codes can be assigned to commands macros graphic displays OLE objects and HMI tags In addition the entire application may be secured to prevent unauthorized editing There are two approaches to setting up security by inclusion and by exclusion Security by inclusion restricts access to certain parts of the system leaving the rest available to all users Use this method in situations where most users can have access to most of the system Security by exclusion restricts access for all users except the system administrator to only a few specific parts of the system Use this method in situations where most users should have access to only a few commands macros and so on The basic steps for setting up security are 1 Configure User Accounts 2 Apply security to the elements you wish 3 Provide a way for user to log in and out RSView Supervisory Edition Training Guide 12 3 User Accounts User accounts work with security codes to determine who has access to which components in an application Important The source of Windows Users and Groups will depend if you are operating in a Windows Domain or a Windows Workgroup In a domain all users and groups are in one central location Choose the domain in the drop down box In a workgroup there is no central administration of Users and Groups Each user and group must be added to e
254. rming in the Alarm Setup editor or to alarm tags will not take effect until the alarm server is stopped and restarted You can use the AlarmOff and AlarmOn commands to do this e Alarm logging must be set up using the Alarm Log Setup editor on the same computer as the HMI server that will be monitoring the alarms SE Clients do not monitor alarms only HMI Servers RSView Supervisory Edition Training Guide 6 3 The basic steps involved in setting up alarming for an application are e Inthe Alarm Setup editor define general features for all alarms This is where you set up alarm annunciation and the destination of messages for each severity and create messages that can take the place of the system default messages e Using the Alarm Log Setup tool set up logging for all alarms The alarm log file is a record of alarm incidents You can specify where you want the alarm log file stored and when or if you want new log files created and old files deleted e Inthe Tags editor define alarms for each HMI tag you want to monitor To define an alarm for a tag specify the conditions that will trigger the alarm and assign a severity to it You can define alarms for digital and analog tags but not string tags e Setup ways to display alarm information For example you can create a graphic display that contains an alarm summary or use the alarm system tags with other graphic objects in a display e Choose how to start and stop alarm
255. rogram Filling Cony_Running m Expression true state C Invisible Visible Likewise only show the START button if a non zero number of bottles have been chosen to process the Ramp buttons prevents this from being negative ES Horizontal Position ercal Position m Expression RSView_Class_SoftLogix Program Filling Bottle_Preset m Expression true state C Invisible Visible Test run the graphic to make sure the animations are functioning Make sure the Local Message Display is reporting the status of the bottles Note that display navigation the Home button is not executed during a test run This Lab is Finished RSView Supervisory Edition Training Guide 5 71 Tag Placeholders and Parameter Files Tag placeholders and Parameter Files allow you to create one generic graphic display and then substitute appropriate tags during runtime For instance you may have a tank farm with 10 identical setups of tanks piping pumps etc Instead of creating separate graphics for each tank you can create a single graphic display and multiple parameter files The single graphic display would contain tag placeholders instead of actual tag names When the generic graphic display is shown it will be associated with real tags This association is made with the Display command A display with tag placeholders uses a parameter file or a command string to swap tags for tag placehold
256. rties Shared Properties m m_m N icl 1 h ei y jj H Font Arial n AoE oc 5 Height 44 Left 80 ToolTipText Top 92 Visible True Width 104 e Right click in some open space in the graphic and select VBA Code to open the VBA IDE editor e By default the code window will open to the Display object AnimationStart event e The value should be checked before it has been downloaded to the controller Select the BeforelnputFieldDownload event of the Display object Code will execute upon this event yba gfx ThisDisplay Code loj x Display BeforeinputFieldDownload Activate After AnimationStop AfterinputFieldUpload ElementLostFocus KeyDown RSView Supervisory Edition Training Guide 13 10 e Write the following code within the subroutine If NumericInput1 Value lt 0 Or NumericInputl Value gt 1740 Then MsgBox The value must be between 0 and 1740 Cancel True End If s yba gfx ThisDisplay Code loj x Display BeforeinputFieldDownload Private Sub Display_BeforeInputFieldDownload Cancel As Boolean If NumericInputi Value lt O Or Nume ricInputi Value gt 1740 Then MsgBox The value must be between O and 1740 Cancel True End If End Sub RSView Supervisory Edition Training Guide 13 11 3 Test the code e Test the display back in RSView Studio e Enter values in the numeric input Return to the VBA editor if the co
257. s JV After Maximum Files fio If you select both checkboxes files are deleted after the maximum time or after the maximum number of files is reached whichever happens first Choose how you wish to handle file creation You may use the DataLogNewFile command to create files manually ODBC Logging File Management Log Triggers Tags in Model m Purge Oldest Records in ODBC Database IV After Maximum Time fio Days Weeks Months Records older than the maximum time are purged in the ODBC database at midnight New files are not created with the database You may have RSView automatically purge old records from the database RSView Supervisory Edition Training Guide 8 8 Log Triggers Tab Configure how often to collect data Periodic specify the rate to collect all the tag data Periodic C OnChange OnDemand OK m Log Periodically Cancel Interval 10 Seconds z Hundredths Help Tenths Seconds Minutes i Hours Days On Change Use the On Change trigger to log tag values once a certain percentage of change in the value has occurred The percentage is based on the tag s minimum and maximum or High EU and Low EU values For example specifying 10 means a tag s value must change by 10 percent to be logged This applies to HMI tags only If an HMI tag does not have maximum and minimum or high EU and low EU values specified any change in the tag s value will b
258. s tab specify the alarm thresholds assign severities and choose the message In Alarm message that will be sent when the threshold is crossed e Inthe Alarm Messages tab specify the Out of Alarm and Acknowledge messages that will be sent to the alarm log file and or the printer e In the Advanced tab configure advanced features such as an alarm identification macro or command deadband and handshake e Click OK when the alarm set up for the tag is complete e Click Accept in the Tags editor to save the alarm information An analog tag triggers an alarm when its value crosses the thresholds set up for it When you specify a tag as the threshold for an alarm the threshold is variable because its value changes as the tag does An alarm fault occurs when a variable threshold becomes higher than the threshold above it or lower than the threshold below it Analog Alarm 2 x Alarm Thresholds Alarm Messages Tag Tank1 Level Select Threshold Threshold 135 a Increasing Alarm Label LOW EIDEL EANA Cancel Severity ho x Help mIn Alarm Messages System Defaults User Defaults C Custom Message File 411d 8t In amp lm Tag 440n 515v 510u 410 Printer 411d 8t Indim Tag 440n 515v 510u 4101 Remove Configure thresholds in ascending order from lowest 1 to highest 8 RSView Supervisory Edition Training Guide 6 14 Digital Tag Alarms To set up an alarm for a digital tag Open the Tags edit
259. se added communications overhead because data will be retrieved for tags whose values wouldn t otherwise be needed If you use the Always Updating option with the Cache After Displaying option Display ZA the startup command is executed when the display is loaded into the cache The shutdown command is executed only when the cache is flushed using the FlushCache command RSView Supervisory Edition Training Guide 5 7 The tag update rate may be limited by the display settings Select an item from the Maximum Tag Update Rate drop down list to specify the maximum rate at which tags in the display will be updated The fastest maximum rate for tags to be updated is every 05 seconds Behavior Tab Display Settings x Properties Behavior m Commands Behavior of Interactive Objects Startup Beep on Press E V Highlight When Cursor Passes Over It eno E Highlight Colo fl m Input Field Colors Behavior of Object with Input Focus When Fietd ir Not ket Disable Highlight When Object has Focus Text E Fil E aoe Highlight Color m When Field is selected Text B Fil isa l i T Display On screen Keyboard Cancel Set as Defaut Help You may run a command or macro when a display is started up or shut down RSView Supervisory Edition Training Guide 5 8 Grid Snap and Zoom A grid may be displayed to assist you in placing objects on the graphic display Select the Grid Settings command from the ri
260. se elements to Wallpaper This is available from the right click menu or the Edit menu Properties Gonnmections VBA Code Actives Events Methods Object Keys Arrange E Animation Convert to Wallpaper Converting an object to wallpaper forces it to be static locked into position Once converted you cannot select it or animate it Converting objects to wallpaper can help speed up animated graphic displays because the wallpaper does not have to be redrawn each time one of the overlapping objects changes Wallpaper objects also help in editing complex graphics you can t accidentally select it when you don t mean to To convert wallpaper back to an object use the Unlock All Wallpaper command from the Edit Wallpaper menu RSView Supervisory Edition Training Guide 5 15 Lab 4 Basic Graphic Display Elements Objective Create a graphic display and practice using Drawing objects Software Requirements e RSView Studio 1 Create a new graphic display by one of the methods mentioned on page 5 3 2 Choose Display Settings from the Edit menu and set following Display Settings a x Properties Behavior m Display Type Size C Replace licens CE overlay gt Specify Size in Pixels Sep at Back DT Width 500 P Allow Multiple Running Copies Resize 5 ie After Displaying Allow Display to be Resized No eo When Resized Always Updating C P
261. ssssssssssssssssssssssss Tank 1 Pump Tank 2 Pump Tank 3 Pump Clear OFF OFF OFF Trend RSView Supervisory Edition Training Guide 10 12 3 Test the Derived Tag File e Open a command line and issue the DerivedOn Tanks command 1D x E Command Line Rootbeer Standalone DetivedOn Tanks e Goto the Trends graphic and Test the display Confirm that the two derived tags are working correctly 631 ag 29 PM CEI 29 PM n AT 04 29 L Min Max E RSYiew_Class_SoftLogix Program Tanks 4891110 489 RSView _Class_SoftLogix Program Tanks s 444 PR c RS View _Class_SoftLogix Program Tanks 489 489 Ro E nem TotalTankLevel 4 263 631 1 413 Tank Total 1363 All pumps are ON Tank 1 Pump Tank 2 Pump Tank 3 Pump Clear Home ON ON ON Trend e Issue the DerivedOff Tanks command when you are done troubleshooting Note Any changes you make to the derived tag file will not take effect if the file is running You must stop then restart the file RSView Supervisory Edition Training Guide 10 13 4 Create a new Event File e Open a new Event file Create two events a Make an entry to the Activity Log when the Tank Total goes above 1000 The command is Remark lt text for the log gt b Toggle the Tank 1 pump on and off every 5 seconds Use the interval function in the expression and the Toggle command in the action You may have to manually add the curly brackets around the tag T
262. t C Documents and Settings All Users Documents RS View Enterprise SE HMI Projects Rootbeer Select your CSV file to import Click Next Tag Import and Export Wizard x Choose the RSView CSW files you want to import Import files IV Tags C Documents and Settings All Users Documents RASView Enterprise SE HMI Projects Rootbeer Standalone Rootbeer Standalone Tags CSY I Alarms Es Help Cancel lt Back Finish RSView Supervisory Edition Training Guide 4 26 e You can skip the existing tags as none were edited Click Next Import options Tags e Click Finish to start the import e The Database Import summary window will open Review this and close it e Go back to the Tag Database editor and confirm that your edits are there Refresh the Tag Database if it was open from before MM Tags Rootbeer Standalone pe Oj x Tag Name Comments Repi Type sting z Security e a Description See Goo ae cdl Length fez m Data Source Type C Device Memory Initial Value Tl Retentive Search For C mem Scaling E system This Lab is Finished RSView Supervisory Edition Training Guide 5 1 5 Graphic Displays Objectives e Use the HMI Project Graphic Display editor to create and modify RSView Supervisory Edition graphic displays e Configure Display Settings for graphic displays e Use the Library to add pre configured graphics to a
263. t to At Minimum zero pixel offset Then drag the bottle underneath the filling machine on top of the middle bottle The numbers in the At Maximum field will change as you move the bottle Place a check when you have dragged the bottle to its destination Click Apply to save the changes Close the Animation dialog box om sw visibity YY otation Yih v r Vertical Position Horizontal Slider Vertical Slider m Expression 1 a Tag ha Expression r Expression range Horizontal offset Pixels Use tag s min and max property values At minimum V o At magimum J 69 Use constant Min jo Max 2000 Use Object Smart Path to Min 4 fill in this field ig l Apply Delete Close Help H RSVSE_Class Program Filling Conveyor_Timer C Read from tags 1 l 1 l 1 I A A1 RSView Supervisory Edition Training Guide 5 65 3 Copy Paste and Edit Bottle 2 Animation e Right click Bottle 1 the left bottle and select Copy Animation Right click Bottle 2 the middle bottle and select Paste Animation Alternately you can use the Edit menu to do the copy and paste e The Fill animation does not change e Edit the Horizontal Position animation so the bottle moves when the timer is between 3000 and 5000 Use Object Smart Path to move the bottle from under the Filler to under the Capper a Tag l Expression
264. ta Log Models ck Mixi EA MiringHMI e Browse the HMI to see that it has J E System the same components as your B Command Line standalone pe eee e Verify the copied HMI files on the et i Computer B hard drive You Graphics should see a MixingHMI folder in C Documents and Settings All Users Documents RSView Enterprise SE HMI Projects RSView Supervisory Edition Training Guide 14 25 e Right click on the Mixing Area and create a new OPC Data Server 4aRS iew Studio File view Tools Window Help SD ole E H Rootbeer Distributed E User Accounts Secured Commands ck Mi New Area j New HMI Serve OPC Data Server Remove Properties Note It is important that you create the Data Server inside the Area not at the root of the application This will ensure that the existing directly referenced tags from the standalone application retain their relative reference For example the standalone application uses a directly referenced tag RSView_Class_SoftLogix Program Mixing H20_on_off Recall the syntax for directly referenced RSLinx tags Area OPC topic tagname An Area name will not be specified if the Data Server and the HMI Server are in the same Area This is referred to as the Home Area Standalone applications will always have this format as Areas are not used A data server created at the root of the application and referenced by
265. tags per HMI Server RSView Supervisory Edition Training Guide 6 2 RSView Alarm Concepts RSView Supervisory Edition incorporates a complete alarm system to alert an operator to any alarm state Operators may acknowledge an alarm and alarms are logged for historical purposes Alarms are monitored and logged at the HMI Server If alarms are detected they are annunciated at the RSView SE Client where operators can view and acknowledge them With the RSView alarm system you can e Monitor any analog and digital HMI tag for alarms to a maximum of 40 000 tags per HMI server e Display the last 2 000 alarm transactions from each HMI server in an alarm summary e Define up to eight different severity levels to distinguish alarms visually e Use system default messages or create unique messages to describe an alarm log messages to a file to a printer or to both e Suppress alarms for maintenance and tuning purposes e Associate a command or macro with an alarm to provide custom handling of the alarm e Share alarm information with other RSView components e Setup global alarm monitoring e Use the AlarmEvent command to respond to your own alarm detection algorithms for annunciation logging printing and for display in alarm summaries e You can only set up alarms on HMI tags that you create in the Tags editor e The maximum alarmable tags allowed is 40 000 per HMI server 10 000 of which can be analog tags e Changes made to ala
266. tal Offset Pixels At Minimum V P At Maximum V IV Specify Min p Max jo Apply Delete Help Create an analog tag called tag1 to test sliders RSView Supervisory Edition Training Guide 5 60 Animation Object Smart Path Range of motion type animation position rotation width height can be dictated using Object Smart Path This takes the guesswork out of animation and allows you to visually set the range of motion For example you want the car object to move from the left of the graphic to the right according to the min max values of at tag called outputs location Select Horizontal Offset Animation Use OSP to set the pixel offset If the car is in the desired start position min check the box for a zero offset Select the car object and move it to the desired end location The number in the max offset field changes automatically as you move the object Click the checkbox when it is where you want it to fix the position Apply the animation changes Animation x visibiity Botain f With Vertical Position Horizontal Slider Vertical Slider m Expression mem location a Tag Expression Expression range Horizontal offset Pixels Use tag s min and max property values At minimum V fo At maximufn Use constant tjin Mar Min Read from tags Mar a Test Display Use Test Display Mode to see the effects of
267. tary introduction to VBA code writing Error Handling a very important part of writing code is not covered Debugging is also not covered ask your instructor for help if the code has errors Try typing the code in to get a feel for the VBA IDE If you wish to see the finished code it is in a text file Supervisory Edition Class Files VBA lab txt Software Requirements e RSView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program Part A 1 Create a new graphic display e Create a new display and include the following elements o Text Mixer RPM Setpoint o Numeric Input o Numeric Display e Attach Numeric Input and Display to the tag RSView_Class_SoftLogix Program Mixing Mixer_rpm_setpoint e Name the graphic display VBA P vba Rootbeer Production Mixing Display Mixer RPM Setpoint HEF RSView Supervisory Edition Training Guide 13 9 2 Write VBA Code e Write code to evaluate the operator input You do not want to download any value outside the safe range 0 1740 RPM Data Server OPC tags do not have a high and low limit associated with them unlike HMI tags so we can check the value with VBA e Expose the Numericlnput object to VBA Right click on it and select Property Panel Change the ExposeToVBA property to VBA Control Close the Property Pane Property Panel Panel Numericinput1 NumericInput al Properties Connections Mixer RPM Setpoint AllPrope
268. tax Dimensions Character Justification Width 27 Height fi Offset fo Left C Center Right Cancel Help Note Tag names containing an underscore Line_1_ Start a dash Line 1 Start or starting with a number 1LineStart must be enclosed with curly brackets Selecting tags with the Tag Browser will automatically apply the curly brackets RSView Supervisory Edition Training Guide 5 30 Functions within the Expression Editor Functions xl Function Categories Choices within Category after_time time exp after time before_timeftime exp before time intervalfinteryal exp at interval timeftime exp at time Cancel Help Use the functions in the expression editor to customize and automate objects For example the interval function above will return a 1 true when the time specified has elapsed Use this in an Event File covered later to automate a task that you wish to happen periodically RSView Supervisory Edition Training Guide 5 31 Interactive Objects Many objects allow interaction with the RSView Tag Database These allow both control setting the value of a pump speed for instance and display monitoring multiple tank levels in a bar graph Interactive Objects include Embedded Variables Embedded variables allow you to display values that change dynamically at run time At runtime a placeholder is updated with the real time values of the variables
269. than once every 50 milliseconds or if you need to maintain control over data timestamps In Manual mode the container that holds the Trend sends data to the chart using the NewData method part of the TrendX object model The NewData method can send accumulated batches of data to TrendX in bursts allowing points to be logged more frequently than once every 50 milliseconds The container manages the chart timing maintains control over the timestamps and sends the Trend an array with new data for each point at the intervals specified in the NewData method The intervals indicate the spacing of the data in the array Control over timestamps can be useful if the data is recorded in blocks by another system Automatic Use this chart mode when you want TrendX to update itself periodically In Automatic mode the refresh rate controls how often the chart acquires data The refresh rate limits are 50 milliseconds to 596 hours Do not make the refresh rate faster than the rate at which data is updated in the data server OPC server or DDE server On Change Use this chart mode when you want TrendX to update itself as data values change In On Change mode real time data updates in the TrendX chart immediately as the values change To avoid missing data between updates you may want to select the On Change mode when working with data that changes infrequently Set the trigger for updates using either a heartbeat rate or a deadband percentage Heartbe
270. ther Windows applications e ActiveX objects consist of third party ActiveX objects that can provide functionality such as sliders check boxes radio buttons Web browsers and so on The ActiveX objects available to you depend on the software installed on your system Select an object from the Objects menu or by displaying the Objects toolbox File Edit View Objects Arrange Animation Tools Wind Cl x m B g v select ROABoOCO cai PAN Sa Bw prs Drawing gt FPPTS S Push shia a E Er as a SO String ey E E ee Gauge and Graph gt 4 adq gt wa Key F Ul eae Advanced gt E m OLE Object Activex Control Import RSView Supervisory Edition Training Guide 5 10 Drawing Objects The following Drawing Objects may be added to a graphic display Text Image Panel 4rc Ellipse Freehand Line Polygon Polyline Rectangle Rounded Rectangle Wedge To use an object select the appropriate tool from the Objects menu or toolbox then click and drag onto your graphic display Note Hold the CTRL key while dragging to create perfect squares rectangle tool circles ellipse tool or horizontal or vertical lines line tool Rectangle tool File Edit view Objects Arrange Animation Tools Window Help selected from r S O oe ED gt s BME eas ROABOICOG NYVUAOOR SamMab ewzweadrpvayze at r Untitled Rootbeer Production Mixing Display
271. ther or not the previous alarm has been acknowledged At run time date and time information stored in this tag is displayed in the format specified by the Regional Settings in the Windows Control Panel system AlarmMostRecentDate string Contains the date of the most severe most recent alarm in the HMI server At run time the date stored in this tag is displayed in the format specified by the Regional Settings in the Windows Control Panel system AlarmMostRecentLabeli string Contains the threshold label of the tag of the most severe most recent alarm in the HMI server system AlarmMostRecentSeverity analog Contains the severity of the most severe most recent alarm in the HMI server system AlarmMostRecentTagDesc string Contains the description of the tag of the most severe most recent alarm in the HMI server system AlarmMostRecentTagname string Contains the name of the tag of the most severe most recent alarm in the HMI server system AlarmMostRecentTime string Contains the time of the tag of the most severe most recent alarm in the HMI server At run time the time stored in this tag is displayed in the format specified by the Regional Settings in the Windows Control Panel system AlarmMostRecentUnits string Contains the units of measurement of the most severe most recent alarm in the HMI server system AlarmStatus string Contains the number of unacknowledged and suppressed alarms in the HMI server
272. tion files Destination files V Tags C Documents and Settings All Users Documents RASView Enterprise SE HMI Projects Rootbeer Standalone Rootbeer Standalone T ags CSY Alarms View C Documents and Settings 4ll Users Documents RS Enterprise SE HMI Projects Rootbeer Standalone Rootbeer Standalone Alarms CSY Cancel Next gt Help e Open the Tags CSV file You can either double click on the file in Windows Explorer or start Excel and open the file Make sure and change the file type that Excel will look for Se 2x Look in E Rootbeer Standalone X Fi gt Tools ale p p p p p My Documents cache comprf DLGLOG DTS EDS Gfx Kom x n z L d WJ bel WJ al WJ RSView SE Images KEY LNG Local Mcr PAR Kor so Disk C bad CJ gd LJ c A RCP Startup TAG TREND VBA Design _ Deployme or r File name manes Files of type Text Files prn txt cs RSView Supervisory Edition Training Guide 4 24 e The CSV file contains the tag and folder information Look over the column headings in row 1 to see the information included A B C D E E l G E _1 Tag Type Tag Name Tag Description Read Only Data Source Security Code Alarmed Native _ 2 002 THIS LINE CONTAINS VERSION INFORMATION DO NOT REMOVE 3 _4 Folders Section Must define folders before tags ESRF mem F om F Scaling F eee _6 Tag Section SIA
273. tion keys with matching serial numbers All of the activation keys can be on the same activation disk e aprogram called EVMOVE EXE that moves activation keys to and from computers e a program called RESET EXE that reactivates a damaged activation key Activation keys The following table lists the activation keys for RSView Supervisory Edition products RSV STUDIO RSView Studio allows a test version of RSView SE Server a 2 hour test version of RSView SE Client RSLinx for RSView and full use of RSView Studio Machine Edition Development and Test Tools RSVSESRV 25 RSView SE Server 25 displays and RSLinx for RSView RSVSESRV 100 RSView SE Server 100 displays and RSLinx for RSView RSVSESRV 250 RSView SE Server 250 displays and RSLinx for RSView RSVSESRV MAX RSView SE Server unlimited displays and RSLinx for RSView RSVSECLI RW RSView SE Client full function read write RSVSECLI RO RSView SE Client view only RSVSE 25 RSView SE Station for Standalone applications up to 25 displays RSVSE 100 RSView SE Station for Standalone applications up to 100 displays RSVSE 250 RSView SE Station for Standalone applications up to 250 displays RSVSE MAX RSView SE Station for Standalone applications unlimited displays RSView Supervisory Edition Training Guide 2 7 Installing dedicated or floating licenses When you install all RSView Supervisory Edition components on the same computer the activation keys you inst
274. to access the HMI projects on HMI servers in the application SE clients use the FactoryTalk Directory to find out which computers on the network are hosting HMI servers The FactoryTalk Directory can contain multiple applications allowing you to have multiple automation systems on the same network This could be useful if you want to develop one application while another is in active operation Different applications can be in operation simultaneously each controlling a different facility within your corporate network All the computers participating in a particular application share a common FactoryTalk Directory located on a network server RSView Administration Console is software for administering RSView Supervisory Edition applications after they have been deployed RSView Administration Console contains a sub set of the RSView Studio editors so you can make minor changes to an existing application There is no licensing associated with RSView Administration Console RSLinx for RSView RSView Studio and SE Server provide activation for RSLinx RSLinx for RSView serves data from Rockwell controllers to the distributed application RSView Supervisory Edition Training Guide 2 3 Where to get Help There are many resources available to aid you as you develop a Supervisory Edition project Standard Windows Online help is accessed from the RSView Studio Help Contents menu or by typing the F1 key Help Contents Online Books
275. ttle from the Object Explorer View menu o Right click and select Copy Animation or select from the Edit menu o Select Cap from the Object Explorer o Right click and select Paste Animation or select from the Edit menu 4aRS iew Studio File Edit view Objects Arrange Animatior oan mr utton rj Undo Ctrl z RampButtont a Redo Ctrl RampButton2 hk Text4 g Cut Ctrl x Polygon9 Copy Ctrl C Capper Paste Grrl Paste Special Delete Del a Duplicate Ctrl D P ottle Copy Animation Stream CapperMachine Filer achine Tag Substitution Ctrl R Group122 Properties n ianlau RSView Supervisory Edition Training Guide 5 68 e Delete the Fill animation from the Cap Show the Fill animation for the Cap Click the Delete button Click Yes to delete the animation tags OLE Verb Expression Use tag s r Use consti c Read from RSView_Class_SoftLogix Program Filling Conveyor_Timer Expression rat i You are about to remove animation from the selected object Continue e 3 w hlin e Up C Down IV Inside Only e Summary of Bottle Animations Delete Close Help Animation Bottle 1 left Bottle 2 middle Bottle 3 right Visibility timer tag lt 2000 r ese timer tag gt 5750 Horizontal inna min 3000 min 6280 max 2000 max 5000 max 8000 a 0 to 90 fill 0 to 90 fill SAREE min 2500 m
276. tton e Configure the Push Button e States Tab Stated o Caption OFF Caption back style Transparent o Arial 12 pt Bold e States Tab State1 o Caption ON Caption back style Transparent o Arial 12 pt bold e Connections Tab browse for Data Server tags e Value RSView_Class_SoftLogix Program Mixing H20_on_off e Indicator RSView_Class_SoftLogix Program Mixing H20_hold RSView Supervisory Edition Training Guide 5 54 C Duplicate the group in step B Change the pushbutton tags in the new group e Value RSView_Class_SoftLogix Program Mixing Syrup_on_off e Indicator RSView_Class_SoftLogix Program Mixing Syrup_hold Duplicate the group in step B again Change the pushbutton tags in the new group e Value RSView_Class_SoftLogix Program Mixing Pump_on_off e Indicator RSView_Class_SoftLogix Program Mixing Pump_hold Numeric Display This displays the current tank level from the processor e Expression Build the following using the Tag and Arithmetic buttons RSView_Class_SoftLogix Program Mixing Mixer_Tank_Level 10 e Right click and select Property Panel Change the Font and Fore Color to your liking Bar Graph Select the Bar Graph tool and draw out a rectangle e General Tab o Back Color gray Fill Color Blue o Min Value 0 Max Value 1000 o Threshold 1 value 500 Fill Color Brown e Connections Tab Value
277. uct Type Local Message Drag and drop the Display icon in the Graphics folder into the right pane Sf Mixing HMI System HMI Tags 3 Graphics Displays Libraries Ea Images F HE RSView Supervisory Edition Training Guide 5 4 Customizing Your Environment Many toolbars are available when using the Graphics Editor Choose to show or hide these from the View menu iv Status Bar Workbook Mode E Explorer Window iv Diagnostics List Toolbars b iv Standard v Graphics v Edit Display a EES Test Dis Display Alignment Show Grid States Snap On Pattern Styles Grid Settings Back Styles Zoom to Fit seas ee i ackground Colors It may be helpful to display toolbars while editing a graphic display Any of the toolbars may be floated in your editing area or docked in the window 4aRS iew Studio File Edit View Objects Arrange Animation Tools Window Help MOS OSES ole RBM VST ADAQucgs R Vom cue ee aac oe SAMGn send gt vay es BCCOOORS F Untitled Rootbeer Production Mixing Display xf LLL EE SHEE HENEN Ea RSView Supervisory Edition Training Guide 5 5 Display Settings Display Settings determine how the graphic display will look and act during runtime Open the Display Settings Editor from the Edit menu or by right clicking in an open area not on an object of the graphic display f Untitled Rootbeer
278. ues of an object such as Value Enabled and Caption For example a Tag object has a Value property to return or set the value of a tag e Methods functions implemented in an object that allow external actions to change the object s appearance behavior or properties A call to a method might be made in response to events from other objects and could trigger other events For example a Tag object has a GetTagData method to read the data for a tag and return the information as parameter variables e Events actions triggered by an object in response to an external action on the object such as a mouse click For example the Tag object has a Change event code may be executed automatically when the value of a tag changes RSView Supervisory Edition Training Guide 13 4 Learning about the object model The RSView Studio Help system has information on the Object Model lolx D e amp f Hide Back Print Options Contents Index Search Favorites Creating VBA Display Code Ve Using the RSView SE Client Object Model B About the RSView SE Client object model 12 Trappable errors Application Object Graphic Objects 0 Tag Objects 2 About Tag objects A Tag Object 2 About the Tag object Q Properties 2 Application 12 DataType property 2 LastErrorNumber 2 LastErrorString 2 Name 2 Parent 2 PendingWriteValue 2 UserData 2 Value Methods Events TagGroup Object StringList
279. urity account of the data log program file on Windows 2000 1 In the Distributed COM Configuration Properties dialog box click the Applications tab In the Applications list click DatalogServ and then click Properties In the DatalogServ Properties dialog box click the Identity tab Click This User and then type the name password and password confirmation for the user that will run the data log model Click OK Click OK again to close the Distributed Com Configuration Properties dialog Restart the computer so the configuration changes can take effect To change the security account of the data log program file on Windows XP 1 In the tree view left hand side of the Component Services window double click Console Root if it is not expanded and then navigate to Component Services Computers My Computer Click the DCOM Config folder to expand it Right click DataLogServ to open the context menu and then select Properties In the DataLogServ Properties dialog box click the Identity tab ee a de ad Click This User and then type the name password and password confirmation for the user that will run the data log model Click OK Close the Component Services window and the restart the computer so the configuration changes can take effect RSView Supervisory Edition Training Guide 8 6 Paths Tab File Set Logging Setup File Management Log Triggers Tags in Model Primary Path C Documents and Settings
280. urned on double click the Suppressed List icon in the Alarms folder in the Application Explorer i Suppressed List Rootbeer Production Mixing m List of Suppressed Tags for Mixing Close Suppress Off All Off Help To turn suppression off from the Suppressed List e Select a tag name then click the Suppress Off button e Click Suppress Off All to turn suppression off for all tags Note You can also turn suppression off from the command line using the SuppressOff or SuppressOffAll1 command in the same way you use the SuppressOn command RSView Supervisory Edition Training Guide 6 20 Lab 8 Configuring Alarms Objective In this lab you will configure the entire RSView alarm system This includes creating tags and applying alarming to them configuring the Alarm Setup editor configuring the Alarm Log Setup editor configuring an Alarm Summary object in a graphic display Software Requirements e RSView Studio e SoftLogix 5860 running RSView_Class_SoftLogix program 1 Create HMI Alarm Tags RSView Alarms are configured on HMI Tags Create these tags first Open the Tag Database Editor Create a folder called Alarms e Create the following 5 tags Accept all the defaults and use memory as the data source Search For Description Alarms digital1 Digital Alarms analog1 Analog Alarms ack Digital 4 Alarms handshake Digital 6 C Comments E Alarms horn Digital e E a aE Scaling a system
281. using a matrix of Severity options Error Warning Information and Audit together with Audience options Operator Engineer Developer and Secure For example a product might generate a series of security messages classified as Operator Audit and Operator Information and also generate a series of communication messages classified as Operator Warning Engineer Warning and Developer Error Diagnostics Setup IOl x Message Routing Select one or more logging destinations to configure message routing Diagnostics Setup Destination Setup Local Log ODBC Database r Message categories RSView Diagnostics List ODBC Database Error Warning Info Audit RS iew Diagnostics List Cperater Vv Vv Vv Vv Engineer M Iv Iv Developer D a j Secure a El H EH V Accept message from Windows CE devices Cancel Apply Help RSView Supervisory Edition Training Guide 7 6 Message categories The definitions below with the exception of Secure are only suggestions Each FactoryTalk enabled product classifies its own set of messages and defines the meaning of the options to fit its own purposes Audience options e Operator Typically this option is assigned to outcome messages that confirm the success or failure of an action initiated by people who are operating or using the FactoryTalk enabled product e Engineer Typically this option is assigned to messages useful
282. ustomize and extend the capabilities of the RSView SE Client The code is written in RSView Studio but is part of the graphic display The code is executed as part of the display in an SE Client Some ways you might use VBA include Using data with other applications If you regularly require RSView data for use in programs such as Microsoft Excel or SQL Server consider using the RSView SE Client object model and display code with VBA to integrate these applications with RSView Creating custom forms for operators You can use VBA to create custom forms for example as pop up dialog boxes that operators can interact with at run time You can also use VBA logic to validate the operator s input for example to ensure that the value an operator enters in a numeric input field falls within 10 of the value of another numeric input field Designing intuitive graphic displays Use the RSView SE Client object model to populate ActiveX controls with data for use in graphic displays For example use list boxes or combo boxes in graphic displays to allow operators to select options such as recipe items Manipulating the RSView SE Client window Write VBA code to arrange graphic displays based on the size of the RSView SE Client window This allows you to adapt your application dynamically to various screen desktop sizes and resolutions Sending custom messages to the activity log file Send specific messages to the activity log window and activity
283. ve steps to create a second derived tag called mem PumpssString This will be a string tag with a memory data source e Create the following If Then Else expression to define the string tag Use the If Tags and Logical buttons E Untitled Rootbeer Standalone Derived Tags s Oj x Tag Name mem PumpsString A Close Description Expression If RS iew_Class_SoftLogix Program T anks Tank_1_Pump AND RSView_Class_SoftLogix Program T anks Tank_2_Pump AND RS View_Class_SoftLogix Program T anks Tank_3_Pump Then All pumps are ON Else NOT all pumps are ON Logical Relational Arithmetic Bitwise Functions Check Syntax e Save the derived tag file as Tanks RSView Supervisory Edition Training Guide 10 11 2 Edit the Trends graphic display e Add to the display 1 Shorten the trend to make room for the new objects Add the pen mem TotalTankLevel to the trend 2 Add a text object to show Tank Total and insert the numeric variable mem TotalTankLevel 3 Add a string display to show the value of mem PumpssString F Trend Rootbeer Standalone Rootbeer Standalone Display Oj x Friday June 13 2003 1 37 17 PM 37 238 138 138 1 39 17 PM La Las Ceu Canion BiRi _Class_SoftLogix Program Tanks Jal 2 7 RSView _Class_SoftLogix Program Tanks E 2177 RSView _Class_SoftLogix Program Tanks Tank Total HHH s
284. view_Class_SoftLogix D 6 2 Click on the Data Collection tab Note that the path to the offline RSLogix file has been automatically added This allows for offline OPC browsing DDE OPC Topic Configuration 2 x Project Default Topic List DataSource Data Collection Advanced Communication RSView_Class_ControlLogix iS iew_C oftLogix Processor Type Logix5000 Data Collection Mode IV Polled Messages mSec fi 000 I Unsolicited Messages F Cache Unsolicited Data F Send all unsolicited updates Communications Time Ou JV Use Symbols C SUPERVISORY EDITION M Limit Maximum Packets IV Use Maximum Packet Size Ethemet Select Database 3 Click Done to close the window RSView Supervisory Edition Training Guide 2 21 4 Click the RSWho window to bring up a graphical representation of your network Expand the driver and find the SoftLogix processor Right click on the processor and select Data Monitor oix IV Autobrowse 8 Workstation RSYSEO1 H Linx Gateways Ethernet oe as AB_ETH 1 Ethernet Channel 0 DE AB_VBP 1 1789 417 4 Virtual Chassis be m 00 Workstation RSLinx Server 01 1789 L60 4 Softlogix 0 Controller RSView_Class_SoftLogix Remove Not Browsing Station Diagnostics Configure New DDE OPC Topic Driver Diagnostics n Configure Driver Device Properties The Data Monitor allows you navigate through and s
285. w Supervisory Edition Training Guide 4 2 Communicating with a processor In Chapter 3 you learned how to create a Data Server as part of a distributed application This chapter gets into greater detail with that topic and introduces HMI tags as another way of communicating with a processor Directly Referenced Tags RSView Supervisory Edition introduces the concept of Tagless HMI This simply means that you no longer need to create an HMI tag database to get at the value of a data point in a processor Associating a Data Server with an OPC Server allows you to directly browse the processor to reference a tag For example a program called FilterStation is running in a ControlLogix processor RSLinx is used as the OPC server A topic is set up in RSLinx to point to the ControlLogix processor When you need to use the value in the processor to display the value in a graphic for instance you initiate a Tag Browser and select the tag directly while online m Select Tag Contents of FilterStation Online Folders test FilterStation H Offline a Online Control_RPM Control_Run_Enable F_Sediment_Truck_Direction Program MainProgram CounterO4 C Counter_60s J Counter_Amperage C Counter_Number_Starts J Counter_Run_Min C Counter_Truck_Pos CJ Overview_Selection_Counter C Timer_10ms FD Timer_is C Timer_200ms C Timer_S00ms Timer_Loading RSYSE_C
286. w the Command Wizard OK Cancel RSView Supervisory Edition Training Guide 5 36 Other Push Buttons The rest of the push buttons perform a specific task and don t use RSView commands Their configuration is different from the button object Momentary When the operator presses the button it changes from State 0 to State 1 and sends the State 1 value to the data source When the operator releases the button it changes from State 1 back to State 0 and sends the State 0 value to the data source Maintained This button works like a hard wired switch When the operator first presses the button it changes from State 0 to State 1 and sends the State 1 value to the data source When the operator presses and releases the button a second time it changes from State 1 back to State 0 and sends the State 0 value to the data source Latched When the operator first presses the button it changes from State 0 to State 1 and sends the State 1 value to the data source The button retains this value until unlatched by the Handshake control Unlatching the button If the latch reset type specified in the General tab of the Latched Push Button dialog box is Non zero when the Handshake control is a non zero value the application unlatches the button If the operator presses the button while the Handshake control is a non zero value the button remains unlatched If the latch reset type is Zero to non zero transition when the Handshake
287. x h Cancel Open the graphic f Alarms Rootbeer Production Filling Display 0 x Srable Alanine Alarm Log Viewer Alarmsiack Alarmsihandshake Alarmsthorn Disable Alarms Alarmsidigital1 Alarms analog1 TTT Toggle Alarmsidigital1 RSView Supervisory Edition Training Guide 6 26 The graphic is set up to use the Alarm tags you created earlier Create an Alarm Summary object by selecting the tool and dragging a rectangle in the white space of the Alarms graphic Alarm Summary EEE The Alarm Summary is in Edit Mode when you release the left mouse button Use the Insert menu to build the Alarm Summary 4aRS iew Studio File Edit Insert Format Data Help window gg Text Tag Description Tag Units Alarm Type Alarm Time Enable Alarms Alarm Log Viewer Alarm Date earn sevay Disable Alarms Home Alarm Label Alarm Time r Alarms Rootbeer Standalone Rootbeer Standalone i J Analog Threshold Analog Level Digital Alarm Type Acknowledge Time Acknowledge Date Operator Name RSView Supervisory Edition Training Guide 6 27 The finished Alarm Summary should have the following fields inserted r Alarms Rootbeer Standalone Rootbeer Standalone Display 5 x Enable Alarma Alarm Log Viewer Alarmslack Alarms handshake Alarmsihorn Disable Alarms Tag Yalue Alarm Label Alarm Severity Ack Current Ack All Si
288. y Edition Training Guide 5 24 Commands may have switches available to effect how they act This command will open a graphic display named Conveyor which resides in the Filling area It will center it in the middle of the screen cache the display to memory and always update it Command Wizard Step 2 of 2 Syntax Display lt display gt B ZE ZU 20 ZZ ZZA Pfile 4T lt tag gt lt tag gt Hnnn 44 nnn Min Max position Area CP ES File Conveyor gt 7 6 Display In Background V Window Position Centered of the screen F 2E Disable Enter Key 2H Height M 2U Upload Data Entry Fields ZW Width M 20 Disable Key List Zx Left Min Display Minimized A Top Max Display Maximized Ci ZAXache Display Always Updating 1L Parameter tags M Z Cache Display 2P Parameter File Command String Display Filling Conveyor 424 CC Help Cancel lt Back As you add the switches the command line is built Display Filling Conveyor ZA CC Note closed quotes are required and added by the wizard around the area and display name if spaces are in the name Display Filling Conveyor 1 ZA CC RSView Supervisory Edition Training Guide 5 25 Executing Conditional Commands The IF command allows IF THEN ELSE logic to be applied to a command For example a pushbutton may execute the following Command Wizard Step 2 of 2 Syntax IF
289. y the computer that will run the OPC server Associate the server with an OPC Server by browsing for it OPC Data Server Properties 21x General Redundancy Advanced Name ControlLoaix_1 Data Description Computer that will run the OPC Server S22 Browse OPC Server name ProglD OK Cancel Apply All installed OPC servers will populate the list Choose the one you want to use Available OPC data servers E xj Select an OPC data server E Se2 KEPServerEnterprise Cancel RSLinx OPC Server N i RSLins Remote OPC Server RSView Supervisory Edition Training Guide 3 18 Data Server Redundancy One advantage to using Data Servers is the ability to specify a backup computer running a second OPC server All references through the data server will automatically switch over if the first data server is lost Data Server Properties i General Redundancy Advanced IV Provide redundancy using a secondary server Computer running secondary server Browse Switch back options Continue using the secondary server even when the primary becomes available again Switchback to the primary server when it becomes available Browse for Computer 2 x Select the machine that will run the OPC server SE My Network Places Entire Network ft Microsoft Windows Network Eley Rsvse class By Rsvse01 ml Rs
290. y to open it e Test run the graphic display to confirm that Tank 1 data is active e The following 3 direct reference tags are used in the graphic o RSView_Class_SoftLogix Program Tanks Tank_1_Level o RSView_Class_SoftLogix Program Tanks Tank_1_Pump o RSView_Class_SoftLogix Program Tanks Tank_1_Number f Tank Data Rootbeer Production Mixing Display Oj x Tank Tank Level Trendx Monday March 25 2002 rea ee os n a i i Turn Pump ON Control P RSView Supervisory Edition Training Guide 5 77 Use tag placeholders to make this graphic available to all 3 tank tags There are different solutions to this One possible solution is to create 3 parameter files Each file would require 3 entries Example o 1 RSView_Class_SoftLogix Program Tanks Tank_1_Level o 2 RSView_Class_SoftLogix Program Tanks Tank_1_Pump o 3 RSView_Class_SoftLogix Program Tanks Tank_1_Number You would then substitute each tag for the tag placeholder in the graphic A simpler solution is to replace only what is unique about each tag In this case only the tank number differs in the controller tags Perform these steps e Select every object in the graphic display CTRL A or Edit menu e Invoke the Tag Substitution window CTRL R or Edit menu e substitute 1 for tank_1 as shown Tag Substitution i x Search for tsview_class_softlogix program tanks tank_1_level tsview_class_softlogix progra
291. your display using objects from the Tanks Motors Pumps and Pipes 3 libraries Stretch and alter the objects to come up with a display that looks like the picture below f MixingTank Rootbeer Standalone Rootbeer Standalone Display loj x Mixer Control Setpoint BAEN 460 Actual 460 Mixer ON Adding Water to Batch e Test run the display to verify the operation Save and close the graphic when you are done troubleshooting This Lab is Finished RSView Supervisory Edition Training Guide 5 58 Animating Graphical Objects RSView Machine Edition has the capability of animating graphic displays Objects within the display may change appearance size or location based on a changing tag value or the result of a logical expression The following animation types are available on Drawing objects Visibility Rotation Width Height Fill Color Touch Horizontal Position Vertical Position Horizontal Slider Vertical Slider Panel objects and some interactive objects such as push buttons and Trends support visibility animation only To animate an object select it and choose Animation from the right click menu or click the Animation menu Arrange gt Convert to Wallpaper Bbc Tag Substitution Horizontal Position property PAA vertical Position Object Explorer Width Height Cut Rotation Copy Touch Paste Horizontal Slider
292. yse server H Directory OK Cancel RSView Supervisory Edition Training Guide 3 1 9 Data Server Advanced Properties You may create a cache file of the data server This will allow you to browse the data server tag information when the server is offline Including extended information tag data types will increase the time to create or synchronize the cache Data Server Properties i 2 x General Redundancy Advanced T Include extended information in the server cache file 4 cache file for this server has not been created Create Cach You may create a cache file if you want to use names desta Bes from the server when the server is unavailable Manually update the cache file to reflect any changes in the data server by synchronizing it Data Server Properties 2 x General Redundancy Advanced T Include extended information in the server cache file Server cache file was last updated on seein Thursday January 10 2002 22 12 53 pall RSView Supervisory Edition Training Guide 3 20 Lab 2 Create a Standalone SE Application Objective Work in a single computer environment to create a standalone SE application You will Install the RSView SE Software components Create a new SE standalone application Explore the HMI Project Create a data server to access controller data Software Requirements e RSView Studio e RSLinx e SoftLogix 5860 running the RSView_Class_SoftLogix program e

Download Pdf Manuals

image

Related Search

Related Contents

Shark GI472H Iron User Manual  Scarica - ALCATEL ONETOUCH  Bullard t4N thermal Imager User Manual www.bullard.com  School Accountability Online Cleanup System for ELDA User Guide  Grandes performances à portée de main  User guide - Tinn-R Team - NBCGIB  InstallatIon · Manual 4.0072 1/4  Iomega USB 2.0 User's Manual  La Lettre C comme Carte Culture  パンフレット - アイテックス  

Copyright © All rights reserved.
Failed to retrieve file