428
Vijeo Designer 4.6 & Magelis Training Rev 1.0

Vijeo Designer 4.6 Course Manual

Embed Size (px)

Citation preview

Page 1: Vijeo Designer 4.6 Course Manual

Vijeo Designer 4.6 & Magelis Training

Rev 1.0

Page 2: Vijeo Designer 4.6 Course Manual

•This page intentionally left blank

Page 3: Vijeo Designer 4.6 Course Manual

See our schedule at:http://139.158.8.122/internaltraining/

Page 4: Vijeo Designer 4.6 Course Manual

•This page intentionally left blank

Page 5: Vijeo Designer 4.6 Course Manual

•Table of Contents

Module 1 IntroductionModule 2 Memory ManagementModule 3 CommunicationsModule 4 Preparing a TargetModule 5 Introduction to Process ControlModule 6 Introduction to Vijeo DesignerModule 7 PLC Comm, Panel DevelopmentModule 8 VariablesModule 9 Animations & ClipartModule 10 Popup Panels, Motion AnimationModule 11 TrendingModule 12 AlarmsModule 13 ScriptingModule 14 SecurityModule 15 RecipesModule 16 Data SharingModule 17 Web GateModule 18 Multimedia

Exercise 7 Starting a New ProjectExercise 8 VariablesExercise 9 Clipart & AnimationsExercise 10 Popup panels, Analog MeterExercise 11 TrendingExercise 12 AlarmsExercise 14 Scripting and SecurityExercise 15 RecipesExercise 16 Data Sharing (demo)Exercise 17 Web GateExercise 18 Multimedia – SnapshotsExercise 19 Multimedia - Video

Page 6: Vijeo Designer 4.6 Course Manual

•This page intentionally left blank

Page 7: Vijeo Designer 4.6 Course Manual

Module 1The Magelis XBT–G/GT & iPC

Vijeo Designer Technical Communications - North Andover

Module 1 - 1

Page 8: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Introduce the XBTG/GT product lineIntroduce the XBTGWIntroduce the Smart & Compact IPCReview hardware featuresLook at hardware specifications

Technical Communications - North Andover Vijeo Designer

Module 1 - 2

Page 9: Vijeo Designer 4.6 Course Manual

IntroductionVijeo Designer software is::

Graphic editor for building the applicationRuntime system used in the terminalData manager for retrieving and converting target’s filesLicense managerStartup guide, multimedia and user manualsVideo Support – live, pictures (GT only)Web Gate (GT only)

XBT G and XBT GT range of graphic terminalsPassive or active matrix touch screens6 screen sizes ranging from 3.8 to 15 inchesBlue mode, amber/red mode, black & white or color (up to 64 K color) displayQVGA, VGA, SVGA or XGA standard

Smart, Compact iPC & XBTGW8.4 – 15 in screens – SVGA- XGA, no hard drive, software on CFFast Ethernet & USB port(s), PCMCIA slots

The Schneider offer includes the following components: Vijeo Designer software, used to create your operator dialog application (or HMI application) comprising:• A graphic editor for drawing and animating different application views• The Runtime installation tool for loading the Runtime (or operating) system on the terminal• The data manager for using files stored in the terminal memory: recipes, logs, alarms, saved projects• A license manager allowing you to register your software so that you can use it indefinitely• Documentation The XBT G and XBT GT terminal ranges, to meet all your touch-screen requirements:• Monochrome or color screen• 6 screen sizes ranging from 3 to 15 inches• Passive or active matrix• Multimedia – tutorial on install CD• Multimedia – Analog video channel support

• Displays real-time video• Record and replay MPEG streams

Vijeo Designer Technical Communications - North Andover

Module 1 - 3

Page 10: Vijeo Designer 4.6 Course Manual

XBT G Range

“Blue mode”display

LCD

scr

een

5.7

inch

es

Black and white display

LCD

scr

een

5.7

inch

es

Color display

TFT

scre

en12

.1 in

ches

TFT/

STN

scr

een

10.4

inch

es

TFT

scre

en7.

4 in

ches

TFT/

STN

scr

een

5.7

inch

es

The XBT G range of terminals offers 3 types of display for the 10 available terminals: • A blue and white display for the 5-inch XBT G2110 terminal • A black and white display for the 5-inch XBT G2120 and XBT G2130 terminals • A color display for the 7 terminals ranging from XBT G2220 to XBT G6330

These color screens come in 4 sizes: 5, 7, 10 and 12 inches.

Technical Communications - North Andover Vijeo Designer

Module 1 - 4

Page 11: Vijeo Designer 4.6 Course Manual

XBT GT Range

Color display

QVGA

LCD

scr

een

5.7

inch

es

“Black and white” display

16 grayscale

LCD

scr

een

5.7

inch

es

XBT GT2000 Series

“Blue mode”display

16 grayscaleLC

D s

cree

n5.

7 in

ches

“Amber/red mode” display

8 grayscale

XBTGT 1000/1005Series

LCD

scr

een

3.8

inch

es

The XBT GT range of terminals offers 4 types of display for the 16 available terminals: • An amber or red display for the 3-inch XBT GT1000/1005 series terminals • A blue and white display for the 5-inch XBT GT2110 terminal • A black and white display for the 5-inch XBT GT2120 and

XBT GT2130 terminals • A color display for the 5-inch XBT GT2220, XBT GT2130 and XBT GT2330 terminals

Vijeo Designer Technical Communications - North Andover

Module 1 - 5

Page 12: Vijeo Designer 4.6 Course Manual

XBT GT Range (cont)

LCD

scr

een

10.4

inch

es

Color display

VGA

16 K color

or

64 K color

XBT GT5000 Series

Color display

VGA

16 K color

or

64 K color

XBT GT4000 Series

LCD

scr

een

7.5

inch

es

Color display

SVGA

64 K color

XBT GT6000 Series

LCD

scr

een

12.1

inch

es

Color display

XGA

64 K color

XBT GT7000 Series

LCD

scr

een

15 in

ches

• A color display for the other terminals, i.e. the XBT GT4000 to XBT GT7000 series. These color screens come in 4 sizes:

7 inches 10 inches 12 inches and 15 inches

Technical Communications - North Andover Vijeo Designer

Module 1 - 6

Page 13: Vijeo Designer 4.6 Course Manual

XBT GK series

Color display

64K colors

LCD

scr

een

5.7

inch

es

XBT GK2330

LCD

scr

een

10.4

inch

es

Color display

64K colors

XBT GK5330

“Grayscale”display

16 grayscale

LCD

scr

een

5.7

inch

es

XBT GK2120

The XBT GK series offers 3 types of terminals: • A grayscale display for the 5-inch XBT GK2120 terminal • A color display for the 5-inch XBT GK 2330 terminal and• A color display for the 10-inch XBT GK5330 terminal

Vijeo Designer Technical Communications - North Andover

Module 1 - 7

Page 14: Vijeo Designer 4.6 Course Manual

Magelis IPC range

Magelis Smart iPC

LCD

TFT

scr

een

12 in

ches

SV

GA

LCD

TFT

scr

een

15 in

ches

XG

A

LCD

TFT

Scr

een

12 “

XGA

15”

XGA

MagelisCompact iPC

The Magelis IPC range of industrial computers offers 2 different versions of the product that are support Vijeo Designer to meet your industrial computing needs

The Smart IPC is an extension of the terminal line. It offers a choice of a 12 or 15 inch display and operates in a Microsoft Windows environment.

The Compact IPC also comes in a 12 or 15 inch monitor size and features a Celeron M processor in the 12 inch model up to a Pentium M in the 15 inch version

Technical Communications - North Andover Vijeo Designer

Module 1 - 8

Page 15: Vijeo Designer 4.6 Course Manual

Smart iPC Series

The Magelis Smart IPC Series are either 12” or 15” monitors with the following features

Choice of processorsIncreased resolution in the 15” rangeAvailable ports differ between the two modelsThese units are designed to run Vijeo Designer, SCADA client software, or to FactoryCastHMI web server modules

Vijeo Designer Technical Communications - North Andover

Module 1 - 9

Page 16: Vijeo Designer 4.6 Course Manual

Compact iPC Series

The Magelis Compact IPC Series are either 12” or 15” monitors with the following features

Choice of processors, Celeron, VIA or Pentium 4 MIncreased resolution in the 15” rangeAvailable ports differ between the two modelsThese units are totally open and provide and attractive and upgradable solution, particularly for machine builders.

Technical Communications - North Andover Vijeo Designer

Module 1 - 10

Page 17: Vijeo Designer 4.6 Course Manual

Vijeo Designer V4.6October 2006

11

XBT GTW Series

XBT GTW450

LCD

TFT

scr

een

8.4

inch

esS

VG

A

XBT GTW750

LCD

TFT

scr

een

15 in

ches

XG

A

The XBT GTW series of industrial computers offers 2 models to meet your industrial computing needs.

The XBT GTW450 comes with an 8.4 inch display and operates in a Microsoft Windows environment.

The larger XBT GTW750 comes with a 15 inch display.

Vijeo Designer Technical Communications - North Andover

Module 1 - 11

Page 18: Vijeo Designer 4.6 Course Manual

Vijeo Designer V4.6October 2006

12

XBT GTW Series

XBT GTW450 8.4" XBT GTW750 15"Touch screen 8.4" LCD TFT 15" LCD TFTResolution SVGA 800 x 600 XGA 1024 x 768Front panel ports - 1 x USBProcessor Celeron M@600GHz CeleronM@600MhzRAM 256MB → 1024MB (SRAM) 256MB → 1024MB (SRAM)Storage Compact Flash 1GB Compact Flash 1GBReader - Diskette and CD-ROMExtension 1 or 2 x PCMCIA type I (or type III) 2 x PCMCIA type I (or 1 type III)Ethernet ports 1 x 10/100 RJ45 1 x 10/100 RJ45I/O ports 4 x USB, 1 x RS232, DIO 2 x USB, 2 x RS232, 2 x PS2, 1 x LPT1Power supplyCertifications UL508, CSA UL508, UL1604, CSADimensions 230 x 177 x 60 395 x 294 x 65Applications Internet Explorer

Media Player,Office readers,Vijeo Designer RT*

Internet ExplorerMedia Player,Office readers,Vijeo Designer RT*

*RT: Run Time

AC 100…240V

The XBT GTW series are either 8.4” or 15” monitors with the following features:

Choice of processorsIncreased resolution in the 15” rangeAvailable ports differ between the modelsThese units are designed to run Vijeo Designer, SCADA client software, or to FactoryCastHMI web server modules

Technical Communications - North Andover Vijeo Designer

Module 1 - 12

Page 19: Vijeo Designer 4.6 Course Manual

Supported Networks/Busses

MitsubishiMelsec-A CPU (SIO)Melsec-A Ethernet (TCP)Melsec-A Link (SIO)Melsec-FX (CPU)Melsec-Q CPU (SIO)Melsec-Q Ethernet(TCP)Melsec-Q Ethernet(UDP)Melsec-Q Link(SIO)Melsec-QnA CPU (SIO)

OmronSysmac FINS (Ethernet)Sysmac FINS (SIO)Sysmac Link (SIO)

RockwellAllen-Bradley DH485Allen-Bradley EtherNet/IPAllen-Bradley EtherNet/IP (Explicit)Allen-Bradley EtherNet/IP (Native)

SchneiderModbus (RTU)Modbus PlusModbus USBModbus SlaveUni-TelwayModbus TCP/IP

SiemensMPI / PPIMPI AdapterNITPRK512 / 3964RTBPTCP/IP

FieldbusProfibus Slave

GenericBarcode Scanner (SIO)Barcode Scanner (USB)Script Driver

Vijeo Designer Technical Communications - North Andover

Module 1 - 13

Page 20: Vijeo Designer 4.6 Course Manual

Hardware Overview - Front panel

Status LED

No power to terminal

Normal mode

Faulty backlight

Touch Screen

Touch-sensitive area

Only the front panel or screen can be used by the operator to display or control the HMI application. The touch-sensitive area or panel is superimposed on the screen for control purposes.

The touch screen is divided up into touch cells- The grid is 30 x 40 in the largest XBT-G

The Status LED indicates if the XBT-G:- has power- is operating normally- has a faulty backlight

.

Technical Communications - North Andover Vijeo Designer

Module 1 - 14

Page 21: Vijeo Designer 4.6 Course Manual

Rear panel

1

2

24 VDC power connection (1)Expansion unit interface (2)Centronics printer link (3)Sound output terminals (4)RS232/RS485 (Com 1) 25-pin (5)RS232/RS485 (Com 2) 9-pin (6)PC link for application transfer (mini-DIN connector)Ethernet port (7)Memory card slot (8)Note – port options vary depending on age of hardware

3

4

5

67

8

Exact position of these items varies in different models

Newer models have USB ports instead of serial ports

Vijeo Designer Technical Communications - North Andover

Module 1 - 15

Page 22: Vijeo Designer 4.6 Course Manual

Micro-switches

21 3 4

ON

OFF

Micro switch is located under memory doorBe gentle!

Technical Communications - North Andover Vijeo Designer

Module 1 - 16

Page 23: Vijeo Designer 4.6 Course Manual

Micro-switches

21 3 4

ON

OFF

ON Start-up from memory card enabledOFF Start-up from memory card disabled

1

ON Loading authorizedOFF Loading not authorized

2

ON ReservedOFF Leave in OFF position

3

ON Start-up from memory card enabled with protective cover open OFF Start-up from memory card only enabled if protective cover closed

4

The micro-switches should be set according to your requirements: • The switch in position 1 means that you can start the application from the memory card or internal memory. • The switch in position 2 must be ON to enable downloading and the switch in position 3 must be OFF. • The switch in position 4 means that you can start the application from the memory card with the protective cover open.

Vijeo Designer Technical Communications - North Andover

Module 1 - 17

Page 24: Vijeo Designer 4.6 Course Manual

XBT GK 2120/2330 Rear Panel

24 VDC power supplyterminal block

RS232C/RS422 (485) serial link (COM1) 9-pin Sub-D connector

RS485 serial link (COM2) RJ45 connector

Ethernet 10/100BASE-T link RJ45 connector

Memory Card Cover

USB Port

The rear panel provides access to the following connectors for the terminal: • One or more connectors for other devices such as a PLC or a barcode reader (serial

and Ethernet 10/100 Megabits/s link(s))Ethernet is available only on XBTGK 2330.The Ethernet connector has 2 LEDs: green (transmission OK) and orange (transmission in

progress) One type-A USB port for connecting the PC or external devices such as a USB hub,

barcode reader, printer• A connector for the power supplyThe memory card LED turns on when a memory card is in the memory card slot and the

cover is closed.

Technical Communications - North Andover Vijeo Designer

Module 1 - 18

Page 25: Vijeo Designer 4.6 Course Manual

XBT GK 5330 Rear Panel

RS232C/RS422 (485) serial link (COM1) 9-pin Sub-D connector

RS485 serial link (COM2) RJ45 connector

Ethernet 10/100BASE-T link RJ45 connector

USB Ports

24 VDC power supplyterminal block

AUX Port

Memory Card Cover

The rear panel provides access to the following connectors required for connecting the terminal:

• One or more connectors for other devices such as a PLC or a barcode reader (serial and Ethernet 10/100 Megabits/s link(s))

The Ethernet connector has 2 LEDs: green (transmission OK) and orange (transmission in progress)

• Two type-A USB ports for connecting a PC or external devices such as a USB hub, barcode reader, printer

• A connector for the power supply • An auxiliary connector as an I/O interface to external devices such as a lamp or a

loudspeaker• The memory card LED turns on when a memory card is in the memory card slot and the

cover is closed.

Vijeo Designer Technical Communications - North Andover

Module 1 - 19

Page 26: Vijeo Designer 4.6 Course Manual

XBT GK Keypad

Alphanumeric Keys

Cursor Keys

Built-in Mouse

The XBTGK target machine provides you with an Alphanumeric Keypad for you to input data. The keypad contains the following parts:

• Alphanumeric keys, which enable you to enter the 26-letter alphabet, numbers 0 to 9, and other characters

• Cursor keys, which enable you to change the string or numeric input in the data input field

• Built-in mouse, which controls the cursor and activates objects on the terminal.

Technical Communications - North Andover Vijeo Designer

Module 1 - 20

Page 27: Vijeo Designer 4.6 Course Manual

XBT GK options

Transfer cableXBTZG935

USB porttype A

COM1RJ45

Serial link cableXBTZ cable (*)

Serial link cableXBTZGcable (*)

RS232C/RS485

COM1RS232

Use an XBTZG935 cable (USB - USB) to transfer your application to the XBT GK terminal.See the catalog for the reference of the cable you will need to connect your devices via serial links (XBTZ or XBTZG cables).

Vijeo Designer Technical Communications - North Andover

Module 1 - 21

Page 28: Vijeo Designer 4.6 Course Manual

XBT GK Accessories

CF card (from 64 to 1G)Installation gasketInstallation fastenerScreen protection sheetPanel cut-out adapter

USB holder

USB extension cable

The Schneider catalog contains a wide range of accessories to complement the XBT GK terminal offering, such as memory cards, USB cable holder, USB extension cable, etc.

Technical Communications - North Andover Vijeo Designer

Module 1 - 22

Page 29: Vijeo Designer 4.6 Course Manual

PC Accessories

PC cable (serial) for transferring applications

– To connect your PC to the terminal– XBT ZG 915 (if using a PC COM port)– XBT ZG 925 (if using a USB port)

Compact Flash Card Adaptor– To use the memory card in your PC (PCMCIA card slot) – XBT ZG ADT

The serial cable is used to transfer your application or the runtime from a PC to the XBT-G unit. Units with Ethernet capability can also use Ethernet to transfer this information.

The compact flash card adaptor can be used to access the compact flash (e.g., memory card) from your PC

Vijeo Designer Technical Communications - North Andover

Module 1 - 23

Page 30: Vijeo Designer 4.6 Course Manual

XBTGT 1000 Options

Transfer cableXBTZG915

Tool portTransfer cableXBTZG925

(*) see the catalog

COM1RJ45

Serial link cableXBTZ cable (*)

Serial link cableXBTZGcable (*)

RS232C/RS485

COM1RS232

Schneider offers a wide range of cables for connecting yourXBT GT1000 terminal to various devices, such as your PC or your PLC.

• For example, the XBTZG915 cable can be used to transfer your application, or the XBTZ or XBTZG cable can be used to connect a PLC via the serial link. See the catalog for the full list of cables available.

Technical Communications - North Andover Vijeo Designer

Module 1 - 24

Page 31: Vijeo Designer 4.6 Course Manual

COM1SUB-D 9 pin

Serial link cableXBTZ cable (*)

Serial link cableXBTZGcable (*)

XBT GT2000 to 7000 Options

RS232C/RS422 (485)

COM2RJ45

Serial link cableXBTZ cable (*)

Serial link cableXBTZGcable (*)

RS485

Transfer cableXBTZG935

USB porttype A

(*) see the catalog

Use an XBTZG935 cable (USB - USB) to transfer your application to the terminal.See the catalog for the reference of the cable you will need to connect your devices via serial links (XBTZ or XBTZG cables).

Vijeo Designer Technical Communications - North Andover

Module 1 - 25

Page 32: Vijeo Designer 4.6 Course Manual

XBT GT Accessories

CF card (from 64 to 1Gig)LED for backlight (XBT GT5000 to XBT GT 7000 series)Installation gasketInstallation fastenerScreen protection sheetPanel cut-out adapterUSB holderUSB extension cable

The Schneider catalog contains a wide range of accessories to complement the XBT GT terminal offer, such as memory cards, USB cable holder, USB extension cable, etc.

Technical Communications - North Andover Vijeo Designer

Module 1 - 26

Page 33: Vijeo Designer 4.6 Course Manual

Module 2Memory Management

Vijeo Designer Technical Communications - North Andover

Module 2 - 1

Page 34: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss the XBTG/GT’s & XBTGK terminals internal memory useDiscuss the system areas memory use displayDiscuss the installation and use of the CF card

Technical Communications - North Andover Vijeo Designer

Module 2 - 2

Page 35: Vijeo Designer 4.6 Course Manual

Memory Map of a XBT G

XBT G

DRAM 16 MB

RISK CPU100 MHz

Flash memory4, 6 or 8 MB

SRAM (2)

128/512 KB

CF card

ROM memory (1)

(1) Contain the fonts(2) Saved by a lithium battery

A Magelis XBT G terminal’s memory has the following structure:•Working memory

•16 megabytes of dynamic memory, or DRAM •User memory, comprising:

•128 or 512 kilobytes of static memory, or SRAM, containing data •and 4, 6 or 8 megabytes of EPROM Flash memory containing the application

The application can also be transferred to the optional memory card (Compact Flash card).

Vijeo Designer Technical Communications - North Andover

Module 2 - 3

Page 36: Vijeo Designer 4.6 Course Manual

Memory Map of a XBT GT

DRAM 16, 32, or 64 MB

RISK CPU100/133/266 MHz

NOR Flash memory

8 MB

CF card

64 to 1GB

XBT GT

SRAM (2)

128/512 KB

NAND Flash memory8, 16 or 32 MB

(1) Extendable memory(2) Saved by a lithium battery

Video RAM32 MB (1)

The Magelis XBT GT terminal’s memory has the following structure:Working memory

• 16 to 64 megabytes of dynamic memory, or DRAMUser memory:

• 128 or 512 kilobytes of static memory, or SRAM, containing data: (configuration and events in runtime mode, alarms, etc.) • 8, 16 or 32 megabytes of NAND EPROM Flash memory containing the application • The application can also be transferred to the optional memory card (Compact Flash card)

The NOR EPROM Flash memory (8 megabytes) contains the fonts

XBT GT4000 to 6000 terminals also have 32 megabytes of video memory which can be extended

Technical Communications - North Andover Vijeo Designer

Module 2 - 4

Page 37: Vijeo Designer 4.6 Course Manual

Internal Structure of a XBT GK Terminal

DRAM 32 MB

RISK CPU100/133/266 MHz

NOR Flash memory

8 MB

CF card

64 to 1GBXBT GK

SRAM (2)

512 KB

NAND Flash memory16 or 32 MB

(1) Extendable memory(2) Saved by a lithium battery(3) Available only for the XBT GK5330

Video RAM32 MB (1) (3)

The Magelis XBT GK terminal’s memory has the following structure:•Working memory

•32 megabytes of dynamic memory, or DRAM•User memory:

•512 kilobytes of static memory, or SRAM, containing data: (configuration and events in runtime mode, alarms, etc.) •16 or 32 megabytes of NAND EPROM Flash memory containing the application •The application can also be transferred to the optional memory card (Compact Flash card)

•The NOR EPROM Flash memory (8 megabytes) contains the fonts

•XBT GK5330 terminals also have 32 megabytes of video memory which can be extended

Vijeo Designer Technical Communications - North Andover

Module 2 - 5

Page 38: Vijeo Designer 4.6 Course Manual

XBT G Internal Memory

