SlideShare una empresa de Scribd logo
1 de 8
Wonderware Tutorial
Creating Basic Shapes in Wonderware
Select Start/Programs/Intouch For Windows/Intouch. When the Intouch dialog box appears, select
Create Directory. Name the directory C:Intouch.16ENT311. Press OK.
Select Window Maker (this is the icon with the pencil on it). When WindowMaker loads, select
File/NewWindow. Enter the following information in the dialog box:
Next select Rounded Rectangle from the Toolbox. Move the cursor to position 40, 110 and hold down the
left mouse button. Drag the mouse to position 250, 20 and release the left mouse button.
Now select Polygon from the Toolbox. Move the mouse to position 30, 90 and click (don’t hold) the left
mouse button. Move the mouse to position 50, 90 and click the left mouse button. Finally move the mouse
to position 40, 110. At this position double click the left mouse button. This will close the polygon and fill
it with a white color.
Creating a Tagname
A tagname is similar to a variable in a programming language. It is used to store information to be shared
by various components of Wonderware. Select Special/Tagname Dictionary. Click NEW on the dialog
box and fill in the information shown below:
Be sure to enable Data Logging. Click Done when finished.
Animating Basic Objects
Now that the tagname has been created, we can use it to animate some basic shapes. Double click on the
triangular shape you created earlier. Press the Horizontal Slider button. Enter the data shown below in the
dialog box:
Double click on the Rounded Rectangle. Select Percent Fill/Horizontal. Enter slider as the Tagname.
Press Done.
Now press Runtime! Move the polygon left and right with the mouse. The polygon serves as a slider and
the rectangle fills with a color as the polygon is moved. The tagname in the rectangle dialog box could
easily be changed to, say, the timer on a programmable controller to represent the current timer state.
Placing Animated Text on the Screen
The value of tagname slider can be shown on the screen with Text. Select Text from the Toolbox and place
it at 100, 170. Enter:
Slider = ####.##
The # indicator will be replaced with the value of a tagname at runtime. Now double click on the text.
Select Value Display/Analog. Enter slider for the Expression, then press Done.
Press Runtime! The ####.## in the text area is replaced by the slider value. Move the slider left and right
and observe the effect on the text. Press Development! When finished.
Creating a Bottle Fill Operation
Draw a rounded rectangle near the center of the screen. Next draw a polygon or top of the rectangle as
shown below:
Next draw a polygon on top of the rectangle as shown below. Try to match your polygon as close as
possible to the one shown below.
Double click on the last endpoint to ensure closure. Click on the polygon to select it and press Duplicate
Selection from the Toolbox. Immediately after press Flip Horizontal. Move the inverted polygon next to
the original until the overall shape resembles a bottle, as shown below:
The bottle contains three shapes, a rounded rectangle and two polygons. These three shapes can be made
into one object with the Make Symbol button in the Toolbox. Select the three objects with the mouse and
press the Make Symbol button.
Next double click on the bottle and select Percent/Vertical. Enter slider as the Expression. Change the
background color by selecting Background Color. Press Done when finished. Now change the bottle fill
color by clicking on the bottle, pressing Fill (on the Toolbox), and selecting a color.
Select Runtime! and observe the bottle fill operation. Press Development! when finished.
Controlling Visible Lines
Note the bottle has lines from the polygons and rectangle. Delete these lines by selecting Lines from the
top menu and No Lines. Press Runtime! and observe the results.
Selecting Text Fonts
The text font for Slider = ####.## can be changed by selecting the Font button on the Toolbox. Change the
font to Times New Roman, size 20.
Creating New Tagnames
Enter WindowMaker. Create a new tagname with the following parameters:
Name:bottle
Type: Memory Real
Minimum Value: 0
Maximum Value: 500
Log Data: Enabled
Log Events: Disabled
Controlling the Bottle Motion
Double click on the bottle. Press the Location/Horizontal button. Enter the following
data:
Expression:bottle
Value Horizontal Movement
Left End 0 Left 0
Right End 400 Right 400
Click OK. Next click on the Object Size/Height button. Enter the following data:
Value at Max Height: 320 Max % Height: 70
Value at Min Height: 0 Mm % Height: 100
Middle
Click on the Object Size/Width button. Enter the following data:
Value at Max Height: 320 Max % Height: 70
Value at Min Height: 0 Min % Height: 100
Center
Select Special/Scripts/Window Scripts from the top menu. Enter the following script file in the While
Showing screen:
bottle = bottle+ 10;
IF bottle == 100 THEN
IF slider< 100 THEN
slider=slider+l;
bottle=90;
ENDIF;
ENDIF;
IF bottle> 320 THEN
bottle=0;
slider=0;
END IF;
Note: You can use the buttons on the bottom of the screen to help enter the commands. Next select On
Show from the Window Scripts menu. Enter the following data:
bottle=0;
slider=0;
Select Runtime! The bottle should now appear to move along the conveyor, and stop to be filled at the fill
station. Select Development! when finished.
Creating an Alarm Condition
An alarm occurs when something out of the ordinary happens to the physical process. Wonderware
provides for monitoring and acknowledging alarms. The alarm for this process will occur when the
conveyor is not running. Create a new tagname called ConvStop. It should be type Memory Discrete, with
Log Events Enabled. Click on the Alarms box and set Alarm State On.
Now click on the Wizard button on the Toolbox. Select Switches and On/Off Rocker Discrete Switch.
Place this switch on the screen to the left of the conveyor. Double click on the switch and set the Tagname
to ConvStop.
Again select Wizards and Lights/Tube Lights. Place the Tube Light on the screen just below the switch.
Double click on the light and name the Expression ConvStop.Alarm.
Next revise the Scripts/Window Scripts/While Showing script as shown below:
bottle = bottle+ 10;
IF ConvStop == 1 THEN
bottle = bottle - 10;
ENDIF;
IF bottle == 100 THEN
IF slider<100 THEN
slider=slider+1
Bottle = 90;
ENDIF;
ENDIF;
IF bottle > 320 THEN
Bottle = 0;
Slider = 0;
ENDIF;
Select Runtime! and observe the movement of the bottle.
Creating an Alarm Panel
Create a new window by selecting File/New Window. Press Yes when asked “Copy Window Scripts?”.
Name the window Alarm, and keep the size the same as the Bottle window.
Select Wizards from the Toolbox menu. Next select Alarm Display/Std. Alarm Display. Using the left
mouse button, size the alarm display on the screen so that 10 entries (rows) are shown.
Double click on the alarm display. We do not wish to create priorities, so click on Format Alarm Message
and unselect Priority. Also select Alarm History on the screen. Press OK.
From the top menu, select Special/Configure/Alarm Logging/Logging Enabled. Press OK twice.
Now that the Alarm screen has been created, there must be a way to go back and forth between the Alarm
and Bottle screen. Open the Bottle screen (you will either have to use File/Open Window or Windows
from the top menu). Select Button from the Toolbox. Select Special/Substitute Strings from the top
menu. Enter Alarm for the string. Double click on the button and select Show Window. Select Alarm
(only Alarm should be highlighted). Now open the Alarm Window. Repeat the process above, this time
naming the button Bottle. Double click on the button and select Show Window. Select Bottle (only Bottle
should be highlighted).
Press Runtime! It should now be possible to go back and forth between each screen by pressing the
appropriate button. As conditions change on the Bottle screen, the appropriate alarms should be displayed.
Select Development! when finished.
Alarm Acknowledging
Alarms can be acknowledged. Any alarm that has been acknowledged is recorded on the alarm display
screen. To acknowledge an alarm, first draw a button. Using Special/Substitute Strings, rename the button
Alarm Acknowledge. Double click on the button and select Touch Pushbuttons/Action. Enter Ack
ConvStop; in the white box. Run the program and test the Alarm Acknowledge by pressing it and viewing
the alarm screen.
Creating a Historical Trend
A historical trend chart records past events in the process. In this example both tagnames slider and bottle
are recorded. Use File/NewWindow to create a new window named History. In this window, select the
Wizard button on the toolbox and Trends/ Hist Trend w/Scooters and Scale. Place the trend chart on the
upper left of the screen. Next select Trend Zoom/Pan Panel (second from left) and place it on the screen
below the trend chart.
Double click on the chart and press Suggest and OK. Wonderware will create the appropriate tagnames for
you. Next select the Trend Zoom/Pan Panel and press Suggest and OK. Wonderware will link the Trend
Zoom/Pan Panel with the chart.
Now create buttons and use Show Window to have a method of going from the History to the Bottle
window and back. Run the program. Allow the bottle to fill a couple of times. Go to the history window
and press the right arrow key, as shown below:
Note: The Historical Trends chart will not update automatically. An event must occur, such as an arrow
button pressed. Press Development! when finished.
Zooming In on the Historical Trend Window
The Trend Zoom/Pan has a zoom feature on it. Adjust the sliders on the screen to select a small part of the
graph. Press Zoom In to zoom in on the window. Study the other buttons n the Trend Zoom/Pan Panel
until you understand the operation.
Configuring a Real Time Display
Besides a Historical Display, Wonderware can also display a Real Time Display. Select Real-Time Trend
from the Toolbox menu. Draw the chart on the upper right of the bottle window. Double click on the chart
and enter the slider and bottle in pens 1 and 2. Press OK. Run the program. You should see the tagnames
slider and bottle continually updated on the screen.
Saving Historical Data in a CSV File
A CSV file can be generated with the Wizards/Trends/HistData Wizard. Select the item and place it
below the Trend Zoom/Pan Panel. Double click on it and fill in the dialog box. Press OK. Run the
program. Click the button HISTDATA.EXE when prompted. After collecting some data, press the Save
button on the Historical Trend box. You can change the filename if you like. After saving the file, exit
Wonderware, load Excel and use File/Open. Change Files Type to .CSV files. Find the directory, select the
file, and open it. The recorded date, time, and tagnames will now appear in Excel. Graph the tagnames
using a scatter diagram.
DDE Data Transfer
Just like Visual Basic, Wonderware can transfer data to other programs through DDE. Wonderware
requires and Access Name, Application/Server Name, Topic name, and Item name. We will illustrate this
process with the following example.
Select Special/DDE Access Names. Select Add. Fill in the following data:
DDE Access Name DDELink
DDE Application/Server Name Excel
DDE Topic Name Sheet1
Leave everything else at the default values.
Select Special/Tagname Dictionary create bottlefill as a DDE Real. For the DDE Access Name choose
DDELink, and for the Item choose R1C1.
In the Special/Scripts/Window Scripts, enter bottlefill = slider; in the While Showing screen.
Start Excel and minimize it. Press Runtime! in Wonderware. As the bottle moves on the screen, Row1
Column1 of Excel should show the present value.
All of this should be fairly straight forward. You can get help in the Wonderware help menu. The DDE can
also transfer to another server. Suppose we wanted to transfer to another computer named ENT12. The
DDE Application/Server Name would change to //ENT12/Excel.
1

