Vous êtes sur la page 1sur 428

Vijeo Designer 4.

6
& Magelis Training

Rev 1.0

This page intentionally left blank

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

This page intentionally left blank

Table of Contents
Module 1 Module 2 Module 3 Module 4 Module 5 Module 6 Module 7 Module 8 Module 9 Module 10 Module 11 Module 12 Module 13 Module 14 Module 15 Module 16 Module 17 Module 18 Exercise 7 Exercise 8 Exercise 9 Exercise 10 Exercise 11 Exercise 12 Exercise 14 Exercise 15 Exercise 16 Exercise 17 Exercise 18 Exercise 19 Introduction Memory Management Communications Preparing a Target Introduction to Process Control Introduction to Vijeo Designer PLC Comm, Panel Development Variables Animations & Clipart Popup Panels, Motion Animation Trending Alarms Scripting Security Recipes Data Sharing Web Gate Multimedia Starting a New Project Variables Clipart & Animations Popup panels, Analog Meter Trending Alarms Scripting and Security Recipes Data Sharing (demo) Web Gate Multimedia Snapshots Multimedia - Video

This page intentionally left blank

Vijeo Designer

Technical Communications - North Andover

Module 1

The Magelis XBTG/GT & iPC

Module 1 - 1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Introduce the XBTG/GT product line Introduce the XBTGW Introduce the Smart & Compact IPC Review hardware features Look at hardware specifications

Module 1 - 2

Vijeo Designer

Technical Communications - North Andover

Introduction
Vijeo Designer software is::
Graphic editor for building the application Runtime system used in the terminal Data manager for retrieving and converting targets files License manager Startup guide, multimedia and user manuals Video Support live, pictures (GT only) Web Gate (GT only)

XBT G and XBT GT range of graphic terminals


Passive or active matrix touch screens 6 screen sizes ranging from 3.8 to 15 inches Blue mode, amber/red mode, black & white or color (up to 64 K color) display QVGA, VGA, SVGA or XGA standard

Smart, Compact iPC & XBTGW


8.4 15 in screens SVGA- XGA, no hard drive, software on CF Fast 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
Module 1 - 3

Technical Communications - North Andover

Vijeo Designer

XBT G Range
Blue mode display Black and white display Color display
TFT screen 12.1 inches

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.

Module 1 - 4

LCD screen 5.7 inches

TFT/STN screen 5.7 inches

LCD screen 5.7 inches

TFT screen 7.4 inches

TFT/STN screen 10.4 inches

Vijeo Designer

Technical Communications - North Andover

XBT GT Range
XBTGT 1000/1005 Series Amber/red mode display 8 grayscale Blue mode display 16 grayscale XBT GT2000 Series Black and white display 16 grayscale Color display QVGA

LCD screen 3.8 inches

LCD screen 5.7 inches

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

LCD screen 5.7 inches

LCD screen 5.7 inches

Module 1 - 5

Technical Communications - North Andover

Vijeo Designer

XBT GT Range (cont)


XBT GT4000 Series Color display VGA 16 K color or 64 K color XBT GT5000 Series Color display VGA 16 K color or 64 K color XBT GT6000 Series Color display SVGA 64 K color XBT GT7000 Series Color display XGA 64 K color

LCD screen 10.4 inches

LCD screen 7.5 inches

LCD screen 12.1 inches

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

Module 1 - 6

LCD screen 15 inches

Vijeo Designer

Technical Communications - North Andover

XBT GK series

XBT GK2120 Grayscale display 16 grayscale

XBT GK2330 Color display 64K colors

XBT GK5330 Color display 64K colors

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

LCD screen 5.7 inches

LCD screen 5.7 inches

LCD screen 10.4 inches

Module 1 - 7

Technical Communications - North Andover

Vijeo Designer

Magelis IPC range


Magelis Smart iPC Magelis Compact iPC

LCD TFT screen 15 inches XGA

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

Module 1 - 8

LCD TFT screen 12 inches SVGA

LCD TFT Screen 12 XGA 15 XGA

Vijeo Designer

Technical Communications - North Andover

Smart iPC Series

The Magelis Smart IPC Series are either 12 or 15 monitors with the following features Choice of processors Increased resolution in the 15 range Available ports differ between the two models These units are designed to run Vijeo Designer, SCADA client software, or to FactoryCast HMI web server modules

Module 1 - 9

Technical Communications - North Andover

Vijeo Designer

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 M Increased resolution in the 15 range Available ports differ between the two models These units are totally open and provide and attractive and upgradable solution, particularly for machine builders.

Module 1 - 10

Vijeo Designer

Technical Communications - North Andover

XBT GTW Series


XBT GTW450 XBT GTW750

LCD TFT screen 8.4 inches SVGA

Vijeo Designer V4.6 October 2006

LCD TFT screen 15 inches XGA

11

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.

Module 1 - 11

Technical Communications - North Andover

Vijeo Designer

XBT GTW Series

T ouch screen Resolution Front panel ports Processor RAM Storage Reader Extension Ethernet ports I/O ports Power supply Certifications Dimensions Applications

XBT GTW 450 8.4" 8.4" LCD TFT SVGA 800 x 600 Celeron M@600GHz 256MB 1024MB (SRAM) Compact Flash 1GB 1 or 2 x PCMCIA type I (or type III) 1 x 10/100 RJ45 4 x USB, 1 x RS232, DIO AC 100240V UL508, CSA 230 x 177 x 60
Internet Explorer Media Player, Office readers, Vijeo Designer RT* *RT: Run Time

XBT GTW 750 15" 15" LCD TFT XGA 1024 x 768 1 x USB CeleronM@600Mhz 256MB 1024MB (SRAM) Compact Flash 1GB Diskette and CD-ROM 2 x PCMCIA type I (or 1 type III) 1 x 10/100 RJ45 2 x USB, 2 x RS232, 2 x PS2, 1 x LPT1 UL508, UL1604, CSA 395 x 294 x 65
Internet Explorer Media Player, Office readers, Vijeo Designer RT*

Vijeo Designer V4.6 October 2006

12

The XBT GTW series are either 8.4 or 15 monitors with the following features: Choice of processors Increased resolution in the 15 range Available ports differ between the models These units are designed to run Vijeo Designer, SCADA client software, or to FactoryCast HMI web server modules

Module 1 - 12

Vijeo Designer

Technical Communications - North Andover

Supported Networks/Busses
Mitsubishi
Melsec-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)

Schneider
Modbus (RTU) Modbus Plus Modbus USB Modbus Slave Uni-Telway Modbus TCP/IP

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

Siemens
MPI / PPI MPI Adapter NITP RK512 / 3964R TBP TCP/IP

Omron
Sysmac FINS (Ethernet) Sysmac FINS (SIO) Sysmac Link (SIO)

Rockwell
Allen-Bradley DH485 Allen-Bradley EtherNet/IP Allen-Bradley EtherNet/IP (Explicit) Allen-Bradley EtherNet/IP (Native)

Fieldbus Profibus Slave

Module 1 - 13

Technical Communications - North Andover

Vijeo Designer

Hardware Overview - Front panel

Touch-sensitive area

Status LED

Touch Screen

No power to terminal Normal mode Faulty backlight

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 .

Module 1 - 14

Vijeo Designer

Technical Communications - North Andover

Rear panel
8 2 5 1 3

24 VDC power connection (1) Expansion unit interface (2) Centronics printer link (3) 7 Sound output terminals (4) 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

Exact position of these items varies in different models Newer models have USB ports instead of serial ports

Module 1 - 15

Technical Communications - North Andover

Vijeo Designer

Micro-switches
ON OFF 1 2 3 4

Micro switch is located under memory door Be gentle!

Module 1 - 16

Vijeo Designer

Technical Communications - North Andover

Micro-switches

ON OFF 1 2 3 4
1 2 3 4 ON Start-up from memory card enabled OFF Start-up from memory card disabled ON Loading authorized OFF Loading not authorized ON Reserved OFF Leave in OFF position ON Start-up from memory card enabled with protective cover open OFF Start-up from memory card only enabled if protective cover closed

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.

Module 1 - 17

Technical Communications - North Andover

Vijeo Designer

XBT GK 2120/2330 Rear Panel


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

RS485 serial link (COM2) RJ45 connector 24 VDC power supply terminal block

USB Port Ethernet 10/100BASE-T link RJ45 connector

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 supply The memory card LED turns on when a memory card is in the memory card slot and the cover is closed.

Module 1 - 18

Vijeo Designer

Technical Communications - North Andover

XBT GK 5330 Rear Panel

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

RS485 serial link (COM2) RJ45 connector USB Ports

Memory Card Cover

AUX Port 24 VDC power supply terminal block Ethernet 10/100BASE-T link RJ45 connector

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.

Module 1 - 19

Technical Communications - North Andover

Vijeo Designer

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.

Module 1 - 20

Vijeo Designer

Technical Communications - North Andover

XBT GK options

USB port type A


Transfer cable

XBTZG935

RS232C/RS485
COM1 RJ45

Serial link cable

XBTZ cable (*)