XBT G2120XBT G2220

XBT G2130 XBT G2330

XBT G4320XBT G2110 XBT G4330XBT G5230XBT G5330XBT G6330

16 MB

DR

AMm

emor

y

16 MB 16 MB16 MB 16 MB

128 KB

SRAM

D

ata 128 KB 512 KB128 KB 512 KB

4 MB

Flas

h EP

RO

M

App

licat

ion

6 MB 8 MB4 MB 6 MB

This table shows the memory sizes of each terminal in the XBT G range: • Working memory • Data memory • Application memory

Technical Communications - North Andover Vijeo Designer

Module 2 - 6

Page 39: Vijeo Designer 4.6 Course Manual

XBT GT Internal Memory

XBT GT2110 XBT GT2120 XBT GT2220XBT GT2130XBT GT2330

XBT GT4230XBT GT4330XBT GT5230XBT GT5330XBT GT6330

XBT GT1100XBT GT1300

XBT GT4340XBT GT5340XBT GT6340XBT GT7340

16 MB

DR

AM

mem

ory

32 MB 64 MB16 MB 32 MB

512 KB

SRA

M

Dat

a

512 KB 512 KB128 KB 512 KB

/

Vide

o R

AM

32 MB (*) 32 MB (*)/ /

8 MB8 MB

16 MB

8 MB

16 MB

8 MB

32 MB

8 MB

32 MBFlas

h EP

RO

M

App

licat

ion

NO

RN

AN

D

(*) 32 MB extension

This table shows the memory sizes of each terminal in the XBT GT range: • Working memory • Data memory • Application memory • Video memory (for the XBT GT4000 to 7000 series)

Vijeo Designer Technical Communications - North Andover

Module 2 - 7

Page 40: Vijeo Designer 4.6 Course Manual

XBT GK Internal Memory

XBT GK2120 XBT GK2330 XBT GK5330

DR

AM

mem

ory

32 MB32 MB

SRA

M

Dat

a

512 KB512 KBVi

deo

RA

M

32 MB (*)/

8 MB

16 MB

8 MB

32 MBFlas

h EP

RO

M

App

licat

ion

NO

RN

AN

D

This table shows the memory sizes of each terminal in the XBT GK range: • Working memory • Data memory • Application memory • Video memory (for the XBT GK 5330)

Technical Communications - North Andover Vijeo Designer

Module 2 - 8

Page 41: Vijeo Designer 4.6 Course Manual

Compact Flash Card

The compact flash card has multiple uses. If you are going to collect historical data, you must have a compact flash card. You can also store the application as well as the runtime on the compact flash card.

Compact flash cards are available in the following memory sizes: 16, 32, 64, 128, 256 and 1G

If you need to use a memory or Compact Flash card:- Don’t forget to set the micro-switch correctly in position 1 and configure your application to use the card as backup or working memory. - Insert the card in its slot. - Remember to replace the protective cover so that you can use the card normally.

Vijeo Designer Technical Communications - North Andover

Module 2 - 9

Page 42: Vijeo Designer 4.6 Course Manual

Application Starting Mode

Switch 1

With Memory Card

OFF

ON

Result

The terminal executes the application saved in the internalmemory

The terminal copies the content of the CF card to the internalmemory and executes the application

No memory card

The terminal executes the application saved in the internal memory

Application

Runtime

A terminal can operate with or without a memory card. Historical data requires that a memory card be present

• If you’re not using a memory card, when you power the terminal on, it runs the application saved in the internal memory with the Runtime system installed • If you are using a memory card, the application’s starting mode depends on the position of the first micro-switch and on the configuration of the item “Download/File system/Start from CF card” for this application.

Technical Communications - North Andover Vijeo Designer

Module 2 - 10

Page 43: Vijeo Designer 4.6 Course Manual

Module 3Communications

Vijeo Designer Technical Communications - North Andover

Module - 3-1

Page 44: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss PLC communication optionsApplication download options

Technical Communications - North Andover Vijeo Designer

Module - 3-2

Page 45: Vijeo Designer 4.6 Course Manual

XBT- G/GT has many PLC drivers & protocols and adds new ones with virtually every new releaseSchneider drivers include Modbus, Modbus TCPIP, Modbus Plus, FIPWAY and Uni-TelwayOther drivers include multiple Siemens, Rockwell, Omron and Mitsubishi drivers

IntroductionModbus TCPIP

Modbus

Modbus +

Uni-Telway

Siemens

Rockwell

Omron

Mitsubishi

New Drivers in V 4.4 include:Modbus Slave RTU/TCPSiemens SIMATIC NITP/TBP 505Profibus DP SlaveRockwell Ethernet/IP Explicit Messaging Modbus Plus – XBTG uses a hardware module, XBTGT 2XXX and above will use a USB to Modbus + converter cable that will be available later then the initial launch

Vijeo Designer Technical Communications - North Andover

Module - 3-3

Page 46: Vijeo Designer 4.6 Course Manual

XBT G Communications & Ports

Tool

COM1 (Uni-Telway, Modbus, 3rd party)

COM2 (Uni-telway, Modbus, 3rd party)

Ethernet

Print

Modbus +Legacy

PLC

XBT G terminals have the following communication ports:• The Tool port for transferring your application • The Print port for a printer • 1 or 2 serial ports for communicating with Schneider or third-party PLCs(Mitsubishi, Siemens, etc.)• 1 Ethernet port for communicating using the Modbus/TCP protocol • You can also transfer your application via the Ethernet port

Technical Communications - North Andover Vijeo Designer

Module - 3-4

Page 47: Vijeo Designer 4.6 Course Manual

XBT GT Communication & Ports

COM1 (Uni-Telway, Modbus, 3rd party)

COM2 (Uni-telway, Modbus, 3rd party)

Ethernet

USB

LegacyPLC

USB

Modbus +USB

USB

Adapter

Adapter FIP

XBT GT terminals have the following communication ports: • 1 or 2 USB ports for transferring your application or connecting your terminal to USB devices, such as a printer or a barcode reader • 1 or 2 serial ports for communicating with Schneider or third-party PLCs(Mitsubishi, Siemens, etc.) • 1 Ethernet port for communicating using the Modbus/TCP protocol

Vijeo Designer Technical Communications - North Andover

Module - 3-5

Page 48: Vijeo Designer 4.6 Course Manual

XBT GK Communication Ports

USB

COM1 (Uni-Telway, Modbus, 3rd party)

COM2 (Uni-telway, Modbus, 3rd party)

Ethernet

LegacyPLC

USB

Modbus +USB

USB

Adapter

Adapter FIP

XBT GK terminals have the following communication ports: • 1 or 2 USB ports for transferring your application or connecting your terminal to

USB devices, such as a printer or a barcode reader • 1 or 2 serial ports for communicating with Schneider or third-party PLCs

(Mitsubishi, Siemens, etc.) • 1 Ethernet port for communicating using the Modbus/TCP protocol

Technical Communications - North Andover Vijeo Designer

Module - 3-6

Page 49: Vijeo Designer 4.6 Course Manual

Modbus TCPIP LinkModbus TCP/IP protocol1 communication port

– Multiple connections are possible– RJ45 connector/10 Base - T cable

XBTG X manages the exchanges with connected devices

– Uses Scan Group’s– Fast - 50-250ms– Medium - 250-1000ms– Slow - 1000 - 30,000 ms– User Defined – MM:SS - 2 sec - 60 min

Schneider Devices:– Quantum, Premium, Micro, M1E

Momentum, Advantys distributed I/O …

Modbus USB Equipment – uses the Modbus TCP/IP driver and a USB cable to communicate with a M340

Modbus TCPIP

USB M340

XBTG models with Ethernet capability have a single RJ45 port (10MBitS)

Communication is configured by creating Scan groups with one of three poll rates.

Fast – 50 - 250msMedium – 250 – 1000 msSlow – 1000 – 30,000 msUser Defined – a time interval in minutes:seconds format. Values from 2 seconds to 60 minutes may be added

Vijeo Designer Technical Communications - North Andover

Module - 3-7

Page 50: Vijeo Designer 4.6 Course Manual

Adding a Modbus TCPIP Driver

Right click on the IO Manager (1)Select “New Driver …Insert”

1

The procedure above describes how to manually add a driver to project.

Technical Communications - North Andover Vijeo Designer

Module - 3-8

Page 51: Vijeo Designer 4.6 Course Manual

With the Schneider Electric Drivers selected (1)Select Modbus TCPIP (2)

Modbus TCPIP Connection

1

2

Vijeo Designer Technical Communications - North Andover

Module - 3-9

Page 52: Vijeo Designer 4.6 Course Manual

Modbus TCPIP Connection

Add the IP address of the PLC (1)Completed configuration (2)

1

2

Technical Communications - North Andover Vijeo Designer

Module - 3-10

Page 53: Vijeo Designer 4.6 Course Manual

Adding Another PLC

To add a connection to a second PLC, right click on the driver (1)Select “New Equipment” (2) and fill in the IP informationThe connection is configured

1

2

The driver is only installed once and then New Equipment is added to the driver

Vijeo Designer Technical Communications - North Andover

Module - 3-11

Page 54: Vijeo Designer 4.6 Course Manual

Modbus RTU link

1 or 2 communication ports– COM 1: RS 232C/RS 485– COM2: RS 232C– RTU only

Modbus master/slave protocol

XBTG/GT must be configured as the Master

Typical slave devices:– Quantum, Premium, Micro, Twido PLCs– Momentum PLC & distributed I/O– Advantys – Altivar variable speed drives– Other Modbus slave devices

See Device Driver Manual for details

Modbus

Legacy

Technical Communications - North Andover Vijeo Designer

Module - 3-12

Page 55: Vijeo Designer 4.6 Course Manual

Modbus RTU Configuration

Right click on the IO Manager (1)Select “New Driver …Insert”

1

Vijeo Designer Technical Communications - North Andover

Module - 3-13

Page 56: Vijeo Designer 4.6 Course Manual

Modbus RTU Configuration

Select Modbus RTU (2) from the Schneider Electric Drivers (1)Once added, right click on the driver (3)

1

2

3

Technical Communications - North Andover Vijeo Designer

Module - 3-14

Page 57: Vijeo Designer 4.6 Course Manual

Modbus RTU Configuration - Port

Configure the serial port and click on OKThe Connection is configured

Indicate the Com port, RS 232 or RS485, and other port parameters to match the equipment the target connects to

Vijeo Designer Technical Communications - North Andover

Module - 3-15

Page 58: Vijeo Designer 4.6 Course Manual

Modbus RTU Configuration - Slave

Configure equipment address and click on OK

Enter the Modbus address and communications parameters of the equipment the target is connected to. If RS485 is used, multiple equipment can be connected to the same target

Technical Communications - North Andover Vijeo Designer

Module - 3-16

Page 59: Vijeo Designer 4.6 Course Manual

Modbus Plus Link - XBTG

Modbus +

Allows XBTG to connect to existing Modbus + networksRequires the XBTGMBP interface (1) or cable (larger GT units) when availableXBTGT & XBGTX will use a USB to MB+ cable converter

1

The XBTG MBP interface is a special Modbus Plus interface (1) made specifically for the XBTG HMI. When added to a XBTG, the XBTG becomes another Modbus Plus node on the network

Vijeo Designer Technical Communications - North Andover

Module - 3-17

Page 60: Vijeo Designer 4.6 Course Manual

Adding Modbus Plus

Select New Driver (1), Select Modbus Plus Equipment (2)The equipment is added

2

3

1

Modbus Plus Local Node sets configures the local node for Global Data. Refer to the Modbus Plus Device Driver manual for detailed information on how to setup Global Data.

Technical Communications - North Andover Vijeo Designer

Module - 3-18

Page 61: Vijeo Designer 4.6 Course Manual

Modbus Plus – Local Node

Used to manage the local node global dataOnly one Modbus Plus local node may be configured

1

Vijeo Designer Technical Communications - North Andover

Module - 3-19

Page 62: Vijeo Designer 4.6 Course Manual

Modbus Plus Routing Information

Enter the PLC’s node address (1) and any routing information requiredThe connection is configured

1

Technical Communications - North Andover Vijeo Designer

Module - 3-20

Page 63: Vijeo Designer 4.6 Course Manual

Routing Example

The routing path from the XBTG (1) to the Quantum (2) is:61.30.22.62.0

1

2

Vijeo Designer Technical Communications - North Andover

Module - 3-21

Page 64: Vijeo Designer 4.6 Course Manual

Uni-Telway Link

1 or 2 communication ports– COM 1: RS 232C/RS 485– COM2: RS 232C

Uni-TE master/slave protocol

XBTG/GT must be configured asa client Master devices:

– Premium, Micro, Nano PLCs– Series 7 PLCs, etc

UniTelway

XBTG/GT units will have one or two ports, depending on the modelIf you use your serial port as a Uni-Telway link (client/server protocol) the terminal is configured as a client. This means that you can connect several terminals to the same bus, using a Schneider PLC as a server

A maximum of 28 clients can be used with Uni-Te protocol

Technical Communications - North Andover Vijeo Designer

Module - 3-22

Page 65: Vijeo Designer 4.6 Course Manual

Adding a Uni-Telway Link

Add a UniTelway driver as shown

1 2

3

Vijeo Designer Technical Communications - North Andover

Module - 3-23

Page 66: Vijeo Designer 4.6 Course Manual

Configuring a Uni-Telway Driver

Double click on the driver (1) Configure the port and addresses for your system

1

Technical Communications - North Andover Vijeo Designer

Module - 3-24

Page 67: Vijeo Designer 4.6 Course Manual

Adding a Uni-Telway Link

Double click on the equipment to configureAdd the Network/Station information required to connect to the PLCThe connection is configured

Vijeo Designer Technical Communications - North Andover

Module - 3-25

Page 68: Vijeo Designer 4.6 Course Manual

USB Port(s)Easy connection and high speed transfer

“Plug and play” (no settings)Download/upload about 100 times faster then serial port

Connection of various USB devicesPrinter, barcode reader, etc.

USB Hub

Simultaneous multiple connection using a USB hub

Connection to PLCs via USB & sometimes, converter cables .

M340

Convert PLC

Depending on the type of terminal, you can use 1 or 2 USB ports • For high-speed transfers of your application • To connect one or more USB devices, such as a printer or a barcode reader (1 device per port)• Using a USB hub allows you to connect several devices to the same USB port.• XBTGT 1000 terminals do not have USB ports: they have an 8-contact mini-DIN connector for an application transfer cable (identical to those used for the XBT G range).

Technical Communications - North Andover Vijeo Designer

Module - 3-26

Page 69: Vijeo Designer 4.6 Course Manual

Transferring an Application

TOOL port/USB Port PC to target transferXBT ZG 915/925/935 cables

ApplicationApplication

Memory card as transfer mediumTransfer the application to the card (via XBT ZG ADT adaptor) Use the card in the terminal

Application

Ethernet port High-speed transfer (10 Mbps) Multiple transfer capability (several XBTG terminals on the network)

The options for transferring your application to the terminal are as follows:

• You can use the transfer cable (Tool port for XBT G or XBT GT1000 terminals, USB port for XBT GT series 2000 to 7000 terminals) • You can use the memory card as a transfer medium:

• The application is transferred to the memory card connected to your PC using the XBT ZG ADT adaptor.• The memory card is then inserted in the terminal to transfer the application to the internal memory. Don’t forget to configure the memory card as a backup memory.

• You can use the Ethernet link. If several terminals are connected to the network, you can transfer the entire project.

• You cannot transfer a program using the Modbus Plus interface

Vijeo Designer Technical Communications - North Andover

Module - 3-27

Page 70: Vijeo Designer 4.6 Course Manual

XBT Targets in a Distributed Architecture

Ethernet

XBTGTXBTG

Designer

Ethernet TCP/IP

PLC1PLC2 PLC3

PLC4

Modbus +

More Nodes

XBTGK

In a distributed architecture controlled via an Ethernet network, the designer can transfer the entire project (several applications) to different terminals (for example XBTGT1, XBTGT2 and XBTG3) at onceEach application can be linked to one or more devices.For example - The application running on terminal XBTG can use information from PLC4 and PLC5 via Ethernet.

- Terminal XBTGT is linked to PLC1 (shared data) and PLC3 and PLC4 viaEthernet. Terminal XBTGT1 is linked to PLC1 (serial link) and PLC2 and PLC3 via Ethernet. - It is also possible for targets to share variable information directly with eachother via Ethernet thus eliminating the need for each target to poll the PLCindividually. This is covered in a later module

Technical Communications - North Andover Vijeo Designer

Module - 3-28

Page 71: Vijeo Designer 4.6 Course Manual

Simultaneous Use of Com Ports

Modbus Ethernet TCP/IP

Uni-Telway

Modbus +

A target can communicate over multiple networks simultaneously. All you need to do is install the correct driver for each network that you need to use.

You can only have as many serial drivers installed as you have serial ports

Vijeo Designer Technical Communications - North Andover

Module - 3-29

Page 72: Vijeo Designer 4.6 Course Manual

•This page intentionally left blank

Technical Communications - North Andover Vijeo Designer

Module - 3-30

Page 73: Vijeo Designer 4.6 Course Manual

Module 4Preparing a Target for Use

Vijeo Designer Technical Communications - North Andover

Module 4-1

Page 74: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Learn how to prepare an XBT G/GT/GK for it’s initial useSet an IP address in the XBT G/GT/GKAccess the system areaLearn what the system area is used for

Technical Communications - North Andover Vijeo Designer

Module 4-2

Page 75: Vijeo Designer 4.6 Course Manual

Vijeo Designer Runtime SystemRuntime resides on the target machine and runs the user-created

applicationThe Vijeo Designer editor and Runtime system must be compatible

The Runtime system is automatically installed when you download your application

Installation methods for installing the Runtime system

Ethernet Tool port USB portTarget machine

CF card

XBT G No YesYes Yes

XBT GT1000 No NoYes Yes

Yes YesNo

Runtime installer

XBT GT2120 to 7000XBT GTK21220 to 5330

Yes

iPC Yes No Yes CF, CD-R, floppy

Yes NoNoXBT GT2110 Yes

The Runtime system installed on the terminal allows you to run the HMI application. The Runtime system must be compatible with the Vijeo Designer editor used to create the application.

The Runtime system is automatically transferred with the application. The “Runtime installer” tool can, however, be used to install the system separately (in recovery mode for example).

Runtime can be installed using the memory card (if it is supported by the terminal) or the Runtime installer tool, via the Ethernet, Tool or USB ports on your terminal.In addition, IPC’s can also use CD Roms or floppy drives if they have them

Vijeo Designer Technical Communications - North Andover

Module 4-3

Page 76: Vijeo Designer 4.6 Course Manual

Setting the Units IP Address

From the Initial Start Mode screen, access the Ethernet settings

Press the Network button to access

You can set the default language and Network configuration from the Initial Start Mode Screen. Click on the Network button to reach the Network Configuration page

Technical Communications - North Andover Vijeo Designer

Module 4-4

Page 77: Vijeo Designer 4.6 Course Manual

Setting the Units IP Address

Enter your IP address, Subnet mask, Default Gateway addressValidate by OK

Enter the XBTG’s IP address, subnet mask and gateway information

Vijeo Designer Technical Communications - North Andover

Module 4-5

Page 78: Vijeo Designer 4.6 Course Manual

Installing Runtime Via Ethernet

From Schneider Electric/VijeoDesigner/Tools, access Runtime installer

Select the target machine and installation method (Ethernet)

Enter the Ethernet parameters for the target machine

Click SendDon’t power off the target machine during the transfer

Connect the target machine to your PC

To transfer the Runtime system via an Ethernet network: - Configure the terminal’s Ethernet parameters (IP address, subnet mask, etc.)

- Connect the terminal to your PC via the Ethernet network

- Launch the Runtime installer tool, accessed from Programs/Schneider Electric/Vijeo Designer/Tools

- Select the target machine (XBT G or XBT GT) and the installation method (Ethernet)- Define the communication parameters (terminal IP address, subnet mask, etc.)- Click Send to start the transfer

Caution.: The terminal must remain powered on throughout the transfer.

Technical Communications - North Andover Vijeo Designer

Module 4-6

Page 79: Vijeo Designer 4.6 Course Manual

Installing Runtime System Via Tool Port

Select the target machine type and installation method (Ethernet, USB or serial)

If serial - Select the COM port and supported transmission speed

Click Send

Don’t power off the target machine during the transfer

To transfer the Runtime system via the terminal’s Tool port:

The hardware options vary, depending on the model and method selected. Always use Ethernet if it’s available

For serial transmission: • Connect the terminal to your PC using the XBTZG915 or 925 cable

• Launch the Runtime installer tool:•Select the target machine (XBT G or XBT GT) and the installation method (Serial)

• Define the communication parameters (port and transmission speed)•Click Send to start the transfer

Caution - The terminal must remain powered on throughout the transfer.

Vijeo Designer Technical Communications - North Andover

Module 4-7

Page 80: Vijeo Designer 4.6 Course Manual

Select the target machine and installation method (USB)

Click Send

Don’t power off the target machine during the transfer

Installing Runtime Via USB Port

To transfer the Runtime system via a USB port on the terminal:- Connect the terminal to your PC using the XBTZG935 cable

- Launch the Runtime installer tool:- Select the target machine (XBT GT) and the installation method (USB)- Click Send to start the transfer

Caution - The terminal must remain powered on throughout the transfer.

Technical Communications - North Andover Vijeo Designer

Module 4-8

Page 81: Vijeo Designer 4.6 Course Manual

Use the Recovery mode when the Runtime system is damaged on the target machine or you cannot recover your target’s password and you need to reset the password

Recovery method

XBT G series (except XBT G2110)XBT GT2000 to 7000 series (exceptXBT GT2110 and XBT GT1000 series)XBT GK2120 to 5330 series

CF card

XBT G series, iPCXBT GT1000 series

Recovery mode of Runtime installer

Target machine

Methods for recovering the Runtime system depend on type of target machine

Runtime installer needs to connect your PC to the terminal

Download

XBT G seriesXBT GT1000 series

Serial

Target machine

Ethernet

Cable

XBTZG915 cable

XBTZG915 and Ethernet cables

Runtime system in Recovery Mode

The Runtime system is transferred in recovery mode when the terminal’s Runtime system is damaged or when you cannot access the password on the terminal.

N.B.: This operation deletes the project and any data on the terminal.

The procedure depends on the type of terminal:• Using the memory card. Contact Schneider technical support to perform this

operation when using an XBT GT2110 terminal.• Using the Runtime installer tool in recovery mode

Irrespective of the type of communication selected, the PC must be connected to the terminal via an XBTZG915 cable.

Vijeo Designer Technical Communications - North Andover

Module 4-9

Page 82: Vijeo Designer 4.6 Course Manual

Power off the terminalSerial or USB (model

dependant) Serial - Connect the target

machine to your PC: XBTZG915 cable

Access Runtime installer

Don’t power off the target machine during the transfer