Más contenido relacionado

La actualidad más candente

Tài liệu thiết kế mạch in altium
Tài liệu thiết kế mạch in altiumTài liệu thiết kế mạch in altium
Tài liệu thiết kế mạch in altiumNgai Hoang Van
 
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)Řőmĕő Šhűbhąm
 
Do an can_dien_tu_1185 (1)
Do an can_dien_tu_1185 (1)Do an can_dien_tu_1185 (1)
Do an can_dien_tu_1185 (1)Huy Tuong
 
New DeltaV Module Templates to Easily Configure, View, and Trend Advanced Pre...
New DeltaV Module Templates to Easily Configure, View, and Trend Advanced Pre...New DeltaV Module Templates to Easily Configure, View, and Trend Advanced Pre...
New DeltaV Module Templates to Easily Configure, View, and Trend Advanced Pre...Emerson Exchange
 
Tập lệnh plc họ melsec fx series của mitsubishi
Tập lệnh plc họ melsec fx series của mitsubishiTập lệnh plc họ melsec fx series của mitsubishi
Tập lệnh plc họ melsec fx series của mitsubishiquanglocbp
 
Keyence plc programming course1
Keyence plc programming course1Keyence plc programming course1
Keyence plc programming course1Winai Jan
 
[ĐAMH] Điều khiển thiết bị điện qua máy tính
[ĐAMH] Điều khiển thiết bị điện qua máy tính[ĐAMH] Điều khiển thiết bị điện qua máy tính
[ĐAMH] Điều khiển thiết bị điện qua máy tínhPham Hoang
 
