Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 32 of 46

Pico GFX-70 Controllers User Manual: 5 - Visualization with Pico GFX-70, pages 279 to 288

Pages 279 to 288 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 279

Visualization with Pico GFX-70

5-11

The bit display is made invisible via the Boolean operand Q3. A make contact bit logic is also used here so that invisibility is activated for as long as Q3 in the On state. When the Reset pulse is present, only the frame of the bitmap is visible (state of the bitmap is “off ”, bitmap is visible). The display is overlaid partly with static text. Figure 5.5 Bit display visible/invisible

Bits invisible if Q3 active!

Bits invisible if Q3 active!

Screen 4 - Screen 4 illustrates the activation of the bit display (negated) with overlaid static text, exclusively via the associated variable. This screen contains four bit display elements. These are activated in succession via Boolean operands Q1 to Q4. A break contact bit logic is selected here. The bit display is overlaid partly with static texts. Figure 5.6 Break contact logic bit display with overlaid text

Bit logic break contact

Bit logic break contact

Q1 Q2 Q3 Q4

Q1 Q2 Q3 Q4

Screen 5 - Screen 5 illustrates the possible uses of the Visibility tab for the bit display (negated) with overlaid static text. In this screen a bit display element has been enlarged to the full size of the screen. This is activated via the Boolean operand Q1 with the break contact bit logic. In this way, the bit display takes on the opposite status of output Q1. In other words, when Q1 is On, only the frame of the bit display is visible. However, the visibility of the bit display is only activated with the Boolean operand Q3 as the break contact bit logic is selected. The bit display is overlaid partly with static text.

Figure 5.7 Bit display with frame

Frame if Q3 active!

Frame if Q3 active!

Publication 1760-UM002B-EN-P - March 2005

Page 280

5-12

Visualization with Pico GFX-70

Bit Display Example Program 2 – Bit Display with Automatic Screen Change

This program is a copy of the program Bit display_manual screen change.e60. The only difference is that the screens are activated in succession automatically. (screen change in the Screen overview r Screen activation tab r Activate Yes). The program consists of five screens containing bit display elements. Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: Bit display_automatic screen change.e60

Date and Time This screen element shows the date and time of the Pico GFX-70-real-time clock on the display. You can also select for this international display formats according to the ten easy system languages plus the USA display format.

Programming in PicoSoft Pro 1. Hold down the left mouse button and drag the Date and time screen element onto the screen. 2. Place the mouse over the screen element, hold down the left mouse button and position it as required. The height of the element frame depends on the font size used. Three sizes are possible: • Normal font • Double font • Quadruple font 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 screen element frame concerned. When increasing the font size, ensure that there is sufficient space available underneath the element. The maximum width of the element is limited and depends on the font size. This also determines the display a format. Date formats tab - Select the language and one of the four formats available in the Date formats tab. These are independent of the language set on the device.

Publication 1760-UM002B-EN-P - March 2005

Page 281

Visualization with Pico GFX-70

5-13

Visibility tab - The visibility tab provides the option of making the screen element invisible by means of an associated variable. Date and Time Example Program 1 – Different Display Formats and Invisibility Option for a Screen

The program consists of eight screens that can be selected via the up and down cursor buttons. The screen change is defined in the Button editor (see Button Editor on page 5-37). The language setting for all eight screens is “Deutsch”. The first six screens show various data and time display formats. The seventh screen shows all four formats at the same time and the eighth screen illustrates the invisibility function. Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: Date and Time_manual screen switch.e60 Screen 1 - Format: DD.MM:YYYY Display in double font size, therefore only day and month visible in display. Screen 2 - Format: DD.MM.YYYY Display in normal font size, therefore year display also visible. Screen 3 - Format: DD.MM.YY HH:MM Display in normal font size, display of time in hours and minutes. Screen 4 - Format: HH:MM Display of hour and minute in double font size. Screen 5: WED 01.10.03 Format: WD DD.MM.YY Display of weekday and date in normal font size. Screen 6 - Format: HH:MM Display of hour and minute in single font size. Screen 7 - Display of different formats possible in one screen. Display in normal font size. Invisible via I1! 01.10.2003

Screen 8: Display invisible if I1 actuated. (make contact bit logic)

Publication 1760-UM002B-EN-P - March 2005

Page 282

5-14

Visualization with Pico GFX-70

Date and Time Example Program 2 – Different Display Formats with Automatic Screen Change

This program is a copy of the program Date and Time_manual screen switch.e60 except that the screen change here is automatic. The program consists of eight screens that can be activated in succession via the counter C01. The pulse signals are generated with timing relay T01. This produces the counter values 0 to 9. Counter value 1 activates screen 1, counter value 2 activates screen 2 etc. If upper switch value SH = 9, the counter resets itself. This therefore produces a continuous loop. The language setting for all eight screens is “Deutsch”. Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: Date and Time_automatic screen change.e60 Date and Time Example Program 3 – Different Country Settings