Configure the communication: method, port, transmission speed

If Ethernet is chosen, define the IP parameters as well

Select the Recovery checkbox (1)

Click Send to start the transfer

Power on the terminal

Transferring Runtime in Recovery Mode

1

In Recovery mode you must first launch the transfer of the Runtime system, then power on the terminal. To do this, follow the procedure below:

- Power off the terminal- Connect the terminal to your PC using the transfer cable - Launch the Runtime installer tool

- Define the communication parameters such as type of machine, transfer method, communication port and transmission speed, as well as the IP parameters if you have selected Ethernet

- Check the Recovery checkbox

- Click Send- Power on the terminal

Caution - Do not power off during the transfer.

Technical Communications - North Andover Vijeo Designer

Module 4-10

Page 83: Vijeo Designer 4.6 Course Manual

Accessing the System Area

XBT G terminals: press top-left corner or 3 corners simultaneously for 2 sec (defined by To configuration menu in your application)

For XBT GT / GK terminals: press top-left corner or 2 corners simultaneously for 2 sec (defined by “To configuration” menu in your application)

Offline and system configuration screens appear

You can get to the system area by simultaneously pressing the three corners shown (1) on the touch screen The corners that you must touch are programmable and if someone else has altered the configuration, the corners required to touch may be different then shown above.Buttons may also be configured to access this area

Vijeo Designer Technical Communications - North Andover

Module 4-11

Page 84: Vijeo Designer 4.6 Course Manual

Offline, System and Diagnostics configuration screens are now available

Adjusting the TerminalXBT G terminals: press top-left

corner or 3 corners simultaneously XBT GT / GK terminals: press

top-left corner or 2 corners simultaneously

To Run Mode - Exits adjustment mode

The terminal settings can only be accessed if an HMI application is loaded in the terminal.

There are three methods of displaying your terminal’s configuration screens:- Press the top-left corner of the screen and/or - Press more than one corner of the touch-sensitive screen simultaneously, depending on the option selected for your application- You can also animate a screen area or a button to access the terminal configuration screens

There are two tabs for accessing the: - offline configuration screens - system configuration screens

The To Run mode key allows you to return to your application’s normal operating mode.

Technical Communications - North Andover Vijeo Designer

Module 4-12

Page 85: Vijeo Designer 4.6 Course Manual

Offline Configuration Screens

This screen provides access to 8 icons which are used to: Network - Define or redefine the Ethernet communication parameters, such as IP address, subnet mask and default gateway address. This function is only accessible on terminals which have an Ethernet link. Buzzer - Enable or disable the buzzer function on your terminal. If the function is enabled, touching an object causes a beep to sound. Backlight - Configure the terminal to switch to standby mode after a certain period, from 15 seconds to 30 minutes. The keys are inactive in standby mode and only an alarm will reactivate the backlight. You can also keep the keys active in this mode: we recommend this option. Self Test - Launch terminal self-tests, such as testing the fonts, screen, touch panel, serial ports and video memory. Option - Enable power supply to the COM1 port (power/no power to connector pin 9). This function is not accessible with the XBT G and XBT GT1000 terminals.

I/O Manager –Allows you to view or modify driver configuration and equipment configurations from the panel Webgate - Allows you to configure the Web Gate option from the panel

Multimedia –Allows you to adjust the multimedia configuration from the panel #

Vijeo Designer Technical Communications - North Andover

Module 4-13

Page 86: Vijeo Designer 4.6 Course Manual

System Configuration Screens

This screen provides access to 8 icons which are used to:

Stylus: Calibrate your terminal. Press all of the crosses to complete calibration.

Date/Time: Update the date and time on the terminal

Restart: Restart your HMI application

Language: Change the system language and user language

Ver. Info: Display the Runtime system and application versions (version of Vijeo Designer editor used to create the application and Build number)

Memory: Display the memory used and memory available: dynamic memory (DRAM), internal user memory (Main Flash) and memory card

Brightness: Adjust the screen brightness and contrast. Color screens with an active TFT matrix only allow the brightness to be adjusted.

Option: Display data in video or reverse video mode if using a monochrome screen

Technical Communications - North Andover Vijeo Designer

Module 4-14

Page 87: Vijeo Designer 4.6 Course Manual

System Diagnostics Screens

This screen provides access to 2 icons which are used to:

Variables: used to test communications between the target and the PLC. It also traps communications errors

Statistics: shows communication statistics between target and PLC

Vijeo Designer Technical Communications - North Andover

Module 4-15

Page 88: Vijeo Designer 4.6 Course Manual

•This page intentionally left blank

Technical Communications - North Andover Vijeo Designer

Module 4-16

Page 89: Vijeo Designer 4.6 Course Manual

Module 5Vijeo Designer New Features

Vijeo Designer Technical Communications - North Andover

Module 5-1

Page 90: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss new features in Vijeo DesignerDiscuss other, significant features

Technical Communications - North Andover Vijeo Designer

Module 5-2

Page 91: Vijeo Designer 4.6 Course Manual

New Terminals

XBTGKKeyboardFunction Keys

XBTGT1005 SeriesUSB port

XBTGTW SeriesWindows XPWindows Xpe

iPC Series SRAM

New terminal series are available.The new terminal series are:

XBTGK SeriesXBTGT1005 SeriesXBTGTW SeriesandiPC Series

Feature highlights for these series are:- The XBTGK has a built in Keyboard and multiple Function Keys- The XBTGT1005 Series supports USB- The XBTGTW runs on Windows XP or Windows XPe- The new iPC series models support SRAM

To learn more about the new series, take a look at module 2 which gives greater detail on the features for new and existing terminals.

Vijeo Designer Technical Communications - North Andover

Module 5-3

Page 92: Vijeo Designer 4.6 Course Manual

Graphical Panels

The Graphical Panels node now has three types of panels:Base Panels – normal panels. Place switches and lamps, or draw other

objects on a base panel. The panel you create becomes the display screen on terminals.

Popup Windows – provide detailMaster Panels – e.g, Templates

The Graphical Panels node in the Navigator window provides the following types of panels:

Base Panels – Standard panels in earlier versions of VIjeo Designer - Place switches and lamps, or draw other objects on a base panel. The panel you create becomes the display screen on terminals.

Master Panels - Master panels are panel templates you can apply to any base panel in your project. On a master panel, you can draw objects and place Toolchest parts, to create a panel of common objects that can be used for all base panels in a project.

Popup Window Panels - On a popup window panel, you can draw objects and place Toolchest parts. At Runtime, you can open the popup window panel over the current panel using a variety of methods.

Technical Communications - North Andover Vijeo Designer

Module 5-4

Page 93: Vijeo Designer 4.6 Course Manual

Base Panels – Thumbnail View

Thumbnail View Toolbar

In a project, when you click Base Panels, the thumbnail view opens, displaying the thumbnails for panels and panel folders.

The thumbnail view toolbar allows you to:•Display the current path in the base panel folder.•Change the thumbnail size to large or small.•Move up one folder level, if you have a folder structure.

Vijeo Designer Technical Communications - North Andover

Module 5-5

Page 94: Vijeo Designer 4.6 Course Manual

New USB Support

USB keyboard and USB mouse support

USB as an optional drive to store data

File System download method downloads to USB drive

Vijeo-Designer has added support for USB input devices, storage and download capability.

The USB keyboard and USB mouse are supported for terminals that have a USB port. You can connect a USB keyboard and USB mouse to a supported terminal’s USB port. This feature has been provided so that you can input data when you cannot access the terminal’s touch capability.

You can use a USB drive to store user application data, such as logged data, alarm messages, and recipes, at runtime.

You can use the File System download method to download the user application and runtime system files to a USB drive.

Technical Communications - North Andover Vijeo Designer

Module 5-6

Page 95: Vijeo Designer 4.6 Course Manual

Multimedia

JPEG Viewer – see the screen captures you took, on the target

MP4 file support - You can now play and record MP4 video files on supported terminals

Vijeo-Designer provides you with the following enhancements to the video options:

You can now play and record MP4 video files on supported terminals. To play MP4 video files, you must have MP4 CODEC installed on your PC or iPC.

The JPEG Viewer allows you to display screen snapshots and video snapshots saved in the JPEG file format on the panel. #

Vijeo Designer Technical Communications - North Andover

Module 5-7

Page 96: Vijeo Designer 4.6 Course Manual

Variable Editor

Variable Editor – It’s moved and improved!

The presentation of variables have been changed on the user interface so that you can now easily:

•Create variables from the Variables node in the Project tab’s Navigator window•Set up variable properties in the Variable Editor.

The Variable Editor displays variables in a spreadsheet format, displaying the variable’s name, data type, data source, scan group, device address, alarm group, and logging group. You can update variable information directly in the spreadsheet.

Technical Communications - North Andover Vijeo Designer

Module 5-8

Page 97: Vijeo Designer 4.6 Course Manual

Vijeo Designer V4.6October 2006

9

Network Configuration Features

New network configuration features provide greater flexibility when configuring your network settings.

Dynamic Host Configuration Protocol (DHCP) allows your terminal to automatically retrieve an IP address from a DHCP server, saving you the trouble of configuring the IP address settings yourself.

DHCP can be setup in Vijeo-Designer or the terminal’s network configuration menu.

Vijeo Designer Technical Communications - North Andover

Module 5-9

Page 98: Vijeo Designer 4.6 Course Manual

Vijeo Designer V4.6October 2006

10

Network Configuration Features

The MAC address of the terminal can be viewed in the MAC/DNS tab.

DNS associates the terminal’s IP address with the terminal name.

Technical Communications - North Andover Vijeo Designer

Module 5-10

Page 99: Vijeo Designer 4.6 Course Manual

Tool Window Setup Options

– Set view mode

Customize your Vijeo-Designer working environment:

– Dock tool windows

– Change to tabbed document in the main window

– Hide a tool window when it is not in use

– Hide a tool window completely

You can customize the Vijeo-Designer working environment to navigate easily through the tool windows. Use the enhanced user interface to:

- Set your windows to either Docking or Floating view mode- Move a tool window to a global docking region- Change a tool window displayed in docking view mode to a tabbed

document in the main window- Hide tool windows you are currently not using #

Vijeo Designer Technical Communications - North Andover

Module 5-11

Page 100: Vijeo Designer 4.6 Course Manual

Vijeo Designer V4.6October 2006

12

Increased Data Sharing

Share data between terminals

Alarm Messages

Recipes

Variable Data (not new)

Data sharing allows you to use one terminal to display data from other terminals connected via a network or through Web Gate. The types of data you can share are:

- Variable data. Log variable values from several terminals on a singletrend graph.- Alarm messages. You can manage alarms from multiple sources on asingle alarm summary or alarm banner.

- Recipes. You can view and edit recipes on remotely connectedterminals through Web Gate.

Technical Communications - North Andover Vijeo Designer

Module 5-12

Page 101: Vijeo Designer 4.6 Course Manual

Vijeo Designer V4.6October 2006

13

I/O Manager Enhancements

Addressing UpgradesDirect I/O Addressing

Enhancements to the I/O manager now provide even more ways of interacting with PLCs.

Modbus drivers in Vijeo-Designer have been updated to support variable addressing compliant with IEC 1131 specifications for direct I/O access. You can access these memory areas by referencing addresses associated with the I/O device’s physical location on a rack. For example, you can specify

- the Rack number- the Module number - and the Channel number to uniquely identify an I/O address.

Vijeo Designer Technical Communications - North Andover

Module 5-13

Page 102: Vijeo Designer 4.6 Course Manual

Vijeo Designer V4.6October 2006

14

I/O Manager Enhancements

ANSI Support

String Encoding on all drivers now supports the ANSI-extended ASCII code table in addition to standard ASCII and Unicode.

Technical Communications - North Andover Vijeo Designer

Module 5-14

Page 103: Vijeo Designer 4.6 Course Manual

Vijeo Designer V4.6October 2006

15

Web Gate

Web Gate ActiveX Control

Multiple connectionsData sharingSound Support

Enhancements have been made to improve the performance of Web Gate.- Web Gate now uses ActiveX. ActiveX increases the versatility and

performance of Web Gate.

Web Gate now allows:- More than one Web Gate connection at a time, up to 4 connections.- Improved data sharing, such as recipe data and trend graph support.- The ability to playback sounds.

Vijeo Designer Technical Communications - North Andover

Module 5-15

Page 104: Vijeo Designer 4.6 Course Manual

Other New Features

Multiple Vijeo-Designer projects open at a time

Up to 15 languages supported for a single project

Updated Schneider Electric Image Library

Arabic and Hebrew font support

You can have more than one Vijeo-Designer project open at a time by starting another instance of Vijeo-Designer. Certain objects can be shared between projects, and the variables associated with the objects are also copied over.

In Vijeo-Designer, you can now define up to 15 languages for a single project.

The Schneider Electric Image Library has been updated to provide you with many useful images that you can drag and drop on to your panel.

Arabic and Hebrew fonts have been added to Vijeo Designer Version 4.6.

Technical Communications - North Andover Vijeo Designer

Module 5-16

Page 105: Vijeo Designer 4.6 Course Manual

Module 6Introduction to Vijeo Designer

Vijeo Designer Technical Communications - North Andover

Module 6-1

Page 106: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Introduce Vijeo DesignerDiscuss PC requirementsDiscuss the development environmentDiscuss toolbars

Technical Communications - North Andover Vijeo Designer

Module 6-2

Page 107: Vijeo Designer 4.6 Course Manual

Hardware configuration– PC: Celeron 556MHz or faster

• Pentium III 1GHz or faster recommended

– 128 MB RAM (min)

• 512 recommended

– Hard disk space required: 400 MB (min)

– Pointing device

Operating system– Windows 2000 (SP 4+)

– Windows 2000 Server (SP 4+)

– Windows XP (SP2+)

– MS Windows Vista Business

– Internet Explorer 6.0 or newer

PC Requirements

Vijeo Designer Technical Communications - North Andover

Module 6-3

Page 108: Vijeo Designer 4.6 Course Manual

Vijeo Designer

Vijeo Designer – A Windows based configuration and programming software.

– For Magelis XBT-G/GT/GTW/GK & iPC units only– Create, download, and simulate applications

Technical Communications - North Andover Vijeo Designer

Module 6-4

Page 109: Vijeo Designer 4.6 Course Manual

User Interface

Toolbars

Navigator: Themain software window, the project summary

Inspector: Displays the Properties of the selecteditem

Graphical Editor: Developor edit panels

Graphical List: List of objects on current panel

ToolChest: Displays toolsto be used on panels

Vijeo Designer uses the Windows interface with its multi-window display. As with all other Schneider software applications, it features:

• The Menu bar and Toolbar, which you can use to access all the menus and tools you need to develop your HMI application

• The Status bar, which advises you about your software’s status, such as the current zoom and the position of the selected window

• The Navigator, which you can use to create and access all the elements in your application such as panels, Java scripts, alarms and popup windows

• The Graphic editor, which you can use to create your application• The Feedback zone, which indicates any faults that occur during your applications’

validation or build process. You can also use the following windows: • The Toolchest of predefined graphic objects • The Property inspector, which you can use to configure the selected object • The Graphics list, which provides an exhaustive list of the objects that feature in

the active window • The variables window, which you can use to enter the application’s variablesYou can close, resize or move any of these windows.A lot of the objects in Vijeo Designer have right click menus (quick way to access

settings)

Vijeo Designer Technical Communications - North Andover

Module 6-5

Page 110: Vijeo Designer 4.6 Course Manual

Toolbars are controlled from the Tools menu

– Select Toolbars (1)

– Check the toolbars you want (2)

File Toolbar (3)– Contains tools used to work with projects

Toolbars/ File Toolbar

1

2

3

The file menu contains the icons that you need to work with projects

Technical Communications - North Andover Vijeo Designer

Module 6-6

Page 111: Vijeo Designer 4.6 Course Manual

The Edit Toolbar

Editing tools include:– Undo, Redo, Cut copy, Paste

– Duplicate, Delete, Text edit, Animation

The edit toolbar contains the tools you use to edit projects

Vijeo Designer Technical Communications - North Andover

Module 6-7

Page 112: Vijeo Designer 4.6 Course Manual

Info Viewer Toolbar

Info Viewer tools include:– Back, Forward, Stop, Refresh, Home, New Address

– Tools used to move or view the information viewed in the InfoViewer window

The InfoViewer toolbar contains the icons you need to move or view the information displayed in the InfoViewer window.

Technical Communications - North Andover Vijeo Designer

Module 6-8

Page 113: Vijeo Designer 4.6 Course Manual

Select Options Toolbar

Select Options tools include:– Select All, Select type, Select individual, Select previous,

Select next

The Select Options toolbar contains the icons you need to change the way you select objects. To use this toolbar, you must have selected multiple objects.

Vijeo Designer Technical Communications - North Andover

Module 6-9

Page 114: Vijeo Designer 4.6 Course Manual

The Panel Configuration Toolbar

The Panel Configuration toolbar includes:– Zoom and Grid control tools

•The Panel Configuration toolbar contains the icons you use to view objects on the panel grid (using zoom) and to move objects on the grid (snap to).

Technical Communications - North Andover Vijeo Designer

Module 6-10

Page 115: Vijeo Designer 4.6 Course Manual

The Tools Toolbar

The Tools toolbar includes:– Icons for the six tool windows

– Used to open/close windows

Vijeo Designer Technical Communications - North Andover

Module 6-11

Page 116: Vijeo Designer 4.6 Course Manual

State Options

State options– Used to show what native parts look like when activated– Only works with switches and lamps created with the Graphical

Objects toolbar• Not toolchest objects

The State Options toolbar contains icons that users can use to preview what a native part looks like when it is activated. The State Options work only with switches and lamps created using the Graphical Objects toolbar. A switch or lamp from the Toolchest does not interact with the State Options toolbar..

Technical Communications - North Andover Vijeo Designer

Module 6-12

Page 117: Vijeo Designer 4.6 Course Manual

The Object Information Toolbar

Can be used to display information about objects on the current panelVariable Name is shown (1)

1

The Object Information toolbar contains the icons you need to view object information

Vijeo Designer Technical Communications - North Andover

Module 6-13

Page 118: Vijeo Designer 4.6 Course Manual

The Arrange Toolbar

Standard tools for controlling screen objectsOrder, rotate, alignment ….

Technical Communications - North Andover Vijeo Designer

Module 6-14

Page 119: Vijeo Designer 4.6 Course Manual

Graphic Objects

Standard drawing tools (1) Select panel object tool (2)

1

2

Vijeo Designer Technical Communications - North Andover

Module 6-15

Page 120: Vijeo Designer 4.6 Course Manual

Graphic Objects (Cont)

Scale, text tool, image (1)Native tools …. (2)

– Switches, Lamps, Data display, Message Display, Meters– More on next page

21

The Graphical Objects toolbar contains the icons you need to draw or select objects.

Technical Communications - North Andover Vijeo Designer

Module 6-16

Page 121: Vijeo Designer 4.6 Course Manual

Native Tools (Cont)

Native tools (cont)…. (1)– Bar Graphs, Selector, Alarm Summary, Trend charts, Video

1

The Graphical Objects toolbar contains the icons you need to draw or select objects.

Vijeo Designer Technical Communications - North Andover

Module 6-17

Page 122: Vijeo Designer 4.6 Course Manual

The Project Manager

Used to start a new project (1)Used to select an existing product for editing (2)Used to backup or export projects

1

2

The Project Manager has several different uses. It may be used to:1) Start a new project2) Select an existing project for editing3) Backup an existing project (always a good idea)

a) project must be closed first4) Export a project

a) project must be closed first

Technical Communications - North Andover Vijeo Designer

Module 6-18

Page 123: Vijeo Designer 4.6 Course Manual

The Navigator

Appears when you open a project fromthe Project ManagerUsed for project configuration, panel creationCommunications setupProject transfer to a targetProject testingVariable creation or importingAll aspects of a project start in the Navigator

The Navigator is used to access all the components that make up your HMI application. It gives:• the name of the project and application. A project can have several applications, including several XBT G / XBT GT terminals. • the list of graphic panels• scripts written in Java• the alarm groups and categories• the popup windows and panels• Master panels• the languages• the data files, whether text or audio • the resource library for new objects (message display, meter, bargraph and selector)• Alarm creation• Actions• the recipe groups • the I/O managers• Security • Data Logging • Reusable resources

Vijeo Designer Technical Communications - North Andover

Module 6-19

Page 124: Vijeo Designer 4.6 Course Manual

Navigator – Access to:- Graphical Panels (1)- Popup Windows (2)- Master panels (3)- Actions (4)- Environment (5)- Resource Library (6)- Alarms (7)- Recipes (8)- Data Logging (9)- Variables (10)- I/O Manager (11)

Navigator Details

6

2

4

8

1

5

3

7

9

10 11

The Navigator is used to access all the components making up your HMI application. It gives:• the name of the project and application. A project can have several applications, including several XBT G / XBT GT terminals. • the list of graphic panels• the popup windows and panels• environment - external data files, security configuration and languages• the alarm groups and categories• the resource library for new objects (message display, meter, bargraph and selector)• alarm group configuration• the recipe group configuration• data logging group configuration• Variable creation or importing• the I/O manager configuration

Technical Communications - North Andover Vijeo Designer

Module 6-20

Page 125: Vijeo Designer 4.6 Course Manual

Graphical Editor

Develop or edit graphical panelsWindow mMay be resized as desiredList of panels appears in list under heading ’Graphical Panels in Navigator

Once panels have been created, you can edit them by double clicking on them. The Graphic Editor is the name of the window that holds the panel being edited

Vijeo Designer Technical Communications - North Andover

Module 6-21

Page 126: Vijeo Designer 4.6 Course Manual

Graphics List

Displays a list of objects on current panelDisplays animation associated with objectMay be used to edit grouped objectsMay be sized, positioned, opened and closed as needed

A complete list of all panel objects, animations and associated variables is displayed in the Graphics List.

Useful for editing grouped objects without ungrouping them

Technical Communications - North Andover Vijeo Designer

Module 6-22

Page 127: Vijeo Designer 4.6 Course Manual

ToolChest

Contains predeveloped tools used in panel developmentThe Tool Chest, contains a list of all tools by function (1)Also clipartExpanding the list (1) displays available choices for the category selected (2)Custom tools may be created and reused

1

2

The Toolchest contains groups of predefined tools. Whenever possible, use the native tools previously described.

The toolchest also contains a large library of clipart filed under the heading, “Image Library”

Vijeo Designer Technical Communications - North Andover

Module 6-23

Page 128: Vijeo Designer 4.6 Course Manual

The Inspector

Displays the properties of the selected object (Graphics Editor)Properties for the object are edited here (1)May be positioned, opened or closed as needed

1

When you select a screen object, the Inspector display all the properties of the selected object.

Technical Communications - North Andover Vijeo Designer

Module 6-24

Page 129: Vijeo Designer 4.6 Course Manual

Feedback Zone