PLC mitsubishi
PLC mitsubishiPLC mitsubishi
PLC mitsubishiquanglocbp
 
Plc and scada project ppt
Plc and scada project pptPlc and scada project ppt
Plc and scada project pptPriya Hada
 
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiHoneywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiDEEPAK GORAI
 
[BTL] Kiểm tra tính ổn định của hệ thống liên tục
[BTL] Kiểm tra tính ổn định của hệ thống liên tục[BTL] Kiểm tra tính ổn định của hệ thống liên tục
[BTL] Kiểm tra tính ổn định của hệ thống liên tụcPham Hoang
 
Manejo de avisos y alarmas en HMI
Manejo de avisos y alarmas en HMIManejo de avisos y alarmas en HMI
Manejo de avisos y alarmas en HMIjohn piñeros
 

La actualidad más candente (20)

Working of DCS systems
Working of DCS systemsWorking of DCS systems
Working of DCS systems
 
Industrial Automation
Industrial AutomationIndustrial Automation
Industrial Automation
 
Đề tài: Thiết kế hệ thống cân định lượng và đóng bao tự động, HOT
Đề tài: Thiết kế hệ thống cân định lượng và đóng bao tự động, HOTĐề tài: Thiết kế hệ thống cân định lượng và đóng bao tự động, HOT
Đề tài: Thiết kế hệ thống cân định lượng và đóng bao tự động, HOT
 
PLC
PLCPLC
PLC
 
PLC AND SCADA
PLC AND SCADA PLC AND SCADA
PLC AND SCADA
 
Tài liệu thiết kế mạch in altium
Tài liệu thiết kế mạch in altiumTài liệu thiết kế mạch in altium
Tài liệu thiết kế mạch in altium
 
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
INDUSTRIAL AUTOMATION ( SHUBHAM KURDIYA)
 
Do an can_dien_tu_1185 (1)
Do an can_dien_tu_1185 (1)Do an can_dien_tu_1185 (1)
Do an can_dien_tu_1185 (1)
 
New DeltaV Module Templates to Easily Configure, View, and Trend Advanced Pre...
New DeltaV Module Templates to Easily Configure, View, and Trend Advanced Pre...New DeltaV Module Templates to Easily Configure, View, and Trend Advanced Pre...
New DeltaV Module Templates to Easily Configure, View, and Trend Advanced Pre...
 
Tập lệnh plc họ melsec fx series của mitsubishi
Tập lệnh plc họ melsec fx series của mitsubishiTập lệnh plc họ melsec fx series của mitsubishi
Tập lệnh plc họ melsec fx series của mitsubishi
 
Keyence plc programming course1
Keyence plc programming course1Keyence plc programming course1
Keyence plc programming course1
 
