23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

• Jog Keys<br />

Using an API function, jog key functions (key matrix) can be programmed based on the task classes.<br />

This allows priorities to be set for reading keys.<br />

• Variable Color Palette<br />

The color palette of 256 colors can be adjusted in a project specific manner. If several shades of a color<br />

are required, then this palette adjustment can be made in the editor.<br />

Color palette settings can also be changed during runtime using API. This helps create fade−in and<br />

fade−out effects. (Only applies to i386 systems with VGA controllers)<br />

4.2 Getting Started with <strong>Visual</strong> <strong>Components</strong> 2.4<br />

The tutorial application examples serve as an introduction to each specific B&R <strong>Visual</strong> <strong>Components</strong> hardware<br />

environment.<br />

It will be possible to set up simple projects independently after configuring an application example using the<br />

specifications in the individual tutorials. Solutions to specific questions which are not fully covered in 'Getting<br />

Started' are explained in detail in the <strong>Visual</strong> <strong>Components</strong> Help system.<br />

4.2.1 CP476 with B127 CAN Display − Example<br />

The following steps describe how to create a simple application using <strong>Visual</strong> <strong>Components</strong>. This example shows<br />

the use of <strong>Visual</strong> <strong>Components</strong> in connection with a CP476 and a remote CAN display. The application contain<br />

inputs and outputs as well as keys. Using these will allow LED states to be changed on the keypad.<br />

Other CPUs from the 20xx family can also be used. Modifications are also possible for remote CAN operator<br />

panels. The LED functions described in step 7 are only possible with operator panels which also have LEDs built<br />

into their keys.<br />

The following is a list of the individual steps for this application example:<br />

1. Creating a New Automation Studio Project<br />

2. Inserting a Display<br />

3. Inserting PV Variables<br />

4. Applying Global Settings to <strong>Visual</strong> <strong>Components</strong><br />

5. Inserting an Input Field<br />

6. Inserting an Output Field<br />

7. Connecting an LED with a PV<br />

8. Defining INC/DEC Keys<br />

9. Compiling and Transferring the Project<br />

10. Testing Functions<br />

4.2.1.1 CAN − Step 1: Creating a New Automation Studio Project<br />

First, start a new project using Automation Studio. For this, select "New Project..." from the "File" menu. This will<br />

start the Project Wizard. Use "vc_can" as the project name (max. 8 characters). Proceed by clicking on the Next<br />

button in the Wizard.<br />

4.2 Getting Started with <strong>Visual</strong> <strong>Components</strong> 2.4 219

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!