Serial link cable

XBTZGcable (*)

COM1 RS232

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).

Module 1 - 21

Technical Communications - North Andover

Vijeo Designer

XBT GK Accessories
CF card (from 64 to 1G) Installation gasket Installation fastener Screen protection sheet Panel 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.

Module 1 - 22

Vijeo Designer

Technical Communications - North Andover

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

Module 1 - 23

Technical Communications - North Andover

Vijeo Designer

XBTGT 1000 Options


Transfer cable

XBTZG915
Tool port
Transfer cable

XBTZG925

RS232C/RS485
COM1 RJ45

Serial link cable

XBTZ cable (*)


Serial link cable

XBTZGcable (*)

COM1 RS232

(*) see the catalog

Schneider offers a wide range of cables for connecting your XBT 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.

Module 1 - 24

Vijeo Designer

Technical Communications - North Andover

XBT GT2000 to 7000 Options

USB port type A


Transfer cable

XBTZG935

RS232C/RS422 (485)
COM1 SUB-D 9 pin

Serial link cable

XBTZ cable (*)


Serial link cable

XBTZGcable (*)

RS485
COM2 RJ45

Serial link cable

XBTZ cable (*)


Serial link cable

XBTZGcable (*)

(*) 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).

Module 1 - 25

Technical Communications - North Andover

Vijeo Designer

XBT GT Accessories
CF card (from 64 to 1Gig) LED for backlight (XBT GT5000 to XBT GT 7000 series) Installation gasket Installation fastener Screen protection sheet Panel cut-out adapter USB holder USB 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.

Module 1 - 26

Vijeo Designer

Technical Communications - North Andover

Module 2
Memory Management

Module 2 - 1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Discuss the XBTG/GTs & XBTGK terminals internal memory use Discuss the system areas memory use display Discuss the installation and use of the CF card

Module 2 - 2

Vijeo Designer

Technical Communications - North Andover

Memory Map of a XBT G

DRAM 16 MB

SRAM (2) 128/512 KB

ROM memory (1)

RISK CPU 100 MHz

Flash memory 4, 6 or 8 MB

CF card

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

A Magelis XBT G terminals 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).

Module 2 - 3

Technical Communications - North Andover

Vijeo Designer

Memory Map of a XBT GT

DRAM 16, 32, or 64 MB

SRAM (2) 128/512 KB

NOR Flash memory 8 MB

RISK CPU
100/133/266 MHz

NAND Flash memory 8, 16 or 32 MB

Video RAM 32 MB (1)

CF card 64 to 1GB

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

The Magelis XBT GT terminals memory has the following structure: Working memory 16 to 64 megabytes of dynamic memory, or DRAM User 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

Module 2 - 4

Vijeo Designer

Technical Communications - North Andover

Internal Structure of a XBT GK Terminal

DRAM 32 MB

SRAM (2) 512 KB

NOR Flash memory 8 MB

RISK CPU
100/133/266 MHz

NAND Flash memory 16 or 32 MB

Video RAM 32 MB (1) (3)

CF card 64 to 1GB

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

The Magelis XBT GK terminals 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

Module 2 - 5

Technical Communications - North Andover

Vijeo Designer

XBT G Internal Memory


XBT G2110 XBT G2120 XBT G2220 XBT G2130 XBT G2330 XBT G4320 XBT G4330 XBT G5230 XBT G5330 XBT G6330

DRAM memory

16 MB

16 MB

16 MB

16 MB

16 MB

SRAM Data

128 KB

128 KB

512 KB

128 KB

512 KB

Flash EPROM Application

4 MB

4 MB

6 MB

6 MB

8 MB

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

Module 2 - 6

Vijeo Designer

Technical Communications - North Andover

XBT GT Internal Memory


XBT GT1100 XBT GT1300 XBT GT2110 XBT GT2120 XBT GT2220 XBT GT2130 XBT GT2330 XBT GT4230 XBT GT4330 XBT GT5230 XBT GT5330 XBT GT6330 32 MB XBT GT4340 XBT GT5340 XBT GT6340 XBT GT7340

DRAM memory

16 MB

16 MB

32 MB

64 MB

SRAM Data

512 KB

128 KB

512 KB

512 KB

512 KB

Flash EPROM Application

NOR

8 MB 8 MB

8 MB

8 MB

8 MB

NAND

16 MB

16 MB

32 MB

32 MB

Video RAM

32 MB (*)

32 MB (*)

(*) 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)

Module 2 - 7

Technical Communications - North Andover

Vijeo Designer

XBT GK Internal Memory


XBT GK2120 XBT GK2330 XBT GK5330

SRAM DRAM Data memory

32 MB

32 MB

512 KB

512 KB

Flash EPROM Application

NOR

8 MB

8 MB

NAND

16 MB

32 MB

Video RAM

32 MB (*)

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)

Module 2 - 8

Vijeo Designer

Technical Communications - North Andover

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: - Dont 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.

Module 2 - 9

Technical Communications - North Andover

Vijeo Designer

Application Starting Mode


With Memory Card No memory card Switch 1 Result
The terminal executes the application saved in the internal memory

The terminal executes the application saved in the internal memory

OFF

Runtime
Application

ON

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

A terminal can operate with or without a memory card. Historical data requires that a memory card be present If youre 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 applications 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.

Module 2 - 10

Vijeo Designer

Technical Communications - North Andover

Module 3
Communications

Module - 3-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

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

Module - 3-2

Vijeo Designer

Technical Communications - North Andover

Introduction
Modbus TCPIP Modbus Modbus + Uni-Telway Siemens Rockwell Omron

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

Mitsubishi

New Drivers in V 4.4 include: Modbus Slave RTU/TCP Siemens SIMATIC NITP/TBP 505 Profibus DP Slave Rockwell 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

Module - 3-3

Technical Communications - North Andover

Vijeo Designer

XBT G Communications & Ports


Modbus +
Legacy PLC

COM1 (Uni-Telway, Modbus, 3rd party) Tool COM2 (Uni-telway, Modbus, 3rd party)

Print

Ethernet

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

Module - 3-4

Vijeo Designer

Technical Communications - North Andover

XBT GT Communication & Ports


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

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

USB
USB
Adapter

Modbus +

Legacy PLC

USB

Adapter

FIP

Ethernet

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

Module - 3-5

Technical Communications - North Andover

Vijeo Designer

XBT GK Communication Ports


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

USB

COM2

(Uni-telway, Modbus , 3rd party)

USB
USB
Adapter

Modbus +

Legacy PLC

USB

Adapter

FIP

Ethernet

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

Module - 3-6

Vijeo Designer

Technical Communications - North Andover

Modbus TCPIP Link


Modbus TCP/IP protocol

1 communication port
Multiple connections are possible RJ45 connector/10 Base - T cable

XBTG X manages the exchanges with connected devices


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

Modbus TCPIP

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
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 Slow 50 - 250ms 1000 30,000 ms

Medium 250 1000 ms User Defined a time interval in minutes:seconds format. Values from 2 seconds to 60 minutes may be added

Module - 3-7

Technical Communications - North Andover

Vijeo Designer

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.

Module - 3-8

Vijeo Designer

Technical Communications - North Andover

Modbus TCPIP Connection


1

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

Module - 3-9

Technical Communications - North Andover

Vijeo Designer

Modbus TCPIP Connection


1

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

Module - 3-10

Vijeo Designer

Technical Communications - North Andover

Adding Another PLC


1

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

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

Module - 3-11

Technical Communications - North Andover

Vijeo Designer

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

Modbus

See Device Driver Manual for details

Legacy

Module - 3-12

Vijeo Designer

Technical Communications - North Andover

Modbus RTU Configuration

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

Module - 3-13

Technical Communications - North Andover

Vijeo Designer

Modbus RTU Configuration


1

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

Module - 3-14

Vijeo Designer

Technical Communications - North Andover

Modbus RTU Configuration - Port

Configure the serial port and click on OK The Connection is configured

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

Module - 3-15

Technical Communications - North Andover

Vijeo Designer

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

Module - 3-16

Vijeo Designer

Technical Communications - North Andover

Modbus Plus Link - XBTG

Modbus +

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

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

Module - 3-17

Technical Communications - North Andover

Vijeo Designer

Adding Modbus Plus

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

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.

Module - 3-18

Vijeo Designer

Technical Communications - North Andover

Modbus Plus Local Node

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

Module - 3-19

Technical Communications - North Andover

Vijeo Designer

Modbus Plus Routing Information

Enter the PLCs node address (1) and any routing information required The connection is configured

Module - 3-20

Vijeo Designer

Technical Communications - North Andover

Routing Example

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

Module - 3-21

Technical Communications - North Andover

Vijeo Designer

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 as a client Master devices:


Premium, Micro, Nano PLCs Series 7 PLCs, etc

UniTelway

XBTG/GT units will have one or two ports, depending on the model If 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

Module - 3-22

Vijeo Designer

Technical Communications - North Andover

Adding a Uni-Telway Link

Add a UniTelway driver as shown

Module - 3-23

Technical Communications - North Andover

