Vijeo Designer 4.6 Course Manual
Vijeo Designer 4.6 Course Manual
Vijeo Designer 4.6 Course Manual
6
& Magelis Training
Rev 1.0
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
Vijeo Designer
Module 1
Module 1 - 1
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
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)
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
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
Module 1 - 4
Vijeo Designer
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
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
Module 1 - 5
Vijeo Designer
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
Vijeo Designer
XBT GK series
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
Module 1 - 7
Vijeo Designer
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
Vijeo Designer
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
Vijeo Designer
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
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
Vijeo Designer
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*
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
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)
Module 1 - 13
Vijeo Designer
Touch-sensitive area
Status LED
Touch Screen
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
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
Vijeo Designer
Micro-switches
ON OFF 1 2 3 4
Module 1 - 16
Vijeo Designer
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
Vijeo Designer
RS485 serial link (COM2) RJ45 connector 24 VDC power supply terminal block
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
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
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
XBT GK options
XBTZG935
RS232C/RS485
COM1 RJ45
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
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
PC Accessories
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
Vijeo Designer
XBTZG915
Tool port
Transfer cable
XBTZG925
RS232C/RS485
COM1 RJ45
XBTZGcable (*)
COM1 RS232
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
XBTZG935
RS232C/RS422 (485)
COM1 SUB-D 9 pin
XBTZGcable (*)
RS485
COM2 RJ45
XBTZGcable (*)
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
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
Module 2
Memory Management
Module 2 - 1
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
DRAM 16 MB
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
Vijeo Designer
RISK CPU
100/133/266 MHz
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
DRAM 32 MB
RISK CPU
100/133/266 MHz
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
Vijeo Designer
DRAM memory
16 MB
16 MB
16 MB
16 MB
16 MB
SRAM Data
128 KB
128 KB
512 KB
128 KB
512 KB
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
DRAM memory
16 MB
16 MB
32 MB
64 MB
SRAM Data
512 KB
128 KB
512 KB
512 KB
512 KB
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
Vijeo Designer
32 MB
32 MB
512 KB
512 KB
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
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
Vijeo Designer
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
Module 3
Communications
Module - 3-1
Vijeo Designer
Module Objectives
In this Module we will: Discuss PLC communication options Application download options
Module - 3-2
Vijeo Designer
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
Vijeo Designer
COM1 (Uni-Telway, Modbus, 3rd party) Tool COM2 (Uni-telway, Modbus, 3rd party)
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
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
Vijeo Designer
USB
COM2
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
1 communication port
Multiple connections are possible RJ45 connector/10 Base - T cable
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
Vijeo Designer
Module - 3-8
Vijeo Designer
With the Schneider Electric Drivers selected (1) Select Modbus TCPIP (2)
Module - 3-9
Vijeo Designer
Module - 3-10
Vijeo Designer
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
Vijeo Designer
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
Legacy
Module - 3-12
Vijeo Designer
Module - 3-13
Vijeo Designer
Select Modbus RTU (2) from the Schneider Electric Drivers (1) Once added, right click on the driver (3)
Module - 3-14
Vijeo Designer
Indicate the Com port, RS 232 or RS485, and other port parameters to match the equipment the target connects to
Module - 3-15
Vijeo Designer
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
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
Vijeo Designer
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
Used to manage the local node global data Only one Modbus Plus local node may be configured
Module - 3-19
Vijeo Designer
Enter the PLCs node address (1) and any routing information required The connection is configured
Module - 3-20
Vijeo Designer
Routing Example
The routing path from the XBTG (1) to the Quantum (2) is: 61.30.22.62.0
Module - 3-21
Vijeo Designer
Uni-Telway Link
1 or 2 communication ports
COM 1: RS 232C/RS 485 COM2: RS 232C
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
Module - 3-22
Vijeo Designer
Module - 3-23
Vijeo Designer
Double click on the driver (1) Configure the port and addresses for your system
Module - 3-24
Vijeo Designer
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
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.
M340
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
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
Vijeo Designer
Designer
Ethernet TCP/IP
Modbus +
PLC1
PLC2
PLC3 PLC4
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
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
Vijeo Designer
Module - 3-30
Vijeo Designer
Module 4
Preparing a Target for Use
Module 4-1
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
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
Vijeo Designer
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
Module 4-5
Vijeo Designer
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
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
Select the target machine type and installation method (Ethernet, USB or serial) If serial - Select the COM port and supported transmission speed Click Send
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
Vijeo Designer
Select the target machine and installation method (USB) Click Send
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
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
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
Vijeo Designer
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
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
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
Vijeo Designer
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
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
Vijeo Designer
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
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
Vijeo Designer
Module 4-16
Vijeo Designer
Module 5
Vijeo Designer New Features
Module 5-1
Vijeo Designer
Module Objectives
In this Module we will: Discuss new features in Vijeo Designer Discuss other, significant features
Module 5-2
Vijeo Designer
New Terminals
XBTGK z Keyboard z Function Keys
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
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
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
Vijeo Designer
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
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
Vijeo Designer
Variable Editor
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
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
Vijeo Designer
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
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
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
Vijeo Designer
z Alarm Messages
z Recipes
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
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
Vijeo Designer
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
Web Gate
Web Gate ActiveX Control
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
Vijeo Designer
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
Module 6
Introduction to Vijeo Designer
Module 6-1
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
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
Vijeo Designer
Vijeo Designer
Module 6-4
Vijeo Designer
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
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 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
Vijeo Designer
The file menu contains the icons that you need to work with projects
Module 6-6
Vijeo Designer
The edit toolbar contains the tools you use to edit projects
Module 6-7
Vijeo Designer
The InfoViewer toolbar contains the icons you need to move or view the information displayed in the InfoViewer window.
Module 6-8
Vijeo Designer
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
Vijeo Designer
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
Module 6-11
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
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
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
Vijeo Designer
Module 6-14
Vijeo Designer
Graphic Objects
Module 6-15
Vijeo Designer
The Graphical Objects toolbar contains the icons you need to draw or select objects.
Module 6-16
Vijeo Designer
The Graphical Objects toolbar contains the icons you need to draw or select objects.
Module 6-17
Vijeo Designer
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
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
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
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
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
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
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
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
Vijeo Designer
Module 6-26
Vijeo Designer
Module 7
PLC Communication, Home & Navigation Panels
Module 7-1
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
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
Vijeo Designer
Name your project (1) Add any comments (2) Identify Type (3)
1 2 3
Single target Multiple target
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
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
Vijeo Designer
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 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
Adds PLC drivers to the project This can be done at this stage or later
Module 7-7
Vijeo Designer
Module 7-8
Vijeo Designer
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
Vijeo Designer
Select Driver
Module 7-10
Vijeo Designer
Schneider Drivers
Modbus Ethernet (1) Modbus Plus (2) Modbus Slave (1) Uni-Telway (1)
Module 7-11
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
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
Vijeo Designer
Uni-Telway
1
Configure the port (1) Enter the Network, Station and Gate information as required (2)
Module 7-14
Vijeo Designer
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
Vijeo Designer
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
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
Vijeo Designer
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
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
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
Module 7-20
Vijeo Designer
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
Vijeo Designer
Add a Switch (1) Size the switch (2) Select operation Panel (3)
This will be done 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
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
Vijeo Designer
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
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
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
Simulation
1 2
There are two choices for simulation. Vijeo Designer can connect to the PLC configured if it is reachable by the configuring PC. This can be the real PLC or the PLC program running in the Concept or Unity simulator. This in effect allows you to connect Vijeo Designer to a virtual soft PLC. To do this, you select the first start simulation option The Start Device Simulation connects to a simulator that generates random numbers and drives the animated graphics. This allows you to see how the graphics will appear but is not interactive like the first option.
Module 7-27
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
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
Vijeo Designer
Module 7-30
Vijeo Designer
Module 8
Variables
Module 8-1
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
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)
Module 8-3
Vijeo Designer
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
Select the variable (1) Set source to PLC (2) Set the DeviceAddress Modicon uses an offset (3)
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
Vijeo Designer
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
Select:
BIN binary BCD binary coded decimal
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
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
Available for variable type Integer of Float When enabled, sets up limits on operator input
Module 8-9
Vijeo Designer
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
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
Vijeo Designer
Variable Structures
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
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.
Module 8-13
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
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
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
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
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
Vijeo Designer
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
Module 8-19
Vijeo Designer
Module 8-20
Vijeo Designer
Module 9
Animations, Clipart
Module 9-1
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
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
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
Select (1) to input data to linked variable Creates R/W to linked variable Leave unchecked for numeric display (read only)
Module 9-5
Vijeo Designer
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
Module 9-7
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
Bargraph - Color
Select bar color (indicator) Add color change thresholds (1) Color resource may be used (2)
Module 9-9
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
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
Vijeo Designer
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
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
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
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
Vijeo Designer
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
Set colors and attributes for state from the color tab State 1 is shown Color resources may also be used
Module 9-17
Vijeo Designer
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
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
Vijeo Designer
Module 9-20
Vijeo Designer
Module 10
Popup Panels, Meters & Motion
Module 10-1
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
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
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
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
Vijeo Designer
2 1
Draw an invisible rectangle over the object (1) Select Touch Animation (2)
Module 10-6
Vijeo Designer
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
Vijeo Designer
Add a Native Switch Select an Invisible Switch (1) Select Popup for the Operation (2) Pick panel to open
Close popup also possible
Module 10-8
Vijeo Designer
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
Vijeo Designer
Meter - Color
Module 10-10
Vijeo Designer
Meter Label
Module 10-11
Vijeo Designer
Numeric display (1) creates a digital output field below the needle
Module 10-12
Vijeo Designer
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
Vijeo Designer
Module 10-14
Vijeo Designer
Module 11
Trending
Module 11-1
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
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
Vijeo Designer
Two types
Module 11-4
Vijeo Designer
Name - Name of current logging group Type - Periodic time based Units Units for the digits created by the slider
Module 11-5
Vijeo Designer
Configure the triggering for the logging group Trigger Type (1)
When true, when false, on data change (2)
Module 11-6
Vijeo Designer
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
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
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
Vijeo Designer
Module 11-10
Vijeo Designer
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
Vijeo Designer
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
Module 11-12
Vijeo Designer
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
Vijeo Designer
Complete Exercise 11
located at the rear of this manual
Module 11-14
Vijeo Designer
Module 12
Alarms
Module 12-1
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
Alarming Introduction
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
Module 12-3
Vijeo Designer
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
Variables may be designated to hold the current count of various alarm information
See below for details
Module 12-5
Vijeo Designer
Create your own messages for alarm states headers (1) HiHi = substitute your text (HOT)
Appears as (3) 32 characters max
1 2 3
Module 12-6
Vijeo Designer
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
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
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
Vijeo Designer
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)
Module 12-10
Vijeo Designer
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
Vijeo Designer
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
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
Vijeo Designer
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
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
Vijeo Designer
Variables - Boolean
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
Module 12-16
Vijeo Designer
Module 12-17
Vijeo Designer
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
Set Alarm Viewer font and Color Attributes for displayed messages Color by severity is possible
Module 12-19
Vijeo Designer
Module 12-20
Vijeo Designer
Module 12-21
Vijeo Designer
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)
Module 12-22
Vijeo Designer
Add from toolchest (1) in Diagnostic folder Link to Alarm Group (2) Configuration Screen
Attributes, display method (below)
Module 12-23
Vijeo Designer
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
Module 12-25
Vijeo Designer
Module 12-26
Vijeo Designer
Module13
Scripting
Module 13-1
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
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
Scripts are used when you cannot accomplish your objective with built-in tools
Module 13-3
Vijeo Designer
Script Introduction
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
Module 13-4
Vijeo Designer
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
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
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
Vijeo Designer
Scripting Examples
Shortcut
Module 13-8
Vijeo Designer
Right click on Actions (1) Elect the type of trigger for the action (2)
Module 13-9
Vijeo Designer
Elect Script as the action (1) Create the script Finished Action
Module 13-10
Vijeo Designer
All scripts share the same editor USE RIGHT CLICK OPTIONS to generate script as much as possible Always Validate (2)
Module 13-11
Vijeo Designer
Access to a Panel Level Script (1) Access to an Object Level Script (2)
Module 13-12
Vijeo Designer
Right Click to use the Insert tool to add Variables, Methods, or Operators (1)
After variable is selected, available Methods for variables appear (2)
Module 13-13
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
Module 13-15
Vijeo Designer
Module 13-16
Vijeo Designer
Module 14
Security
Module 14-1
Vijeo Designer
Module Objectives
Module 14-2
Vijeo Designer
Security Introduction
Vijeo Designer has several security possibilities Security groups and users
Different permissions for different users Timed inactivity logout
Control navigation to secure panels Control access to secure controls Creation of secure controls
Built in feature
Module 14-3
Vijeo Designer
Project Security
1
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
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
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
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
Security Groups
Create Group (1) Set Group permissions (2) 20 different groups are allowed Controls:
Download to target Data Manager permissions Web Gate permissions
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
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
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
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
Module 14-10
Vijeo Designer
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
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
Switch Security
Security can be added to any type of switch (1) New security is supported by any native part
Module 14-13
Vijeo Designer
Module 14-14
Vijeo Designer
Module 15
Recipes
Module 15-1
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
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
Vijeo Designer
Snapshot Feature
File
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
Select a different recipe and use the Send operation to send and overwrite the recipe values currently in your equipment.
Module 15-5
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. 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
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
Vijeo Designer
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
Module 15-9
Vijeo Designer
Recipe Group
Add a Recipe Group from the Navigator Recipe Group is a collection of recipes
Module 15-10
Vijeo Designer
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
Vijeo Designer
Module 15-12
Vijeo Designer
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
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
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
Vijeo Designer
Module 15-16
Vijeo Designer
Module 16
Data Sharing
Module 16-1
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
Data Sharing
Designated variables are shared data between target machines Data sharing Ethernet
Trend Graphs & Alarm summaries now support data sharing
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
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
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
Exclusive Input
Blocks navigation to panels with control that are open on other units Prevents simultaneous data entry from multiple targets
Project
First target that opens a protected panel, locks out the others from opening the same panel
Panel
Module 16-5
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
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
Vijeo Designer
Module 16-8
Vijeo Designer
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
Vijeo Designer
Module 16-10
Vijeo Designer
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
Vijeo Designer
Variable Sharing
Module 16-12
Vijeo Designer
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
Vijeo Designer
Module 16-14
Vijeo Designer
Module 17
Web Gate
Module 16-1
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
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
Vijeo Designer
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
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
Vijeo Designer
You must install the ActiveX from the target before you can make a connection Follow the instructions displayed
Module 16-6
Vijeo Designer
Module 16-7
Vijeo Designer
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
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
Vijeo Designer
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
Module 16-11
Vijeo Designer
Module 16-12
Vijeo Designer
Module 18
Multimedia & Data Manager
Module 18-1
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
What is Multimedia?
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
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
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
Vijeo Designer
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
Save Tab
Automatic or manual file names Number of pictures to save (1) Set compression setting for image
Module 18-7
Vijeo Designer
Print Tab
Printing must be enabled for the project and the printer configured. (1)
Many options, including network printers
Module 18-8
Vijeo Designer
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
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
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
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
Configuration settings for recorded video snapshots File compression (1) lowest compression = best quality= biggest files
Module 18-13
Vijeo Designer
Module 18-14
Vijeo Designer
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
Vijeo Designer
Select the Video Display Object and drag to the panel (1) Size it using the handles (2)
Module 18-16
Vijeo Designer
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
Vijeo Designer
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
Video Switch
You can also use a native part to control the video (easier)
Module 18-19
Vijeo Designer
Module 18-20
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.
Select single target and No Password as options Select XBTGT model 6340 and name Target 1 MyBrewery
Exercise 7 - 1
Add a Schneider TCPIP Communications driver for the PLC. The IP address will be added at the end of this exercise
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
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
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
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
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
Exercise 8 - 3
Exercise 8 - 4
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)
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
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
15
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
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
Min 100 10 5 20 10 5
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
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
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.
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
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
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
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
Exercise 10 - 7
26
27
Exercise 10 - 8
29
Exercise 10 - 9
31
Exercise 10 - 10
33
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
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
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)
Exercise 11 - 3
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
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.
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
- 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
Exercise 12 - 4
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.
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
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
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
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
_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
Exercise 14 - 4
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
Exercise 14 - 5
Exercise 14 - 6
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
Exercise 15 - 2
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
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
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
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
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
Exercise 16 - 4
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
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
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
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
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:
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
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
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)
13
Exercise 18 - 4
14
15
Select only Captured Images. Set the path to the picts folder you created earlier
Exercise 18 - 5
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
Exercise 18 - 6
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
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:
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
10
Exercise 19 - 3
11
Configure the message display as shown. Notice that it uses the two resources that you just created
Exercise 19 - 4
14
15
Exercise 19 - 5
Technical Communications - North Andover Add the Movie variable to the ReadFrom field
16
Label them Record and Stop. Configure them as shown: The Record Switch Bit Set(Movie)
17
Create a panel action (Script) for your Video panel that is triggered as shown
Exercise 19 - 6
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
23
Open the uploaded video with the .MPG4 you installed at the beginning of this exercise
Exercise 19 - 8
25
Exercise 19 - 9
Exercise 19 - 10