Post on 11-Sep-2020
��Key Concepts
�� ���� ���� � � � �
� � ������
� �� ���� ������ �� �����
� �� ��� �������
� �� ��� � ��
� ��� � � ��
� ������ � �
� ����� ��
� ��!�
� "�#� ��
� ��� ����� �
Key
Con
cept
sK
ey C
once
pts
3–2Key Concepts
ProjectsA project is the set of screens and data (such as PLC protocol, baud rate and paneltype) managed under a specific project name. Each project can correspond to aspecific application. The Project Tutorial has the example of an application in a pulpmill, so the project is titled ’Pulp’.
Screens (Global and Local)In ScreenCreator, a screen is an image of the actual screen displayed on theDirectTouch panel. There are two types of screens, global and local.A project must have one, and only one, global screen. The global screen is createdat the same time the project is created and has the same name as the project. Theglobal screen can be used for displaying faults (alarms), or a clock/calendar. Itfunctions like a window in front of any screen that is being displayed on the panel. Sowhen nothing is being displayed on the global screen, it is transparent to the user.There can be up to 1024 local screen names in any given project. The actualnumber of screens you can download to a panel depends on how muchmemory the screens use. Local screens each function like a separate OperatorInterface Panel having parts such as pushbuttons, meters and indicator lights, etc.When nothing is being displayed on the global screen, the current local screen isfully visible and functional.Anything that can be placed on a screen may be called a Screen Object, includingParts, Figures (circles, polygons, lines, etc.), Text, Bitmaps, and Textures. Figuresmay also be referred to as Drawing Objects or Patterns. This chapter also discussesLibrary Objects (Parts, Textures and Bitmaps in the Library), which are like Originalsfrom which the Copies (Screen Objects) are made.Screen Parts are the most important type of Screen Objects. The major classes ofparts are found in the Part Toolbar below.
Text Displays
NumericalDisplays
Lights
Clocks/Calendars
Host CommandKeypads
Pushbuttons/Switches Select ScreenGraphs
Meters Alarms/Faults
Texture Displays
Special User Parts
Access of a partrefers to the way it isdisplayed within bothScreenCreator andon the panel.Normal: Displayed on the screen, including any data, and functional.Frozen: Displayed as normal, but the pushbutton/switch is not functional.Shaded: Displayed in shaded fashion, with no data or function.Closed: Not displayed or functioning. (Must also be Selectable.)Selectable: The access can be changed by a screen or part program.Before a part has closed access, it must be made Selectable.A good example of a part made Closed and Selectable is a Ten–key padbeing called by pressing a Numerical Input Display part. The Ten-key padis opened by the part program of the display and closed by its ownprogram once the Ent or Esc buttons are pressed.
The Global Screen
Local Screens
ScreenObjects
Screen Parts
Part Toolbar
Access of a Part
Key C
onceptsK
ey Concepts
3–3Key Concepts
When you click on any toolicon in the Part Toolbar, theSelect Part windowappears, with that type ofpart selected in the ClassList. If you click on theMeters Tool, the window tothe right comes up, allowingyou to select one of thespecific meter types belowthe ’Meters’ heading. TheClass List is much like afolder of folders in Windows95/98 or NT.
When you select the’Analog Meter’, the windowthen contains all the analogmeters stored under thatheading in the library.
The Class (or Heading) and Part Tool labeled ’User Parts’ is reserved for any customparts which you create. You may also store custom parts under any other heading ifyou prefer but it might not be as convenient. Creating new parts is covered in greaterdetail below.The difference between what are called Screen Parts and what are called LibraryParts is fairly simple. Screen Parts reside on a screen and have particular settings,like a PLC address referenced, BCD type, or a special color assigned. Whereas,Library Parts are like templates for creating actual Screen Parts–– they have nospecific PLC address but do have a default type, color and texture, etc. Library Partsare the Originals and Screen Parts are the Copies.
Adding Parts to aScreen
User Parts
Screen Partsversus LibraryParts
Key
Con
cept
sK
ey C
once
pts
3–4Key Concepts
Library Parts
All Library Parts are contained in the library file of ScreenCreator. Each part in thelibrary is a template used to create actual parts on the screen. These library partscan be edited and saved as a new library part or edited and saved under the samename, overwriting the original part. Below you will find an example of editing andsaving as a new name. Very often, this is how you will create a new library part (youwill use an existing library part, change it and save it under a new name).
To edit a library part, click onLibrary > Open > Part... tobring up the Open Partwindow. This window looksjust like the Select Partwindow, but the Open Partwindow opens the actualLibrary Part for editing. Becareful when opening alibrary part, because anychanges you make will affectall future uses of that librarypart.
Remember, the Select Partwindow allows you to choosea Library Part to copy to thescreen, but the Open Partwindow allows you to choosea Library Part to edit.
Like PartTemplates
Editing LibraryParts
Key C
onceptsK
ey Concepts
3–5Key Concepts
To edit an existing LabeledPushbutton w/ Light Part to createa new one with “CYCLE” on it.Select the Pushbutton as shownon the right (any with a label woulddo).
The Part window appears asshown on the right.
Click on the Browse List button toview the components of this part.Select the Text item and clickAttributes/Properties to edit theText. Remember, we want it tohave “CYCLE” on the pushbutton.
Type “CYCLE” in place of “SET”and click OK. Notice that the newtext is not centered on the part.Click and drag the text to center it(the pointer has four arrows whenmoving an object).
Creating a NewLibrary Part froman Existing One
Key
Con
cept
sK
ey C
once
pts
3–6Key Concepts
Click the Save button and theSave Part window appears withthe original heading “LabeledPushbutton w/Light” selected. Ifwe clicked Save, the changeswould be made to the originallibrary part: #CLS4002.
Instead, let’s select the User Partsclass, change the name to CYCLEand click Save.
Finally, click the X to close the newPart window which is now labeledCYCLE.
Creating a NewLibrary Part froman Existing One(Continued...)
Key C
onceptsK
ey Concepts
3–7Key Concepts
What follows below are step-by-step instructions for creating a new library part.
In some cases, you may find it necessaryto build a totally different type of Part. Tocreate a brand new Library Part, click onLibrary > New > Part... and the Part Editwindow appears, on the right. The SelectControl tool is now active on the DrawingToolbar and the control tools are coloredand selectable in the Control Toolbar.This is because we are now editing apart, which can contain controls, versus ascreen which cannot have controlsalone.
Click the Size Window to Screen tool asshown above right, and the windowbecomes full sized with the dotted-lineframe of the part.
Next, turn on the grid by clicking theOptions tool in the Standard Toolbar. Inthe Options window, click to enable theSnap to Grid and enter 20 as the GridSize. After clicking OK, notice the thingrid lines on the screen.
Click the Meter tool in the Control Toolbarwhich opens the Meter window andselect medium for the needle thickness,then click the Arrangement and Colortab. Enter all of the settings as shown onthe right and click Arrangement to place iton the window. The pointer becomes amouse. Click the left mouse button and itbecomes a cross–hair. Move thecross-hair to the upper left corner of thewindow and click to place the meter. Thisis what you should see.
If you do not see the outline of the meter,click on the the Display tool and select“Both” for View of Parts and View ofControls.
If the Controls Toolbar is not alreadyopen, select it from Tools > Display, andclick New Default.
Creating a NewLibrary Part fromScratch
Key
Con
cept
sK
ey C
once
pts
3–8Key Concepts
Now that the meter control has beenbuilt, we will create a Figure of 10 meterlines for the meter face. Click on theCircular Scale tool, enter 10 and clickCreate.
The cross-hair appears again. This timebring the inside circle to the center gridblock as shown, and click.
The cross-hair appears again. Click onthe upper left corner as before and movethe pointer to the bottom left until thewhite circle fits the meter, then click againand the outside diameter is set in place.
Creating a NewLibrary Part fromScratch(Continued...)
Key C
onceptsK
ey Concepts
3–9Key Concepts
Now, carefully move the cross-hairto the bottom left line of the meterand click when the cursor linematches the meter line. Do thesame for the bottom right line of themeter. The meter is finished now,but the cross–hair remains (incase you want to do anothercircular scale), so click theSelection Mode tool (pointer) toget the normal pointer back.
Finally, click the Save tool orLibrary > Save As... and save themeter as shown on the right. Themeter icon can be found by clickingSelect Icon. Enter ’MTR1’ as theName of this new part. Now themeter will appear in the User Partsclass and can be added to screenslike any other part.
At this point we could move all ofthe straight lines and the meter tothe middle of the part boundaryand add numbers (in text) aroundthe meter face, but that’s left foryou to do later if you choose.
Lastly,press Shift + X which sizesthe part boundary to the part.
Key
Con
cept
sK
ey C
once
pts
3–10Key Concepts
Inside a Part
Each Screen Part may have one or more Control component, and may have a PartProgram (see the next page) and a Background (made up of Figures, Textures andcolors).
Numerical Input Display Part
34.62
Figure (Text & Lines, etc.)
Background Texture
Background Color
Displays data from the PLC
Writes data to the PLC
if...endif
endevent
event
Part Background
Part Program
The components of a Part can be thought of as layersof lenses: some clear and some with Figures, colors,text or symbols.
PLC
Control Color
Control Texture
Control
The Control component ofa part reads data from, andmay write data to, the PLCaddress. In the PartProperties box, shown onthe right, controlsassociated with a part arelisted under OperationParameter. The OperationParameter settings foreach control are found inthe small box to the right ofthe list, when the specificcontrol is selected. For thepart shown on the right,there is only one control, aPushbutton/Switch.
Control
Key C
onceptsK
ey Concepts
3–11Key Concepts
The settings for a control may be accessed and edited by clicking on ’EditDetails’. This brings up the box below, with the three tabs: Settings, Arrangementand Color, and Operation Parameter. These settings are discussed in detail inChapter 5.
The Part Background is made up of any Figures (Text, lines, etc.), Textures, andColors that have been built into the Part.
Control Textureand Color
Part Background
Key
Con
cept
sK
ey C
once
pts
3–12Key Concepts
To view the various Control(s), Figure(s) and Texture(s) of a given part,double–click the part on the screen and then click ’Edit Contents’. Now the part isdisplayed again in the editing window, click the Browse List tool and the Browse Listbox will appear. Figures and Text are denoted by a square and triangle icon andControls are denoted by a C icon. The ten–key pad List, shown here, is an examplewith Figures, Text and Controls.
Click on a component, then click Attributes/Properties to edit it orclick Select to identify it.
Viewing andEditing PartComponents:Browse List
Key C
onceptsK
ey Concepts
3–13Key Concepts
The diagram below will help you understand the elements of a Part.
Numerical Input Display Part
34.62
Figures (Text & Lines, etc.)
Background Texture
Background Color
Control Color
Control TextureAny data from the PLC isdisplayed by the Control.
The Texture and Color for ONand OFF are specified here.
The Part Background Texture andColor.
Control
How theComponents of aPart fit together
Key
Con
cept
sK
ey C
once
pts
3–14Key Concepts
This is a very important point to understand for using any parts that change colordepending on the state of a bit (either ON or OFF). As an example we will use thepushbutton we created in the Project Tutorial.The key is to know that when the bit is ON, the Control “ON Color” replacesanything that has the “OFF Color” (whether it is in a figure, like a circle orrectangle, or the part Background Color itself), and the “OFF Color” remainswhen the bit is OFF.
Double-click on the pushbuttonand the Part Properties windowpops up.
Click on Edit Details, select theArrangement and Color tab andmove the Pushbutton/Switchwindow to the left as shown. Thisallows you to see both the PartBackground Color and the OFFColor at the same time.
Notice the Part Background Color.
Notice that the Part BackgroundColor is the same as the OFFColor. If it were different, thepushbutton color would not work(that is, it would not change fromdark green to light green when itwent from OFF to ON).Also, the Image (ON/OFF)specifies which color to show onthe part in ScreenCreator only, noton the panel itself.
For Example 2, add thepushbutton shown on the right to ascreen, Edit Contents, thenBrowse List, select the secondCircle and clickAttributes/Properties. In this case,the part background color is gray(the frame of the button) and notthe same as the OFF color.Notice that the line and fill colorsare the same as the OFF Color.See the Index for information onthe Fore and Back Colors (Tile).
Consider the two examples below, which illustrate this concept.
Example 1: Part BackgroundColor is the OFF Color.
Example 2: Another compoent isthe OFF Color. (Locate thecomponent with the OFF Color .)
How ON/OFFColors work in aPart
Key C
onceptsK
ey Concepts
3–15Key Concepts
The Project Register: Screens, Registered Text and Textures
Every Project has a Register, containing Screens, Registered Text and RegisteredTextures.
opens the Register to Project dialog box for viewing the registered screens, textand textures of the current project. Note: these items cannot be edited from thiswindow.
Screens, covered at the beginning of this chapter, must have both a unique nameand a unique Registration number (except the Global screen, which is notregistered).
Click the Register to displayScreens in order ofRegistration number.
Project > Register...
Screens
Key
Con
cept
sK
ey C
once
pts
3–16Key Concepts
Screens, covered at the beginning of this chapter, must have both a unique nameand a unique Registration number (except the Global screen, which is notregistered).
With the New Text windowopen, you can begin typingin the new text to beregistered. Then click thesave tool to save and assigna registration number.
Use the Open tool to openexisting registered text, or toview all registered text.
Registered text is used inRegistered Text Displaysand Warning Displays todisplay text messageswhich correspond to thevalue in a PLC address (bitor word).
Select Project > NewText... to open the New Textwindow.
RegisteredText
Creating or editingRegistered Text
Key C
onceptsK
ey Concepts
3–17Key Concepts
Registered Textures are different from both Screens and Registered Text, in that they exist inthe Library and may be registered as shown below.
Select Project > Register... toopen the Register to Projectwindow. Select a Texture and clickReference...
Select a Texture and then click theCancel button.
The Texture is now registered andmay be used in the RegisteredTexture Display part.
RegisteredTextures
Key
Con
cept
sK
ey C
once
pts
3–18Key Concepts
Textures are made up of lines, circles, rectangles and so on, grouped together as asingle object. Often Textures are used as components of Parts, providing a visualimage of some physical device such as a pushbutton or switch. Textures may also beplaced on a screen directly, similar to Parts, but are typically only found inside a part.Textures are essentially identical to Parts (see the ’Screen Part versus Library Part’discussion above), except a texture may be placed in a part or on a Screen. TheLibrary Texture are still the Originals and Screen or Part Textures are the Copies.
When a screen or part isopen, the Texture tool isactive. After clicking it, theTexture dialog box appears;click Select to view andselect from the Library. Usethe Repeat in X or Y toduplicate the Texturehorizontally or vertically.
The ISO 7000 Textures maybe used as symbols onscreens or in building newparts. Click on the differentclasses and scroll down tosee all of the members ofeach class.
The General Parts ClassList of Textures are thosetextures used already in thebuilt-in Library Parts.
Click on the Texture that youwant and place it on ascreen or part as you wouldany Figure or object.
For help with addingTextures, see the Library >Add from External File >Texture... section in theMenus chapter
Textures
Screen (or Part)Textures versusLibrary Textures
Adding Textures toa Screen or Part
Key C
onceptsK
ey Concepts
3–19Key Concepts
Bitmaps
Bitmaps may be used in a variety of ways including screen or part background,importing a company logo onto a screen or simply displaying a picture.
When a screen or part isopen, the Bitmap tool isselectable. After clicking it,the Bitmap dialog boxappears; click Select to viewand select from the Library.
There are no bitmapsprovided in ScreenCreator,since these tend to becustom images. So, whenyou open the Select Bitmapit will be empty (unless youhave added bitmaps beforethis). For help with addingbitmaps, see the Library >Add from External File >Bitmap... section in theMenus chapter.
Transparent makes all Black portionsof the Bitmap transparent.
Converts all colors (except black) to this color.
Adding Bitmaps toa Screen or Part
Key
Con
cept
sK
ey C
once
pts
3–20Key Concepts
Figures (Drawing Objects)
Any Drawing Object (line or lines, ellipse/circle, rectangle, text, etc.) is referred to asa Figure since it may be used as a component in a Part.
When a screen or a part is open, the Drawing tools are selectable. The individualtools are covered in greater detail in the Menus chapter. Two attributes common tomany of the Drawing Objects are Line and Fill (Tile), shown below.
The Line of the object has a color (default is usually white) and a style (thin, dotted,and thick).
The Fill feature involves two colors “tiled” together by the selected Tile pattern. Thewhite represents Tile Back color and the black represents Tile Fore color. Onecolor is never actually in front or back of the other, but Fore and Back is just ameans of distinguishing between the two. The default is usually as shown above,with Tile Back alone chosen (set as Transparent) and Tile Fore being white. By theway, since there is no Tile Fore in the mix, it could be any color. We recommendexperimenting with lots of Tile Fill combinations to get a feel for how it works.
Adding Figures toa Screen or Part
Tile Color (Fill)
Key C
onceptsK
ey Concepts
3–21Key Concepts
ScreenCreator has toolbars that give quick access to various menu items. The StandardToolbar has the typical Windows tools (Cut/Paste/Undo etc.) along with Move to Front/Back,display and download options. The drawing, part and control toolbars have all of the toolsassociated with specific functions. There is also a Reference and a Status bar at the bottom ofthe window for programming and compiling. Note: The drawing toolbar is shown bothanchored and floating to show both options. You can drag and drop the toolbars into placeand move them around the desktop as needed or anchor them in any location around theapplication window, either horizontal or vertical.
Standard Toolbar
Drawing ToolbarPart Toolbar
Control Toolbar
Reference Bar
Status Bar
Current Project – Screen
The Toolbars
Key
Con
cept
sK
ey C
once
pts
3–22Key Concepts
A Quick Reference for the Toolbars
Selection Mode
Select Figure
Select Part
Select Control
Straight Line
Arc
Spline
Line-shaped Scale
Continuous Straight Line
Polygon
Set Attribute
Parallelogram
Rectangle
Fill
Circle/Ellipse
Text
Texture
Bitmap
Circular Scale
DrawingToolbar
PartToolbar
Lights
Pushbuttons/ Switches
Ten-Key Pads/ Keyboards
Screen Select Parts
Meters
Text Displays
Numerical Displays
Clocks/Calendars
Host Command Commu-nication Parts
Graphs
Alarms (Errors/Faults/Warnings)
Texture Displays
Special Parts
User Parts
Figure Display
Pushbutton/ Switch
Clock Display
Plot
Bar
Text Display
Numerical Display
Band
Meter
Dotted Line
Circle
Free
Slider
Light
Selector Switch
Pipe
ControlToolbar
Like most Windows programs, ScreenCreator has a standard toolbar with thenormal tools and additional graphical and screen tools.
NewScreen
Open Screen
SaveRedo
Operation Parameter
CopyCut Undo
Attributes/Properties
Refresh
Move toFront
Move toBack Program
Option
Display
Snap to Grid
Browse List
Cascade VerticalTile
HorizontalTile
Size Window toScreen
Download/BuildPaste
Edit Corner
Standard Toolbar
Key C
onceptsK
ey Concepts
3–23Key Concepts
The Drawing Toolbar has the standard drawing tools and provides separateselection for Drawing Objects (called Figures), Parts and Controls.
SelectionMode
SelectDrawingObject
SelectPart
Select Control
StraightLine
Arc
SplineL-shaped Scale
ContinuousStraight Line
PolygonSet AttributeParallelogram
RectangleFill
Circle/Ellipse TextTexture
Bitmap
CircleScale
The Part Toolbar, shown below horizontally , selects the various types of parts to beadded to a screen.
Text Displays
NumericalDisplays
Indicator Lights
Clocks/Calendars
Host CommandKeypads
Pushbuttons/Switches
Select ScreenGraphs
Meters Alarms/Faults
Texture Displays
Special User Parts
The Control Toolbar contains the controls which operate within a part. The controlscan only be used when editing a library part (new or existing) or editing the contentsof an existing screen part.
Figure Display
Pushbutton/Switch Clock Display Plot
BarText Display
Numerical Display Band Meter
Dotted Line Circle
Free
SliderLight
Selector Switch
Pipe
TIP: This is another reminder to get in the habit of using the various tools instead ofselecting the functions through the menu bar. We promise you’ll save a lot of time!
Drawing Toolbar
Part Toolbar
Control Toolbar