Vijeo Designer

Configuring a Uni-Telway Driver

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

Module - 3-24

Vijeo Designer

Technical Communications - North Andover

Adding a Uni-Telway Link

Double click on the equipment to configure Add the Network/Station information required to connect to the PLC The connection is configured

Module - 3-25

Technical Communications - North Andover

Vijeo Designer

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 devices Printer, barcode reader, etc.

Connection to PLCs via USB & sometimes, converter cables .


Convert PLC

M340

Simultaneous multiple connection using a USB hub

USB Hub

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).

Module - 3-26

Vijeo Designer

Technical Communications - North Andover

Transferring an Application
Application

Application

Application

TOOL port/USB Port PC to target transfer XBT ZG 915/925/935 cables Memory card as transfer medium Transfer the application to the card (via XBT ZG ADT adaptor) Use the card in the terminal 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. Dont 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

Module - 3-27

Technical Communications - North Andover

Vijeo Designer

XBT Targets in a Distributed Architecture


XBTGK XBTGT XBTG

Designer

Ethernet TCP/IP

Modbus +

PLC1

PLC2

PLC3 PLC4

Ethernet More Nodes

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 once Each 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 via Ethernet. 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 each other via Ethernet thus eliminating the need for each target to poll the PLC individually. This is covered in a later module

Module - 3-28

Vijeo Designer

Technical Communications - North Andover

Simultaneous Use of Com Ports


Modbus +

Modbus

Ethernet TCP/IP

Uni-Telway

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

Module - 3-29

Technical Communications - North Andover

Vijeo Designer

This page intentionally left blank

Module - 3-30

Vijeo Designer

Technical Communications - North Andover

Module 4
Preparing a Target for Use

Module 4-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Learn how to prepare an XBT G/GT/GK for its initial use Set an IP address in the XBT G/GT/GK Access the system area Learn what the system area is used for

Module 4-2

Vijeo Designer

Technical Communications - North Andover

Vijeo Designer Runtime System


Runtime resides on the target machine and runs the user-created application The 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
Runtime installer Target machine XBT G XBT GT1000 XBT GT2110 XBT GT2120 to 7000 XBT GTK21220 to 5330 i PC Ethernet Yes Yes Yes Yes Yes Tool port Yes Yes No No No USB port No No Yes Yes Yes Yes No No Yes
CF, CD-R, floppy

CF card

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, IPCs can also use CD Roms or floppy drives if they have them

Module 4-3

Technical Communications - North Andover

Vijeo Designer

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

Module 4-4

Vijeo Designer

Technical Communications - North Andover

Setting the Units IP Address

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

Enter the XBTGs IP address, subnet mask and gateway information

Module 4-5

Technical Communications - North Andover

Vijeo Designer

Installing Runtime Via Ethernet

Connect the target machine to your PC From Schneider Electric/Vijeo Designer/Tools, access Runtime installer Select the target machine and installation method (Ethernet) Enter the Ethernet parameters for the target machine Click Send

Dont power off the target machine during the transfer

To transfer the Runtime system via an Ethernet network: - Configure the terminals 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.

Module 4-6

Vijeo Designer

Technical Communications - North Andover

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

Dont power off the target machine during the transfer

To transfer the Runtime system via the terminals Tool port: The hardware options vary, depending on the model and method selected. Always use Ethernet if its 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.

Module 4-7

Technical Communications - North Andover

Vijeo Designer

Installing Runtime Via USB Port

Select the target machine and installation method (USB) Click Send

Dont power off the target machine during the transfer

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.

Module 4-8

Vijeo Designer

Technical Communications - North Andover

Runtime system in Recovery Mode

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

Methods for recovering the Runtime system depend on type of target machine Target machine XBT G series (except XBT G2110) XBT GT2000 to 7000 series (except XBT GT2110 and XBT GT1000 series) XBT GK2120 to 5330 series XBT G series, iPC XBT GT1000 series Recovery method CF card

Recovery mode of Runtime installer

Runtime installer needs to connect your PC to the terminal


Target machine XBT G series XBT GT1000 series Download Serial Ethernet Cable XBTZG915 cable XBTZG915 and Ethernet cables

The Runtime system is transferred in recovery mode when the terminals 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.

Module 4-9

Technical Communications - North Andover

Vijeo Designer

Transferring Runtime in Recovery Mode


Power off the terminal Serial or USB (model dependant) Serial - Connect the target machine to your PC: XBTZG915 cable Access Runtime installer

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

Dont power off the target machine during the transfer

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.
Module 4-10

Vijeo Designer

Technical Communications - North Andover

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 topleft 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

Module 4-11

Technical Communications - North Andover

Vijeo Designer

Adjusting the Terminal


XBT G terminals: press top-left corner or 3 corners simultaneously XBT GT / GK terminals: press top-left corner or 2 corners simultaneously Offline, System and Diagnostics configuration screens are now available

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 terminals 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 applications normal operating mode.

Module 4-12

Vijeo Designer

Technical Communications - North Andover

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 #
Module 4-13

Technical Communications - North Andover

Vijeo Designer

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

Module 4-14

Vijeo Designer

Technical Communications - North Andover

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

Module 4-15

Technical Communications - North Andover

Vijeo Designer

This page intentionally left blank

Module 4-16

Vijeo Designer

Technical Communications - North Andover

Module 5
Vijeo Designer New Features

Module 5-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

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

Module 5-2

Vijeo Designer

Technical Communications - North Andover

New Terminals
XBTGK z Keyboard z Function Keys

XBTGT1005 Series z USB port

XBTGTW Series z Windows XP z Windows Xpe

iPC Series z SRAM

New terminal series are available. The new terminal series are: XBTGK Series XBTGT1005 Series XBTGTW Series and iPC 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.

Module 5-3

Technical Communications - North Andover

Vijeo Designer

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 detail Master 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.

Module 5-4

Vijeo Designer

Technical Communications - North Andover

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.

Module 5-5

Technical Communications - North Andover

Vijeo Designer

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 terminals USB port. This feature has been provided so that you can input data when you cannot access the terminals 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.

Module 5-6

Vijeo Designer

Technical Communications - North Andover

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. #

Module 5-7

Technical Communications - North Andover

Vijeo Designer

Variable Editor

Variable Editor Its 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 tabs Navigator window Set up variable properties in the Variable Editor. The Variable Editor displays variables in a spreadsheet format, displaying the variables name, data type, data source, scan group, device address, alarm group, and logging group. You can update variable information directly in the spreadsheet.

Module 5-8

Vijeo Designer

Technical Communications - North Andover

Network Configuration Features

Vijeo Designer V4.6 October 2006

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 terminals network configuration menu.

Module 5-9

Technical Communications - North Andover

Vijeo Designer

Network Configuration Features

Vijeo Designer V4.6 October 2006

10

The MAC address of the terminal can be viewed in the MAC/DNS tab. DNS associates the terminals IP address with the terminal name.

Module 5-10

Vijeo Designer

Technical Communications - North Andover

Tool Window Setup Options

Set view mode 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

Customize your Vijeo-Designer working environment:

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 #

Module 5-11

Technical Communications - North Andover

Vijeo Designer

Increased Data Sharing


Share data between terminals

z Variable Data (not new)

z Alarm Messages

z Recipes

Vijeo Designer V4.6 October 2006

12

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 single trend graph. - Alarm messages. You can manage alarms from multiple sources on a single alarm summary or alarm banner. - Recipes. You can view and edit recipes on remotely connected terminals through Web Gate.

Module 5-12

Vijeo Designer

Technical Communications - North Andover

I/O Manager Enhancements

Addressing Upgrades Direct I/O Addressing

Vijeo Designer V4.6 October 2006

13

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 devices 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.

Module 5-13

Technical Communications - North Andover

Vijeo Designer

I/O Manager Enhancements

z ANSI Support
Vijeo Designer V4.6 October 2006 14

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

Module 5-14

Vijeo Designer

Technical Communications - North Andover

Web Gate
Web Gate ActiveX Control

z Multiple connections z Data sharing z Sound Support

Vijeo Designer V4.6 October 2006

15

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.

Module 5-15

Technical Communications - North Andover

Vijeo Designer

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.

Module 5-16

Vijeo Designer

Technical Communications - North Andover

Module 6
Introduction to Vijeo Designer

Module 6-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Introduce Vijeo Designer Discuss PC requirements Discuss the development environment Discuss toolbars

Module 6-2

Vijeo Designer

Technical Communications - North Andover

PC Requirements

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

Module 6-3

Technical Communications - North Andover

Vijeo Designer

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

Module 6-4

Vijeo Designer

Technical Communications - North Andover

User Interface
Toolbars

Navigator: The main software window, the project summary Inspector: Displays the Properties of the selected item Graphical List: List of objects on current panel

Graphical Editor: Develop or edit panels

ToolChest: Displays tools to 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 softwares 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. 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 applications variables

You can also use the following windows:

You 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)

Module 6-5

Technical Communications - North Andover

Vijeo Designer

Toolbars/ File Toolbar

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

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

Module 6-6

