0 ratings0% found this document useful (0 votes) 580 views13 pagesConnect Wonderware Intouch To An Arduino PDF
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
aarane Connect Wonderware touch oan Arduino Yun
are Tools for Makers
top_icons
YOws' Fh
Home
© Sitemap
Visual OPC Builder
OPC Server for Arduino
Monitoring library for Arduino
Forum and support
* Team
* Contact
punt
Connect Wonderware Intouch to an Arduino Yun using Arduino
OPC Server and Wonderware’s FSGateway DAServer
* font size decrease font size_ increase font size
First of all | want to greet to Alex Marcy for share his
knowledge to build this tutorial. Thank you Alex!!!
This tutorial will guide you in configuring Wonderware InTouch to an Arduino Yun using the Arduino OPC
Server and Wonderware’s FSGateway DAServer. You can just as easily configure a serial Arduino, see the
tutorials on how to configure the Arduino OPC Server for more information on that configuration. The
censhots are from Intouch 2012 R2 but the process should be similar with any version of InTouch.
Open the Random_Yun example from the OPC library in the Arduino IDE and upload to your Arduino.
pike [Link]-ope-eorer hu ocarneet-wonderware:ilouch-o-an-arduno-yur-using-erduno-cpe-serex-and-wendervare-etegalonay.. 113aarane Connect Wonderware touch oan Arduino Yun
e009 Random_yun | Arduino 1.5.6-r2
Random_yun
include
Binclude
OPCNet adPC;
* create @ callback
‘int callback(const char *itenID, const opcOperation opcOP, const int valuedf
return randon(-32768,32768);
+
void setupt) {
20°C. setups
[Link]¢"randon" ,ope_read, opc_int. callback): 2
i
i ° ° aa
Global variables use 780 bytes (30K) of dynamic memory, leaving 1,780 bytes
ecco Ua eGrs loner
Install FSGateway from the Wonderware
Management Consok.
Server dise. After installing FSGateway open the System
— = :
Flaten severe Rockwell Software > ©) Books ,
Se sue © Microsoft SQLServer 2008 > 2) Common »
© Microsoft 501 Server 2008R2 > Sk archestrAIDE
Lane co
Fans radon» REET
rl (ED Font Reader > intouh
Infourh I auhte Rear Bel ton:
© Arduino SG wndoutater
ee
Boot |S ”|
In the Archestra System Management Console expand the tree and click on “Configuration” under the
pike [Link]-ope-eorer na tocarneet-wonderware:ilouch-o-an-arduno-yun-using-erduno-cpe-sere:-and-wendervare-etegalonay... 243azn Cnet Wedervare toh tan Ard Yun
FSGateway DAServer. Right click on Configuration after you have selected it and click “Add OPC Object”:
[ArchestrA System Management Console (
File Action View Help
e%|/Ha|\e@m
(G@ ArchestrA System Management Console (
f#)-B) Galaxy Database Manager
(2-{85) Daserver Manager
=) Default Group Global Paramets
Local
(@ [Link].3
Aa yaa sittin Object
‘Add REDUNDANT_DEVICE Object
Add DOE Object
Add ArchestrA Object
Ee
1-) Log Viewer
-[] Platform Manager
‘Add InTouch Object
Archive Configuration Set
Clear Configuration Set
Use Another Configuration Set
Delete Configuration Set
Select the new OPC Object and in the right pane click the ... button next to “Server Name” to select the
Arduion OPC server on your machine, If it is installed on a different machine select the machine in the “Server
Node” box:
He Beton Yew ta
"aay Wane Coe
1 Gaze Dxabso nage
EB sererminane
Ei osakcow
loca
Boosters
Ogee
PEs
Click on the OPC Object in the tree and then right click on it to add an OPCGroup Object:
pike [Link]-ope-eorer ha ocarnect-wonderware:ilouch-o-an-arduno-yur-using-erduno-cpe-sere:-[Link]-etegalonay... S13Connect Wonderware itouch oan Arun Yun
(§ SMC - [ArchestrA System Management Console (¥-SERVEH
G@ ArchestrA System Management Console (.
f#1-[Q] Galaxy Database Manager
=} [] Daserver Manager
(=) By Detault Group
BB Local
“885 [Link].3
a
®
a
‘This will show the OPC Browse dialog with the “random” OPC item from the Arduino sketch listed in the top
pane:
pike sté[Link]-ope-eorer hu ocarnect-wonderware:[Link]-etegalonay... 413aarane Connect Wonderware touch oan Arduino Yun
Sone)
Click the items you want to make available in InTouch and drag/drop them to the lower pane, When you have
added all of the desired items click "OK":
pike [Link]-ope-eorer na tocarneet-wonderwar:ilouch-o-an-arduno-yun-using-erduno-cpe-serex-and-wendervare-etegalonay... S13aarane Connect Wonderware touch oan Arduino Yun
Node Type: OPCGroup
EG Aechasrssatenay 3
Ef Configuration
Click the save button in the upper right comer of the System Management Console and activate the FSGateway
DAServer by right clicking on it and selecting “Activate Server”:
pike [Link]-ope-eorer na tocarneet-wonderware:inlouch-o-an-arduno-yun-using-erduno-cpe-serex-and-wendervare-etegalonay... 613aarane Connect Wonderware touch oan Arduino Yun
File Action View Help
> |/H|/8\@mj\a
G@ ArchestrA System Management Console ( | Component
18] Golaxy Database Manager Filrscoteway
-(] Daserver Manager EXjrscateway [Shell
&) @ Default Group F2loriainal DAS Toolk:
BG Local FAloastngine
&
- Configuration TENS AS SeCrCSP
4-109 viewer
(-{)] Platform Manager view »
Export List,
Help
Open InTouch:
cu server ar Roel softare » © Books ,
£33 sudo G2) Microsoft SQL Server 2008 » ©) Common »
eee es Microsoft SQL Server 2008R2 + SQ ArchestrA IDE.
Peto All aeaen siete Dats hetero Cone
(GD Fomrender » (Intouch
Sees Bo.
meee © 8°3u00
[Program Fles|Won«
Add a new application:
InTouch - Application Manager - [c:
Help
aL . CtrN
WindowMlaker Ctra
File | View Tools
Windowliewer rey
OBLoad Ctrl
1S Bi A
pike sté[Link]-ope-eorer hn ocarnect-wonderware:ilouch-o-an-arduno-yu-using-erduno-cpe-sere:-[Link]-etegalonay.. 713aananne Como: Werder touch oan Ari Yen
Select the new application and open WindowMiaker:
I eee
Fle Yew Tools Help
So]
A
Retin:
‘WaDemo Application 1024 X 768
‘Wademo Application 1280 x 1024
‘Wademo Application 800 x 600
Tee
Go to Access Names and add the FSGateway DAServer with the topic name set to match the OPC Group
name in the System Management Console:
Go to the Tagname Dictionary and add a new tag. For the tutorial we will cal it "random, set it to an /O
integer, set the Access Name the same as the one configured in the previous step and set the item name to match
the lefl colurm under "Device Items" for the OPC Group in the System Management Console. Once you have
configured the tag click "Save":
Ci
Be feewlece| ee) -e (eae » | Sel
ewe = ——— ine
pss jas pi ree
Fase tte a nr
«| — | oe oa
i | fates [a — Me fT —
ee Oe
iis [aaeietan —— Fotaram sioti|
Create a new window and add a text object to the window. Set the text to any number of # symbols to display a
number:
pike sté[Link]-ope-eorer ha ocarnect-wonderwareilouch-o-an-arduno-yun-using-erduno-cpe-serex-and-wendervare-etegalonay... 813aarane Connect Wonderware touch oan Arduino Yun
co
Double click on the text object to bring up the animation settings
Object ype Text vie | | Newline Ce
ara | nesta Cancel
Touch Links bine Color 7 FillColor 7 Test Color
User Inputs F _ Discrete Discrete TP __ Discrete |
F __ Discrete [|| anaca ees PF _Anao |
FP __ Analog T> (Diecrete Alarm ||| [Diecrete Alarm ||| | Discrete Alm
T __ Sting TF _Ansloslaim |] |I7 | AnaloaAlaim |||7 Analog Alarm |
Sliders [Object Size: j Location j Percent Fil
__ Vettical F Height TD _ Vere ||) __ Vertical |
7 _Hovizortal_ || iat TF _ Horizontal |) FF _Hovzortal
Touch Pushbuttone | > Miscellaneous) - Value Dizplay——)
T _DiscreteValue ||| | Vieibity T __ Discrete
Beton Bink \. feta
7 _Show Window || |I~ __Grientetion [| | 0
7 _Hide Window |||I~ Disable
TF __ Tooltip
Click the "Analog" button under "Value Display’ Enter the name of the tag you created here. Click OK and OK.
Again to close the animation settings window.
pike [Link]-ope-¢orer nu tocarnect-wonderware:ilouch-o-an-arduno-yu-using-erduno-cpe-sere:-[Link]-etegalonay... 913aarane
Connect Wonderware touch oan Arduino Yun
Alex Marcy
Email ale [Link]
back to top
OPC Server for Arduino
* Installation guides
* How to.
* Download
pike [Link]-ope-eorer hu ocarnect-wonderware:inlouch-o-an-arduno-yu-using-erduno-cpe-sere:-and-wendervare-etegalonay.... 1013aarane Connect Wonderware touch oan Arduino Yun
pike [Link]-ope-eorer nau ocarnect-wonderwareilouch-o-an-arduno-yun-using-erduno-cpe-sere:-and-wendervare-etegalonay.... 1113aarane Connect Wonderware touch oan Arduino Yun
Designed by: ThemeXpert
* Home
© Sitemap
© Visual OPC Buikler
* OPC Server for Arduino
© Monitoring library for Arduino,
+ Forum and support
« Team
* Contact
pike sté[Link]-ope-eorer in ocarnect-wonderware:ilouch-o-an-arduno-yur-using-erduno-cpe-serex-and-wendervare-etegalonay.... 1213aarane Connect Wonderware touch oan Arduino Yun
* Account
pike [Link]-ope-eorer nu ocarnectswonderware:ilouch-o-an-arduno-yur-using-erduno-cpe-serex-and-wendervare-etegalonay.... 1813
You might also like
Communication Port Function M1120, M1136, M1138, M1139, M1143, D1036, D1109
Communication Port Function M1120, M1136, M1138, M1139, M1143, D1036, D1109
2 pages