Feedback Zone – Displays system generated messages when you Validate, Download or SimulateRed Errors must be fixedDouble-click on errors to go to the problem

Vijeo Designer Technical Communications - North Andover

Module 6-25

Page 130: Vijeo Designer 4.6 Course Manual

•This page intentionally left blank

Technical Communications - North Andover Vijeo Designer

Module 6-26

Page 131: Vijeo Designer 4.6 Course Manual

Module 7PLC Communication, Home & Navigation Panels

Vijeo Designer Technical Communications - North Andover

Module 7-1

Page 132: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Start a new projectAdd a communication driverCreate some panelsCreate navigation between panelsTest the project in the simulator

Technical Communications - North Andover Vijeo Designer

Module 7-2

Page 133: Vijeo Designer 4.6 Course Manual

Right click on Vijeo-Manager (1)Select “New Project” (2)

Starting a New Project

1 2

To start a new project you must:1) Go to the Vijeo Manager (1)2) Right click on Vijeo-Manager (1)3) Select New Project (2)

Vijeo Designer Technical Communications - North Andover

Module 7-3

Page 134: Vijeo Designer 4.6 Course Manual

Name your project (1)Add any comments (2)Identify Type (3)

– Single target– Multiple target

Add optional password (4)

Naming the Project

1

2

3

4

Give your project a name (1) (will appear in menu tree)

Add any comments desired (2)

Type – Single target means a single XPTG

Multiple Target – you can file multiple configurations under a single project name. Each target (XBTG) is configured independently.

Project password may be added (discussed in Security section)

Technical Communications - North Andover Vijeo Designer

Module 7-4

Page 135: Vijeo Designer 4.6 Course Manual

Name the target (XBTG, GT, GK, GTW or iPC)type being configured (1)Pick the model of the target being configured (2)

– Typical XBTGT screen is shown

Picking the Model

1

2

When you advance to this screen, you must name the target (1) and identify the model of the XBTG/GT/GK/GTW or iPC. The model simply sets the working area of the Graphic Editor and can be change later if needed.

Vijeo Designer Technical Communications - North Andover

Module 7-5

Page 136: Vijeo Designer 4.6 Course Manual

If the target will use Ethernet for communication for program download, set the addressYou must enter a correct subnet mask for the IP address you create

– You don’t need to enter a gateway

If not Ethernet – click on Finish

Setting the IP Address

If the interface to the Target (for program download) will be Ethernet, select the IP Address box and enter the IP information.

Technical Communications - North Andover Vijeo Designer

Module 7-6

Page 137: Vijeo Designer 4.6 Course Manual

Adds PLC drivers to the projectThis can be done at this stage or later

Target – Equipment List

Vijeo Designer Technical Communications - North Andover

Module 7-7

Page 138: Vijeo Designer 4.6 Course Manual

Target – Equipment List

One driver added

Technical Communications - North Andover Vijeo Designer

Module 7-8

Page 139: Vijeo Designer 4.6 Course Manual

If you did not add drivers via the wizard:From the NavigatorRight click on the I/O Manager (1)Select New Driver (1)

PLC Communication (from project level)

1

Selecting New Driver will add a communications driver to the current project. This driver is downloaded to the XBTG/GT when the project is downloaded. Multiple communication drivers are possible.

Vijeo Designer Technical Communications - North Andover

Module 7-9

Page 140: Vijeo Designer 4.6 Course Manual

Select PLC Driver (1)Non-Schneider Drivers are available (2)

Select Driver

1

2

Non-Schneider drivers are also now available

Technical Communications - North Andover Vijeo Designer

Module 7-10

Page 141: Vijeo Designer 4.6 Course Manual

Modbus Ethernet (1)Modbus Plus (2)Modbus Slave (1)Uni-Telway (1)

Schneider Drivers

1

2

Modbus Plus – requires Modbus Plus interface hardware

Vijeo Designer Technical Communications - North Andover

Module 7-11

Page 142: Vijeo Designer 4.6 Course Manual

Enter the IP address of the PLC’s Ethernet interface (1)

Select IEC61131 Syntax if the PLC uses IEC addressing (2) and indicate if it’s a “0” based system or “1” based system

– If your target’s application was written when connected to a Modicon PLC, Pick “1” based, otherwise leave at “0” based

Modbus Ethernet

1

2

Technical Communications - North Andover Vijeo Designer

Module 7-12

Page 143: Vijeo Designer 4.6 Course Manual

Enter the Modbus Plus routing information as required (1)Select IEC addressing if desired

Modbus Plus

1

Enter the Modbus Plus routing information needed to connect to the PLC

Vijeo Designer Technical Communications - North Andover

Module 7-13

Page 144: Vijeo Designer 4.6 Course Manual

Uni-Telway

Configure the port (1)Enter the Network, Station and Gate information as required (2)

1

2

Enter information necessary to connect to the PLC’s Uni-telway interface

Technical Communications - North Andover Vijeo Designer

Module 7-14

Page 145: Vijeo Designer 4.6 Course Manual

Master panels are like templates

– Create template objects that may be added to a base panel

– Not a complete panel

Right click on “Master Panel”Select New Panel (1)Master panels are created in the same manner as a Base Panel

Creating a Master Panel

1

Master panels are panel templates that can be applied to any base panel in your project.On a master panel, you can draw objects and place Toolchest parts, to create a panel of common objects that can be used for all base panels in a project. Master panels also store information about the common objects, such as font styles and background design. All objects on a master panel are displayed on base panels that use the master panel. You can organize your master panels using a folder structure. We recommend that you create a master panel folder to organize a group of master panels.Master panels support the following key operations:Changes made on the master panel are applied to base panels.Move a master panel. You can use the cut/paste or drag/drop method to move a master panel under the Base Panel node or into a base panel folder, or from one Master Panels folder to another. When you move a master panel under the base panel node or into a base panel folder, the master panel becomes a base panel.

Vijeo Designer Technical Communications - North Andover

Module 7-15

Page 146: Vijeo Designer 4.6 Course Manual

Right click on the Base PanelsSelect New Panel to create a new panel in the current project (1)Select New Panel with master to start your new panel using a Master panelCreate additional panels in the same manner

Creating New Base Panels

1

You can create all your projects panels in the beginning or create them as you need them. It’s your choice.

If you have previously created Master panel(s) you may use them as a template when creating a new panel. It is possible to add together MasterPanel objects on a single base panel as long as they don’t physically overlap

Technical Communications - North Andover Vijeo Designer

Module 7-16

Page 147: Vijeo Designer 4.6 Course Manual

Click the Add Image icon (1)Drag a size for the image (not shown) (2)Browse for image fileSupported file formats (3)

Adding an Image 1

2

3

External Images may be added to the panel as described above. Supported file formats for external files are shown (3)

Vijeo Designer Technical Communications - North Andover

Module 7-17

Page 148: Vijeo Designer 4.6 Course Manual

The panel’s PanelID (Base Panel) or name (Master Panel) and Background color can beset in the Inspector (1)You can also specify the RGB colors manually (2) by typing in the RGB numbersThe color picker may also be used to create custom colors

Setting Panel Properties

1

2

A panels background color is one of it’s properties and may be set via the property inspector. Entering the numbers manually allows you match panels background color exactlyIf you are trying to match the panel’s background color to another object on the panel, use the color picker to learn the color that you are trying to create

The panel ID is used for navigation. By default a project opens PanelID 1 when it starts. This may be edited.

Technical Communications - North Andover Vijeo Designer

Module 7-18

Page 149: Vijeo Designer 4.6 Course Manual

Select the Text tool (1)Drag a text box on panel (not shown)Type you text (2)Select fontSelect font style (not shown)

Text Labels1

2

3

Text my be added to any panel and may be either static text or may be animated. To add text, you click on the text tool (1), drag a box to hold the text (may be adjusted if size is wrong), type the text (2), and select a font (3) and style (not shown).

Vijeo Designer Technical Communications - North Andover

Module 7-19

Page 150: Vijeo Designer 4.6 Course Manual

Select 3D from Font Style (1)Select the text color (top text) (2)Select the 3D Color (bottom color)A 3d example (3)

3D text

21

3

3D text makes an attractive panel label

Technical Communications - North Andover Vijeo Designer

Module 7-20

Page 151: Vijeo Designer 4.6 Course Manual

Navigation between panels may be done via Native objects or a custom animation Native objects (navigation) are the preferred method

Navigation Introduction

Native objects are the preferred option since they have speed and memory advantages over the older, custom animation method.

Vijeo Designer Technical Communications - North Andover

Module 7-21

Page 152: Vijeo Designer 4.6 Course Manual

Add a “Switch” (1)Size the switch (2)Select operation “Panel” (3)

– This will be done in the exercise

System (4) takes you to the System Area– You will do this in the exercise

Native Object Navigation1 2

3

4

The Switch native tool (1) has many different uses (3). To use the switch as a navigation button, you must select the “Panel” option (3).

Technical Communications - North Andover Vijeo Designer

Module 7-22

Page 153: Vijeo Designer 4.6 Course Manual

Browse for the panel that you wish to navigate to (1)

Native Object Navigation

1

When Panel animation is selected, all you need to do is select the panel that you want to jump to from the displayed list.

Vijeo Designer Technical Communications - North Andover

Module 7-23

Page 154: Vijeo Designer 4.6 Course Manual

Multiple objects on a panel (1) Select all objects (2)Right click, select Space Horizontal (3)Objects are evenly spaced

Adjusting Object Spacing 1

2

3

There are multiple tools that may be used to align and evenly space your screen objects.

Technical Communications - North Andover Vijeo Designer

Module 7-24

Page 155: Vijeo Designer 4.6 Course Manual

Setting the Background Color

2

1

Used to make the background color of the panel match the image To implement:

1) Add the image to the panel2) With the panel selected, double click on the background color in the Inspector (1)3) Drag the crosshair from the color dialog (2) and drag it on to the picture and drop on

the color you wish to make the panel background4) Click on OK. The panel changes to the color you selected with the picker

Vijeo Designer Technical Communications - North Andover

Module 7-25

Page 156: Vijeo Designer 4.6 Course Manual

Validation checks for errorsSelect the target (1)Right click and validate (2)Fix and errors found (3)

Validation

1

2

3

Validation automatically takes place when you download to the target or download to the simulator. It is quicker to validate as a separate operation, rather then as part of a download. In either case you must fix any errors that are detected and have a red background. Yellow errors should be fixed but are not fatal.

Technical Communications - North Andover Vijeo Designer

Module 7-26

Page 157: Vijeo Designer 4.6 Course Manual

Two choices – connect to PLC (1)– Connects to PLC(s) configured in IO Manager

Random number generator (2)– Drives animations

Simulation

1

2

There are two choices for simulation. Vijeo Designer can connect to the PLC configured if it is reachable by the configuring PC. This can be the real PLC or the PLC program running in the Concept or Unity simulator. This in effect allows you to connect Vijeo Designer to a virtual “soft” PLC. To do this, you select the first start simulation option

The Start Device Simulation connects to a simulator that generates random numbers and drives the animated graphics. This allows you to see how the graphics will appear but is not interactive like the first option.

Vijeo Designer Technical Communications - North Andover

Module 7-27

Page 158: Vijeo Designer 4.6 Course Manual

Select the import the project option to (1)Right click and browse for project (2)The project is imported (3)

Importing a Project

21

3

Projects can be both backed up and Imported (restored). To restore a previously backed up project:

1) Select the level that you wish to restore it to (1). In this example, the project will be restored to the root directory

2) Browse for the .vdz (Vijeo designer) file that you wish to import (2)3) Select Open and the project is imported (3).

Technical Communications - North Andover Vijeo Designer

Module 7-28

Page 159: Vijeo Designer 4.6 Course Manual

The project must be closed firstSelect Export from the Vijeo Manager level (1)Browse for a destination (2)The project is exported (3)

Exporting a Project

21

3

Exporting is basically the opposite of the import process. The only trick is that the project must be closed before you can export it. Closing the project is also done at the Vijeo Manager level (1)

Vijeo Designer Technical Communications - North Andover

Module 7-29

Page 160: Vijeo Designer 4.6 Course Manual

Exercise 1Complete Exercise 7located at the rear of this manual

Technical Communications - North Andover Vijeo Designer

Module 7-30

Page 161: Vijeo Designer 4.6 Course Manual

Module 8Variables

Vijeo Designer Technical Communications - North Andover

Module 8-1

Page 162: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss the different types of variablesLearn how to create variablesCreate variables necessary for the exercise

Technical Communications - North Andover Vijeo Designer

Module 8-2

Page 163: Vijeo Designer 4.6 Course Manual

Variables are “tag” names for XBT memory locationsThere are both Internal and External variables

– Internal – inside the XBT only– External – connect to an external device (i.e., PLC)

A lot of configuration is done at the variable level– Assign to logging group– Input Limits– Alarm definition– Variable scaling– Variable persistence

Variable Introduction

Vijeo Designer Technical Communications - North Andover

Module 8-3

Page 164: Vijeo Designer 4.6 Course Manual

Creating Variables - ManuallyRight click on variables (1)Select “New Variable” (2) and select the data type from the displayed list (3)

Discrete- digital, ON/OFFInteger- numbers without decimals pointsFloat – real numbersString – text dataStructure - Structures store multiple values of different data types

Not the same as Concept Structured Variables

Block Integer/Block Float – a block of external variables of type Integer or type float

Used by recipes

1

23

Integers –If Source = Internal, an integer variable can store whole numbers from –2147483648 to +2147483647, without any decimal places.If Source = PLC, the available data range depends on the IOSetting properties: DataFormat, Signed and DataLength. These settings are part of the variables configuration

Float - A float variable can store values from -3.4e38 through -1.4e-45 and +1.4e-45 through +3.4e38 to an accuracy of 7 decimal places.String - You can set the size of the string variable using the NumOfBytes property on the variable (up to 100 bytes).Structure - The user adds the desired variable types to the structure. Appears as a folder in the list of variablesBlock Variables - a block of consecutive, external variables (details later)

Technical Communications - North Andover Vijeo Designer

Module 8-4

Page 165: Vijeo Designer 4.6 Course Manual

Variable Properties - AddressSelect the variable (1)Set source to PLC (2)Set the DeviceAddressModicon uses an offset (3)

IEC style addressing is also possible (4)6 digit addresses are changed to 5 digit addresses

1

2 34

Even though the DeviceAddress field shows a 5-digit address, it will work with 6-digit systemsIf you type the address in directly, you don’t have to use the offsetIf your system uses IEC addressing, you must first activate it at the “Equipment level”

When using Modicon based equipment, use 1 based addressing. This allows for registers that start with address “1”

Vijeo Designer Technical Communications - North Andover

Module 8-5

Page 166: Vijeo Designer 4.6 Course Manual

Uses a start address and an “offset pointer”40001 is the start address and the value in the variable named in the indirect address field (myoffsetvar) is the offsetWorks the same way with IEC addressing

Variable Properties – Indirect Address

Technical Communications - North Andover Vijeo Designer

Module 8-6

Page 167: Vijeo Designer 4.6 Course Manual

Select:– BIN – binary– BCD – binary coded decimal

Signed or unsigned data

Variable Properties – Data Formats

If the source of the data is a plc, indicate if the data is in binary or BCD format, signed or unsigned.

Vijeo Designer Technical Communications - North Andover

Module 8-7

Page 168: Vijeo Designer 4.6 Course Manual

Controls logging of historical data (80 max) (1)Periodic or triggered loggingData sampling frequency (2) (3) DRAM, SRAM or SRAM & File– When SRAM reaches capacity, data sent to file

Number of file limits and file size limits

Logging Group

12

3

Logging groups control when data is logged, where it is logged and how long to keep historical data. You may create a maximum of 80 different logging groups. Once logging groups have been created, variables are assigned to a group and data logging is started

Historical data may be viewed with a historical trend chart or may be retrieved using the data manager

Technical Communications - North Andover Vijeo Designer

Module 8-8

Page 169: Vijeo Designer 4.6 Course Manual

Available for variable type Integer of FloatWhen enabled, sets up limits on operator input

Variable Properties – Data Details

Vijeo Designer Technical Communications - North Andover

Module 8-9

Page 170: Vijeo Designer 4.6 Course Manual

Defines how PLC data is converted between a “raw” PLC value and a scaled HMI displayed result Scaling from the HMI to the PLC is not possible this way

Variable Properties – DataScaling

Raw Min/Max = engineering range of variableScaled Min/Max - the displayed range by the HMI

Technical Communications - North Andover Vijeo Designer

Module 8-10

Page 171: Vijeo Designer 4.6 Course Manual

Blocks of consecutive, external variablesMax block size is 1024Block variables are available for use in Recipes and Scripts onlyVijeo will send values to a block of consecutive PLC addresses

Block Variables

1

2

Recipe operation:

Vijeo Designer Technical Communications - North Andover

Module 8-11

Page 172: Vijeo Designer 4.6 Course Manual

Structures act as folders that store multiple variables (1)

– Variables may be of mixed data types

Improves the management of variablesYou can add up to 200 variables to a structure. (2)You cannot create nested structures (structures inside a structure).

Variable Structures

2

1

Technical Communications - North Andover Vijeo Designer

Module 8-12

Page 173: Vijeo Designer 4.6 Course Manual

Special variables that provide information about the system that the user application runs on. System variables begin with the underscore character ( _ )._Day is a system variable that holds the current date of the target machine's system clockOther system variables provide status information on an application as it runs, such as _CurPanelID

– An integer variable that stores the panel ID of the currently displayed graphical panel.

The Name, Source, and DataType properties of system variables are read-only.

– Most system variables are read-only at runtime.When you add a target to the project, the target's system variables are added to the Variable List.You cannot delete system variables, change their names, or copy them.

System Variables

Some of the system variables are:

Vijeo Designer Technical Communications - North Andover

Module 8-13

Page 174: Vijeo Designer 4.6 Course Manual

Array = a collection of variables with the same data type and the same data source. Each variable in an array is called an element. The total number of elements in an array cannot exceed 2048Arrays are created by adding a number in the Array Dimension field (1)A five element array is created (2)Variables are named MyInteger[0] –MyInteger[4]

Variable Arrays

1

2

Technical Communications - North Andover Vijeo Designer

Module 8-14

Page 175: Vijeo Designer 4.6 Course Manual

In this example, one day is divided into 24 array elements, with each element representing an hour. At the end of each hour, the amount of product the manufacturer created in that hour is stored in the element. Using this array, the manufacturer can record how much product was created during each hour of the day over many days.Arrays like this example are highly useful because instead of making 24 individual variables to represent the hours of the day, you only need one array with 24 elements in it to represent the hours of the day.

Array Example

Vijeo Designer Technical Communications - North Andover

Module 8-15

Page 176: Vijeo Designer 4.6 Course Manual

Links variables and variable addresses directly to a PLC faxed fileSaves time, easily maintained

– May be updated if addresses changeRight click on the target & select link variablesBrowse for the PLC program files (1)For Concept – export the variables out of Concept as a .CCN file. Just change the extension from the default .TXT to .CNNFor Unity – use the .XVM format

– Vijeo Designer now supports Unity direct addresses (%Ixx, %Qxx)

– You create a variable in a scan group and link it to Q4.1.2

TwidoSoft is newClick the Open Button

Linking Variables

1

PLC variable names directly from PLC software to Vijeo Designer variables. Not every format listed in the dropdown works well. Generally, the links to exported text files work better then links to the PLC project (.PRJ or .STU)

Technical Communications - North Andover Vijeo Designer

Module 8-16

Page 177: Vijeo Designer 4.6 Course Manual

The Program file opensSelect the variables that you wish to import (1)Click on the Add button (2)The variables are added to the Vijeo Designer variable list, with their PLC addresses (3)

Linking Variables

1

2

3

Vijeo Designer Technical Communications - North Andover

Module 8-17

Page 178: Vijeo Designer 4.6 Course Manual

Select Update Link (1)Select the link to update (2). You can have multiple linksConfirm the updateAny new variables will be addedYou can also remove the link if you want

Updating the Link

1

1

Technical Communications - North Andover Vijeo Designer

Module 8-18

Page 179: Vijeo Designer 4.6 Course Manual

Exercise 1Complete Exercise 8located at the rear of this manual

Vijeo Designer Technical Communications - North Andover

Module 8-19

Page 180: Vijeo Designer 4.6 Course Manual

•This page intentionally left blank

Technical Communications - North Andover Vijeo Designer

Module 8-20

Page 181: Vijeo Designer 4.6 Course Manual

Module 9Animations, Clipart

Vijeo Designer Technical Communications - North Andover

Module 9-1

Page 182: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Add clipart from the clipart libraryAdd input and output fieldsCreate a bargraphAdd lamps Animate shapes to change color

Technical Communications - North Andover Vijeo Designer

Module 9-2

Page 183: Vijeo Designer 4.6 Course Manual

Vijeo has an extensive clipart libraryClick on the Toolchest icon (1)Select Image Library (2)Images are filed by categoryAvailable images appear (3)Drag image to your panelResize as needed

Clipart

1

23

Vijeo Designer Technical Communications - North Andover

Module 9-3

Page 184: Vijeo Designer 4.6 Course Manual

Click on icon to add to panel (1)Add the variable to be displayed (2)Select fonts and font attributes (3)

Input/Output Fields1

2

3

Technical Communications - North Andover Vijeo Designer

Module 9-4

Page 185: Vijeo Designer 4.6 Course Manual

Select (1) to input data to linked variableCreates R/W to linked variableLeave unchecked for numeric display (read only)

Input/Output Fields (Cont)

1

Vijeo Designer Technical Communications - North Andover

Module 9-5

Page 186: Vijeo Designer 4.6 Course Manual

You can build your own Input/Output field– Use the native tools when ever possible

Add text to the screen (1) you MUST use the ### characters– Number of characters does not matter

Build Your Own

1

2

The “###” character is a special character that allows you to animate it and substitute a variables value for the “###.”

Technical Communications - North Andover Vijeo Designer

Module 9-6

Page 187: Vijeo Designer 4.6 Course Manual

From the value tab:– Link to variable (1)– If input field, enable input

mode (2) & popup panel

Build Your Own (Cont)

1

2

Vijeo Designer Technical Communications - North Andover

Module 9-7

Page 188: Vijeo Designer 4.6 Course Manual

Bargraphs may be created in a couple of waysNative tools may be used (1) for either vertical or horizontal bar graphsLink variable (3)Engineering range (3)Select appearance (4)

Bargraphs1

2

3

4

A bargraph may be added to your project buy either selecting a bargraph from the native tools toolbar or you can build your own custom bargraph

Technical Communications - North Andover Vijeo Designer

Module 9-8

Page 189: Vijeo Designer 4.6 Course Manual

Select bar color (indicator) Add color change thresholds (1)Color resource may be used (2)

Bargraph - Color

1

2

Vijeo Designer Technical Communications - North Andover

Module 9-9

Page 190: Vijeo Designer 4.6 Course Manual