Vijeo Designer

Technical Communications - North Andover

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

Module 6-7

Technical Communications - North Andover

Vijeo Designer

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.

Module 6-8

Vijeo Designer

Technical Communications - North Andover

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.

Module 6-9

Technical Communications - North Andover

Vijeo Designer

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).

Module 6-10

Vijeo Designer

Technical Communications - North Andover

The Tools Toolbar

The Tools toolbar includes:


Icons for the six tool windows Used to open/close windows

Module 6-11

Technical Communications - North Andover

Vijeo Designer

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..

Module 6-12

Vijeo Designer

Technical Communications - North Andover

The Object Information Toolbar

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

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

Module 6-13

Technical Communications - North Andover

Vijeo Designer

The Arrange Toolbar

Standard tools for controlling screen objects Order, rotate, alignment .

Module 6-14

Vijeo Designer

Technical Communications - North Andover

Graphic Objects

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

Module 6-15

Technical Communications - North Andover

Vijeo Designer

Graphic Objects (Cont)

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


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

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

Module 6-16

Vijeo Designer

Technical Communications - North Andover

Native Tools (Cont)

Native tools (cont). (1)


Bar Graphs, Selector, Alarm Summary, Trend charts, Video

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

Module 6-17

Technical Communications - North Andover

Vijeo Designer

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

The Project Manager has several different uses. It may be used to: 1) Start a new project 2) Select an existing project for editing 3) Backup an existing project (always a good idea) a) project must be closed first 4) Export a project a) project must be closed first

Module 6-18

Vijeo Designer

Technical Communications - North Andover

The Navigator

Appears when you open a project from the Project Manager Used for project configuration, panel creation Communications setup Project transfer to a target Project testing Variable creation or importing All 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
Module 6-19

Technical Communications - North Andover

Vijeo Designer

Navigator Details
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)

1 3 2 5 4 6 8 10 7 9 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

Module 6-20

Vijeo Designer

Technical Communications - North Andover

Graphical Editor

Develop or edit graphical panels Window mMay be resized as desired List 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

Module 6-21

Technical Communications - North Andover

Vijeo Designer

Graphics List

Displays a list of objects on current panel Displays animation associated with object May be used to edit grouped objects May 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

Module 6-22

Vijeo Designer

Technical Communications - North Andover

ToolChest

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

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

Module 6-23

Technical Communications - North Andover

Vijeo Designer

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

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

Module 6-24

Vijeo Designer

Technical Communications - North Andover

Feedback Zone

Feedback Zone Displays system generated messages when you Validate, Download or Simulate Red Errors must be fixed Double-click on errors to go to the problem

Module 6-25

Technical Communications - North Andover

Vijeo Designer

This page intentionally left blank

Module 6-26

Vijeo Designer

Technical Communications - North Andover

Module 7
PLC Communication, Home & Navigation Panels

Module 7-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Start a new project Add a communication driver Create some panels Create navigation between panels Test the project in the simulator

Module 7-2

Vijeo Designer

Technical Communications - North Andover

Starting a New Project

Right click on Vijeo-Manager (1) Select New Project (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)

Module 7-3

Technical Communications - North Andover

Vijeo Designer

Naming the Project

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

Add optional password (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)

Module 7-4

Vijeo Designer

Technical Communications - North Andover

Picking the Model


2

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

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.

Module 7-5

Technical Communications - North Andover

Vijeo Designer

Setting the IP Address

If the target will use Ethernet for communication for program download, set the address You must enter a correct subnet mask for the IP address you create
You dont need to enter a gateway

If not Ethernet click on Finish

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

Module 7-6

Vijeo Designer

Technical Communications - North Andover

Target Equipment List

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

Module 7-7

Technical Communications - North Andover

Vijeo Designer

Target Equipment List

One driver added

Module 7-8

Vijeo Designer

Technical Communications - North Andover

PLC Communication (from project level)

If you did not add drivers via the wizard: From the Navigator Right click on the I/O Manager (1) Select New Driver (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.

Module 7-9

Technical Communications - North Andover

Vijeo Designer

Select Driver

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

Non-Schneider drivers are also now available

Module 7-10

Vijeo Designer

Technical Communications - North Andover

Schneider Drivers

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

Modbus Plus requires Modbus Plus interface hardware

Module 7-11

Technical Communications - North Andover

Vijeo Designer

Modbus Ethernet

Enter the IP address of the PLCs Ethernet interface (1) Select IEC61131 Syntax if the PLC uses IEC addressing (2) and indicate if its a 0 based system or 1 based system
If your targets application was written when connected to a Modicon PLC, Pick 1 based, otherwise leave at 0 based

Module 7-12

Vijeo Designer

Technical Communications - North Andover

Modbus Plus

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

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

Module 7-13

Technical Communications - North Andover

Vijeo Designer

Uni-Telway
1

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

Enter information necessary to connect to the PLCs Uni-telway interface

Module 7-14

Vijeo Designer

Technical Communications - North Andover

Creating a Master Panel

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

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.

Module 7-15

Technical Communications - North Andover

Vijeo Designer

Creating New Base Panels

Right click on the Base Panels Select 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 panel Create additional panels in the same manner

You can create all your projects panels in the beginning or create them as you need them. Its 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 dont physically overlap

Module 7-16

Vijeo Designer

Technical Communications - North Andover

Adding an Image

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

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

Module 7-17

Technical Communications - North Andover

Vijeo Designer

Setting Panel Properties


1

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

A panels background color is one of its properties and may be set via the property inspector. Entering the numbers manually allows you match panels background color exactly If you are trying to match the panels 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.

Module 7-18

Vijeo Designer

Technical Communications - North Andover

Text Labels

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

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).

Module 7-19

Technical Communications - North Andover

Vijeo Designer

3D text

1 2

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

3D text makes an attractive panel label

Module 7-20

Vijeo Designer

Technical Communications - North Andover

Navigation Introduction

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

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

Module 7-21

Technical Communications - North Andover

Vijeo Designer

Native Object Navigation


1 2

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

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).

Module 7-22

Vijeo Designer

Technical Communications - North Andover

Native Object Navigation

Browse for the panel that you wish to navigate to (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.

Module 7-23

Technical Communications - North Andover

Vijeo Designer

Adjusting Object Spacing

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

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

Module 7-24

Vijeo Designer

Technical Communications - North Andover

Setting the Background Color

Used to make the background color of the panel match the image To implement: 1) Add the image to the panel 2) 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 background 4) Click on OK. The panel changes to the color you selected with the picker

Module 7-25

Technical Communications - North Andover

Vijeo Designer

Validation
1

Validation checks for errors Select the target (1) Right click and validate (2) Fix and errors found (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.

Module 7-26

Vijeo Designer

Technical Communications - North Andover

Simulation

1 2

Two choices connect to PLC (1)


Connects to PLC(s) configured in IO Manager

Random number generator (2)


Drives animations

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.

Module 7-27

Technical Communications - North Andover

Vijeo Designer

Importing a Project

Select the import the project option to (1) Right click and browse for project (2) The project is imported (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) .

Module 7-28

Vijeo Designer

Technical Communications - North Andover

Exporting a Project

The project must be closed first Select Export from the Vijeo Manager level (1) Browse for a destination (2) The project is exported (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)

Module 7-29

Technical Communications - North Andover

Vijeo Designer

Complete Exercise 1 Exercise 7


located at the rear of this manual

Module 7-30

Vijeo Designer

Technical Communications - North Andover

Module 8
Variables

Module 8-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

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

Module 8-2

Vijeo Designer

Technical Communications - North Andover

Variable Introduction

Variables are tag names for XBT memory locations There 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

Module 8-3

Technical Communications - North Andover

Vijeo Designer

Creating Variables - Manually


2 3

Right click on variables (1) Select New Variable (2) and select the data type from the displayed list (3) Discrete- digital, ON/OFF Integer- numbers without decimals points Float real numbers String text data Structure - 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

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 variables Block Variables - a block of consecutive, external variables (details later)

Module 8-4

Vijeo Designer

Technical Communications - North Andover

Variable Properties - Address


Select the variable (1) Set source to PLC (2) Set the DeviceAddress Modicon uses an offset (3)

IEC style addressing is also possible (4)

6 digit addresses are changed to 5 digit addresses

3 4

Even though the DeviceAddress field shows a 5-digit address, it will work with 6-digit systems If you type the address in directly, you dont have to use the offset If 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

Module 8-5

Technical Communications - North Andover

Vijeo Designer

Variable Properties Indirect Address

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 offset Works the same way with IEC addressing

Module 8-6

Vijeo Designer

Technical Communications - North Andover

Variable Properties Data Formats

Select:
BIN binary BCD binary coded decimal

Signed or unsigned data

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

Module 8-7

Technical Communications - North Andover

Vijeo Designer

Logging Group

Controls logging of historical data (80 max) (1) Periodic or triggered logging Data 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 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

Module 8-8

Vijeo Designer

Technical Communications - North Andover

Variable Properties Data Details

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

Module 8-9

Technical Communications - North Andover

Vijeo Designer

Variable Properties DataScaling

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

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

Module 8-10

Vijeo Designer

Technical Communications - North Andover

Block Variables
1

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

Recipe operation:

Module 8-11

Technical Communications - North Andover

Vijeo Designer

Variable Structures

Structures act as folders that store multiple variables (1)


Variables may be of mixed data types

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

Module 8-12

Vijeo Designer

Technical Communications - North Andover

System Variables

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 clock Other 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.

Some of the system variables are:

Module 8-13

Technical Communications - North Andover

Vijeo Designer

Variable Arrays

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 2048 Arrays 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]

Module 8-14

Vijeo Designer

Technical Communications - North Andover

Array Example

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.

Module 8-15

Technical Communications - North Andover

Vijeo Designer

Linking Variables

Links variables and variable addresses directly to a PLC faxed file Saves time, easily maintained
May be updated if addresses change

Right click on the target & select link variables Browse 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 .CNN For 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 new Click the Open Button

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)

Module 8-16

Vijeo Designer

Technical Communications - North Andover

Linking Variables

The Program file opens Select 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)

Module 8-17

Technical Communications - North Andover

Vijeo Designer

Updating the Link

1 1

Select Update Link (1) Select the link to update (2). You can have multiple links Confirm the update Any new variables will be added You can also remove the link if you want

Module 8-18

Vijeo Designer

Technical Communications - North Andover

Complete Exercise 1 Exercise 8


located at the rear of this manual

Module 8-19

Technical Communications - North Andover

Vijeo Designer

This page intentionally left blank

Module 8-20

Vijeo Designer

Technical Communications - North Andover

Module 9
Animations, Clipart

Module 9-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Add clipart from the clipart library Add input and output fields Create a bargraph Add lamps Animate shapes to change color

Module 9-2

Vijeo Designer

Technical Communications - North Andover

Clipart

3 2

Vijeo has an extensive clipart library Click on the Toolchest icon (1) Select Image Library (2) Images are filed by category Available images appear (3) Drag image to your panel Resize as needed

Module 9-3

Technical Communications - North Andover

Vijeo Designer

Input/Output Fields
1

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

Module 9-4

Vijeo Designer

Technical Communications - North Andover

Input/Output Fields (Cont)

Select (1) to input data to linked variable Creates R/W to linked variable Leave unchecked for numeric display (read only)

Module 9-5

Technical Communications - North Andover

Vijeo Designer

Build Your Own


1

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

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

Module 9-6

Vijeo Designer

Technical Communications - North Andover

Build Your Own (Cont)

From the value tab:


Link to variable (1) If input field, enable input mode (2) & popup panel

Module 9-7

Technical Communications - North Andover

Vijeo Designer

Bargraphs

2 4

Bargraphs may be created in a couple of ways Native tools may be used (1) for either vertical or horizontal bar graphs Link variable (3) Engineering range (3) Select appearance (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

Module 9-8

Vijeo Designer

Technical Communications - North Andover

Bargraph - Color

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

Module 9-9

Technical Communications - North Andover

Vijeo Designer

Bargraphs - Custom

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 required Set the background of the bar. Foreground will be color of drawn shape Bar can change colors at different points by configuring the color tab

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

Module 9-10

Vijeo Designer

Technical Communications - North Andover

Changing the Color of a Shape


3 1 2

Draw object (1) Double click and go to Color tab Link 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

Module 9-11

Technical Communications - North Andover

Vijeo Designer

Color Resource for by State Mode


1 3

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

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

Module 9-12

Vijeo Designer

Technical Communications - North Andover

Changing the Color of a Shape

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

Module 9-13

Technical Communications - North Andover

Vijeo Designer

Lamps

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

Module 9-14

Vijeo Designer

Technical Communications - North Andover

Lamps

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

Module 9-15

Technical Communications - North Andover

Vijeo Designer

N-State Lamp - Bit

Binary number generated by variables picks a color for the lamp Number of states picked controls how many variables and colors the lamp will change to (3 min,32 max) V2 and V2
0,0 0,1 1, 0 1,1 COLOR FOR STATE ZERO IS PICKED COLOR FOR STATE ONE IS PICKED COLOR FOR STATE TWO IS PICKED OUT OF RANGE COLOR IS PICKED

Module 9-16

Vijeo Designer

Technical Communications - North Andover

N-State Lamp Bit Color

Set colors and attributes for state from the color tab State 1 is shown Color resources may also be used

Module 9-17

Technical Communications - North Andover

Vijeo Designer

N-State Lamp Word by Bit


Define number of states, control type

1 Pick colors for each state

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

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.

Module 9-18

Vijeo Designer

Technical Communications - North Andover

N-State Lamp Word by Value

3-31 states possible Number in variable = active state If variable = 10, then state 10 colors are picked If 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.

Module 9-19

Technical Communications - North Andover

Vijeo Designer

Complete Exercise 1 Exercise 9


located at the rear of this manual

Module 9-20

Vijeo Designer

Technical Communications - North Andover

Module 10
Popup Panels, Meters & Motion

Module 10-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

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

Module 10-2

Vijeo Designer

Technical Communications - North Andover

Popup Panels

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

Module 10-3

Technical Communications - North Andover

Vijeo Designer

Popup Panels

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.

Module 10-4

Vijeo Designer

Technical Communications - North Andover

Popup Panels
1

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

3 2

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.

Module 10-5

Technical Communications - North Andover

Vijeo Designer

Opening a Popup Touch Animation

2 1

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

Module 10-6

Vijeo Designer

Technical Communications - North Andover

Opening a Popup Touch Animation

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

Module 10-7

Technical Communications - North Andover

Vijeo Designer

Popup Panels Native Switch

Add a Native Switch Select an Invisible Switch (1) Select Popup for the Operation (2) Pick panel to open
Close popup also possible

Positioning offset from upper left corner

Module 10-8

Vijeo Designer

Technical Communications - North Andover

Meters

2 3

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

Module 10-9

Technical Communications - North Andover

Vijeo Designer

Meter - Color

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


Or use color resource

Set thresholds (3)

Module 10-10

Vijeo Designer

Technical Communications - North Andover

Meter Label

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

Module 10-11

Technical Communications - North Andover

Vijeo Designer

Meter Numeric Display


1

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

Module 10-12

Vijeo Designer

Technical Communications - North Andover

Motion Animation

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

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

Module 10-13

Technical Communications - North Andover

Vijeo Designer

Complete Exercise 1 Exercise 10


located at the rear of this manual

Module 10-14

Vijeo Designer

Technical Communications - North Andover

Module 11
Trending

Module 11-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

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

Module 11-2

Vijeo Designer

Technical Communications - North Andover

Trending Introduction
1

Two types
Realtime (1) Historical (2)

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

Module 11-3

Technical Communications - North Andover

Vijeo Designer

Logging Group Settings - Sample

Data collection for trend charts is controlled by Data Logging Groups


Created at project level (1) Variables are attached to logging groups Periodic collected on a time interval (3) Triggered snapshot of data when triggered (3)

Two types

80 different Logging groups max per target


Max recommended number of logged variables is 80 for XBTG and GT1000, GT2000 and up = 100

Module 11-4

Vijeo Designer

Technical Communications - North Andover

Periodic Logging Group

Setup the properties of the logging group (1)


Interval, units

Name - Name of current logging group Type - Periodic time based Units Units for the digits created by the slider

Module 11-5

Technical Communications - North Andover

Vijeo Designer

Triggered Logging Group

Configure the triggering for the logging group Trigger Type (1)
When true, when false, on data change (2)

Trigger variable variable linked to trigger event

Module 11-6

Vijeo Designer

Technical Communications - North Andover

Logging Group Variable Settings


Configuration details on historical data collection Type


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 DRAM 10 to 1000 records SRAM 10 300 records

Records in Ram - ## of records stored in Ram


File Limit how much data to be stored Ram Usage/File Size(1) calculates the memory usage for your configuration Units
Periodic controls how often data is recorded Triggered used in calculating storage requirements

Module 11-7

Technical Communications - North Andover

Vijeo Designer

The Buffer
Data Logging Group RAM Buffer
Logging Interval Data Data Data Data Data Data Data Data Data Data Data

CF

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 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)

Module 11-8

Vijeo Designer

Technical Communications - North Andover

Realtime Trend Charts


1

Realtime is a native control (1) Need CF card for trend graphs Programmable direction Number of samples
Frequency set in logging group

