5/17/2011

FANUC-Building A Screen

CREATING YOUR OWN SCREEN

In this lab, you will create your own CIMPLICITY HMI screen. This will be very easy with the CIMPLICITY Symbol Library, which is included with the product. These pre-designed objects can be dropped into screens and provide a tremendous productivity boost. You can also create your own objects for use in future projects. These pre-drawn symbols are also very handy if you’re not very artistic! If you follow the procedure below, you will be able to see a number of features, which demonstrate how easy it is to use the CIMPLICITY HMI product.

From the preceding lab, you should already have CIMPLICITY HMI up and running. If not, please go ahead and get the demo project started.

Click Start, select Programs from the Start menu, select CIMPLICITY then HMI from the Programs menu, and then select the Demo Project icon. This will open up the CIMPLICITY Workbench.

As you can see, the CIMPLICITY Workbench follows a Windows Explorer type format with a right hand pane that shows the contents of the directories listed in the left hand pane. It is also very simple to start and stop a project from the Workbench. To start the project, click on the Triangular Run button in the toolbar. A “Run” status will appear on the status bar at the bottom right of the screen.

If you wanted to stop the project, you would click on the Square Stop button in the toolbar. A “Stop” status would appear on the status bar.

With CIMPLICITY running, turn on dynamic configuration by clicking on the “Light Switch” icon in the toolbar. THIS IS VERY IMPORTANT FOR THIS LAB. We will need that dynamic mode for the labs.

The word “Dynamic” is displayed on the right of the status bar when dynamic configuration is enabled. Turning on the dynamic configuration mode allows you to configure and edit points while the project is running! This is fabulous for project development. You don’t have to shut down and restart every time you add or change a point. For production, you can turn this off to protect your project’s configuration from being changed. This is great for keeping all that development work safe!

Creating a New Point

Let’s start by defining a new point that will measure temperature. Click on “Points” in the left hand pane of the Workbench – all points in the project will be displayed in the right hand pane. Now, click on the “New” button in the toolbar to start creating a new point.

Enter T1 in the Point ID field. This will be the name of our point. Now, click on Virtual since we are not connected to a PLC, and be sure to select Analog. When you have entered all this information, click on OK.

The Point Properties page is now displayed.

CIMPLICITY configuration has two modes: Basic and Advanced. The dialog box shown below is in Basic mode and displays only the fields that need to be filled in. Click on Advanced if you want to see the Advanced options that CIMPLICITY offers. However, all we need for the Workshop is Basic configuration.

Note: Make sure the Data type field is set to INT. If not, click on the down arrow to the right of the field and select INT.

Now, click on the Alarm tab. The first thing that we will do is create our alarm message. Click on the “>” symbol to the right of the Alarm Message field. From the pop-up menu, select Point ID. This will place a %ID character in the alarm message field. This is an alarm message variable. Instead of having to type out the point ID, you just enter the variable.

Finish the message by entering in the following: %ID is %STATE , Temp is %VAL!!! (Notice that both alarm variables and regular text appear in the message.) Just as you entered “%ID,” you can enter “%STATE” and “%VAL” by selecting “Alarm State” and “Point Value” by clicking on the “>” symbol.

You will also notice that four Alarm Limit fields have appeared as well as an Advanced button. In the alarm limit fields, enter the following: Hi-2 = 90, Hi-1 = 80, Lo-1 = 20 and Lo-2 = 10.

Select OK.

Open CimEdit

Now you are ready to create your new screen. Double-click on the “Screens” directory in the Workbench to launch the graphic screen editor.

Open Wizard Library, Copy Object

From the CimEdit Screen, we will use the Object Explorer. Selecting this icon from the CimEdit toolbar brings up a new window with a Windows Explorer type screen for navigating around the various symbols and wizards offered by CIMPLICITY HMI.

http://www.cadfamily.com/html/Article/FANUC-Building%20A%20Screen_521_1.htm

http://www.cadfamily.com/html/Article/FANUC-Building%20A%20Screen_521_2.htm

http://www.cadfamily.com/html/Article/FANUC-Building%20A%20Screen_521_3.htm

http://www.cadfamily.com/html/Article/FANUC-Building%20A%20Screen_521_4.htm

No comments: