The text of a manual · part 31 of 46
Pico GFX-70 Controllers User Manual: 5 - Visualization with Pico GFX-70, pages 269 to 278
Pages 269 to 278 of 400, from Pico GFX-70 Controllers User Manual
The original document is the PDF (2.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley GFX-70 1760-DUB
Page 269
Chapter
5
Visualization with Pico GFX-70
In the following description, the term “visualization” is used for the display and operator function. While you can enter the circuit diagram via PicoSoft as well as directly on the device, all the visualization functions can only be programmed using PicoSoft Pro. The visualization functions can then be loaded from there to the Pico GFX-70 or onto a memory module (download function). This chapter uses the examples supplied (from version 6.1) to describe the basic methods of designing visualization systems using PicoSoft Pro. The PicoSoft Help system provides a more detailed description of the software.
Screens
PicoSoft Pro manages the visualization elements in screens. These elements can be inserted in the screens and are called screen elements in the following description. You can use up to 255 screen elements inside one screen. Due to the memory allocation of the system, it is more advisable to use several screens (see Memory Division, on page 5-2). The following screen elements are available: • Static text • Bit display • Date and time • Bitmap • Numerical value • Value entry • Message text The individual screen elements are explained in the examples.
1
Publication 1760-UM002B-EN-P - March 2005
Page 270
5-2
Visualization with Pico GFX-70
Memory Division Figure 5.1 Memory division Pico GFX-70
8 KB
Screen 5 Program memory
Screen 4
Circuit diagram
Screen 3 Screen 2
Screen 4
24 KB
Screen memory
Screen 1
The maximum size of the program memory is 8 KByte. This memory area is used to store the circuit diagram and also reserves enough space for displaying the largest screen. The screen memory has a total memory capacity of 24 KByte, which is used in this memory area to store all the screens created. It should therefore be ensured that screens have the lowest possible memory requirement so that enough space is available in the program memory for the largest screen and the circuit diagram. If a circuit diagram is not required, the memory requirement of the largest screen must not exceed the 8 KByte limit.
TIP
The PicoSoft Pro status bar indicates the available memory, the available screen memory and the required memory for the active screen element. If the available memory is exceeded the indicator will turn red.
Figure 5.2 Status Bar Location
Status Bar
Publication 1760-UM002B-EN-P - March 2005
Page 271
Visualization with Pico GFX-70
5-3
Western European Character Table
Code
Meaning
Code
Meaning
Code
Meaning
Code
Meaning
0
28
56
8
84
T
1
29
57
9
85
U
2
30
58
:
86
V
3
31
59
;
87
W
4
32
Blank
60
<
88
X
5
33
!
61
=
89
Y
6
34
"
62
>
90
Z
7
35
#
63
?
91
[
8
36
$
64
@
92
\
9
37
%
65
A
93
]
10
38
&
66
B
94
^
11
39
'
67
C
95
_
12
40
(
68
D
96
`
13
41
)
69
E
97 a
14
42
*
70
F
98 b
15
43
+
71
G
99 c
16
44
,
72
H
100 d
17
45
-
73
I
101 e
18
46
.
74
J
102 f
19
47
/
75
K
103 g
20
48
0
76
L
104 h
21
49
1
77
M
105 i
22
50
2
78
N
106 j
23
51
3
79
O
107 k
24
52
4
80
P
108 l
25
53
5
81
Q
109 m
26
54
6
82
R
110 n
27
55
7
83
S
111 o
112 p
141
ì
170
¬
199
Ã
113 q
142
Ä
171
½
200
+
114 r
143
Å
172
¼
201
+
115 s
144
É
173
¡
202
-
116 t
145
æ
174
«
203
-
117 u
146
Æ
175
»
204
¦
Publication 1760-UM002B-EN-P - March 2005
Page 272
5-4
Visualization with Pico GFX-70
Publication 1760-UM002B-EN-P - March 2005
Code
Meaning
Code
Meaning
Code
Meaning
Code
Meaning
118 v
147
ô
176
¦
205
-
119 w
148
ö
177
¦
206
+
120 x
149
ò
178
¦
207
¤
121 y
150
û
179
¦
208
ð
122 z
151
ù
180
¦
209
Ð
123
{
152
ÿ
181
Á
210
Ê
124
|
153
Ö
182
Â
211
Ë
125
}
154
Ü
183
À
212
È
126
~
155
ø
184
©
213 i
127
¦
156
£
185
¦
214
Í
128
Ç
157
Ø
186
¦
215
Î
129
ü
158
×
187
+
216
Ï
130
é
159
ƒ
188
+
217
+
131
â
160
á
189
¢
218
+
132
ä
161
í
190
¥
219
¦
133
à
162
ó
191
+
220
_
134
å
163
ú
192
+
221
¦
135
ç
164
ñ
193
-
222
Ì
136
ê
165
Ñ
194
-
223
¯
137
ë
166
ª
195
+
224
Ó
138
è
167
º
196
-
225
ß
139
ï
168
¿
197
+
226
Ô
140
î
169
®
198
ã
227
Ò
228
õ
235
Ù
242
=
249
¨
229
Õ
236
ý
243
¾
250
·
230
µ
237
Ý
244
¶
251
¹
231
þ
238
¯
245
§
252
³
232
Þ
239
´
246
÷
253
²
233
Ú
240
-
247
¸
254
¦
234
Û
241
±
248
°
255
Page 273
Visualization with Pico GFX-70
Screen Overview
5-5
The first time the visualization function is called, the screen overview appears with the following tabs: • Screens • Passwords • Languages • Screen activation
Screens Tab The Screens tab is used for entering the screen name, the start screen, and password protection (if required) for the screens concerned.
Passwords Tab The Passwords tab enables you to define up to three passwords and assign a logout time with each one for closing the screen.
Languages Tab The Languages tab is used for entering different languages that are to be used. You can then define text in these languages for all the text elements of the visualization program.However, only one download language can be defined for downloading to the device. This is also defined here and can be modified quickly when the devices are commissioned. You can export/import the languages to/from a Microsoft Excel spreadsheet, enabling text to be sent off in this way for external translation.
Screen Activation Tab The Screen activation tab allows you to define associated variables for activating the screen. The variables available depend on the variable type concerned. You can use markers (Byte, Word, DWord), analog inputs and outputs (word) or function block inputs/outputs (DWord) as associated variables. In the List of activation values, you define whether the screen is to be activated by the associated variable and the value at which this is done. If the Force screen change check box is activated, the Pico GFX-70 will immediately abort every job started and activate this screen when the value of the associated variable triggers it. This could mean, for example, that value entries, macros for processing functions after pressing an operator button, and also password entries are aborted. This can be useful for outputting appropriate alarm messages.
Publication 1760-UM002B-EN-P - March 2005
Page 274
5-6
Visualization with Pico GFX-70
IMPORTANT
Unsaved entries will therefore be lost if a screen is activated that is associated with a particular event and the Force screen change option is active. In this case, while the associated variable is set by the program, it is also not possible to carry out a screen change via the keypad.
In the List of activation values, you can select whether the screen is to be activated by the set variable and at which value.
Screen Editor
You process the individual screens in the Screen editor. This provides the following different screen elements for selection: • Static text • Bit display • Date and time • Bitmap • Numerical value • Value entry • Message text These screen elements are fully described in the following sections. The Project info, Program info and Screen info tabs are displayed if there are no screen elements activated. The relevant tabs for a particular screen element are shown if it is inserted in the screen.
Static Text Static text is a simple text display that is shown as soon as the screen is active. Up to 16 normal font size characters can fit in one text field and up to 4 text lines can be arranged in rows. The number of characters per text field and the number of displayable lines is halved if double font characters are used. The Static text is assigned to a language in the Language selection field. The languages available are defined in the Screen overview.
Publication 1760-UM002B-EN-P - March 2005
Page 275
Visualization with Pico GFX-70
5-7
Programming Static Text in PicoSoft Pro 1. Hold down the left mouse button to drag the Static text screen element onto the screen. 2. Place the mouse over the Static text screen element, hold down the left mouse button and drag the screen element to the required position. 3. Enter the required text in the Static text tab and select the language to which the text is to be assigned. You define the available languages in the Languages tab of the Screen overview. These languages apply to the text elements of all screens. The height of the element frame adjusts itself to the font size – either normal or double font size. You can change the font size by activating the context menu (right mouse button) or by dragging the selection handle at the bottom edge of the element frame concerned. When changing to double font size, ensure that there is sufficient space available underneath the element. The width of the element can be adjusted as required. You can set the size required by holding down the left mouse button and dragging a selection handle of the element frame. When applicable, ensure that the elements provide sufficient space in all languages. This can be checked easily in the screen overview. The following examples explain the function of Static text: Static Text Example Program 1 – Different Display Formats
The program consists of four screens in which the static text is displayed in different ways. The individual screens can be selected with the up and down cursor buttons. The screen change was defined in the Button editor (see Button Editor on page 5-37). Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: stat.text_manual screen change.e60 Screen 1 - Screen 1 displays a static text in normal font size. Screen 2 - Screen 2 displays a static text enlarged.
Text
Screen 3 - Screen 3 shows three static texts in different font sizes. Screen 4 - Screen 4 shows three static texts arranged in rows.
Publication 1760-UM002B-EN-P - March 2005
Page 276
5-8
Visualization with Pico GFX-70
Static Text Example Program 2 – Different Display Formats with Password Request for One Screen
The program consists of four screens in which the static text is displayed in different ways. The fourth screen contains a password request. The individual screens can be selected with up and down cursor buttons. The screen change was defined in the Button editor (see Button Editor on page 5-37). The defined password is requested when exiting screen 4. In this case, it is the number 2 which has to be confirmed with OK. Further scrolling through the screens cannot be done without entering the correct password. You can leave the password request by pressing ESC, which, however, will only move you back to the previous screen. Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: stat.text_manual screen change with password.e60 Screen 1 - Screen 1 displays a static text in normal font size. Screen 2 - Screen 2 displays a static text enlarged. Screen 3 - Screen 3 shows three static texts in different font sizes. Four static texts arranged in rows!!
Screen 4 - Screen 4 shows four static texts arranged in rows. Static Text Example Program 3 – Different Display Formats with Screen Activation via a Counter
The program consists of four screens in which the static text is displayed in different ways. The individual screens are activated via counter C01. The counter's SH upper switch value is 5. The activation pulse for activating the screens is supplied by timing relay T01. This generates the counter values 0 to 5. Screen 1 is activated with counter value 1, screen 2 with counter value 2 etc. Once the counter's upper switch value has been reached, timing relay T02 is started which resets the counter. This therefore produces a continuous loop. Timing relay T02 provides a reset delay for the counter. Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: stat.text_automatic screen change.e60 Screen 1 - Screen 1 displays a static text in normal font size. Screen 2 - Screen 2 displays a static text enlarged. Screen 3 - Screen 3 shows three static texts in different font sizes. Screen 4 - Screen 4 shows four static texts arranged in rows.
Publication 1760-UM002B-EN-P - March 2005
Page 277
Visualization with Pico GFX-70
5-9
Bit Display The bit display screen element has an input that can be associated with a Boolean variable. The signal status of this variable changes the bit display screen element from a full screen to a frame in the Pico GFX-70 display.
Programming in PicoSoft Pro 1. Hold down the left mouse button and drag the Bit display screen element onto the screen. 2. Place the mouse over the element, hold down the left mouse button and position it as required. The height and width of the element frame is variable and can be adjusted accordingly by enlarging or reducing the element frame vertically, horizontally or diagonally. This is done by dragging a selection handle of the element frame with the left mouse button held down. Associated variable tab: defines the Boolean variable for activating the bit display. Visibility tab: option for making the element invisible by means of an associated variable.
TIP
IMPORTANT
The bit display is always output as a solid image. The invisible function is the only option available. If there is an overlap of elements, the bit display that was inserted first is positioned at the back and the last one at the front. This can be modified for the activated screen element in the toolbar (Move to foreground/background buttons).
Large bit displays require a large amount of processor capacity and should be avoided in time-critical applications.
Publication 1760-UM002B-EN-P - March 2005
Page 278
5-10
Visualization with Pico GFX-70
Bit Display Example Program 1 – Associated Variable and Visibility
The program consists of five screens that can be selected with the up and down cursor buttons. The screen change was defined in the Button Editor (see Button Editor on page 5-37). The screens show examples of the use of both associated variable and visibility elements. The circuit diagram uses six on-delayed timing relays that activate outputs Q1 to Q4 and LED 3 in succession after an elapsed time. This operation is run in a continuous loop since timing relay T06 resets all timing relays after a set time. Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: Bit display_manual screen change.e60 Screen 1 - Screen 1 illustrates the activation of the bit display exclusively via the associated variable. The first screen contains four bit display elements. These are activated in succession via Boolean operands Q1 to Q4. A make contact bit logic is selected for setting the bit display elements to the state of the corresponding outputs (on/off). Figure 5.3 Bit display and static text
Q1 Q2 Q3 Q4
Q1 Q2 Q3 Q4
Screen 2 - Screen 2 illustrates the activation of the bit display with overlaid static text, exclusively via the associated variable. Screen 2 contains four bit display elements. These are activated in succession via Boolean operands Q1 to Q4. A make contact bit logic is selected for setting the bit display elements to the state of the corresponding outputs (on/off). The bit display is overlaid partly with static texts. Figure 5.4 Bit display with overlaid static text
Bit logic Make contact
Bit logic Make contact
Q1 Q2 Q3 Q4
Q1 Q2 Q3 Q4
Screen 3 - Screen 3 illustrates the possible uses of the Visibility tab for the bit display. In this screen a bit display element has been enlarged to the full size of the screen. It is activated via the Boolean operand Q1, with a make contact bit logic so that the bit display element takes on the state of the output Q1 (on/off). Publication 1760-UM002B-EN-P - March 2005