Scaling for chart (range) DataAxis Labeling Chart may also look as (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.

Module 11-9

Technical Communications - North Andover

Vijeo Designer

Realtime Trend Graphs

Attributes for Axis scales Graph grid lines Channel configuration


Channel color Line style Line width Background color

Disable unused channels

Module 11-10

Vijeo Designer

Technical Communications - North Andover

Historical Trend Graph

Historical Trend Graphs added from the ToolChest (1)


3 different versions but configure the same

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

Module 11-11

Technical Communications - North Andover

Vijeo Designer

Historical Trend Configuration


1

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

Module 11-12

Vijeo Designer

Technical Communications - North Andover

Historical Trend Charts

Running 3D Trend Chart

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

Module 11-13

Technical Communications - North Andover

Vijeo Designer

Complete Exercise 11
located at the rear of this manual

Module 11-14

Vijeo Designer

Technical Communications - North Andover

Module 12
Alarms

Module 12-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives
In this Module we will: Learn how to configure alarms Create Alarm Groups Configure an Alarm Viewer Learn how to configure a local alarm banner Learn how to configure a global alarm banner

Module 12-2

Vijeo Designer

Technical Communications - North Andover

Alarming Introduction

To display an alarm message you must:


Configure alarms on the variable(s), create alarm groups, configure the alarm summary

Alarm configuration is part of the variables definition


Alarm type and conditions are set at the variable level

Alarm groups are a way of organizing alarms & serring up common attributes
By machine, process, severity . Its up to you

The Alarm Summary control simply displays the alarm information Alarm Summary operates in either an active or historical modes There 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

Module 12-3

Technical Communications - North Andover

Vijeo Designer

Creating Alarm Groups - General

2 1

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

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 group Touch Action - Actions to occur when Alarm Summary is touched Number of Alarms Displays the number of alarms for this alarm group Alarm Behavior Indicate if an alarm requires acknowledgement

Module 12-4

Vijeo Designer

Technical Communications - North Andover

Creating Alarm Groups - Counters

Variables may be designated to hold the current count of various alarm information
See below for details

Module 12-5

Technical Communications - North Andover

Vijeo Designer

Creating Alarm Groups - Messages


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

1 2 3

Module 12-6

Vijeo Designer

Technical Communications - North Andover

Alarms - Save to File

Control Variable - an integer variable that controls when to output alarms to a file, and in what format Status Variable - an integer variable to give you the status of the file output operation Error Variable an integer variable that store an error code File 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

Module 12-7

Technical Communications - North Andover

Vijeo Designer

Alarms Categories

Alarm Categories Used to display multiple Alarm Groups in a single Alarm summary Add 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)

Module 12-8

Vijeo Designer

Technical Communications - North Andover

Alarms - Save to File - Format


Controls the columns/information saved in the .CSV file. Default columns are shown Add additional information from the left Remove information by selecting and deleting

Module 12-9

Technical Communications - North Andover

Vijeo Designer

Batch Printing Control & Format


1

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 printer Title 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)

Format specifiers control the title appearance

Module 12-10

Vijeo Designer

Technical Communications - North Andover

Triggering Batch Alarm Printing

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

Batch Printing The 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.

Module 12-11

Technical Communications - North Andover

Vijeo Designer

Real-time Alarm Printing

Enabled from the Inspector when the Alarms is selected Select your printing options

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.

Module 12-12

Vijeo Designer

Technical Communications - North Andover

Printing Alarms Real-time

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

You can print alarm messages either as they occur in Real-Time or in Batches. RealTime 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.

Module 12-13

Technical Communications - North Andover

Vijeo Designer

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 Alarm Hi=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).

Module 12-14

Vijeo Designer

Technical Communications - North Andover

Alarm Variables - Numeric

OR

Alarm Message text message displayed Alarm Type Deadband Touch Action or Trigger Action specify actions to take place when alarm occurs Severity a way of sorting alarms Sound Plays sound file. Configured at the Project level, under Data Files

Module 12-15

Technical Communications - North Andover

Vijeo Designer

Variables - Boolean

Alarm Message text message displayed Trigger Condition triggers alarm


High or Low

Alarm Group Assigns this alarm to a group Touch Action or Trigger Action specify actions to take place when alarm occurs Severity Higher Severity alarms are displayed first Sound Plays sound file. Configured at the Project level, under Data Files

You can specify the following operations for alarm actions.

Module 12-16

Vijeo Designer

Technical Communications - North Andover

Adding an Alarm Summary


1

Select from native parts (1), add to panel

Module 12-17

Technical Communications - North Andover

Vijeo Designer

The Alarm Viewer - General

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

Name The alarm summary's name. 32 characters max Description 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 state Sort 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

Module 12-18

Vijeo Designer

Technical Communications - North Andover

The Alarm Viewer - Messages

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

Module 12-19

Technical Communications - North Andover

Vijeo Designer

The Alarm Viewer Column Display

Pick column information to be displayed in the viewer

Module 12-20

Vijeo Designer

Technical Communications - North Andover

The Alarm Viewer - Buttons

Select buttons and button location to be added to viewer

Module 12-21

Technical Communications - North Andover

Vijeo Designer

Alarm Banner Introduction

Alarm Banner is a line of scrolling text that becomes visible when there is an active alarm Two types of Alarm Banner Local and Global Local 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

Module 12-22

Vijeo Designer

Technical Communications - North Andover

Local Alarm Banner

Add from toolchest (1) in Diagnostic folder Link to Alarm Group (2) Configuration Screen
Attributes, display method (below)

Module 12-23

Technical Communications - North Andover

Vijeo Designer

Global Alarm Banner

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

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.

Module 12-24

Vijeo Designer

Technical Communications - North Andover

Complete Exercise 1 Exercise 12


located at the rear of this manual

Module 12-25

Technical Communications - North Andover

Vijeo Designer

This page intentionally left blank

Module 12-26

Vijeo Designer

Technical Communications - North Andover

Module13
Scripting

Module 13-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Discuss Vijeo Designers Script feature Learn basic rules associated with scripting See some basic script examples

Module 13-2

Vijeo Designer

Technical Communications - North Andover

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

Module 13-3

Technical Communications - North Andover

Vijeo Designer

Script Introduction

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

Module 13-4

Vijeo Designer

Technical Communications - North Andover

Script Basics

Descriptions - slashes ( // ) are supported for comments Operators - 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) { }

1 2

Module 13-5

Technical Communications - North Andover

Vijeo Designer

Variables

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 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

Module 13-6

Vijeo Designer

Technical Communications - North Andover

Variable Read/Write Methods


1
Variables are referenced as follows: int itemp; itemp = IntVar.getIntValue(); // get variable IntVars value, assign to itemp // ************************** int itemp; 2 itemp = 123; IntVar.write(itemp); // assign value of itemp to Vijeo-Designer variable IntVar // ************************ XXX.write(itemp + 500); // a direct write to variable XXX

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)

Module 13-7

Technical Communications - North Andover

Vijeo Designer

Scripting Examples

Shortcut

Module 13-8

Vijeo Designer

Technical Communications - North Andover

Creating an Action Script

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

Module 13-9

Technical Communications - North Andover

Vijeo Designer

Creating an Action Script

Elect Script as the action (1) Create the script Finished Action

Module 13-10

Vijeo Designer

Technical Communications - North Andover

Script Editor - Introduction

All scripts share the same editor USE RIGHT CLICK OPTIONS to generate script as much as possible Always Validate (2)

Module 13-11

Technical Communications - North Andover

Vijeo Designer

Script Editor Lower Scope Objects

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

Module 13-12

Vijeo Designer

Technical Communications - North Andover

The Insert Tool


2 1

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

Module 13-13

Technical Communications - North Andover

Vijeo Designer

Always Validate
1

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

Module 13-14

Vijeo Designer

Technical Communications - North Andover

Complete Exercise 13 Exercise 1


located at the rear of this manual

Module 13-15

Technical Communications - North Andover

Vijeo Designer

This page intentionally left blank

Module 13-16

Vijeo Designer

Technical Communications - North Andover

Module 14
Security

Module 14-1

Technical Communications - North Andover

Vijeo Designer

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

Module 14-2

Vijeo Designer

Technical Communications - North Andover

Security Introduction

Vijeo Designer has several security possibilities Security 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 controls Creation of secure controls
Built in feature

Recipe security is provided for (separate topic)


Recipe security is covered in the recipe module

Module 14-3

Technical Communications - North Andover

Vijeo Designer

Project Security
1

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 password After you download a project with a password, the password is in effect

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

Module 14-4

Vijeo Designer

Technical Communications - North Andover

Target Security

Unprotected or secure With Security selected in Navigator (1) Window (2) appears in Inspector Select 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

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

Module 14-5

Technical Communications - North Andover

Vijeo Designer

Other Security

Download Security - stops unauthorized users from downloading projects to secured targets. Enable first, then create security groups with download option Data 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

Module 14-6

Vijeo Designer

Technical Communications - North Andover

Security Groups

Create Group (1) Set Group permissions (2) 20 different groups are allowed Controls:
Download to target Data Manager permissions Web Gate permissions

Security Level 1 to 65535


Next slide for details

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

Module 14-7

Technical Communications - North Andover

Vijeo Designer

Security Levels
Bitmask