[ĐAMH] Điều khiển thiết bị điện qua máy tính
[ĐAMH] Điều khiển thiết bị điện qua máy tính[ĐAMH] Điều khiển thiết bị điện qua máy tính
[ĐAMH] Điều khiển thiết bị điện qua máy tính
 
PLC mitsubishi
PLC mitsubishiPLC mitsubishi
PLC mitsubishi
 
SIEMENS S7-300c.ppt
SIEMENS S7-300c.pptSIEMENS S7-300c.ppt
SIEMENS S7-300c.ppt
 
Plc and scada project ppt
Plc and scada project pptPlc and scada project ppt
Plc and scada project ppt
 
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiHoneywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak gorai
 
Dcs operator training
Dcs operator trainingDcs operator training
Dcs operator training
 
[BTL] Kiểm tra tính ổn định của hệ thống liên tục
[BTL] Kiểm tra tính ổn định của hệ thống liên tục[BTL] Kiểm tra tính ổn định của hệ thống liên tục
[BTL] Kiểm tra tính ổn định của hệ thống liên tục
 
CENTUM CS300 R3
CENTUM CS300 R3CENTUM CS300 R3
CENTUM CS300 R3
 
Manejo de avisos y alarmas en HMI
Manejo de avisos y alarmas en HMIManejo de avisos y alarmas en HMI
Manejo de avisos y alarmas en HMI
 

Destacado

InTouch WonderWare
InTouch WonderWareInTouch WonderWare
InTouch WonderWareMario RH
 
manual-de-intouch
manual-de-intouchmanual-de-intouch
manual-de-intouchselcoltga
 
What's New in Wonderware InTouch Access Anywhere v.122015
What's New in Wonderware InTouch Access Anywhere v.122015What's New in Wonderware InTouch Access Anywhere v.122015
What's New in Wonderware InTouch Access Anywhere v.122015Katie Schauer
 
The New Ignition v7.9 - See, Maintain, and Manage Your Enterprise With Ease
The New Ignition v7.9 - See, Maintain, and Manage Your Enterprise With Ease The New Ignition v7.9 - See, Maintain, and Manage Your Enterprise With Ease
The New Ignition v7.9 - See, Maintain, and Manage Your Enterprise With Ease Inductive Automation
 
Get More Data Into Your SCADA 2016
Get More Data Into Your SCADA 2016Get More Data Into Your SCADA 2016
Get More Data Into Your SCADA 2016Inductive Automation
 
Aplicación de una mezcladora de fluidos en Intouch
Aplicación de una mezcladora de fluidos en IntouchAplicación de una mezcladora de fluidos en Intouch
Aplicación de una mezcladora de fluidos en IntouchEdison Herrera Núñez
 