Select a tool that creates a closed shape (polygon or rectangle) (1)Draw the shape (2) (right click to end polygon) Double click on the object, go to fill tab (3)Link to variable, add any scaling requiredSet the background of the bar. Foreground will be color of drawn shapeBar can change colors at different points by configuring the color tab

Bargraphs - Custom 1

2

3

IF you want to create a custom bargraph, you can do so buy creating a closed shape then manually animating it

Technical Communications - North Andover Vijeo Designer

Module 9-10

Page 191: Vijeo Designer 4.6 Course Manual

Draw object (1)Double click and go to Color tabLink to variable (2)Mode - by state – uses color resource, changes at defined state

– If state 1 = 10 then you define the color to be used when the variable is = 10

Changing the Color of a Shape

1 2

3

Vijeo Designer Technical Communications - North Andover

Module 9-11

Page 192: Vijeo Designer 4.6 Course Manual

Color Resource(s) are created (1)Color Animation filter applied to Color Resource (2) Six states are defined (0-5) and colors, patterns pickedValues for each state are set

Color Resource for by State Mode

31

2

3

When you click on the Value List Button the value list for the number of defined states appears. You then set the exact variable value for each state. When the variable equals the value you set, the color indicated by the color resource is displayed

Technical Communications - North Andover Vijeo Designer

Module 9-12

Page 193: Vijeo Designer 4.6 Course Manual

Mode = Free Form (1)Integer – select the points at which the shape changes colorMore points can be added (Insert button)Can also be applied to bar graphs make bar change at certain points

Changing the Color of a Shape

1

Vijeo Designer Technical Communications - North Andover

Module 9-13

Page 194: Vijeo Designer 4.6 Course Manual

Select the native lamp (1)Add to panel and double clickLink to variable (2)Select primitive or Bitmap (3)

Lamps 1

2

3

Technical Communications - North Andover Vijeo Designer

Module 9-14

Page 195: Vijeo Designer 4.6 Course Manual

Color tab - use State button to test colors of buttonColors may be set locally or by defining a color resourceUse Label button to add text to button lens

Lamps

1

Vijeo Designer Technical Communications - North Andover

Module 9-15

Page 196: Vijeo Designer 4.6 Course Manual

Binary number generated by variables picks a color for the lampNumber of states picked controls how many variables and colors the lamp will change to (3 min,32 max)V2 and V2

– 0,0 COLOR FOR STATE ZERO IS PICKED– 0,1 COLOR FOR STATE ONE IS PICKED– 1, 0 COLOR FOR STATE TWO IS PICKED– 1,1 OUT OF RANGE COLOR IS PICKED

N-State Lamp - Bit

1

Technical Communications - North Andover Vijeo Designer

Module 9-16

Page 197: Vijeo Designer 4.6 Course Manual

N-State Lamp – Bit Color

Set colors and attributes for state from the color tabState 1 is shownColor resources may also be used

Vijeo Designer Technical Communications - North Andover

Module 9-17

Page 198: Vijeo Designer 4.6 Course Manual

Each bit of the linked variable is used to control the colors of the N-State lamp. You pick the number of bits that will be used by selecting the number of “States” the lamp will have (1).

Out of range – when a bit comes on greater then the specified range

If more than one bit is ON, the highest bit defines the state.

N-State Lamp – Word by Bit

3 – 32 States are possible, each state is controlled by a bit from the attached variableColors for each bit are picked from the Color tabIf a bit larger then the number of States picked is activated, Out or Range colors come on

1

2

Pick colors for each state

Define number of states, control type

Technical Communications - North Andover Vijeo Designer

Module 9-18

Page 199: Vijeo Designer 4.6 Course Manual

N-State Lamp – Word by Value

3-31 states possibleNumber in variable = active stateIf variable = 10, then state 10 colors are pickedIf the value of the variable is lower than 0 or greater than the highest defined state, the lamp will display the Out of Range state.

Vijeo Designer Technical Communications - North Andover

Module 9-19

Page 200: Vijeo Designer 4.6 Course Manual

Exercise 1Complete Exercise 9located at the rear of this manual

Technical Communications - North Andover Vijeo Designer

Module 9-20

Page 201: Vijeo Designer 4.6 Course Manual

Module 10Popup Panels, Meters & Motion

Vijeo Designer Technical Communications - North Andover

Module 10-1

Page 202: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Create a popup panelAdd & configure two analog meters Import a panel from another projectConfigure an object for motion animation

Technical Communications - North Andover Vijeo Designer

Module 10-2

Page 203: Vijeo Designer 4.6 Course Manual

A reduced size panel (1)Used to provide details about a part of the projectConfigures the same as a full size panelFiled in different location

Popup Panels

1

Vijeo Designer Technical Communications - North Andover

Module 10-3

Page 204: Vijeo Designer 4.6 Course Manual

From the Navigator, select New Popup Window as shown (1)Popup windows are composed of three components: Folders, groups, and panels. (2)When you create a project, a popup window folder is automatically generated. You can create multiple popup window groups and popup window panels in the folder.

Popup Panels

1 2

.

Technical Communications - North Andover Vijeo Designer

Module 10-4

Page 205: Vijeo Designer 4.6 Course Manual

Popup panel editor (1)Size is set in the Inspector with the Window selected(2)Panel properties may also be edited (3)Mode –

– Panel Only – used for one specific display only. Does not remain open if you change panels

– Persistent – If you change panels while the popup is open, it remains open

Popup Panels1

32

Lock out Base Panel - Select Enabled to deactivate the rest of the panel when a popup window displays. This feature provides security from accidental touches on the base panel. The rest of the panel is locked out until the popup window closes. If a system keypad is enabled for the popup window, the keypad will display on top of the popup window until you complete the input operation. Select Disabled to keep the rest of the screen active when a popup window displays in Runtime.

Vijeo Designer Technical Communications - North Andover

Module 10-5

Page 206: Vijeo Designer 4.6 Course Manual

Draw an invisible rectangle over the object (1)Select Touch Animation (2)

Opening a Popup – Touch Animation

12

Technical Communications - North Andover Vijeo Designer

Module 10-6

Page 207: Vijeo Designer 4.6 Course Manual

Select the Function field (1)Select Popup Panel (2)Configure Popup to open or close (3)Select Position information for popup (4)

Opening a Popup – Touch Animation

1

2

3

4

Vijeo Designer Technical Communications - North Andover

Module 10-7

Page 208: Vijeo Designer 4.6 Course Manual

Add a Native SwitchSelect an Invisible Switch (1) Select Popup for the Operation (2)Pick panel to open

– Close popup also possible

Positioning – offset from upper left corner

Popup Panels – Native Switch

1

2

Technical Communications - North Andover Vijeo Designer

Module 10-8

Page 209: Vijeo Designer 4.6 Course Manual

Select meter from toolbar (1)Set the degrees for the meter (2)Link the variable and set scaling (3)Set up the scaling (4)

Meters 1

23

4

Vijeo Designer Technical Communications - North Andover

Module 10-9

Page 210: Vijeo Designer 4.6 Course Manual

Select indicator type (1)Set indicator colors (2)

– Or use color resource

Set thresholds (3)

Meter - Color

1

3

2

Technical Communications - North Andover Vijeo Designer

Module 10-10

Page 211: Vijeo Designer 4.6 Course Manual

Configure the scale on the meter (1)Number of labels 5 vs 3 (2)

Meter – Label

1

2

Vijeo Designer Technical Communications - North Andover

Module 10-11

Page 212: Vijeo Designer 4.6 Course Manual

Numeric display (1) creates a digital output field below the needle

Meter – Numeric Display1

Technical Communications - North Andover Vijeo Designer

Module 10-12

Page 213: Vijeo Designer 4.6 Course Manual

Draw object or add object from the clipart library (1) Select the register that drives the animation Enter engineering range of variable (3)Enter the distance (in pixels) the object is to move (3)Object moves at runtime

Motion Animation

1 2

3

Images do not have the animation properties that drawn objects have. By grouping the image with a drawn box, you inherit the properties of the box.

The object moves the number of pixels you specify in the position range

Vijeo Designer Technical Communications - North Andover

Module 10-13

Page 214: Vijeo Designer 4.6 Course Manual

Exercise 1Complete Exercise 10located at the rear of this manual

Technical Communications - North Andover Vijeo Designer

Module 10-14

Page 215: Vijeo Designer 4.6 Course Manual

Module 11Trending

Vijeo Designer Technical Communications - North Andover

Module 11-1

Page 216: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss real time trendingDiscuss historical trendingCreate a panel with real time and historical trending

Technical Communications - North Andover Vijeo Designer

Module 11-2

Page 217: Vijeo Designer 4.6 Course Manual

Two types – Realtime (1)– Historical (2)

Trend graphs take data samples from defined variables and plot them on a time graphEach variable plotted is called a “channel”A maximum of 8 channels are allowed on a Trend GraphData may be displayed as a line or filled (shaded below trace)Trend Graphs are highly configurableHistorical records may be saved in a file on CF

Trending Introduction1

2

Vijeo Designer Technical Communications - North Andover

Module 11-3

Page 218: Vijeo Designer 4.6 Course Manual

Data collection for trend charts is controlled by Data Logging Groups– Created at project level (1)– Variables are attached to logging groups

Two types– Periodic – collected on a time interval (3)– Triggered – snapshot of data when triggered (3)

80 different Logging groups max per target– Max recommended number of logged variables is 80 for XBTG and GT1000, GT2000 and up = 100

Logging Group Settings - Sample

1

3

Technical Communications - North Andover Vijeo Designer

Module 11-4

Page 219: Vijeo Designer 4.6 Course Manual

Setup the properties of the logging group (1)

– Interval, units

Name - Name of current logging groupType - Periodic – time basedUnits – Units for the digits created by the slider

Periodic Logging Group

1

Vijeo Designer Technical Communications - North Andover

Module 11-5

Page 220: Vijeo Designer 4.6 Course Manual

Configure the triggering for the logging groupTrigger Type (1)

– When true, when false, on data change (2)

Trigger variable – variable linked to trigger event

Triggered Logging Group

1

2

Technical Communications - North Andover Vijeo Designer

Module 11-6

Page 221: Vijeo Designer 4.6 Course Manual

Configuration details on historical data collectionType

– DRAM – only the most recent data– SRAM – saves a specified number of data records– SRAM & file – after SRAM limit is reached, data sent to

file

Records in Ram - ## of records stored in Ram– DRAM – 10 to 1000 records– SRAM – 10 – 300 records

File Limit – how much data to be storedRam Usage/File Size(1) – calculates the memory usage for your configurationUnits –

– Periodic – controls how often data is recorded– Triggered – used in calculating storage requirements

Logging Group – Variable Settings

1

Vijeo Designer Technical Communications - North Andover

Module 11-7

Page 222: Vijeo Designer 4.6 Course Manual

Number of Records in RAM - Historical Data is stored in a buffer until the number of records you configured in your data logging group is reached (1)Data is transferred when the buffer reaches the limit you have configured

– Data is transferred to SRAM or SRAM & CF

The Buffer

1

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data

Data Logging GroupRAM Buffer

Data

LoggingInterval

CF

The data collection buffer is configurable. When the buffer becomes full, variable records are moved from the buffer to storage, so new variable records can be added to the buffer.

If data does not change often, then historical data may get stuck in the buffer. To make the data available for data-processing, it should then be flushed to permanent storage.You may want to run flushToStorage (script method):

At defined intervals (Application Script: Periodic)When you change panels (Panel Script: On Close)When you exit the Vijeo-Designer Runtime user application (Application Script: on Shutdown)

Technical Communications - North Andover Vijeo Designer

Module 11-8

Page 223: Vijeo Designer 4.6 Course Manual

Realtime is a native control (1)Need CF card for trend graphsProgrammable directionNumber of samples

– Frequency set in logging group

Scaling for chart (range)DataAxis LabelingChart may also look as (2)

Realtime Trend Charts1

2

All trend graphs require the XBTG/GT to have a CF card. The system automatically activates the “Keep History” attribute of any variables configured in the chart.

The scroll rate of the graph is controlled by the sample rate set in the logging group

A trend graph can display variables associated with different logging groups.

When displaying several variables with different Logging Interval settings in the same trend graph, the trend graph will always display the data using the shortest logging interval.

Vijeo Designer Technical Communications - North Andover

Module 11-9

Page 224: Vijeo Designer 4.6 Course Manual

Attributes for Axis scalesGraph grid linesChannel configuration

– Channel color– Line style– Line width – Background color

Disable unused channels

Realtime Trend Graphs

Technical Communications - North Andover Vijeo Designer

Module 11-10

Page 225: Vijeo Designer 4.6 Course Manual

Historical Trend Graphs – added from the ToolChest (1)

– 3 different versions but configure the same

Max of eight channels are possibleSelect graph and drag to panel (2)The Trend3D may be too large for the smallest targets

Historical Trend Graph

1

2

Vijeo Designer Technical Communications - North Andover

Module 11-11

Page 226: Vijeo Designer 4.6 Course Manual

General configuration information is shown on the top of the inspector (1)Min/Max scaling for chart (2)

– Pens must fall within this range

When you specify the number of channels, the config screen changes to allow you to configure each new channel that you specify

– One channel was specified so only one channel is shown as being available

Channel attributes are also set

Historical Trend Configuration

1

2

Technical Communications - North Andover Vijeo Designer

Module 11-12

Page 227: Vijeo Designer 4.6 Course Manual

Running 3D Trend Chart

Historical Trend Charts

Historical data is retrieved by clicking on the provided calendar and selecting the date and time you wish to view. The system retrieves the historical data from the CF card and displays it

Vijeo Designer Technical Communications - North Andover

Module 11-13

Page 228: Vijeo Designer 4.6 Course Manual

Complete Exercise 11located at the rear of this manual

Technical Communications - North Andover Vijeo Designer

Module 11-14

Page 229: Vijeo Designer 4.6 Course Manual

Module 12Alarms

Vijeo Designer Technical Communications - North Andover

Module 12-1

Page 230: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Learn how to configure alarmsCreate Alarm GroupsConfigure an Alarm ViewerLearn how to configure a local alarm bannerLearn how to configure a global alarm banner

Technical Communications - North Andover Vijeo Designer

Module 12-2

Page 231: Vijeo Designer 4.6 Course Manual

To display an alarm message you must:– Configure alarms on the variable(s), create alarm groups, configure the

alarm summaryAlarm configuration is part of the variable’s definition

– Alarm type and conditions are set at the variable levelAlarm groups are a way of organizing alarms & serring up common attributes

– By machine, process, severity …. It’s up to youThe Alarm Summary control simply displays the alarm informationAlarm Summary operates in either an active or historical modesThere are three alarm states

– Active - appear when variable data enters the alarm range– Acknowledged – active alarms that have been confirmed by the user– Returned to normal – the variable has exited the alarm range

Alarm Banners are possible

Alarming Introduction

Vijeo Designer Technical Communications - North Andover

Module 12-3

Page 232: Vijeo Designer 4.6 Course Manual

Alarm groups are created from the Navigator (1)Double click on the Alarm group to configure

Creating Alarm Groups - General

1

2

Alarm Group Name - The alarm group's name. Whenever an alarm group is created, a default name is generated. When renaming an alarm group, its name must be unique within the target, must contain no more than 32 valid characters, and must follow the naming conventions.Output – Save to File - To output an alarm message to a .csv file, enable the Save to File checkbox and click the Configure button to display the Save to File dialog box. Output – Batch Printing - To print alarm messages, enable the Batch Printing checkbox and click the Configure button to display the Batch Printing dialog box Number of Alarms – History – Use this field to set the maximum number of alarm messages displayed at one time in the History Alarm Summary attached to this group.Number of Alarms – Log - Use this field to set the maximum number of alarm messages displayed in the Log Alarm Summary attached to this groupTouch Action - Actions to occur when Alarm Summary is touchedNumber of Alarms – Displays the number of alarms for this alarm groupAlarm Behavior – Indicate if an alarm requires acknowledgement

Technical Communications - North Andover Vijeo Designer

Module 12-4

Page 233: Vijeo Designer 4.6 Course Manual

Variables may be designated to hold the current count of various alarm information

– See below for details

Creating Alarm Groups - Counters

Vijeo Designer Technical Communications - North Andover

Module 12-5

Page 234: Vijeo Designer 4.6 Course Manual

Create your own messages for alarm states headers (1)HiHi = substitute your text (HOT)

– Appears as (3)– 32 characters max

Variable min/max values (2) from variable configuration

Creating Alarm Groups - Messages

1

23

Technical Communications - North Andover Vijeo Designer

Module 12-6

Page 235: Vijeo Designer 4.6 Course Manual