The program consists of 11 screens that can be activated automatically via the counter C01. The pulse signals are generated with timing relay T01. This produces the counter values 0 to 12. Counter value 1 activates screen 1, counter value 2 activates screen 2 etc. If upper switch value SH = 12, the counter resets itself. This therefore produces a continuous loop. Each screen contains a different country setting. However, this same WD DD MM YY format is shown. Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: System language_automatic screen change.e60 Figure 5.8 Date display with different country settings

Publication 1760-UM002B-EN-P - March 2005

Screen 4

Screen 7

Country setting Spanish MI 01/10/03

Country setting Portuguese QU 01-10-03

Page 283

Visualization with Pico GFX-70

5-15

Bitmap The bitmap screen element makes it possible to display graphics in the Pico GFX-70 display that you have made yourself or have purchased. Display and visibility can change during operation. To do this, you need to associate the bitmap graphics with Boolean variables. PicoSoft Pro supports the following bitmap graphic formats: • Windows Bitmap format (bmp) • JPEG format (jpg) • Tiff format (tif) • Icons (ico) The formats are converted to monochrome format using suitable conversion procedures and then saved accordingly in the program. The size and position of the bitmap graphic can be modified later in the Screen Editor.

IMPORTANT

Bitmap graphics require a large amount of memory. Overlaid bitmaps are also stored fully in the memory. The more bitmaps are used use, the more the cycle time will be increased considerably due to the additional memory requirement. This may possibly lead to program malfunctions (e.g. loss of count pulses). Black and white graphics should be used ideally. These should be between 16 x 16 and 32 x 32 pixels in size

Programming in PicoSoft Pro 1. Hold down the left mouse button and drag the Bitmap screen element into the screen. This will open the Picture File Selection dialog. For the optimum display of the graphic file select one of the three conversion processes provided in the Conversion Type area. The Preview shows the selected bitmap and the conversion result. PicoSoft Pro always generates the optimum black and white bitmap graphic for display on the monochrome Pico GFX-70 display. You can also support PicoSoft Pro by optimizing the graphic file. 2. Position the mouse over the screen element and move it to the required position with the left mouse button depressed.

Publication 1760-UM002B-EN-P - March 2005

Page 284

5-16

Visualization with Pico GFX-70

The height and width of the element frame is variable and can be adjusted accordingly by enlarging or reducing the screen element frame vertically, horizontally or diagonally. This is done holding down the left mouse button and dragging a selection handle of the element frame. The side ratios of the original graphic are retained when you use the diagonal zoom function. Display tab - The Display tab provides the following display formats for the bitmap: • Flashing (via associated variable), • Background transparent or covered, • Inverted Visibility tab - The Visibility tab enables you to make the screen element invisible via an associated variable. Bitmap Example Program 1 – Bitmap Display

The program consists of eight screens that can be selected by the up and down cursor buttons. The screen change was defined in the Button editor (see Button Editor on page 5-37). This program uses simple examples to explain the bitmap display options available. Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: Bitmap_manual screen change.e60 Bitmap Small

Screen 1 - Screen 1 shows a bitmap without any particular features: small display. Screen 2 - Screen 2 contains a bitmap in large display format. The Bitmap flashing field of the Display tab shows an association via the Boolean operand I1. If I1 is actuated, the Bitmap flashes. Figure 5.9 Flashing bitmap Large blinking by I1!!

Publication 1760-UM002B-EN-P - March 2005

Large blinking by I1!!

Page 285

Visualization with Pico GFX-70

5-17

Screen 3 - Screen 3 contains three bitmaps that are arranged in different sizes next to each other.

Screen 4 - Screen 4 contains two bitmaps that are arranged in different sizes next to each other. The Invert Bitmap Display check box activates the inverted display. Normal

Inverse

Screen 5 - Screen 5 contains one bitmap. The Visibility tab controls the bitmap. I1 is used to make the bitmap invisible. Figure 5.10 Switch invisible function

Screen 6 - Screen 6 contains only one bitmap. The Invert Bitmap Display check box is activated in the Display tab. In the Visibility tab the associated variable I2 is defined for switching visibility (break contact bit logic). When I2 is actuated, the bitmap is inverted as shown below. Screen 7 - Screen 7 contains two bitmaps. Background covered is selected in the Display tab for both bitmaps. However, as the right bitmap covers the left one, the right bitmap is displayed completely. Screen 8 - Screen 8 contains two bitmaps. The right one covers the left one. Both bitmaps are displayed fully since the background of the right bitmap is set for transparent in the Display tab. Bitmap Example Program 2 – Bitmap Display with Automatic Screen Change