A History of IIoT Cyber-Attacks & Checklist for Implementing Security [Infogr...
A History of IIoT Cyber-Attacks & Checklist for Implementing Security [Infogr...A History of IIoT Cyber-Attacks & Checklist for Implementing Security [Infogr...
A History of IIoT Cyber-Attacks & Checklist for Implementing Security [Infogr...GlobalSign
 
Exploring the Digital Oilfield 2016
Exploring the Digital Oilfield 2016Exploring the Digital Oilfield 2016
Exploring the Digital Oilfield 2016Inductive Automation
 
IIoT : Old Wine in a New Bottle?
IIoT : Old Wine in a New Bottle?IIoT : Old Wine in a New Bottle?
IIoT : Old Wine in a New Bottle?Venu Vasudevan
 
Design Like a Pro - Best Practices For IIoT 2016
Design Like a Pro - Best Practices For IIoT 2016Design Like a Pro - Best Practices For IIoT 2016
Design Like a Pro - Best Practices For IIoT 2016Inductive Automation
 
Security Considerations in Process Control and SCADA Environments
Security Considerations in Process Control and SCADA EnvironmentsSecurity Considerations in Process Control and SCADA Environments
Security Considerations in Process Control and SCADA Environmentsamiable_indian
 
Automatizacion de las funciones de archivo 07 08
Automatizacion de las funciones de archivo 07 08Automatizacion de las funciones de archivo 07 08
Automatizacion de las funciones de archivo 07 08bbrti
 
Plataforma tactory talk 1
Plataforma tactory talk 1Plataforma tactory talk 1
Plataforma tactory talk 1chrisvit
 
Presentacion clasificacion de instrumentos
Presentacion clasificacion de instrumentosPresentacion clasificacion de instrumentos
Presentacion clasificacion de instrumentosJuan Gonzalez
 
Info plc cursillo_basico_intouch_7_1 (1)
Info plc cursillo_basico_intouch_7_1 (1)Info plc cursillo_basico_intouch_7_1 (1)
Info plc cursillo_basico_intouch_7_1 (1)Juan Rodriguez Garza
 

Destacado (20)

InTouch WonderWare
InTouch WonderWareInTouch WonderWare
InTouch WonderWare
 
manual-de-intouch
manual-de-intouchmanual-de-intouch
manual-de-intouch
 
INTOUCH
INTOUCHINTOUCH
INTOUCH
 
What's New in Wonderware InTouch Access Anywhere v.122015
What's New in Wonderware InTouch Access Anywhere v.122015What's New in Wonderware InTouch Access Anywhere v.122015
What's New in Wonderware InTouch Access Anywhere v.122015
 
The New Ignition v7.9 - See, Maintain, and Manage Your Enterprise With Ease
The New Ignition v7.9 - See, Maintain, and Manage Your Enterprise With Ease The New Ignition v7.9 - See, Maintain, and Manage Your Enterprise With Ease
The New Ignition v7.9 - See, Maintain, and Manage Your Enterprise With Ease
 
Curso de intouch 10.1
Curso de intouch 10.1Curso de intouch 10.1
Curso de intouch 10.1
 
Get More Data Into Your SCADA 2016
Get More Data Into Your SCADA 2016Get More Data Into Your SCADA 2016
Get More Data Into Your SCADA 2016
 
Aplicación de una mezcladora de fluidos en Intouch
Aplicación de una mezcladora de fluidos en IntouchAplicación de una mezcladora de fluidos en Intouch
Aplicación de una mezcladora de fluidos en Intouch
 
A History of IIoT Cyber-Attacks & Checklist for Implementing Security [Infogr...
A History of IIoT Cyber-Attacks & Checklist for Implementing Security [Infogr...A History of IIoT Cyber-Attacks & Checklist for Implementing Security [Infogr...
A History of IIoT Cyber-Attacks & Checklist for Implementing Security [Infogr...
 
Exploring the Digital Oilfield 2016
Exploring the Digital Oilfield 2016Exploring the Digital Oilfield 2016
Exploring the Digital Oilfield 2016
 
IIoT : Old Wine in a New Bottle?
IIoT : Old Wine in a New Bottle?IIoT : Old Wine in a New Bottle?
IIoT : Old Wine in a New Bottle?
 
Design Like a Pro - Best Practices For IIoT 2016
Design Like a Pro - Best Practices For IIoT 2016Design Like a Pro - Best Practices For IIoT 2016
Design Like a Pro - Best Practices For IIoT 2016
 
PLC SCADA
PLC SCADAPLC SCADA
PLC SCADA
 
Wonderware Data Historian
Wonderware Data HistorianWonderware Data Historian
Wonderware Data Historian
 
WW Historian 10
WW Historian 10WW Historian 10
WW Historian 10
 
Security Considerations in Process Control and SCADA Environments
Security Considerations in Process Control and SCADA EnvironmentsSecurity Considerations in Process Control and SCADA Environments
Security Considerations in Process Control and SCADA Environments
 
Automatizacion de las funciones de archivo 07 08
Automatizacion de las funciones de archivo 07 08Automatizacion de las funciones de archivo 07 08
Automatizacion de las funciones de archivo 07 08
 
Plataforma tactory talk 1
Plataforma tactory talk 1Plataforma tactory talk 1
Plataforma tactory talk 1
 
Presentacion clasificacion de instrumentos
Presentacion clasificacion de instrumentosPresentacion clasificacion de instrumentos
Presentacion clasificacion de instrumentos
 
Info plc cursillo_basico_intouch_7_1 (1)
Info plc cursillo_basico_intouch_7_1 (1)Info plc cursillo_basico_intouch_7_1 (1)
Info plc cursillo_basico_intouch_7_1 (1)
 

Similar a Wonderware tutorial

Lesson5 Customizing windows
Lesson5  Customizing windowsLesson5  Customizing windows
Lesson5 Customizing windowsguevarra_2000
 
COMPUTER Tips ‘n’ Tricks
COMPUTER Tips ‘n’   TricksCOMPUTER Tips ‘n’   Tricks
COMPUTER Tips ‘n’ Tricksargusacademy
 
Power Point Project 4
Power Point Project 4Power Point Project 4
Power Point Project 4lonetree
 
Primavera manual tutorial book
Primavera manual tutorial bookPrimavera manual tutorial book
Primavera manual tutorial bookThomas Britto
 
Primavera manual tutorial book
Primavera manual tutorial bookPrimavera manual tutorial book
Primavera manual tutorial bookThomas Britto
 
Step by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAPStep by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAPnityaabap
 
[Made Easy] How to use Toggl - Tutorial
[Made Easy] How to use Toggl - Tutorial[Made Easy] How to use Toggl - Tutorial
[Made Easy] How to use Toggl - TutorialEdison Villareal
 
How to deliver specific content with radio buttons on Eloqua forms
How to deliver specific content with radio buttons on Eloqua formsHow to deliver specific content with radio buttons on Eloqua forms
How to deliver specific content with radio buttons on Eloqua formsCatherine Funderburg, M.Ed.
 
Windows operating system part 1 (Introduction to Computer)
Windows operating system part 1 (Introduction to Computer)Windows operating system part 1 (Introduction to Computer)
Windows operating system part 1 (Introduction to Computer)Elijah Kplawore
 
Power Point Project 5
Power Point Project 5Power Point Project 5
Power Point Project 5lonetree
 
Using Applications in Windows - R.D.Sivakumar
Using Applications in Windows - R.D.SivakumarUsing Applications in Windows - R.D.Sivakumar
Using Applications in Windows - R.D.SivakumarSivakumar R D .
 
Lesson 4 moving and resizing windows
Lesson 4   moving and resizing windowsLesson 4   moving and resizing windows
Lesson 4 moving and resizing windowsguevarra_2000
 
Microsoft office powerpoint
Microsoft office powerpointMicrosoft office powerpoint
Microsoft office powerpointtimbram
 

Similar a Wonderware tutorial (20)

Botones
BotonesBotones
Botones
 
Lesson5 Customizing windows
Lesson5  Customizing windowsLesson5  Customizing windows
Lesson5 Customizing windows
 
COMPUTER Tips ‘n’ Tricks
COMPUTER Tips ‘n’   TricksCOMPUTER Tips ‘n’   Tricks
COMPUTER Tips ‘n’ Tricks
 
Windows 8 Tutorial
Windows 8 TutorialWindows 8 Tutorial
Windows 8 Tutorial
 
A Primavera Tutorial
A Primavera TutorialA Primavera Tutorial
A Primavera Tutorial
 
Power Point Project 4
Power Point Project 4Power Point Project 4
Power Point Project 4
 
Primavera manual tutorial book
Primavera manual tutorial bookPrimavera manual tutorial book
Primavera manual tutorial book
 
Primavera manual tutorial book
Primavera manual tutorial bookPrimavera manual tutorial book
Primavera manual tutorial book
 
Step by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAPStep by Step guide for creating first ABAP report in SAP
Step by Step guide for creating first ABAP report in SAP
 
Windows xp-cheat-sheet
Windows xp-cheat-sheetWindows xp-cheat-sheet
Windows xp-cheat-sheet
 
[Made Easy] How to use Toggl - Tutorial
[Made Easy] How to use Toggl - Tutorial[Made Easy] How to use Toggl - Tutorial
[Made Easy] How to use Toggl - Tutorial
 
How to deliver specific content with radio buttons on Eloqua forms
How to deliver specific content with radio buttons on Eloqua formsHow to deliver specific content with radio buttons on Eloqua forms
How to deliver specific content with radio buttons on Eloqua forms
 
Windows operating system part 1 (Introduction to Computer)
Windows operating system part 1 (Introduction to Computer)Windows operating system part 1 (Introduction to Computer)
Windows operating system part 1 (Introduction to Computer)
 
Power Point Project 5
Power Point Project 5Power Point Project 5
Power Point Project 5
 
Using Applications in Windows - R.D.Sivakumar
Using Applications in Windows - R.D.SivakumarUsing Applications in Windows - R.D.Sivakumar
Using Applications in Windows - R.D.Sivakumar
 
Windows Operating System
Windows Operating SystemWindows Operating System
Windows Operating System
 
dr_4
dr_4dr_4
dr_4
 
dr_4
dr_4dr_4
dr_4
 
Lesson 4 moving and resizing windows
Lesson 4   moving and resizing windowsLesson 4   moving and resizing windows
Lesson 4 moving and resizing windows
 
Microsoft office powerpoint
Microsoft office powerpointMicrosoft office powerpoint
Microsoft office powerpoint
 

Más de Dian Herpadiana, S.T. (12)

Basic Elektronika
Basic ElektronikaBasic Elektronika
Basic Elektronika
 
Basic Elektronika
Basic ElektronikaBasic Elektronika
Basic Elektronika
 
Batch Reactor
Batch ReactorBatch Reactor
Batch Reactor
 
Direct Current (DC)
Direct Current (DC)Direct Current (DC)
Direct Current (DC)
 
Alternating Current (AC)
Alternating Current (AC)Alternating Current (AC)
Alternating Current (AC)
 
AC Drive/Inverter Fuji Frenic Mini
AC Drive/Inverter Fuji Frenic MiniAC Drive/Inverter Fuji Frenic Mini
AC Drive/Inverter Fuji Frenic Mini
 
Majmuaatur Rasail (Risalah Pergerakan), Hasan Al Bana
Majmuaatur Rasail (Risalah Pergerakan), Hasan Al BanaMajmuaatur Rasail (Risalah Pergerakan), Hasan Al Bana
Majmuaatur Rasail (Risalah Pergerakan), Hasan Al Bana
 
Teori dasar motor AC
Teori dasar motor ACTeori dasar motor AC
Teori dasar motor AC
 
Np5 programmable terminal
Np5 programmable terminalNp5 programmable terminal
Np5 programmable terminal
 
Cp1 e introduction manual
Cp1 e introduction manualCp1 e introduction manual
Cp1 e introduction manual
 
Katalog KPI
Katalog KPIKatalog KPI
Katalog KPI
 
Omron CS1D
Omron CS1DOmron CS1D
Omron CS1D
 

Último

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Último (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Wonderware tutorial

  • 1. Wonderware Tutorial Creating Basic Shapes in Wonderware Select Start/Programs/Intouch For Windows/Intouch. When the Intouch dialog box appears, select Create Directory. Name the directory C:Intouch.16ENT311. Press OK. Select Window Maker (this is the icon with the pencil on it). When WindowMaker loads, select File/NewWindow. Enter the following information in the dialog box: Next select Rounded Rectangle from the Toolbox. Move the cursor to position 40, 110 and hold down the left mouse button. Drag the mouse to position 250, 20 and release the left mouse button. Now select Polygon from the Toolbox. Move the mouse to position 30, 90 and click (don’t hold) the left mouse button. Move the mouse to position 50, 90 and click the left mouse button. Finally move the mouse to position 40, 110. At this position double click the left mouse button. This will close the polygon and fill it with a white color. Creating a Tagname A tagname is similar to a variable in a programming language. It is used to store information to be shared by various components of Wonderware. Select Special/Tagname Dictionary. Click NEW on the dialog box and fill in the information shown below: Be sure to enable Data Logging. Click Done when finished.
  • 2. Animating Basic Objects Now that the tagname has been created, we can use it to animate some basic shapes. Double click on the triangular shape you created earlier. Press the Horizontal Slider button. Enter the data shown below in the dialog box: Double click on the Rounded Rectangle. Select Percent Fill/Horizontal. Enter slider as the Tagname. Press Done. Now press Runtime! Move the polygon left and right with the mouse. The polygon serves as a slider and the rectangle fills with a color as the polygon is moved. The tagname in the rectangle dialog box could easily be changed to, say, the timer on a programmable controller to represent the current timer state. Placing Animated Text on the Screen The value of tagname slider can be shown on the screen with Text. Select Text from the Toolbox and place it at 100, 170. Enter: Slider = ####.## The # indicator will be replaced with the value of a tagname at runtime. Now double click on the text. Select Value Display/Analog. Enter slider for the Expression, then press Done. Press Runtime! The ####.## in the text area is replaced by the slider value. Move the slider left and right and observe the effect on the text. Press Development! When finished. Creating a Bottle Fill Operation Draw a rounded rectangle near the center of the screen. Next draw a polygon or top of the rectangle as shown below:
  • 3. Next draw a polygon on top of the rectangle as shown below. Try to match your polygon as close as possible to the one shown below. Double click on the last endpoint to ensure closure. Click on the polygon to select it and press Duplicate Selection from the Toolbox. Immediately after press Flip Horizontal. Move the inverted polygon next to the original until the overall shape resembles a bottle, as shown below: The bottle contains three shapes, a rounded rectangle and two polygons. These three shapes can be made into one object with the Make Symbol button in the Toolbox. Select the three objects with the mouse and press the Make Symbol button. Next double click on the bottle and select Percent/Vertical. Enter slider as the Expression. Change the background color by selecting Background Color. Press Done when finished. Now change the bottle fill color by clicking on the bottle, pressing Fill (on the Toolbox), and selecting a color. Select Runtime! and observe the bottle fill operation. Press Development! when finished. Controlling Visible Lines Note the bottle has lines from the polygons and rectangle. Delete these lines by selecting Lines from the top menu and No Lines. Press Runtime! and observe the results. Selecting Text Fonts The text font for Slider = ####.## can be changed by selecting the Font button on the Toolbox. Change the font to Times New Roman, size 20. Creating New Tagnames Enter WindowMaker. Create a new tagname with the following parameters: Name:bottle Type: Memory Real Minimum Value: 0 Maximum Value: 500 Log Data: Enabled
  • 4. Log Events: Disabled Controlling the Bottle Motion Double click on the bottle. Press the Location/Horizontal button. Enter the following data: Expression:bottle Value Horizontal Movement Left End 0 Left 0 Right End 400 Right 400 Click OK. Next click on the Object Size/Height button. Enter the following data: Value at Max Height: 320 Max % Height: 70 Value at Min Height: 0 Mm % Height: 100 Middle Click on the Object Size/Width button. Enter the following data: Value at Max Height: 320 Max % Height: 70 Value at Min Height: 0 Min % Height: 100 Center Select Special/Scripts/Window Scripts from the top menu. Enter the following script file in the While Showing screen: bottle = bottle+ 10; IF bottle == 100 THEN IF slider< 100 THEN slider=slider+l; bottle=90; ENDIF; ENDIF; IF bottle> 320 THEN bottle=0; slider=0; END IF; Note: You can use the buttons on the bottom of the screen to help enter the commands. Next select On Show from the Window Scripts menu. Enter the following data: bottle=0; slider=0; Select Runtime! The bottle should now appear to move along the conveyor, and stop to be filled at the fill station. Select Development! when finished. Creating an Alarm Condition An alarm occurs when something out of the ordinary happens to the physical process. Wonderware provides for monitoring and acknowledging alarms. The alarm for this process will occur when the conveyor is not running. Create a new tagname called ConvStop. It should be type Memory Discrete, with Log Events Enabled. Click on the Alarms box and set Alarm State On. Now click on the Wizard button on the Toolbox. Select Switches and On/Off Rocker Discrete Switch. Place this switch on the screen to the left of the conveyor. Double click on the switch and set the Tagname to ConvStop.
  • 5. Again select Wizards and Lights/Tube Lights. Place the Tube Light on the screen just below the switch. Double click on the light and name the Expression ConvStop.Alarm. Next revise the Scripts/Window Scripts/While Showing script as shown below: bottle = bottle+ 10; IF ConvStop == 1 THEN bottle = bottle - 10; ENDIF; IF bottle == 100 THEN IF slider<100 THEN slider=slider+1 Bottle = 90; ENDIF; ENDIF; IF bottle > 320 THEN Bottle = 0; Slider = 0; ENDIF; Select Runtime! and observe the movement of the bottle. Creating an Alarm Panel Create a new window by selecting File/New Window. Press Yes when asked “Copy Window Scripts?”. Name the window Alarm, and keep the size the same as the Bottle window. Select Wizards from the Toolbox menu. Next select Alarm Display/Std. Alarm Display. Using the left mouse button, size the alarm display on the screen so that 10 entries (rows) are shown. Double click on the alarm display. We do not wish to create priorities, so click on Format Alarm Message and unselect Priority. Also select Alarm History on the screen. Press OK. From the top menu, select Special/Configure/Alarm Logging/Logging Enabled. Press OK twice. Now that the Alarm screen has been created, there must be a way to go back and forth between the Alarm and Bottle screen. Open the Bottle screen (you will either have to use File/Open Window or Windows from the top menu). Select Button from the Toolbox. Select Special/Substitute Strings from the top menu. Enter Alarm for the string. Double click on the button and select Show Window. Select Alarm (only Alarm should be highlighted). Now open the Alarm Window. Repeat the process above, this time naming the button Bottle. Double click on the button and select Show Window. Select Bottle (only Bottle should be highlighted). Press Runtime! It should now be possible to go back and forth between each screen by pressing the appropriate button. As conditions change on the Bottle screen, the appropriate alarms should be displayed. Select Development! when finished. Alarm Acknowledging Alarms can be acknowledged. Any alarm that has been acknowledged is recorded on the alarm display screen. To acknowledge an alarm, first draw a button. Using Special/Substitute Strings, rename the button Alarm Acknowledge. Double click on the button and select Touch Pushbuttons/Action. Enter Ack ConvStop; in the white box. Run the program and test the Alarm Acknowledge by pressing it and viewing the alarm screen. Creating a Historical Trend
  • 6. A historical trend chart records past events in the process. In this example both tagnames slider and bottle are recorded. Use File/NewWindow to create a new window named History. In this window, select the Wizard button on the toolbox and Trends/ Hist Trend w/Scooters and Scale. Place the trend chart on the upper left of the screen. Next select Trend Zoom/Pan Panel (second from left) and place it on the screen below the trend chart. Double click on the chart and press Suggest and OK. Wonderware will create the appropriate tagnames for you. Next select the Trend Zoom/Pan Panel and press Suggest and OK. Wonderware will link the Trend Zoom/Pan Panel with the chart. Now create buttons and use Show Window to have a method of going from the History to the Bottle window and back. Run the program. Allow the bottle to fill a couple of times. Go to the history window and press the right arrow key, as shown below:
  • 7. Note: The Historical Trends chart will not update automatically. An event must occur, such as an arrow button pressed. Press Development! when finished. Zooming In on the Historical Trend Window The Trend Zoom/Pan has a zoom feature on it. Adjust the sliders on the screen to select a small part of the graph. Press Zoom In to zoom in on the window. Study the other buttons n the Trend Zoom/Pan Panel until you understand the operation. Configuring a Real Time Display Besides a Historical Display, Wonderware can also display a Real Time Display. Select Real-Time Trend from the Toolbox menu. Draw the chart on the upper right of the bottle window. Double click on the chart and enter the slider and bottle in pens 1 and 2. Press OK. Run the program. You should see the tagnames slider and bottle continually updated on the screen. Saving Historical Data in a CSV File A CSV file can be generated with the Wizards/Trends/HistData Wizard. Select the item and place it below the Trend Zoom/Pan Panel. Double click on it and fill in the dialog box. Press OK. Run the program. Click the button HISTDATA.EXE when prompted. After collecting some data, press the Save button on the Historical Trend box. You can change the filename if you like. After saving the file, exit Wonderware, load Excel and use File/Open. Change Files Type to .CSV files. Find the directory, select the file, and open it. The recorded date, time, and tagnames will now appear in Excel. Graph the tagnames using a scatter diagram. DDE Data Transfer Just like Visual Basic, Wonderware can transfer data to other programs through DDE. Wonderware requires and Access Name, Application/Server Name, Topic name, and Item name. We will illustrate this process with the following example. Select Special/DDE Access Names. Select Add. Fill in the following data: DDE Access Name DDELink DDE Application/Server Name Excel DDE Topic Name Sheet1 Leave everything else at the default values. Select Special/Tagname Dictionary create bottlefill as a DDE Real. For the DDE Access Name choose DDELink, and for the Item choose R1C1. In the Special/Scripts/Window Scripts, enter bottlefill = slider; in the While Showing screen.
  • 8. Start Excel and minimize it. Press Runtime! in Wonderware. As the bottle moves on the screen, Row1 Column1 of Excel should show the present value. All of this should be fairly straight forward. You can get help in the Wonderware help menu. The DDE can also transfer to another server. Suppose we wanted to transfer to another computer named ENT12. The DDE Application/Server Name would change to //ENT12/Excel. 1