Control Variable - an integer variable that controls when to output alarms to a file, and in what formatStatus Variable - an integer variable to give you the status of the file output operationError Variable – an integer variable that store an error codeFile Name - Specify an integer or float variable and specify a value between 0 and 999999 as the number used for the .csv file name. File name will be AAxxx, AHxxx, ALxxx (active, history, log type alarms

– By Date - D + date format selected + 1 numerical digit + .csv

Save to - Select the saved files destination folder from the Save To list. Using the name defined in the Save To field, creates a folder to the CF card's:

public/bin/projects/TargetName/Data/Alarm

Alarms - Save to File

Vijeo Designer Technical Communications - North Andover

Module 12-7

Page 236: Vijeo Designer 4.6 Course Manual

Alarm Categories – Used to display multiple Alarm Groups in a single Alarm summaryAdd the Alarm Groups to the Alarm Category (2)Filter button (3) allows you to sort the Alarm Group(s) to be displayed Display Groups individually or combined (Category)

Alarms Categories

1

2

3

Technical Communications - North Andover Vijeo Designer

Module 12-8

Page 237: Vijeo Designer 4.6 Course Manual

Controls the columns/information saved in the .CSV file.Default columns are shownAdd additional information from the leftRemove information by selecting and deleting

Alarms - Save to File - Format

Vijeo Designer Technical Communications - North Andover

Module 12-9

Page 238: Vijeo Designer 4.6 Course Manual

Alarm printing can be done in real-time or in batches. Batch enabled in Inspector (1)Control Variable (2) is used to output alarm messages to the printerTitle is built using select buttons and format specifiers (see notes) (3)Add the Columns you wish to print using the Add and Delete buttons. (4)

Batch Printing – Control & Format1

2

3

4

Format specifiers control the title appearance

Technical Communications - North Andover Vijeo Designer

Module 12-10

Page 239: Vijeo Designer 4.6 Course Manual

Batch printing prints alarm messages when signaled by the Print Control Variable. Batch printing can print alarm messages in the Active, Log, or History format. To set up Batch printing

Triggering Batch Alarm Printing

Batch PrintingThe maximum number of alarms you can print using Batch printing is defined in the Property Inspector for the Alarm Group (Num of History Alarms property and Num of Log Alarms property).

- When there are more alarms than the set maximum, the target machine removes the oldest alarms to make room for the newest alarm information.

- When printing an alarm category with multiple alarm groups, do not use the same variable for the Print Control Variable, the Status Variable, and the Error Variable. - If you set up the same variables, the Alarm Category and the Alarm Groups will print out duplicate copies.

- Alarm groups or alarm categories using the same Print Control Variables, the Status Variables, and the Error Variables, print in their creation order. For example, alarmgroup1 was created before alarmcategory2, so alarmgroup1 will print first.

Vijeo Designer Technical Communications - North Andover

Module 12-11

Page 240: Vijeo Designer 4.6 Course Manual

Enabled from the Inspector when the Alarms is selected

Select your printing options

Real-time Alarm Printing

You can print alarm messages either as they occur in Real-Time or in Batches. Real-Time printing prints an alarm message each time the alarm state changes between active, acknowledge (ACK), and return to normal (RTN). Batch Printing prints all alarm messages at one time.

Technical Communications - North Andover Vijeo Designer

Module 12-12

Page 241: Vijeo Designer 4.6 Course Manual

Real-Time printing prints in Log format and prints alarm message for each alarm state: Active, acknowledge (ACK), and returned to normal (RTN).

Printing Alarms – Real-time

You can print alarm messages either as they occur in Real-Time or in Batches. Real-Time printing prints an alarm message each time the alarm state changes between active, acknowledge (ACK), and return to normal (RTN). Batch Printing prints all alarm messages at one time.

Vijeo Designer Technical Communications - North Andover

Module 12-13

Page 242: Vijeo Designer 4.6 Course Manual

Alarm Trigger Conditions

Limit Alarms – activated when the variable value extends beyond a defined point that indicates a cautionary limit. Two limits can be set for values at either end of the normal value range.

Deviation Alarms (%) - activated when the variable value deviates from the specified target value. One or two measurements of deviation (defined as a percentage) can be set for the target value

– Minor deviation activates a warning alarm– Major deviation activates a critical alarm

Deviation Alarms (Fixed) - activated when the variable value deviates from the specified target value. One or two measurements of deviation (defined as a constant value) can be set for the target value

– Minor deviation activates a warning alarm– Major deviation activates a critical alarm

Example Limit AlarmHi=100, Deadband=10. When the variable value exceeds 100, a Hi alarm is triggered, and a Deadband is implemented. The alarm remains active while the value hovers between 100 and 90, and will not deactivate until the value falls below 90 (Hi - Deadband).

Technical Communications - North Andover Vijeo Designer

Module 12-14

Page 243: Vijeo Designer 4.6 Course Manual

Alarm Message – text message displayedAlarm TypeDeadbandTouch Action or Trigger Action – specify actions to take place when alarm occursSeverity – a way of sorting alarmsSound – Plays sound file. Configured at the Project level, under Data Files

Alarm Variables - Numeric

OR

Vijeo Designer Technical Communications - North Andover

Module 12-15

Page 244: Vijeo Designer 4.6 Course Manual

Alarm Message – text message displayedTrigger Condition – triggers alarm

– High or LowAlarm Group – Assigns this alarm to a groupTouch Action or Trigger Action –specify actions to take place when alarm occursSeverity – Higher Severity alarms are displayed firstSound – Plays sound file. Configured at the Project level, under Data Files

Variables - Boolean

You can specify the following operations for alarm actions.

Technical Communications - North Andover Vijeo Designer

Module 12-16

Page 245: Vijeo Designer 4.6 Course Manual

Select from native parts (1), add to panel

Adding an Alarm Summary

1

Vijeo Designer Technical Communications - North Andover

Module 12-17

Page 246: Vijeo Designer 4.6 Course Manual

General Tab - defines display and operation attributes for the alarm summary

The Alarm Viewer - General

Name – The alarm summary's name. 32 characters maxDescription – Type in a description of the alarm summary up to 255 characters long.Alarm Group – use drop-down list box to assign either an alarm group or an alarm category to the alarm summary Display mode – You can select from Active, History, or Log. Log = new line for each alarm stateSort by - you can display alarm messages in the chronological order (Time) or in the order of priority (Severity). Scroll Direction - Select either Up or Down for the scroll direction Cursor in Action - If TouchAction is selected from the drop-down list box and an alarm is highlighted in the alarm summary, its Touch Action is executed. The default selection is None.Enable Touch Action - When enabled, you can run the touch actions associated with the variable alarm when an alarm is selected. Auto Cursor – For active state alarms, when selected, the cursor moves to newly activated alarm messages in the alarm summary Direct Selection - When selected, you can select alarms in the alarm summary by touching them

Technical Communications - North Andover Vijeo Designer

Module 12-18

Page 247: Vijeo Designer 4.6 Course Manual

Set Alarm Viewer font and Color Attributes for displayed messagesColor by severity is possible

The Alarm Viewer - Messages

Vijeo Designer Technical Communications - North Andover

Module 12-19

Page 248: Vijeo Designer 4.6 Course Manual

Pick column information to be displayed in the viewer

The Alarm Viewer – Column Display

Technical Communications - North Andover Vijeo Designer

Module 12-20

Page 249: Vijeo Designer 4.6 Course Manual

Select buttons and button location to be added to viewer

The Alarm Viewer - Buttons

Vijeo Designer Technical Communications - North Andover

Module 12-21

Page 250: Vijeo Designer 4.6 Course Manual

Alarm Banner is a line of scrolling text that becomes visible when there is an active alarmTwo types of Alarm Banner – Local and GlobalLocal – Only on panel you add it to

– You can position it anywhere on the panel– Part of the toolchest (diagnostics)

Global – Appears on all panels– Top, middle bottom position only– Added at project level

Alarm Banner Introduction

1

Technical Communications - North Andover Vijeo Designer

Module 12-22

Page 251: Vijeo Designer 4.6 Course Manual

Add from toolchest (1) in Diagnostic folderLink to Alarm Group (2)Configuration Screen

– Attributes, display method (below)

Local Alarm Banner

1

2

Vijeo Designer Technical Communications - North Andover

Module 12-23

Page 252: Vijeo Designer 4.6 Course Manual

Right click on target (1)Configuration from Inspector (2) when project is selectedPosition top, Middle, Bottom

Global Alarm Banner

1

2

You can only set one global banner display for each project.You cannot set up the display location for the global banner display. Choose from top, middle, and bottom.The global banner display changes the height automatically according to the font size. However, the width cannot change, because it is the same size as the panel width.For banner messages, you cannot use the Touch Action and Severity settings.If the Global Alarm Banner and the Active Event Viewer display at the same time, the Global Alarm Banner is appended to the bottom of the Active Event Viewer.

Technical Communications - North Andover Vijeo Designer

Module 12-24

Page 253: Vijeo Designer 4.6 Course Manual

Exercise 1Complete Exercise 12located at the rear of this manual

Vijeo Designer Technical Communications - North Andover

Module 12-25

Page 254: Vijeo Designer 4.6 Course Manual

•This page intentionally left blank

Technical Communications - North Andover Vijeo Designer

Module 12-26

Page 255: Vijeo Designer 4.6 Course Manual

Module13Scripting

Vijeo Designer Technical Communications - North Andover

Module 13-1

Page 256: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss Vijeo Designers Script featureLearn basic rules associated with scriptingSee some basic script examples

Technical Communications - North Andover Vijeo Designer

Module 13-2

Page 257: Vijeo Designer 4.6 Course Manual

Script Introduction

Scripts are coded instructions that tell your target how to react to real-time events

– A touch, a panel change, a change in value

The Vijeo-Designer scripting language is based on Java™. – As a result, you cannot use Java keywords as object or script names

Scripts are used when you cannot accomplish your objective with built-in tools

Vijeo Designer Technical Communications - North Andover

Module 13-3

Page 258: Vijeo Designer 4.6 Course Manual

There are four types of scripts:– Project Actions (Scripts) – can run anytime (formally Application

Scripts)• Periodic, scheduled, conditional, or event

– Panel Scripts – can only run when the associated panel is open• Periodic, conditional or event

– Touch Animation Scripts – only run when the associated touch animated object is pressed\

• When touch, while touch, when release– Alarm Action Scripts – run once when an alarm is triggered or when

an alarm message is selected in an Alarm summary• Hi, HiHi = 2 triggers

Scope – each different type of script has a different level of scope– Panel and Touch – only works with objects in the current panel– Alarm Actions – works with objects in current panel (except alarm

summary objects)– Actions – event based or run on a time interval, a schedule or based

on defined events

Script Introduction

Technical Communications - North Andover Vijeo Designer

Module 13-4

Page 259: Vijeo Designer 4.6 Course Manual

Descriptions - slashes ( // ) are supported for commentsOperators - these are some of the Java operators that are available: arithmetic, comparison, conditional and logical, bitwise, and assignment.Flow Control - these flow control keywords are supported:

– if-else, – do-while, – while, for, – switch-case-default, – break, – Return

Semi-colons mark the end of statements (1)Enclose expressions in parentheses (2):

IntVar.write(itemp);if (a==100) { }

Script Basics

1

2

Vijeo Designer Technical Communications - North Andover

Module 13-5

Page 260: Vijeo Designer 4.6 Course Manual

Case Sensitive - Vijeo-Designer variable names, method calls, keywords, are case sensitive.

– Var1 is not the same as var1.

Initialization of Variables - Local script variables must be initialized before they're used in the script, especially when used in a comparison. Even if the variable is assumed to be 0, it must be assigned a 0 value before it can be used, otherwise building of the user application may fail. For example:– integer a, b=0; // a is not initialized– if ( a==0 ) // cannot compile– if ( b==0 ) // build successful because b was initialized

Decimal Values - Floating point values are expressed with a 0 to the left of the decimal point.

– For example: .234 (invalid), 0.234 (correct)

Variables

Variables created in Vijeo-Designer cannot be used directly in script expressions. To use a Vijeo-Designer variable in a script, use the variable's get value method and assign the result to a local script variable. You can then use the script variable in script control statements, mathematical operations, and other script

Technical Communications - North Andover Vijeo Designer

Module 13-6

Page 261: Vijeo Designer 4.6 Course Manual

Variables are referenced as follows:int itemp;itemp = IntVar.getIntValue(); // get variable IntVar’s value, assign to itemp

// **************************int itemp;itemp = 123;IntVar.write(itemp); // assign value of itemp to Vijeo-Designer variable IntVar

// ************************XXX.write(itemp + 500); // a direct write to variable XXX

Variable Read/Write Methods

1

2

You must define a variable before you assign a value to it (1)Also outside variables MUST be copied to local variables

End of statement is marked by the semicolon Other Methods are getFloatValue(), getStringValue()Write method is the same for all data types (2)

Vijeo Designer Technical Communications - North Andover

Module 13-7

Page 262: Vijeo Designer 4.6 Course Manual

Scripting Examples

Shortcut

Technical Communications - North Andover Vijeo Designer

Module 13-8

Page 263: Vijeo Designer 4.6 Course Manual

Right click on Actions (1)Elect the type of trigger for the action (2)

Creating an Action Script

1

2

Vijeo Designer Technical Communications - North Andover

Module 13-9

Page 264: Vijeo Designer 4.6 Course Manual

Elect Script as the action (1)Create the scriptFinished Action

Creating an Action Script

1

2

Technical Communications - North Andover Vijeo Designer

Module 13-10

Page 265: Vijeo Designer 4.6 Course Manual

All scripts share the same editorUSE RIGHT CLICK OPTIONS to generate script as much as possibleAlways Validate (2)

Script Editor - Introduction

1

2

Vijeo Designer Technical Communications - North Andover

Module 13-11

Page 266: Vijeo Designer 4.6 Course Manual

Access to a Panel Level Script (1)Access to an Object Level Script (2)

Script Editor – Lower Scope Objects

2

1

Technical Communications - North Andover Vijeo Designer

Module 13-12

Page 267: Vijeo Designer 4.6 Course Manual

Right Click – to use the Insert tool to add Variables, Methods, or Operators (1)

– After variable is selected, available Methods for variables appear (2)

Insures correct syntax, eliminates typing errors

The Insert Tool

21

Vijeo Designer Technical Communications - North Andover

Module 13-13

Page 268: Vijeo Designer 4.6 Course Manual

Validate often!Right click on the script and select Validate (1)Correct any scripting errors before leaving script editorHelp screens have much more information as well as scripting examples

Always Validate

1

Technical Communications - North Andover Vijeo Designer

Module 13-14

Page 269: Vijeo Designer 4.6 Course Manual

Exercise 1Complete Exercise 13located at the rear of this manual

Vijeo Designer Technical Communications - North Andover

Module 13-15

Page 270: Vijeo Designer 4.6 Course Manual

•This page intentionally left blank

Technical Communications - North Andover Vijeo Designer

Module 13-16

Page 271: Vijeo Designer 4.6 Course Manual

Module 14Security

Vijeo Designer Technical Communications - North Andover

Module 14-1

Page 272: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss security options in Vijeo Designer

– Security groups– User creation– Areas protected by this method– Discuss panel access security – Discuss control access security – Discuss how to logout a user after a period of time has expired

Technical Communications - North Andover Vijeo Designer

Module 14-2

Page 273: Vijeo Designer 4.6 Course Manual

Vijeo Designer has several security possibilitiesSecurity groups and users

– Different permissions for different users– Timed inactivity logout

Controls upload/download permissions– Controls Data Manager permissions– Controls Webgate permissions– Security for controls

Control navigation to secure panels Control access to secure controlsCreation of secure controls

– Built in feature

Recipe security is provided for (separate topic)– Recipe security is covered in the recipe module

Security Introduction

Vijeo Designer Technical Communications - North Andover

Module 14-3

Page 274: Vijeo Designer 4.6 Course Manual

Project Security

Done at the project level (1)– e.g., project is selected

You can protect your project so that unauthorized user cannot:

– Open the project– Overwrite the project

Password hint – to help you remember your passwordAfter you download a project with a password, the password is in effect

1

1

You can protect the Vijeo Designer editor in order to limit access to your projects and prevent a project from being opened or overwritten by an unauthorized user.

Such protection can be defined when creating the project or via the project properties.

You can also enter a password prompt to remind you of your project password

Technical Communications - North Andover Vijeo Designer

Module 14-4

Page 275: Vijeo Designer 4.6 Course Manual

Target Security

Unprotected or secureWith Security selected in Navigator (1)Window (2) appears in InspectorSelect unsecured or Use Security

– Inactivity logout – timed logout• Unsecured panel – unsecured panel

displayed when timeout occurs when on a unsecure panel

• Secured panel – same but when on a secured panel

Secured Object Behavior – How secured objects appear

1

2

You can add security to your target machines so that only authorized users can download projects to target machines and access data on target machines. You can create up to 100 users in a maximum of 20 security groups.

Permissions are set at the security group, user login level

Vijeo Designer Technical Communications - North Andover

Module 14-5

Page 276: Vijeo Designer 4.6 Course Manual

Other Security

Download Security - stops unauthorized users from downloading projects to secured targets. Enable first, then create security groups with download optionData Manager Security - Prevents an unauthorized user from using the Command Line or the Data Manager to transfer run-time data to and from the target machine Web Gate Connection Security - Prevents an unauthorized user from using Web Gate to access a target machine

You can add security to your target machines so that only authorized users can download projects to target machines and access data on target machines. You can create up to 100 users in a maximum of 20 security groups.

Permissions are set at the security group, user login level

Technical Communications - North Andover Vijeo Designer

Module 14-6

Page 277: Vijeo Designer 4.6 Course Manual

Create Group (1)Set Group permissions (2)20 different groups are allowedControls:

– Download to target– Data Manager permissions– Web Gate permissions

Security Level – 1 to 65535– Next slide for details

Security Groups

2

1

A security group is a collection of security users. Each user is configured with the security settings that are defined in the user's security group. For example, if SecurityGroup01 has Web Gate access then each security user in SecurityGroup01 will have Web Gate access.

Each target supports a maximum of 20 security groups. Each security group supports a maximum of 100 users in it

Vijeo Designer Technical Communications - North Andover

Module 14-7

Page 278: Vijeo Designer 4.6 Course Manual

Switches, panels, and popup windows can be assigned a security level so only authorized security groups can access them ClickTwo types of security Levels –Minimum & BitmaskLevel Based - security group must have a security level that is equal to or greater than the security level assigned objectBitmask (1) - performs a bitwise AND operation with the binary value of the security group's security level and the binary value of the secured object's security level. If result it “True” then access is granted

– Object has security setting of 2 (010)– Admin = 7, Operator = 2– Anded results shown (2)– Both the Administrator & Operator have access– Maintenance does not

Security Levels

Bitmask

1

2

Technical Communications - North Andover Vijeo Designer

Module 14-8

Page 279: Vijeo Designer 4.6 Course Manual

Create USER under Security (1)100 different users are possibleAssign user name and password (2)Assign user to a group (2)

Creating Users

2

1

Vijeo Designer Technical Communications - North Andover

Module 14-9

Page 280: Vijeo Designer 4.6 Course Manual

With Security selected:– Security level – level based or bitmask (1)– Inactivity – enter timeout for login

• Specify panel to go to when logoutSecured object behavior

– Can go to specified panel if unauthorized user tries to access something

– Object display options (2)

Target Operation

1

2

Technical Communications - North Andover Vijeo Designer

Module 14-10

Page 281: Vijeo Designer 4.6 Course Manual

Select Security from the toolbox (1)Drag Login to the panelAt runtime, login tool allows you to enter the user name and password (3)System Login – (4) like a popup

User Login

1

3

2

3

Vijeo Designer Technical Communications - North Andover

Module 14-11

Page 282: Vijeo Designer 4.6 Course Manual

Allows you to create users and passwords at runtimeUsers are assigned to a Group too

User Manager

Technical Communications - North Andover Vijeo Designer

Module 14-12

Page 283: Vijeo Designer 4.6 Course Manual

Security can be added to any type of switch (1)New – security is supported by any native part

Switch Security

1

Vijeo Designer Technical Communications - North Andover

Module 14-13

Page 284: Vijeo Designer 4.6 Course Manual

Exercise 1Complete Exercise 14located at the rear of this manual

Technical Communications - North Andover Vijeo Designer

Module 14-14

Page 285: Vijeo Designer 4.6 Course Manual

Module 15Recipes

Vijeo Designer Technical Communciations - North Andover

Module 15-1

Page 286: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss the Recipe featureSetup recipe variablesCreate recipe groupAdd a Recipe ManagerAdd recipe security

Technical Communciations - North Andover Vijeo Designer

Module 15-2

Page 287: Vijeo Designer 4.6 Course Manual

Introduction to Vijeo Recipes

Recipes can:– Write values of one recipe from

the target machine to your equipment the PLC

Store

Send

Create

Recipe is a feature that allows you to work with specified recipe values of multiple device addresses at the same time. By creating a simple user interface, you can maintain a consistent production process just by defining the production parameters. Now, when the workflow changes or needs changing, the operator will no longer have to go through a complex process. With recipe, you can:Write values of one recipe (with the Send operation) from the target machine to your equipment.

Vijeo Designer Technical Communciations - North Andover

Module 15-3

Page 288: Vijeo Designer 4.6 Course Manual

Read values of a recipe from the PLC to the XBTG

Snapshot Feature

Upload

Modify

File

Values from the PLC can be uploaded into the XBTG via a process called “snapshot.”You can then upload and backup these values in the Editor to make the values permanent.

Technical Communciations - North Andover Vijeo Designer

Module 15-4

Page 289: Vijeo Designer 4.6 Course Manual

Select a different recipe and use the Send operation to send and overwrite the recipe values currently in your equipment.

Send a different Recipe

Multiple recipes are possible.

Vijeo Designer Technical Communciations - North Andover

Module 15-5

Page 290: Vijeo Designer 4.6 Course Manual

Ingredient – individual elements in a recipe– An ingredient comprises a language specific label, the associated variable, and a

minimum/maximum value. Each recipe usually uses several ingredients.Recipe – a collection of variables and values

– flour, water, yeast, olive oil, and salt make pizza crust– Different amounts of each make different types of crust– Each different combination is a different recipe

Recipe Group – a collection of recipes. – Each recipe group has a unique ID number (ranging from 1 to 65535) and a name – Users are assigned an access level that specifies whether they can or cannot view and edit

the recipe group– You can create a maximum of 32 recipe groups per target.

Recipe Controls – a set of control variables used with recipe groups– Recipe Group Number Variable– Recipe Number Variable– Operation Trigger Variable– Operations Lock Variable– Status Variable– Error Variable– Access Right Variable

Recipe Terms

Ingredient – individual elements in a recipe. An ingredient comprises a language specific label, the associated variable, and a minimum/maximum value. Each recipe usually uses several ingredients.Recipe – a collection of variables and values. For example, Great Pizza Works has a Dough recipe group with this list of ingredients: flour, water, yeast, olive oil, and salt. The recipe would specify values for each ingredient. Then, using those ingredients, you can make recipes for thin crust dough, thick crust dough, or pan crust dough. You can create a maximum of 64 recipes in each recipe group.Recipe Group – a collection of recipes. Each recipe group is uniquely identified with an ID number (ranging from 1 to 65535) and given a name that describes the recipe group. Users are assigned an access level that specifies whether they can or cannot view and edit the recipe group. You can create a maximum of 32 recipe groups per target.Recipe Controls – a set of control variables used with recipe groups. A Recipe Control includes the Recipe Group Number Variable, Recipe Number Variable, Operation Trigger Variable, Operations Lock Variable, Status Variable, Error Variable, and Access Right Variable. For more information, see Section 17.3.5, Setting Up Recipe Controls.

Technical Communciations - North Andover Vijeo Designer

Module 15-6

Page 291: Vijeo Designer 4.6 Course Manual

Recipe Groups contain recipes,Recipes contain ingredientsIngredients are linked to variables

Relationship of Parts

Recipe GroupRecipe Group can be best understood using the pizza example. Great Pizza Works creates and controls three different recipe groups: Dough, Sauce, and Toppings. Each recipe group contains similar recipes. In this case, the Sauce recipe group contains a Spicy sauce recipe, a Medium sauce recipe, and a Mild sauce recipe (recipe numbers 1, 2, and 3). All recipes in a recipe group use the same ingredients.

RecipeThe recipes in each recipe group contain the same ingredients, which vary from recipe to recipe. In the Sauce recipe group, the Spicy, Medium, and Mild recipes contain the same ingredients—crushed tomatoes, olive oil, and chili powder—but the chili powder ingredient is not actually used in the Mild recipe. In the Editor, you can set up the recipes, recipe ingredient values, and other values associated with each ingredient.

Vijeo Designer Technical Communciations - North Andover

Module 15-7

Page 292: Vijeo Designer 4.6 Course Manual

Recipe Control variables (1) - Run recipe operations such as selecting recipes and sending recipe values. Also store error and status values that result from recipe operations

Ingredient variables (2): Represent ingredients in a recipe. Each ingredient variable stores the value for its associated ingredient

– Created by the system when you configure a recipe

Recipe Variables (System)

2

1

There are two types of Recipe structures (Recipe Group and Recipe Control). Each counts as a variable towards the Target's maximum of 8000 variables.

When you add a variable to the Recipe Group, there are two copies of the variable. Each counts as a variable towards the Target's maximum of 8000 variables.

Technical Communciations - North Andover Vijeo Designer

Module 15-8

Page 293: Vijeo Designer 4.6 Course Manual

Create the variables to be controlled by the recipe control

– Not necessary if variables already exist

Creating Recipe Variables

1

Vijeo Designer Technical Communciations - North Andover

Module 15-9

Page 294: Vijeo Designer 4.6 Course Manual

Add a Recipe Group from the NavigatorRecipe Group is a collection of recipes

Recipe Group

1

Technical Communciations - North Andover Vijeo Designer

Module 15-10

Page 295: Vijeo Designer 4.6 Course Manual

Name of Recipe (1)Recipe variable (browse for) (2)Label – name of ingredient displayed by recipe control (3)Editable – yes or no, user can modify ingredient (4)Set Min/Max values if Editable (5)Set recipe variable value (6)Add additional variables to recipe as needed

Recipes & Ingredients

2 3 4 5 6

1

Vijeo Designer Technical Communciations - North Andover

Module 15-11

Page 296: Vijeo Designer 4.6 Course Manual

Displayed Recipe name is entered under Language 1

Displayed Recipe Name

1

Technical Communciations - North Andover Vijeo Designer

Module 15-12

Page 297: Vijeo Designer 4.6 Course Manual

Add Recipe Manager from toolchest (1)Two different Recipe Managers (2)Texterror tool was added as an additional feature(3)Custom Managers may also be built from “parts”

Recipe Manager

1

2

3

There are several Recipe Manager tools available. The texterror tool is useful in reporting errors associated with the manager.

Vijeo Designer Technical Communciations - North Andover

Module 15-13

Page 298: Vijeo Designer 4.6 Course Manual

May be set in the properties section of the Control Group level (1)User must have Access right 3 to edit this recipe groupRecipe access rights are not linked to user levelsSet by RecipeControlDefault.AccessRight variable (2)

Recipe Security

1

2

If the Access Right is set to a “3” then this user has access to this recipe group. More security is possible (next slide).

Technical Communciations - North Andover Vijeo Designer

Module 15-14

Page 299: Vijeo Designer 4.6 Course Manual

Access rights for access are displayedIf the Recipe group was 3, this user could access the first two recipes but not the third

Access Rights at the Recipe Level

Many security combinations are possible:

Access Right = 0 means no securityIf you put an access right on the access group (higher level) and a “0” here, then any user that satisfies the Recipe Group setting, has access to all recipes in the group

Vijeo Designer Technical Communciations - North Andover

Module 15-15

Page 300: Vijeo Designer 4.6 Course Manual

Exercise 1Complete Exercise 15located at the rear of this manual

Technical Communciations - North Andover Vijeo Designer

Module 15-16

Page 301: Vijeo Designer 4.6 Course Manual

Module 16Data Sharing

Vijeo Designer Technical Communciations - North Andover

Module 16-1

Page 302: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss Data Sharing in Vijeo DesignerDiscuss Exclusive PanelsWatch a Data Sharing Demonstration

Technical Communciations - North Andover Vijeo Designer

Module 16-2

Page 303: Vijeo Designer 4.6 Course Manual

Data Sharing

Ethernet

Designated variables are shared data between target machines

Trend Graphs & Alarm summaries now support data sharing

Targets must be in the same projectData Access - read or read/write

mode to variables on other terminalsEthernet Only300 shared variables maximum (400

iPC)Sharing must be enabledVariables must be individually sharedClient targets and server targets

– 8 clients (max) access to 1 server– 1 client access to 8 servers (max)

Data sharing

You can use variables (maximum of 300) to exchange data via Ethernet between the various terminals involved in a project. We recommend using the 6000 port (default) for these exchanges.The variables exchanged can be accessed in read or read/write mode. A variable declared in read-only mode means that it can be written by its target machine but only read by other targets. A variable in read/write mode can be read and written by all targets.A variable is sent by the terminal or “server” target and can be used by up to 8 clients. Similarly a client can use variables from 8 different servers (e.g. Target1.Variable1).

To prevent several terminals from writing the same variable at the same time and causing conflicts, you can declare the input as exclusive.

Vijeo Designer Technical Communciations - North Andover

Module 16-3

Page 304: Vijeo Designer 4.6 Course Manual

Multiple users trying to access the same data from multiple monitors can be dangerous– Setpoint entry from different locations at the same time is not a

good ideaExclusive input & exclusive panel option prevents this

Exclusive Input

Data sharing is a useful feature that enables one target machine to view and change data on another target machine, or access the same PLC from two different physical locations. But this could also produce uncertain situations where two different operators might begin working with the same equipment without being aware of each other's actions.

To prevent simultaneous inputs to the same variable, you can set up exclusive input relationships between target machines. With this feature you can stop other target machines from changing the value of variables you're working on

Technical Communciations - North Andover Vijeo Designer

Module 16-4

Page 305: Vijeo Designer 4.6 Course Manual

Exclusive InputBlocks navigation to panels with control that

are open on other unitsPrevents simultaneous data entry from

multiple targetsEnabled at the project and panel levelFirst target that opens a protected panel,

locks out the others from opening the same panel

Error message (below) appears if you try to open a protected panel

Project

Panel

Vijeo Designer Technical Communciations - North Andover

Module 16-5

Page 306: Vijeo Designer 4.6 Course Manual

Input manager controls access to panels with exclusive input activatedDesignates which target will manage the inputs Optional – Inactivity Timeout – time panel can hold exclusive input

– Sends target to the top panel after a period of time

Input Synchronization

At run time, when you try to change to a panel set up with exclusive input, the target requests permission from the target set up as the Input Manager. This target either grants the request (if none of the other targets is in exclusive input mode) or refuses the request (if one of the other targets is in exclusive input mode.)If the request is granted, you can begin working with the exclusive input panel. If the request is refused, the target remains on the same panel and displays a message.

Technical Communciations - North Andover Vijeo Designer

Module 16-6

Page 307: Vijeo Designer 4.6 Course Manual

Example – PLC A has the PLC driver installedPLC B has no PLC driver but shares the data from PLC AThe configuration for this example will be explained

Variable Sharing

Ethernet

PLC

Data sharing

AB

Vijeo Designer Technical Communciations - North Andover

Module 16-7

Page 308: Vijeo Designer 4.6 Course Manual

Create a project with two targets– PLC driver is on Tower target

Create panels in both projects

Create a New Project

Technical Communciations - North Andover Vijeo Designer

Module 16-8

Page 309: Vijeo Designer 4.6 Course Manual

Select the project and activate Input Synchronization (1)Indicate which target will manage the exclusive inputsSpecify an Inactivity Timeout if desired (2)

Input Synchronization

1

2

Vijeo Designer Technical Communciations - North Andover

Module 16-9

Page 310: Vijeo Designer 4.6 Course Manual

Enable Exclusive input on panels with shared data– Option becomes available after input sync. Is enabled

Do this on both targets

Exclusive Input - Panels

Technical Communciations - North Andover Vijeo Designer

Module 16-10

Page 311: Vijeo Designer 4.6 Course Manual

Select the target in the navigator and enable Data Sharing Repeat this for the other targetYour top level panel cannot have data sharing

Data Sharing

Vijeo Designer Technical Communciations - North Andover

Module 16-11

Page 312: Vijeo Designer 4.6 Course Manual

Configure sharing on each variable to be sharedSelect Read Only or Read/Write

Variable Sharing

Technical Communciations - North Andover Vijeo Designer

Module 16-12

Page 313: Vijeo Designer 4.6 Course Manual

Browse and select shared variables from the other target (e.g., Server.output_int) (1)The other project gets the PLC data, this project uses it

Animating – PLC B

1

Vijeo Designer Technical Communciations - North Andover

Module 16-13

Page 314: Vijeo Designer 4.6 Course Manual

Exercise 1Complete Exercise 16located at the rear of this manual

Technical Communciations - North Andover Vijeo Designer

Module 16-14

Page 315: Vijeo Designer 4.6 Course Manual

Module 17Web Gate

Vijeo Designer Technical Communications - North Andover

Module 16-1

Page 316: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss Web Gate featuresDiscuss Web Gate restrictionsLearn how to configure Web Gate

Technical Communications - North Andover Vijeo Designer

Module 16-2

Page 317: Vijeo Designer 4.6 Course Manual

What is Web Gate?192.168.1.20

192.168.1.21

192.168.1.20

Web Gate allows a target machine to act as a web server. You connect to the target through a browser on a remote PCYou can read and write data on the target machine from the remote PC (depending on setup)

Vijeo Designer Technical Communications - North Andover

Module 16-3

Page 318: Vijeo Designer 4.6 Course Manual

Web Gate Basics

Web Gate allows the target machine to share its data with a remote PC across the corporate LAN or the Internet.

– Ethernet only

You can limit access to Web Gate based on a remote PC's IP addresses or through passwordsExclusive input, data sharing, input synchronization, recipes, trend graphs and alarm summaries all work with client PC4 client connections at a time are now allowed

Web Gate Client PC

Technical Communications - North Andover Vijeo Designer

Module 16-4

Page 319: Vijeo Designer 4.6 Course Manual

Web Gate Restrictions

Things that are not available:Restart runtime, display configuration operationsSecurity Manager toolchest partVideo Display Some script methodsPrintingFunction key supportWeb Browser back, forward, refresh buttonsSee Vijeo Designer help for a complete list

Features not supported by Web Gate:

- The security manager Toolchest part is not supported on Web Gate.- Display Configuration operations are not available from Touch Animations or Switches.- Alarm Summary cursor-related operations—such as cursor up/down, page up/down, move

top/bottom—that are run on the target machine are not reflected on the Web Gate client.- In run time, Alarm Banner moves to the back when an error message box appears. But in Web

Gate, the Alarm Banner does not change position when an error message box appears.- Some script methods are not supported on the Web Gate client. - Actions that run On Shutdown are not supported.- Strings that use a font that is not installed on the client PC may appear different from the target

machine. Strings are displayed with the closest matching font that is available on the Web Gateclient.

- Popup windows on the Web Gate client always show a titlebar even though the target machine maynot use a titlebar.

- The Video Display is not supported on Web Gate.- Printing is not available on the Web Gate client.- The web browser's Back, Forward, and Refresh buttons are not supported with Web Gate. Using

these buttons may cause errors during run time.- Function Key operations assigned to Function Keys on the target can be executed from a client's

PC Keyboard through Web Gate. The following Function Keys on the PC Keyboard will not runFunction Key operations on the target machine:

F1 - Displays Web Browser HelpF5 - Refreshes ScreenF11 - Displays Full ScreenAlt + F4 - Closes current windowCtrl + F4 - Closes current tab

Vijeo Designer Technical Communications - North Andover

Module 16-5

Page 320: Vijeo Designer 4.6 Course Manual

Web Gate is Now ActiveX

You must install the ActiveX from the target before you can make a connectionFollow the instructions displayed

Technical Communications - North Andover Vijeo Designer

Module 16-6

Page 321: Vijeo Designer 4.6 Course Manual

Web Gate Security

If configured, Webgate supports target security

Vijeo Designer Technical Communications - North Andover

Module 16-7

Page 322: Vijeo Designer 4.6 Course Manual

Configuration - Enable Web Gate

No graphical elements to setWith target selected, enable Web Gate (1)Default port is 80Select initial panel client will seeInactivity Timeout is now supported

1

Technical Communications - North Andover Vijeo Designer

Module 16-8

Page 323: Vijeo Designer 4.6 Course Manual

Configure Web Gate

Connections (1) –– Unrestricted– Allowed IP addresses– Blocked IP addresses

1

Expand the Access Control option for configuration. You can configure Web Gate in three different ways. You can allow any PC to connect to it, allow only PCs whose IP addresses are in the list to connect or reject only the PCs whose IP addresses are in the list

The Publish Property window defines how, on a global level, the panels, the application scripts and the popup window panels will or won’t be accessed from the remote PC. However, you can also set these access properties individually for each panel, each application script and each popup window panel

Vijeo Designer Technical Communications - North Andover

Module 16-9

Page 324: Vijeo Designer 4.6 Course Manual

Configure Web Gate

Publish (1) -– Defines how panels, scripts

and popup panels will or will not be accessed by a client

1

Expand the Access Control option for configuration. You can configure Web Gate in three different ways. You can allow any PC to connect to it, allow only PCs whose IP addresses are in the list to connect or reject only the PCs whose IP addresses are in the list

The Publish Property window defines how, on a global level, the panels, the application scripts and the popup window panels will or won’t be accessed from the remote PC. However, you can also set these access properties individually for each panel, each application script and each popup window panel

Technical Communications - North Andover Vijeo Designer

Module 16-10

Page 325: Vijeo Designer 4.6 Course Manual

Exercise 1Complete Exercise 17located at the rear of this manual

Vijeo Designer Technical Communications - North Andover

Module 16-11

Page 326: Vijeo Designer 4.6 Course Manual

•This page intentionally left blank

Technical Communications - North Andover Vijeo Designer

Module 16-12

Page 327: Vijeo Designer 4.6 Course Manual

Module 18Multimedia & Data Manager

Vijeo Designer Technical Communications - North Andover

Module 18-1

Page 328: Vijeo Designer 4.6 Course Manual

Module Objectives

In this Module we will:Discuss multimedia featuresDiscuss models that support MultimediaLearn how to configure multimedia featuresDiscuss the Data ManagerLearn how to use the JPEG Viewer Learn how to retrieve captured images

Technical Communications - North Andover Vijeo Designer

Module 18-2

Page 329: Vijeo Designer 4.6 Course Manual

What is Multimedia?

Multimedia consists of two parts:Screen snapshot & print or view– Take picture of targets screen at runtime– Store as a .JPEG picture– Print picture option– View with JPEG viewer (new)

Video– Display or play video– Video snapshot

Vijeo Designer Technical Communications - North Andover

Module 18-3

Page 330: Vijeo Designer 4.6 Course Manual

Screen Snapshot

1

192.168.1.20Data Manager

JPEG Viewer

XBTGT 1005 series and up, XBTGK, XBTGTWiPC with Windows XPCaptures panel screen imageSaves as JPEG image on CF card

– Retrieved via Data Manager (1) or – Viewed with JPEG viewer

Print Options– Fit to page– Header support – title, date, time, panel number– Orientation – portrait, landscape

Technical Communications - North Andover Vijeo Designer

Module 18-4

Page 331: Vijeo Designer 4.6 Course Manual

ScreenSnapshot Variables2

System creates ScreenSnapshotVariables (1)Used to control and monitor the snapshot processWrite value into variable (2) to control

– Local or Web Gate

Error – error codes associated with snapshot (3)Status – snapshot status number code

1

3

Status Variable:

Vijeo Designer Technical Communications - North Andover

Module 18-5

Page 332: Vijeo Designer 4.6 Course Manual

Screen Snapshot Configuration

With the target selected, enable Screen SnapshotClick on the Browse button, the screen (2) appearsSet the Save/Print option to Status/Error Variable

– System generated variables automatically selected

1

2

Once screen snapshot is enabled for the target, the snapshot control variables, Control, Error, FileNo, and Status, are automatically created in the Variable tab.

It is recommend that you use a switch to trigger screen snapshots. If you use a keypad to trigger a snapshot, the snapshot may include a picture of the keypad

Technical Communications - North Andover Vijeo Designer

Module 18-6

Page 333: Vijeo Designer 4.6 Course Manual

Save Tab

Automatic or manual file namesNumber of pictures to save (1)Set compression setting for image

1

2

Vijeo Designer Technical Communications - North Andover

Module 18-7

Page 334: Vijeo Designer 4.6 Course Manual

Print Tab

Printing must be enabled for the project and the printer configured. (1)

– Many options, including network printers

Print Tab – select header options (2) and desired font

1

2

Technical Communications - North Andover Vijeo Designer

Module 18-8

Page 335: Vijeo Designer 4.6 Course Manual

ScreenSnapshot and Web Gate

You must follow all these steps to take a picture using Web GateCannot perform directly on control variable (1)In the Editor, for the screen snapshot Control variable, enable Read From Variable and select a variable that you created. In the below example, the variable's Data Source is set to Internal and Sharing is set to Read/WriteEnable Webgate Connection Security (2)

1

2

You must do all the steps described above. If you do not enable Web Gate security, the target will not allow a Web Gate connection to take a picture

Vijeo Designer Technical Communications - North Andover

Module 18-9

Page 336: Vijeo Designer 4.6 Course Manual

Multimedia - Video

Supported for iPC, GT and GTW series onlyView/record live videoPlay video file Video snapshot & print (live & playback)Video Display Object (1)

1

Technical Communications - North Andover Vijeo Designer

Module 18-10

Page 337: Vijeo Designer 4.6 Course Manual

Multimedia – Live Video

With the target selected, enable Video, pick format (1)Select the video format (NTSC – USA, PAL – Europe and other locations)

– This feature requires an analog camera (non-USB)

1

Vijeo Designer Technical Communications - North Andover

Module 18-11

Page 338: Vijeo Designer 4.6 Course Manual

Record ConfigurationVariables (1) –automatically generated by the systemFile Name (2) – automatic or manualBuffer configuration (3) –records video to buffer. Specify number of minutes of video to holdSave file as type – pick the file format you desire

– For MP4, you must have Codec and player that can handle this. Can play on your PC

– We will use VLC Media player available for free from http://www.videolan.org/

2

3

1

Technical Communications - North Andover Vijeo Designer

Module 18-12

Page 339: Vijeo Designer 4.6 Course Manual

Playback Snapshot Configuration

Configuration settings for recorded video snapshotsFile compression (1) – lowest compression = best quality= biggest files

1

Vijeo Designer Technical Communications - North Andover

Module 18-13

Page 340: Vijeo Designer 4.6 Course Manual

Live Snapshot Configuration

Configures snapshots taken from live video feeds

Technical Communications - North Andover Vijeo Designer

Module 18-14

Page 341: Vijeo Designer 4.6 Course Manual

Video Snapshot Variable

System creates variables for snapshot options (1)You create buttons or use the provided keypads to enter values into the control variable (2)

1

Snapshot Control Variable2

Vijeo Designer Technical Communications - North Andover

Module 18-15

Page 342: Vijeo Designer 4.6 Course Manual

Video Display Object

Select the Video Display Object and drag to the panel (1)Size it using the handles (2)

2

1

Technical Communications - North Andover Vijeo Designer

Module 18-16

Page 343: Vijeo Designer 4.6 Course Manual

Video Options

Live Video (1) – select if you wish to view live videoPlay File (2) – plays the file indicated Popup Keypad – enables builtinkeypads for the control. Live Video keypad is shown (4)

1

2

3

4

Live Video - Configures the Video Display to show the feed coming from the video camera connected to the target's RCA Composite port

Vijeo Designer Technical Communications - North Andover

Module 18-17

Page 344: Vijeo Designer 4.6 Course Manual

Video Control Variables

System creates variables automatically (1)Works the same as snapshot variablesUse to create your own controls or use the builtinkeypadSpecific information is given (2)

2

1

Technical Communications - North Andover Vijeo Designer

Module 18-18

Page 345: Vijeo Designer 4.6 Course Manual

Video Switch

You can also use a native part to control the video (easier)

Vijeo Designer Technical Communications - North Andover

Module 18-19

Page 346: Vijeo Designer 4.6 Course Manual

Complete Exercises 18 & 19located at the rear of this manual

Technical Communications - North Andover Vijeo Designer

Module 18-20

Page 347: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

Exercise 7 – Starting a New Project Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Exercise 7

Step Action

1 Create a new folder on your PC named C:\Class. Your instructor will give you files to copy into this folder. These will be used at various points in the course

2 Launch Vijeo Designer. Right click on the Vijeo Manager. Select New Project.

3 Name your project “Class”

Select single target and No Password as options Select XBTGT model 6340 and name Target 1 “MyBrewery” 4

Exercise 7 - 1

Page 348: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

5 Set the target’s IP address

6 Add a Schneider TCPIP Communications driver for the PLC. The IP address will be added at the end of this exercise

Click on the Finish button to end the Wizard

Exercise 7 - 2

Page 349: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

7 Expand your projects in the Navigator until you can see the communications driver

Select “ModbusEquipment01 in the Navigator and change it’s name to PLC200 in the Inspector.

8 Set the address for the PLC connection to 192.168.1.200. If you are connecting to a Unity controller, select the IEC 61131 Syntax addressing option. If it’s a Quantum Unity, select 1 based addressing as shown on the right below. Click on OK when finished (Non Unity) (Unity Quantum)

Exercise 7 - 3

Page 350: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

9 From the Navigator, right click on Master Panel and select New Panel

10

- add the image (1) provided by your Instructor

(Brewery2.jpg) to the panel - Add two Data Display objects to show the date and time

- Save the Master panel as “MasterPanel1 The background color of the master panel does not matter since it will be come an “overlay” to the Base panel that uses it

Exercise 7 - 4

Page 351: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

11 From the Navigator, right click on Graphic Panels and select New Panel with Master

Select the MasterPanel1 option

Adjust the color of the panel to match the edge of the MasterPanel1 using the color picker tool Save the panel using the name “Main” Repeat the same procedure to create a second new base panel. Save this panel as “Navigate”

12 Create four new additional new panels but do not use the master panel for these four panels. Name these panels:

Exercise 7 - 5

Page 352: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

13 Open the “Main” panel. This is your “splash screen” and will look as shown

- Add two Text objects (1) – Vijeo Modern 28x50, 3D, Blue & Black colors Create the two text labels shown (large text)

- Add a Switch (2) from the Native parts. Set the switches’ foreground color to light gray. Change the label to read “Enter” and the label’s color to Black

- Animate the switch to Navigate to panel2

- Save

Exercise 7 - 6

Page 353: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

14 The Navigate Panel (named Navigate) - Open the Navigate panel and create the page shown.

Animate the switches as follows: Switch Panel Brew Process Process Alarms Alarms Process History History System Settings - animate to System, Configuration Add a Native switch on each of the other panels (except Main) to that will return you to the (Previous Panel) to this panel (e.g., Navigate)

15 Validate your project.

Exercise 7 - 7

Page 354: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

Fix any Red Errors” (if any) that appear in the “Feedback Zone”

16 Right click on your Target and select the Simulate option shown.

Your project will compile, and start in a window. It will attempt to communicate with the PLC

Test your navigation between all panels to insure everything functions correctly. Fix anything that does not work correctly

17 This completes this exercise

Exercise 7 - 8

Page 355: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Exercise 8 – Importing PLC Variables

Exercise 8 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step This process is slightly different, depending if you’re using a Unity or Modicon (addressed) PLC

Step Action 1 If you have Unity on your PC, configure your project as shown

below. If you do not have Unity installed, you must not select IEC6311 Syntax as shown If it is a Quantum Unity, select 1 based addressing

You must select the correct addressing mode before you import the variables.

Exercise 8 - 1

Page 356: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

2 From the variables tab, right click on the target and select “Link Variables.”

3 Link to the file “VD_VARS.CCN” (Modicon) or VD_VARS.XVM if using Unity. This file will be in the C:\Class folder. Browse for the file, select it and click on the Open button. You must hve Unity installed to use .XVM

4 When the file is opened, you will see a list of all the variables. Click on the “Select All” button and each variable gets a tick mark.

Exercise 8 - 2

Page 357: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Click the Add button and the variables are added

5 Change the default folder that the system generates to External buy selecting the folder, and changing the name in the Inspector

Save your project This completes this exercise

Exercise 8 - 3

Page 358: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

This page is blank

Exercise 8 - 4

Page 359: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Exercise 9 – The Process Panel

Exercise 9 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Step Action 1 At the end of this exercise, the process panel will appear as

shown

2 Navigate to the Toolchest tab and select the toolchest folder. Right click and select the “Import Folder” option (1)

Navigate to your “Class” folder and import the Training.ztc file (2). This will create a custom folder in the Toolchest that contains the pipes for the Process screen. - Drag the pipes from the folder to the Process p[anel

Exercise 9 - 1

Page 360: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

3 Add the following items to the Process Panel - The Brew Process – panel label - Tank – from the toolchest, Image Library – Tanks – Batch

Tank (2) - Hoppers – Image Library – Tank 4 (3) Add text labels - Pipes (1) – you should have already added them - Steam Valve (4) – use the polygon tool and draw. The stem

is a thick line. Use the “Pie” tool to draw the valve handle - Steam Pipe – Use the Polyline tool to draw. Increase the

thickness of the line when finished - Pump (6) – from Image Library – classic pump. Add a circle

on the pump to show it’s status. Add your own pipe from the library

- Tank Cutout (7)– draw using the Polygon tool

Add a button to this panel that will return you to the Navigate panel. In the example shown, it is under the panel’s title Save

Exercise 9 - 2

Page 361: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

4 Add the following parts to the panel

Native Numeric Display (1) – Add five Native Numeric Displays. Configure the hopper displays for “4” digits. Configure the Step counter for one digit - Draw four circles (2). These will represent valves- - Add all labels (3)

5 Add the following parts:

- Three additional Native Numeric Displays (1). The tank level

display should be able to show 4 digits. Set the Temp & Time displays for 2 digits

- Add text labels as shown

Exercise 9 - 3

Page 362: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

6 Next, you will create the process control panel.

- Add six Native Numeric Displays (1) – 3 digits each - Add three switches (2) Add the labels shown - Add a lamp (3)

7 Animate the numeric displays below as follows:

Water - External.S1_WATERLVL Malt - External.S1_MALTLVL Adjuncts - External.S1_ADJUNCTLVL Hops - External.S1_HOPSLVL Step Counter - External.S1_STEPCOUNT (only 1 digit)

Exercise 9 - 4

Page 363: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

8 Animate the valves below the hopper as follows:

(OFF = RED, ON = GREEN) (Variables left to right) External.S1_WATERACTIVE External.S1_MALTACTIVE External.S1_ADJUNCTSACTIVE External.S1_HOPSACTIVE Animate for ON/OFF foreground colors

9 Continue animating

Temp - External.S1_TEMPACT Time - External.S1_COOKTIMEACT Tank level - External.S1_BREWLEVEL (4 digits)

Exercise 9 - 5

Page 364: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

10 Create a new color resource named process

Set it up as shown

Set the OFF color to Red and the ON color to Green

11 Animate each part of the valve and the steam pipe separately and link to the color resource “Process”

Exercise 9 - 6

Page 365: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

12 Animate the Process panel numeric displays as follows

Water – External.S1_WATERSP Malt – External.S1_MALTSP Cook Temp – External.S1_COOKTEMPSP Adjuncts – External.S1_ADJSP Hops – External.S1_HOPSSP Cook Time - External.S1_COOKTIMESP Activate the popup keypad for setpoint input from the Input Mode setpoint

Exercise 9 - 7

Page 366: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

13 Next you will animate the buttons The Start button:

14 The STOP button

15 The Reset Button

The PLC program is expecting a low to high transition in order to reset the program

Exercise 9 - 8

Page 367: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

16 Animate the ON/OFF lamp as follows: From the colors tab, set the lamp to Green when the bit is ON and Red when the bit is OFF

17 Animate the circle you overlayed on the pump as shown. Red =

OFF, Green = ON (use the color resource if you like)

18 The last step is to animate the bargraph on the tank, Double click on the bargraph and animate as shown below

Notice that there is a scaling involved

Exercise 9 - 9

Page 368: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

19 Limiting Operator input – Select Variables and select the first variable to be configured

From the Inspector, enable Input Range and add the limits shown in the table below. Repeat for each variable listed

Variable Min Max S1_WATERSP 100 200 S1_MALTSP 10 80 S1_HOPSSP 5 15 S1_ADJSP 20 100 S1_COOKTEMPSP 10 50 S1_COOKTIMESP 5 10 Save, Validate and fix any problems Run your project (simulate) it should work at this point You must have a value in all input fields or the PLC program will not allow the program to start (PLC)

Exercise 9 - 10

Page 369: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Exercise 10 – Popup Panels & Motion Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Exercise 10

Step Action

1 When you have completed this exercise, yow will have created a popup panel that launches when you click on the brew tank. The popup panel will have two analog meters on it and a close button

2 Create a new popup window from the navigator

3 Add two native analog meters and a native switch as shown

4 The left meter is linked to External.COOKTEMPSP and the right meter is linked to External.S1_COOKTEMPACT. Scale both meters as shown

Exercise 10 - 1

Page 370: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

5 Double click on the switch and label the switch “Close” Animate as shown:

Save and close the popup

6 Open the process panel and add a native switch. Stretch the switch so that it covers the brew tank and set it’s property to invisible.

7 Animate the switch as shown. Notice the open location (100.100)

Exercise 10 - 2

Page 371: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

8 Save, validate and test your popup by running a batch. Specify a temperature of 45-50 degrees (remember the scaling on the meters) Once the batch starts cooking, click on the tank to open the popup and observe the meters operation

9 Shutdown the simulator. This completes the first part of this exercise

10 To simplify the next part, you will import a new panel that is partially configured and then complete the animation. When finished, you will have a kegging line. It currently takes several steps to move a panel between projects on different PCs.

11 Click on the Vijeo Manager tab

12 Right click on the Vijeo Manager and select Import Project

13 Browse your C:\Class folder and select either “KeggingMOD” (for Modicon classes) or “KeggingIEC” for Unity based classes and import it. This project contains the panel and variables that you will move into your brewery project

14 Open the KeggingXXX project (save your current project if prompted) . Notice that it contains a single panel.

Exercise 10 - 3

Page 372: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

15 Right click on the panel and copy it.

Save and Close the KeggingXXX project. Open the Brewery project, select the Base Panels option, right click and past the panel

The panel is pasted into the Brewery project. Save

Exercise 10 - 4

Page 373: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

18 The panel is added to your project. The system adds all the graphic items and tag names used in the animations. Verify that a new data structure named Keg was created and that the external variables within have PLC addresses. The PLC addresses for an IEC project are

A Modicon base class would look like:

Verify that the addresses are correct. If they are not present, you can enter them manually using the list above or try copying and pasting the new panel into the Brewery project again

Exercise 10 - 5

Page 374: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

21 Open the that panel you just imported (Kegging) to complete the animation

When running, the keg will move down the conveyor line and stop under the nozzle you’ve selected. The nozzle willl move down, fill the keg, then move up. The keg then moves to the end of the conveyor line. The line can run one keg and stop or run continuously. Once you’ve select selected a beer type, you cannot select again until you start the next batch or if your reset. Remember, everyone is using the same variables.

22 Keg animation – Double click on the keg and animate as shown. Notice that the Keg will move 581 pixels from the start position as the Keg.keg_cntr variable changes from 0 to 500 counts

Exercise 10 - 6

Page 375: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

23 Each of the three brew selectors switches will have 3 animations Light Beer – first Animation

24 Light Beer – second animation

Exercise 10 - 7

Page 376: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

25 Light Beer – third animation

26 When you’ve finished, each switch should have three animations

27 Dark Beer – first animation

Exercise 10 - 8

Page 377: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

28 Dark Beer – second animation

29 Dark Beer – third animation

Exercise 10 - 9

Page 378: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

30 Ale – first animation

31 Ale – second animation

Exercise 10 - 10

Page 379: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

32 Ale – third animation

33 Double click on the switch labeled “Single” and animate as shown

Exercise 10 - 11

Page 380: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Click on the label tab and look at the configuration. This switch will display different messages, depending on the state of the bit

34 Open the Navigation panel and add a button to navigate to the Kegging panel

35 Save, validate and test your line. Remember the other students are sharing the same variables

36 This completes this exercise

Exercise 10 - 12

Page 381: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Exercise 11 - Trending

Exercise 11 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Step Action 1 Upon completion of this exercise, the History Panel will appear

similar to the charts shown:below

2

1) Open the History panel and add a realtime trend chart (Native tool) and size so the it fills ½ the panel. Scale the chart 0 - 20

Exercise 11 - 1

Page 382: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

3 Configure the chart as shown

Only channels 1 & 2 are configured. Pick any colors that you like for the panel, and the chart for this exercise. Set the scaling as shown

Exercise 11 - 2

Page 383: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

4 Add a historical trend (toolchest) below the realtime trend. Pick any one you like, they all do the same thing (but look different)

5 Configure the trend chart as shown

Exercise 11 - 3

Page 384: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Scale the chart 0-1000 Select any pen colors you like

Exercise 11 - 4

Page 385: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

6 Open the default logging group from the Navigator

Set the Sampling rate to 3 seconds. This will control the scroll rate on your charts

7 Navigate to the variables tab. Each variable that is linked to the charts must be added to the logging group

This will also control the scroll rate of the chart

8 Insure that each of the six variables is attached to the logging group.

Exercise 11 - 5

Page 386: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

9 Validate and test the panel’s operation by running a several batches in a row. After sufficient data has been collected, navigate to the history panel and observe the charts operation. Request some historical data from the historical chart

10 This completes this exercise

Exercise 11 - 6

Page 387: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Exercise 12 - Alarms

Exercise 12 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Step Action 1 From the Navigator, create a new Alarm Group named

Ingredients_Low. You can just rename the default group

2 Open the Sound option from the Data Files area in the Navigator

3 With Sound selected, create an alias named “alarm” and browse

for the alarm.wav file as shown.

This wave file is now available to be played when an alarm is triggered

Exercise 12 - 1

Page 388: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

4 Assign the sound file to the S1_WATERLVL variable by selecting the Sound option and attaching the sound alias as shown. This will cause the sound to be played when that alarm occurs

5 Select your project in the Navigator and add a Global Alarm banner on the bottom of the panel. Select any attributes you like

Exercise 12 - 2

Page 389: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

6

- Open the Alarm panel and add an Alarm Summary (Native ) - Add a navigation button from the Alarm panel to the AlarmH Panel - Add a navigation button from the AlarmH panel back to the - Alarm panel - Add an Alarm Summary to the AlarmH panel. Set it to run in historical mode - Validate and save your project - Run your application through several cycles until an alarm(s) are shown in the alarm banner - Go to the Alarm panel and acknowledge your alarms - Stop the batch and reset the application - Go back to the Alarm panel, the alarms should be gone - Go to the AlarmH panel, it should show all the historic alarm actions. - Experiment with the viewer(s) settings.

7 Validate and test the alarms by running the process several times, until the supply hoppers get low enough to trip an alarm

8 When alarms occur, acknowledge them from the viewer and notice operation of the viewer

9 This completes this exercise

Exercise 12 - 3

Page 390: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

This page is blank

Exercise 12 - 4

Page 391: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

Exercise 13 - Scripting

Exercise 13 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Step Action 1 Add switches (switch07) that look like “Spin Buttons” from the

Native Switches to the Process Panel as shown (1)

2 Double click on the top switch and add a script under the “While

Touch” tab.

3 Create the script as shown

Hint - Use the right click – insert function to help you generate the code. Validate your script when finished

Exercise 13 - 1

Page 392: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

4 Add the script below to the bottom spin button under the while pressed tab. Validate your script when finished

This script uses a different method to manipulate the water setpoint variable. It also includes a comment

5 When all scripts validate, test the operation of your scripts. When you select and hold down one of the switches that you just created, the sater setpoint will either increment or decrement, depending on which one you selected

6 This completes this exercise

Exercise 13 - 2

Page 393: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Exercise 14 - Security

Exercise 14 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Step Action 1 Create a new panel named “Secure” and number it 999

2 Select the security option from the Navigator

Exercise 14 - 1

Page 394: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

3 Make the adjustments shown below in the Inspector

When you test security, the application will cancel back to panel 999 when the inactivity period expires. It will not matter if you are on a secure or not secure panel when the time expires.

4 With Security still selected in the Navigator, create two new security groups. Name the first group “admin” and the second group “maint”

admin = security level 1 maint = security level 9

5 Create two new users by right clicking on the User field. Using upper case letters, name the users BOSS and BUBBA. Make the passwords BOSS and BUBBA (upper case)

Assign the BOSS to the admin group and BUBBA to the maint group as shown

Exercise 14 - 2

Page 395: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

6 Open the Secure panel and add a “Login” tool. This is located in the Toolchest, under security

Adjust to colors of the tool to what ever you like

Add two switches labeled Admin and Bubba as shown

7 Configure the Admin switch as follows:

From the Advanced tab, assign switch to the admin security level

Exercise 14 - 3

Page 396: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

8 Configure Bubba switch as follows:

Under the advanced tab, assign it to the maintenance group

Under the Visibility tab, enter the expression shown below

_UserLevel is a system tag that holds the security level of the current logged in user. The expression will make the switch visible if the current user is maint (e.g., BUBBA). It will not be visible when the BOSS logs in

9 Open the Navigate panel and select the Brew Process switch

Under the advanced tab, set the security level to maint. When the BOSS logs in, he will be able to go to the Navigate panel but does not have permission to go to the Process panel.

10 From the Navigator, set the initial panel to secure

This will force the user to login.

Exercise 14 - 4

Page 397: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

11 Save, Validate and test your operation.

1) Login as BUBBA and observe that you are locked out of

the process panel. 2) Do not touch the simulator for 1 minute, you should cancel