The program is a copy of the program Bitmap_manual screen change.e60 with the difference that the individual screens are displayed automatically in succession. The circuit diagram contains a pulse generator T01 that triggers the output Q3 (display clock signal) and the counter C01. This operation is run in a continuous loop as the counter activates timing relay T02 when its upper limit value SH is reached. This resets counter C01 after a set time. The counter values activate the corresponding individual screens. Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: overlaid bitmaps_manual screen change.e60

Publication 1760-UM002B-EN-P - March 2005

Page 286

5-18

Visualization with Pico GFX-70

Bitmap Example Program 3 – Overlaying Bitmaps

The program consists of three screens that you can select via the up and down cursor buttons. The screen change is defined in the Button editor (see Button Editor on page 5-37). This program illustrates the overlaying of bitmaps in a screen. The circuit diagram uses six on-delayed timing relays (T01 to T06), 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: Bitmap_automatic screen change.e60 Screen 1 - The first screen contains five half-overlaid bitmaps. These are activated via the outputs Q1 to Q4 and marker M01, and appear in the display. The half overlaid bitmaps are activated in succession. The Covered option is selected in the Background area of the Display tab, therefore causing the overlaid part of the bitmap to be covered by the bitmap in front of it. In this way it is possible to create the impression of a moving arrow. Figure 5.11 Overlaid bitmaps

Half overlaid

Half overlaid

Screen 2 - The second screen contains five overlaid bitmaps with each subsequent bitmap being larger than the previous one displayed. The individual bitmaps are made visible in succession via the outputs Q1 to Q4 and the marker M01 (break contact bit logic). The Covered option is selected in the Background area of the Display tab, therefore causing the overlaid part of the bitmap to be covered by the bitmap in front of it. In this way it is possible to create the impression of a moving and expanding arrow. Figure 5.12 “Expanding” arrow

Overlaid

Overlaid

Screen 3 - The third screen contains five fully overlaid bitmaps. These are made invisible in succession from the top to the bottom via the outputs Q1 to Q4 and the LED 3 (make contact bit logic). The Covered option is selected in the Background area of the Display tab. The overlaid section of the bitmap is therefore not visible. Publication 1760-UM002B-EN-P - March 2005

Page 287

Visualization with Pico GFX-70

5-19

The first bitmap at the lowest level is permanently activated, making it visible as long as all other bitmaps are invisible. This produces a small moving picture. Figure 5.13 Rotating arrows

Numerical Value This screen element allows you to display untreated or scaled signal states in decimal format.

Value and Scaling Range The value range defines the range that is to be displayed. If the values are below or above this range, the Pico GFX-70 activates an underflow or overflow signal. The scaling range is used for scaling the value range. The lower and upper values of the scaling range are assigned to the lower and upper values of the value range respectively. The Pico GFX-70 displays the value range if a scaling range has not been defined. Examples

In order, for example, to display the value range (0 to 255) of a counter as a percentage (0 to 100 %), enter “0” as the minimum value and “255” as the maximum value in the Value range field. Enter “%” as the unit of measure. Activate the Scaling range field and enter “0” as the minimum value and “100” as the maximum value. In order, for example, to display the value range (0 to 120) of a timing relay in minutes (0 to 2 min), enter “0” as the minimum value and “120” as the maximum value in the Value range field. Enter “min” as the unit of measure. Enter “0” in the activated Scaling range field as the minimum value and “120” as the maximum value.

Programming in PicoSoft Pro 1. Hold down the left mouse button and drag the Numerical value screen element into the screen. 2. Position the mouse over the screen element and move it to the required position with the left mouse button depressed. Publication 1760-UM002B-EN-P - March 2005

Page 288

5-20

Visualization with Pico GFX-70

The height of the screen element frame depends on the font size selected. Three sizes are available: • Normal font • Double font • Quadruple font 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 increasing the font size, ensure that there is sufficient space available underneath the element. The width of the screen element frame can be scaled as required by dragging the selection handle on the sides. Associated variable tab - On the Associated variable tab you define the Boolean variable for activating the numerical value. Number range/format tab - The Number range/format tab is used for defining the following: • Value range • Unit of measure • Scaling range • Display change • Showing a signed value Visibility tab - The Visibility tab enables you to make the screen element invisible by means of an associated variable. Numerical Value Example

The program consists of nine screens that can be selected via the up and down cursor buttons. The screen change is defined in the Button editor (see Button Editor on page 5-37). Standard path: C:\Program Files\PicoSoft 6 Pro\samples\ Program: Numerical value_manual screen change.e60 Screen 1 - This screen shows six simple output formats of the numerical values and provides an overview of the Number range/format properties. The first screen shows six numerical values. These are associated with the on-delayed timing relay T04 (Associated variable tab) for which a time range of 4 seconds is set. The actual value of the timing relay is provided at its QV output (FB parameter) which is then displayed in the appropriate number format. The variable type of the associated variable is DWord.

Publication 1760-UM002B-EN-P - March 2005