Switches, panels, and popup windows can be assigned a security level so only authorized security groups can access them Click Two types of security Levels Minimum & Bitmask Level Based - security group must have a security level that is equal to or greater than the security level assigned object Bitmask (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

Module 14-8

Vijeo Designer

Technical Communications - North Andover

Creating Users
1

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

Module 14-9

Technical Communications - North Andover

Vijeo Designer

Target Operation

With Security selected: Security level level based or bitmask (1) Inactivity enter timeout for login
Specify panel to go to when logout

Secured object behavior


Can go to specified panel if unauthorized user tries to access something Object display options (2)

Module 14-10

Vijeo Designer

Technical Communications - North Andover

User Login

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

2 3 3

Module 14-11

Technical Communications - North Andover

Vijeo Designer

User Manager

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

Module 14-12

Vijeo Designer

Technical Communications - North Andover

Switch Security

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

Module 14-13

Technical Communications - North Andover

Vijeo Designer

Complete Exercise 1 Exercise 14


located at the rear of this manual

Module 14-14

Vijeo Designer

Technical Communciations - North Andover

Module 15
Recipes

Module 15-1

Technical Communciations - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Discuss the Recipe feature Setup recipe variables Create recipe group Add a Recipe Manager Add recipe security

Module 15-2

Vijeo Designer

Technical Communciations - North Andover

Introduction to Vijeo Recipes

Create Send

Recipes can:
Write values of one recipe from the target machine to your equipment the PLC

Store

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.

Module 15-3

Technical Communciations - North Andover

Vijeo Designer

Snapshot Feature

File

Read values of a recipe from the PLC to the XBTG

Modify Upload

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.

Module 15-4

Vijeo Designer

Technical Communciations - North Andover

Send a different Recipe

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

Multiple recipes are possible.

Module 15-5

Technical Communciations - North Andover

Vijeo Designer

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. 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 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 Group Number Variable Recipe Number Variable Operation Trigger Variable Operations Lock Variable Status Variable Error Variable Access Right Variable

Recipe a collection of variables and values


Recipe Group a collection of recipes.


Recipe Controls a set of control variables used with recipe groups


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.

Module 15-6

Vijeo Designer

Technical Communciations - North Andover

Relationship of Parts

Recipe Groups contain recipes, Recipes contain ingredients Ingredients are linked to variables

Recipe Group Recipe 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. Recipe The 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 ingredientscrushed tomatoes, olive oil, and chili powderbut 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.

Module 15-7

Technical Communciations - North Andover

Vijeo Designer

Recipe Variables (System)

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

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.

Module 15-8

Vijeo Designer

Technical Communciations - North Andover

Creating Recipe Variables

Create the variables to be controlled by the recipe control


Not necessary if variables already exist

Module 15-9

Technical Communciations - North Andover

Vijeo Designer

Recipe Group

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

Module 15-10

Vijeo Designer

Technical Communciations - North Andover

Recipes & Ingredients

1 2

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

Module 15-11

Technical Communciations - North Andover

Vijeo Designer

Displayed Recipe Name

Displayed Recipe name is entered under Language 1

Module 15-12

Vijeo Designer

Technical Communciations - North Andover

Recipe Manager
2

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

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

Module 15-13

Technical Communciations - North Andover

Vijeo Designer

Recipe Security

May be set in the properties section of the Control Group level (1) User must have Access right 3 to edit this recipe group Recipe access rights are not linked to user levels Set by RecipeControlDefault.AccessRight variable (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).

Module 15-14

Vijeo Designer

Technical Communciations - North Andover

Access Rights at the Recipe Level

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

Many security combinations are possible: Access Right = 0 means no security If 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

Module 15-15

Technical Communciations - North Andover

Vijeo Designer

Complete Exercise 1 Exercise 15


located at the rear of this manual

Module 15-16

Vijeo Designer

Technical Communciations - North Andover

Module 16
Data Sharing

Module 16-1

Technical Communciations - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Discuss Data Sharing in Vijeo Designer Discuss Exclusive Panels Watch a Data Sharing Demonstration

Module 16-2

Vijeo Designer

Technical Communciations - North Andover

Data Sharing
Designated variables are shared data between target machines Data sharing Ethernet
Trend Graphs & Alarm summaries now support data sharing

Targets must be in the same project

Data Access - read or read/write mode to variables on other terminals

Ethernet Only

300 shared variables maximum (400 iPC) Sharing must be enabled Variables must be individually shared Client targets and server targets
8 clients (max) access to 1 server 1 client access to 8 servers (max)

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.

Module 16-3

Technical Communciations - North Andover

Vijeo Designer

Exclusive Input

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 idea

Exclusive input & exclusive panel option prevents this

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

Module 16-4

Vijeo Designer

Technical Communciations - North Andover

Exclusive Input
Blocks navigation to panels with control that are open on other units Prevents simultaneous data entry from multiple targets

Project

Enabled at the project and panel level

First 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

Panel

Module 16-5

Technical Communciations - North Andover

Vijeo Designer

Input Synchronization

Input manager controls access to panels with exclusive input activated Designates 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

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.

Module 16-6

Vijeo Designer

Technical Communciations - North Andover

Variable Sharing
Data sharing

Ethernet

PLC

Example PLC A has the PLC driver installed PLC B has no PLC driver but shares the data from PLC A The configuration for this example will be explained

Module 16-7

Technical Communciations - North Andover

Vijeo Designer

Create a New Project

Create a project with two targets


PLC driver is on Tower target

Create panels in both projects

Module 16-8

Vijeo Designer

Technical Communciations - North Andover

Input Synchronization

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

Module 16-9

Technical Communciations - North Andover

Vijeo Designer

Exclusive Input - Panels

Enable Exclusive input on panels with shared data


Option becomes available after input sync. Is enabled

Do this on both targets

Module 16-10

Vijeo Designer

Technical Communciations - North Andover

Data Sharing

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

Module 16-11

Technical Communciations - North Andover

Vijeo Designer

Variable Sharing

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

Module 16-12

Vijeo Designer

Technical Communciations - North Andover

Animating PLC B

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

Module 16-13

Technical Communciations - North Andover

Vijeo Designer

Complete Exercise 1 Exercise 16


located at the rear of this manual

Module 16-14

Vijeo Designer

Technical Communications - North Andover

Module 17
Web Gate

Module 16-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Discuss Web Gate features Discuss Web Gate restrictions Learn how to configure Web Gate

Module 16-2

Vijeo Designer

Technical Communications - North Andover

What is Web Gate?


192.168.1.20

192.168.1.20

192.168.1.21

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

Module 16-3

Technical Communications - North Andover

Vijeo Designer

Web Gate Basics


Web Gate Client PC

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 passwords Exclusive input, data sharing, input synchronization, recipes, trend graphs and alarm summaries all work with client PC 4 client connections at a time are now allowed

Module 16-4

Vijeo Designer

Technical Communications - North Andover

Web Gate Restrictions

Things that are not available: Restart runtime, display configuration operations Security Manager toolchest part Video Display Some script methods Printing Function key support Web Browser back, forward, refresh buttons See 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 operationssuch as cursor up/down, page up/down, move top/bottomthat 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 Gate client. - Popup windows on the Web Gate client always show a titlebar even though the target machine may not 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 run Function Key operations on the target machine: F1 - Displays Web Browser Help F5 - Refreshes Screen F11 - Displays Full Screen Alt + F4 - Closes current window Ctrl + F4 - Closes current tab

Module 16-5

Technical Communications - North Andover

Vijeo Designer

Web Gate is Now ActiveX

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

Module 16-6

Vijeo Designer

Technical Communications - North Andover

Web Gate Security

If configured, Webgate supports target security

Module 16-7

Technical Communications - North Andover

Vijeo Designer

Configuration - Enable Web Gate

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

Module 16-8

Vijeo Designer

Technical Communications - North Andover

Configure Web Gate

Connections (1)
Unrestricted Allowed IP addresses Blocked IP addresses

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 wont 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

Module 16-9

Technical Communications - North Andover

Vijeo Designer

Configure Web Gate

Publish (1) Defines how panels, scripts and popup panels will or will not be accessed by a client

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 wont 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

Module 16-10

Vijeo Designer

Technical Communications - North Andover

Complete Exercise 1 Exercise 17


located at the rear of this manual

Module 16-11

Technical Communications - North Andover

Vijeo Designer

This page intentionally left blank

Module 16-12

Vijeo Designer

Technical Communications - North Andover

Module 18
Multimedia & Data Manager

Module 18-1

Technical Communications - North Andover

Vijeo Designer

Module Objectives

In this Module we will: Discuss multimedia features Discuss models that support Multimedia Learn how to configure multimedia features Discuss the Data Manager Learn how to use the JPEG Viewer Learn how to retrieve captured images

Module 18-2

Vijeo Designer

Technical Communications - North Andover

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

Module 18-3

Technical Communications - North Andover

Vijeo Designer

Screen Snapshot
1
JPEG Viewer

Data Manager

192.168.1.20

XBTGT 1005 series and up, XBTGK, XBTGTW iPC with Windows XP Captures panel screen image Saves as JPEG image on CF card
Retrieved via Data Manager (1) or Viewed with JPEG viewer Fit to page Header support title, date, time, panel number Orientation portrait, landscape

Print Options

Module 18-4

Vijeo Designer

Technical Communications - North Andover

ScreenSnapshot Variables
2

System creates ScreenSnapshot Variables (1) Used to control and monitor the snapshot process Write value into variable (2) to control
Local or Web Gate

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

Status Variable:

Module 18-5

Technical Communications - North Andover

Vijeo Designer

Screen Snapshot Configuration


With the target selected, enable Screen Snapshot Click on the Browse button, the screen (2) appears Set the Save/Print option to Status/Error Variable
System generated variables automatically selected

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

Module 18-6

Vijeo Designer

Technical Communications - North Andover

Save Tab

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

Module 18-7

Technical Communications - North Andover

Vijeo Designer

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

Module 18-8

Vijeo Designer

Technical Communications - North Andover

ScreenSnapshot and Web Gate


1

You must follow all these steps to take a picture using Web Gate Cannot 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/Write Enable Webgate Connection Security (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

Module 18-9

Technical Communications - North Andover

Vijeo Designer

Multimedia - Video

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

Module 18-10

Vijeo Designer

Technical Communications - North Andover

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)

Module 18-11

Technical Communications - North Andover

Vijeo Designer

Record Configuration

Variables (1) automatically generated by the system File Name (2) automatic or manual Buffer configuration (3) records video to buffer. Specify number of minutes of video to hold Save 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/

Module 18-12

Vijeo Designer

Technical Communications - North Andover

Playback Snapshot Configuration


Configuration settings for recorded video snapshots File compression (1) lowest compression = best quality= biggest files

Module 18-13

Technical Communications - North Andover

Vijeo Designer

Live Snapshot Configuration

Configures snapshots taken from live video feeds

Module 18-14

Vijeo Designer

Technical Communications - North Andover

Video Snapshot Variable

Snapshot Control Variable

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

Module 18-15

Technical Communications - North Andover

Vijeo Designer

Video Display Object

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

Module 18-16

Vijeo Designer

Technical Communications - North Andover

Video Options

1 2

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

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

Module 18-17

Technical Communications - North Andover

Vijeo Designer

Video Control Variables

1 2

System creates variables automatically (1) Works the same as snapshot variables Use to create your own controls or use the builtin keypad Specific information is given (2)

Module 18-18

Vijeo Designer

Technical Communications - North Andover

Video Switch

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

Module 18-19

Technical Communications - North Andover

Vijeo Designer

Complete Exercises 18 & 19


located at the rear of this manual

Module 18-20

Technical Communications - North Andover

Exercise 7 Starting a New Project


Exercise 7

Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step Step 1 Action 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 Launch Vijeo Designer. Right click on the Vijeo Manager. Select New Project.

Name your project Class

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

Exercise 7 - 1

Technical Communications - North Andover 5 Set the targets IP address

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

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 its 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 its 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

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

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 Create four new additional new panels but do not use the master panel for these four panels. Name these panels:

12

Exercise 7 - 5

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 labels color to Black Animate the switch to Navigate to panel2

Save

Exercise 7 - 6

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 Brew Process Alarms Process History System Settings Panel Process Alarms History 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

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

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 youre using a Unity or Modicon (addressed) PLC Step 1 Action 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

Technical Communications North Andover 2 From the variables tab, right click on the target and select Link Variables.

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

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

Technical Communications North Andover Click the Add button and the variables are added

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

Technical Communications North Andover

This page is blank

Exercise 8 - 4

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 1 Action At the end of this exercise, the process panel will appear as shown

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

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 its 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 panels title

Save

Exercise 9 - 2

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) 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

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)

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

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

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

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

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

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

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 S1_WATERSP S1_MALTSP S1_HOPSSP S1_ADJSP S1_COOKTEMPSP S1_COOKTIMESP