back to the secure panel and be logged out. 3) Log in as BUBBA and notice that the BUBBA button

appears. You should be able to navigate to the process panel

4) Feel free to experiment with other options

12 This completes this exercise

Exercise 14 - 5

Page 398: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

This page is blank

Exercise 14 - 6

Page 399: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Exercise 15 - Recipes

Exercise 15 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Step Action 1 From the Navigator, locate the Recipe option, right click and

create a new Recipe group

Name your Recipe group Brewery1

2 There will be three recipes, Dark, Light and Ale. Right click

On the default recipe and create two new recipes. Rename the recipes to Dark, Light and Ale. The finished recipes should appear as shown below

Exercise 15 - 1

Page 400: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

3 Next you will select the ingredient variables for the recipes. Each recipe will use the same variables, but will have different quantities of each. ingredient Collapse the Recipe fields (left side of editor) back to their original size

Browse for the variables from the variable field by double clicking in the variable field

4 The finished ingredient values should appear as shown

5 Create a new popup panel named “Recipe”

Exercise 15 - 2

Page 401: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

6

Adjust the panel color to something that you like.

1) Add a switch to the panel that takes you back to the previous panel. Use the “Previous” option is the switche’s animation

2) Add a “Small Recipe Manager” control to the panel. From the toolchest