Min 100 10 5 20 10 5

Max 200 80 15 100 50 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

Technical Communications North Andover

Exercise 10 Popup Panels & Motion


Exercise 10

Complete each step in this exercise. Do not hesitate to ask questions if you do not understand a step Step 1 Action 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 Create a new popup window from the navigator

Add two native analog meters and a native switch as shown

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

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 its property to invisible.

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

Exercise 10 - 2

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 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. Click on the Vijeo Manager tab

11

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 Open the KeggingXXX project (save your current project if prompted) . Notice that it contains a single panel.

14

Exercise 10 - 3

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

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

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 youve 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 youve 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

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

Technical Communications North Andover 25 Light Beer third animation

26

When youve finished, each switch should have three animations

27

Dark Beer first animation

Exercise 10 - 8

Technical Communications North Andover 28 Dark Beer second animation

29

Dark Beer third animation

Exercise 10 - 9

Technical Communications North Andover 30 Ale first animation

31

Ale second animation

Exercise 10 - 10

Technical Communications North Andover 32 Ale third animation

33

Double click on the switch labeled Single and animate as shown

Exercise 10 - 11

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 36

Save, validate and test your line. Remember the other students are sharing the same variables This completes this exercise

Exercise 10 - 12

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 1 Action Upon completion of this exercise, the History Panel will appear similar to the charts shown:below

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

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

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)

Configure the trend chart as shown

Exercise 11 - 3

Technical Communications North Andover

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

Exercise 11 - 4

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

Technical Communications North Andover 9 Validate and test the panels 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 This completes this exercise

10

Exercise 11 - 6

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 1 Action From the Navigator, create a new Alarm Group named Ingredients_Low. You can just rename the default group

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

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

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

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 8 9 Validate and test the alarms by running the process several times, until the supply hoppers get low enough to trip an alarm When alarms occur, acknowledge them from the viewer and notice operation of the viewer This completes this exercise

Exercise 12 - 3

Technical Communications North Andover

This page is blank

Exercise 12 - 4

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 1 Action Add switches (switch07) that look like Spin Buttons from the Native Switches to the Process Panel as shown (1)

Double click on the top switch and add a script under the While Touch tab.

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

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

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 1 Action Create a new panel named Secure and number it 999

Select the security option from the Navigator

Exercise 14 - 1

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 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

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

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

10

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. From the Navigator, set the initial panel to secure

This will force the user to login.

Exercise 14 - 4

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

Technical Communications North Andover

This page is blank

Exercise 14 - 6

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 1 Action From the Navigator, locate the Recipe option, right click and create a new Recipe group

Name your Recipe group Brewery1 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

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

Create a new popup panel named Recipe

Exercise 15 - 2

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 switches 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

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

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 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

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., its first) Repeat the same procedure for the Bubba switch only write a value of 7 into the RecipeControlDefault._AccessTight variable 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 Add a panel level script to the secure panel

11

12

13

Set the script to trigger ON OPEN event for the secure panel

Exercise 15 - 5

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 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 This completes this exercise

16

17

Exercise 15 - 6

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 1 Action 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. 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

Import the project Sharing from the class file folder you have been using.

Exercise 16 - 1

Technical Communications North Andover The project is imported Open the Sharing project. Two targets are configured. DO NOT EDIT THE SERVER PROJECT. This is a copy of the project that will be running in the hardware target

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 its information from that shared variables in the server. You will be configuring a pure HMI client

6 7

Open Panel2. The animated fields are present but are not linked to any variables yet 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 Clients Panel2

Exercise 16 - 2

Technical Communications North Andover

Link the other three Animation fields as follows: Field Integer Output Float Input Float Output Variable output_int input_float output_float

Save, Validate and test your project 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

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

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 1 Action 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 Open the Sharing project you used earlier. Once again, only edit the client project. With the client project selected in the Navigator, enable Webgate in the Inspector

Exercise 17 - 1

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

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. The Client group should open an Internet Browser and type in the IP address of the Server application

Exercise 17 - 2

Technical Communications North Andover 7 The Default Webgate screen appears

Click on the Monitoring option

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

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 13 14 15

Now, change panels on the server application and notice what the client does. Switch roles with your partner group and let them try their webgate connection and the options described Designate one student station as a server and connect multiple clients to the server (max of 4). This completes this exercise

Exercise 17 - 4

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 1 2 Action Create a new sub folder in your Class folder named Picts Your path will be C:\Class\picts 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 Create a new switch on the process panel as shown

Exercise 18 - 1

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 bits 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

Technical Communications North Andover 6 Enable target & Web Gate security. Make Process the starting panel

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

8 9

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. Save, Validate and run your project. Take ONE picture. Go to the JPEG viewer and see if your picture is there 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

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

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

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

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 1 Action 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 Install the .MPG4 video player provided by your instructor 3 With your application selected in the Navigator, enable NTSC Video in the Inspector

Configure video to record in the MPEG4 format

Exercise 19 - 1

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:

Configure the VideoDisplay tool as shown

Create a new color resource named VideoColors with 5 states and for Message Displays only

Exercise 19 - 2

Technical Communications - North Andover 8 Pick any colors you like with the exception that the 2 state should be a slow flashing red

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

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

Technical Communications - North Andover

14

Create a new external variable named Movie as shown

15

Select the VideoRecord.control variable

Exercise 19 - 5

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

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 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

19

(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

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

Technical Communications - North Andover 24 Play the Video

25

This completes this exercise

Exercise 19 - 9

Technical Communications - North Andover

This page intentionally blank

Exercise 19 - 10

Vous aimerez peut-être aussi