3) Add a Text Error Object to the panel (toolchest) (labeled no error in the picture) and position it below the recipe manager. This is an optional recipe tool that is located with the other recipe objects

You can use a complete object (above) or you can build your own recipe control from individual parts

Exercise 15 - 3

Page 402: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

7 Add a switch to the process panel labeled “Recipe” as shown. Configure the switch to launch the Recipe popup panel

8 Save, Validate and test the recipe operation. Since we are all sharing a single PLC, the ingredient values will change every time someone sends a new value to the PLC

9 In this part, you will add in recipe security. Open your recipes and add the access levels shown. These levels have NOTHING TO DO WITH the security levels you set up before

A user with access right 7 can run all the recipes. A user with access level 2 could run 2 or 1. Access level 0 means no security.

Exercise 15 - 4

Page 403: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

10 Open up the Secure panel and double click on the Admin switch..

Add the command Word/Set as shown. This line writes the value 2 into the variable RecipeControlDefault._AccessRight This variable controls the access rights for recipes. Add the Change Penel(2) command shown. Make sure that access rights are set before you navigate away from the secure panel (e.g., it’s first) Repeat the same procedure for the Bubba switch only write a value of 7 into the RecipeControlDefault._AccessTight variable

11 Since the access rights will not change until you change it, you can insure that the access rights are reset to 0 when the logged in user is logged out by the system. This can be done by adding a one line script

12 Add a panel level script to the secure panel

13 Set the script to trigger “ON OPEN” event for the secure panel

Exercise 15 - 5

Page 404: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

14 Create the script shown below

This will set the access rights to 0, anytime the secure panel opens. Therefore, after one minute of inactivity, the access rights will reset to zero

15 If you disabled Security at the close of the earlier exercise, you must re-enable it now. Change the logout Behavior such that the application jumps to the secure panel after 1 minute of inactivity

Also set your first panel to be the secure panel. This will force you to login when the application starts Remove the security from the Process button on the Navigate panel or the Boss will not be able to navigate to the process panel

16 Validate, and test the operation of security. Notice that when The Boss is logged in, he can only see one recipe but when Bubba is logged in, he can run any of the three batches

17 This completes this exercise

Exercise 15 - 6

Page 405: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Exercise 16 – Data Sharing

Exercise 16 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Step Action 1 To save time, your Instructor will have you restore a project that

has been started for you. You will need to complete the project and when you run your project, you will become a “display client” of the hardware target. In other words, the hardware target will poll the PLC for data and share it with your application running in the simulator.

2 If your Brewery project was created in a folder, select your folder and right click. If the Brewery project was not created in a folder, create one now and move your brewery project into the floder by drag and drop. Right click on the folder. The folder is not technically required for this exercise but it helps you to organize your work. Select Import project

3 Import the project “Sharing” from the class file folder you have been using.

Exercise 16 - 1

Page 406: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

The project is imported 4 Open the Sharing project. Two target’s are configured. DO NOT

EDIT THE SERVER PROJECT. This is a copy of the project that will be running in the hardware target

5 Open the Client project. Notice that there are no communications drivers configured. In this exercise, all target to PLC communication will be done by the hardware target. Also notice that the client program does not have any variables configured. The client will get all it’s information from that shared variables in the server. You will be configuring a pure HMI client

6 Open Panel2. The animated fields are present but are not linked

to any variables yet 7 Link a variable to the animated field as follows:

1) Double click on the “Integer Input field and browse for the Server.input_int variable from the Server project. This variable has been previously “shared” in sthe server project so you can add it to the Client’s Panel2

Exercise 16 - 2

Page 407: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

8 Link the other three Animation fields as follows:

Field Variable Integer Output - output_int Float Input - input_float Float Output - output_float Save, Validate and test your project

9 Since there is no Exclusive Input or any protection enabled at this point, everyone should be able to go to Panel 2 at the same time. If there are more than 8 simulators, some will not be able to connect to the server until others leave

Shut down your simulator when finished

10 Select Panel2 of your client program

Exercise 16 - 3

Page 408: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

In the Inspector, enable Exclusive Input

Save, validate and test your application. This time, only one target should be able to access panel 2 at a time. All others should receive an error when they try. Take turns connecting

11 This completes this exercise

Exercise 16 - 4

Page 409: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Exercise 17 - Webgate

Exercise 17 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Step Action 1 In this exercise, you will run the Sharing application again and

work with another group in the class. First you will run your Sharing application in simulation mode while your partner group creates a Webgate connection with your simulator. Then you will reverse roles and you will make a Webgate connection with your partners simulator Finally, we will try multiple connections to a single server

2 Open the “Sharing” project you used earlier. Once again, only edit the client project.

3 With the client project selected in the Navigator, enable Webgate in the Inspector

Exercise 17 - 1

Page 410: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

4 Ignore the publish options that popup when you enable Webgate. Follow the procedure below to set the Publish property globally Select Publish as shown below

Enable the publishing of everything and click on OK

5 Work out with your partner group who will be the webgate client

first and who will be the server. Both groups need to disable Exclusive Input on Panel 2 ..Start the server.

6 The Client group should open an Internet Browser and type in the IP address of the Server application

Exercise 17 - 2

Page 411: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

7 The Default Webgate screen appears

8 Click on the Monitoring option

9 Select the New Window option and ignore any error messages

you might see

10 Navigate to Panel 2. Observe that you see live data via the

webgate connection. Where is the data actually coming from?

Exercise 17 - 3

Page 412: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

The hardware target is actually polling the PLC and sharing the data with your simulator who in turn, is sending it to a Webgate client. Change the setpoints and the data should change

11 Right click in an open area of the screen on the webgate client. Select the Synchronization option

12 Now, change panels on the server application and notice what the client does.

13 Switch roles with your partner group and let them try their webgate connection and the options described

14 Designate one student station as a server and connect multiple clients to the server (max of 4).

15 This completes this exercise

Exercise 17 - 4

Page 413: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

Exercise 18 – Multimedia - Snapshots

Exercise 18 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Step Action 1 Create a new sub folder in your Class folder named “Picts” Your

path will be C:\Class\picts 2 Reopen the Brewery project. With the Brewery project select in

the Navigator, activate Screen Snapshot in the Inspector

The system will create several new variables when this feature is activated

3 Create a new switch on the process panel as shown

Exercise 18 - 1

Page 414: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

4 Create a new integer variable names PICT as follows:

Link it to 40400 or %MW400, depending on your PLC

Active sharing for the variable PICT as shown

5 Animate the switch as follows:

Even though the Snapshot.Control variable is an integer, you can apply a bit operations (SET/RESET) to it. Vijeo Designer does not differentiate between a bit’s value of 0 or 1 and an Integers value of 0 or 1. In other words Bits and Integer values of 0/1 are treated the same, Each time the switch is activated, a picture will be taken

Exercise 18 - 2

Page 415: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

6 Enable target & Web Gate security. Make “Process” the starting panel

7 Add the following Panel Action script on the Process panel. Set the triggering of the script as shown Create New Panel Action

The script should run whenever the variable PICT is true

Actual Script

The Vijeo Designer Simulator cannot store pictures since there is no compact flash. It will display pictures using the JPEG viewer but the operation is totally correct. This script runs in your simulator and also the hardware target. Anytime any student presses the Picture button in the simulator, it will set the bit PICT in the target. This bit causes the script in the real Target to run, take a picture and store it in the compact flash.

8 Save, Validate and run your project. Take ONE picture. Go to the JPEG viewer and see if your picture is there

9 Ask your instructor to open the JPEG Viewer page in the target and see the picture(s) there. These pictures come from the compact flash

10 Launch the Data Manager. This is located under the Tools menu

Exercise 18 - 3

Page 416: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

11 Create a new connection to the target and name it “Bubba” when prompted

12 Enter the information shown. The User name and Password are BUBBA, BUBBA (uppercase)

Data location is the secondary drive. Click on Create when ready

13 With Bubba showing in the Media window, click on Next

Exercise 18 - 4

Page 417: Vijeo Designer 4.6 Course Manual

Technical Communications – North Andover

14 Select Retrieve files

15 Select only Captured Images. Set the path to the picts folder you created earlier

Exercise 18 - 5

Page 418: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

If you are successful, you will see a status report similar to the one below

16 Go to your C:\Class\picts folder and double click on one of the

pictures. You should see the process screen. If you have time, open a Web Gate connection to the target and take a picture from the process screen. Open the JPEG Viewer and observe the captured screens. Remember that each student is also taking pictures

17 This completes this exercise. Proceed to the next exercise

Exercise 18 - 6

Page 419: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

Exercise 19 – Multimedia - Video

Exercise 19 Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step

Step Action 1 In this exercise, you will initiate a vide capture from your

simulator. The actual video will be taken generated by the target. The videos will be played on the target and retrieved and played on your PC. This will require you to install a video player provided by your instructor, that can play MPG4 format videos

2 Install the .MPG4 video player provided by your instructor

3 With your application selected in the Navigator, enable NTSC Video in the Inspector

4 Configure video to record in the MPEG4 format

Exercise 19 - 1

Page 420: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

5 Create a new panel named Video. Add a switch that will take you back to the previous screen and a VideoDisplay tool. The panel should appear as below:

6 Configure the VideoDisplay tool as shown

7 Create a new color resource named “VideoColors” with 5 states and for Message Displays only

Exercise 19 - 2

Page 421: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

8 Pick any colors you like with the exception that the “2” state should be a slow flashing red

9 Create a new text resource named ”VideoMessage“ that has 5

states and is targeted for Message Displays

Configure it as shown below

10 Create a new variable named “MovieStatus” as shown

Exercise 19 - 3

Page 422: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

11 Add a message display below the Back switch

Configure the message display as shown. Notice that it uses the two resources that you just created

Exercise 19 - 4

Page 423: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

14 Create a new external variable named “Movie” as shown

15 Select the VideoRecord.control variable

Exercise 19 - 5

Page 424: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

Add the Movie variable to the ReadFrom field

16 Add two switches to your Video Panel as shown

Label them Record and Stop. Configure them as shown: The Record Switch Bit Set(Movie)

The Stop Switch (Bit Reset Movie)

17 Create a panel action (Script) for your Video panel that is

triggered as shown

Exercise 19 - 6

Page 425: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

18 The script should appear as shown

This script will copy the status of the VideoRecord.Status variable to the located variable, MovieStatus. The Text display will then display a message from the text resource, that is determined by the value in the MovieStatus variable. This will allow your simulator to display the status of the movie being recorded or playing in the hardware target. I

19 Nominate one student to download his project to the hardware target. Everybody else, open your script (if closed) and comment the two lines above out. This must be done so that the simulators will not be fighting the hardware over control of the moviestatus variable

(the student that downloaded his project to the target must also alter his script after the download) Run your project in simulation mode When ready, ONE simulator can press the Record button. All simulators and the hardware target should display the recording message. Only record a video for a few seconds. Another student station can also start and stop the recording process.

20 Play the recorded movie from the hardware target.

Exercise 19 - 7

Page 426: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

21 (All students) Open your Data Manger and configure it to upload the recorded video

22 DO NOT ERASE AFTER THE UPLOAD

23 Open the uploaded video with the .MPG4 you installed at the beginning of this exercise

Exercise 19 - 8

Page 427: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

24 Play the Video

25 This completes this exercise

Exercise 19 - 9

Page 428: Vijeo Designer 4.6 Course Manual

Technical Communications - North Andover

This page intentionally blank

Exercise 19 - 10