Difference between revisions of "WASCADA Service"

From ESS-WIKI
Jump to: navigation, search
 
(36 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
SCADA is a component in WebAccess system. It's communicates with automation devices and the Clients.
 
SCADA is a component in WebAccess system. It's communicates with automation devices and the Clients.
  
<br/>
 
<br/>
 
  
= WASCADA Service =
+
 
 +
= WA SCADA Service =
 +
 
 +
[[File:WebAccessSCADA EdgeSense SW Architecture.jpg|1600x900px|WebAccessSCADA EdgeSense SW Architecture.jpg]]
  
 
= How to =
 
= How to =
Line 14: Line 15:
 
== Installation ==
 
== Installation ==
  
1.Install '''Update for Universal C Runtime in Windows''' (KB2999226) (needed for OS other than Win 10).
+
1. Install '''Update for Universal C Runtime in Windows''' (KB2999226) (needed for OS other than Win 10).
 
<ul style="list-style-type:circle;">
 
<ul style="list-style-type:circle;">
 
<li>Install for x64 OS: [https://www.microsoft.com/en-us/download/details.aspx?id=49093 https://www.microsoft.com/en-us/download/details.aspx?id=49093]</li>
 
<li>Install for x64 OS: [https://www.microsoft.com/en-us/download/details.aspx?id=49093 https://www.microsoft.com/en-us/download/details.aspx?id=49093]</li>
Line 20: Line 21:
 
</ul>
 
</ul>
  
2.Install '''Microsoft Visual C++ 2015 Redistributable Package''' (32bit).
+
2. Install '''Microsoft Visual C++ 2015 Redistributable Package''' (32bit).
  
 
   Download link: [https://www.microsoft.com/en-US/download/details.aspx?id=48145 https://www.microsoft.com/en-US/download/details.aspx?id=48145]
 
   Download link: [https://www.microsoft.com/en-US/download/details.aspx?id=48145 https://www.microsoft.com/en-US/download/details.aspx?id=48145]
  
3.Install MQTTBroker
+
3. Install MQTTBroker
  
 
   Download link: [https://www.dropbox.com/s/wyt3gnenyf7xv3d/MQTTBrokerSetup_1.0.3.exe?dl=0 MQTTBrokerSetup]&nbsp;&nbsp;
 
   Download link: [https://www.dropbox.com/s/wyt3gnenyf7xv3d/MQTTBrokerSetup_1.0.3.exe?dl=0 MQTTBrokerSetup]&nbsp;&nbsp;
  
4.Double click Agent_WASCADAHandler_X.X.X.exe to install.
+
4. Double click Agent_WASCADAHandler_X.X.X.exe to install.
 +
 
 +
5. Follow step wizard to install WASCADA Service.
  
5.Follow step wizard to install WASCADA Service.
 
  
<br/>
 
<br/>
 
  
 
== Configuration ==
 
== Configuration ==
  
After the installation is done, '''WASCADAHandler.ini '''(path: \Program Files (x86)\Advantech\Agent_WASCADAHandler\)&nbsp;must be edited so that the plug-in will work:
+
After the installation is completed, please follow below step to config WASCADA plugin:
  
1.WASCADAHandler.ini
+
1. Open and edit WASCADAHandler.ini from plugin's installed folder, for example: C:\Program Files (x86)\Advantech\Agent_WASCADAHandler\
  
Set WebAccess IP, User name and Password encoded in base64 and others.
+
&nbsp; &nbsp; Set WebAccess IP, User name and Password encoded in base64 and others.
  
<br/>
+
&nbsp;
 
 
When finishing edit ini file, restart service of Agent_WASCADAHandler.
 
 
<pre>[Setting]
 
<pre>[Setting]
 
Server=127.0.0.1 ; the IP address of WebAccess
 
Server=127.0.0.1 ; the IP address of WebAccess
Line 54: Line 52:
 
; at the front, become 'Basic YWRtaW46'.
 
; at the front, become 'Basic YWRtaW46'.
  
RetrieveInterval_ms=10000 ; The interval of time (ms) of acquiring data, minimum value is 1000ms.
+
RetrieveInterval_ms=10000 ; The interval of time (ms) of acquiring data, minimal value is 1000ms.
 
; This value is depended on how many tags you like to acquire.
 
; This value is depended on how many tags you like to acquire.
; Generally, increase 300ms for one tag, increase 3000ms for 10 tags... and so on!
+
; Generally, increase 100ms for one tag, increase 1000ms for 10 tags... and so on!
  
RetrieveSpecificTags=0 ; 0: Acquire data of all tags in WebAccess
+
RetrieveSpecificTags=1 ; 0: Acquire data of all tags in WebAccess
 
; 1: Acquire data of selected tags in WebAccess.
 
; 1: Acquire data of selected tags in WebAccess.
 
;    Set the selected tags in [Tags] down below.
 
;    Set the selected tags in [Tags] down below.
 
;    Settings in [Tags] are only effective when  
 
;    Settings in [Tags] are only effective when  
 
                                                       &nbsp;;    this variable is set to 1.
 
                                                       &nbsp;;    this variable is set to 1.
 +
 +
PollingTagInterval_sec=10                              &nbsp;; The time interval (in second) to polling Webaccess/SCADA server tag's path, minimal value: 1
 +
PollingTagNotification=0                              &nbsp;; Disable: 0, Enable: 1
 +
  
 
[Tags]
 
[Tags]
 
numberOfTags=2 ; The total number of tags, maximum value is 200;
 
numberOfTags=2 ; The total number of tags, maximum value is 200;
Tag0=Project1,tag1
+
Tag0=Project1,tag1 ; Tags definition, Tagn = project name, tag name.
 
Tag1=Project1,tag2
 
Tag1=Project1,tag2
  
;tag = project name, tag name
+
 
 
</pre>
 
</pre>
  
<br/>
 
  
2. Restart "Agent_WASCADAHandler" Service.
 
  
<br/>
+
<span style="color:#FF0000;">'''Note: Arithmetic virtual tag is not support.'''</span>
 +
 
 +
2. Restart "Agent_WASCADAHandler" Service from Windows Task Manager.
 +
 
 +
 
  
 
3.On the RMM cloud, check if WASCADAHandler tab is appearing.
 
3.On the RMM cloud, check if WASCADAHandler tab is appearing.
Line 84: Line 88:
 
'''''Config WebAcess can refer [http://ess-wiki.advantech.com.tw/wiki/images/e/eb/WebAccess_Training_-_Step_By_Step.pdf WebAccess Training - Step By Step]'''''
 
'''''Config WebAcess can refer [http://ess-wiki.advantech.com.tw/wiki/images/e/eb/WebAccess_Training_-_Step_By_Step.pdf WebAccess Training - Step By Step]'''''
  
<br/>
+
= JSON Data Format =
 +
<pre>{
 +
  "infoSpec": {
 +
    "WASCADAHandler": {
 +
      "Plugin": {
 +
        "bn": "Plugin",
 +
        "e": [{"n": "Version","sv": "1.0.1","asm": "r"},
 +
              {"n": "Description","sv": "This service is WebAccess SCADA Service","asm": "r"}]
 +
      },
 +
      "ProjectTest": {
 +
        "bn": "ProjectTest",
 +
        "ScadaNode01": {
 +
          "1": {
 +
            "bn": "1",
 +
            "DeviceTest01": {
 +
              "bn": "DeviceTest01",
 +
              "e": [{"n": "AO_40001","v": -1,"asm": "rw","q": 1}]
 +
            }
 +
          },
 +
          "bn": "ScadaNode01"
 +
        }
 +
      },
 +
      "opTS": {
 +
        "$date": 1542794074033
 +
      },
 +
      "dataFlow": "general/WASCADAHandler",
 +
      "seq": "2_1542794074033",
 +
      "srcTs": 1542794074033
 +
    }
 +
  }
 +
}
  
= Json Data Format =
+
</pre>
  
<br/>
+
[[WASCADA_Protocol|WASCADA Hand-shark protocol]]
<br/>
 
  
 
= Use Case =
 
= Use Case =
  
<br/>
+
...
<br/>
+
 
 +
 
  
 
= Release =
 
= Release =
Line 100: Line 134:
 
<span style="font-size:larger;">This is an overview that displays WebAccess/SCADA Service&nbsp;versions and some stats and numbers for each release.</span>
 
<span style="font-size:larger;">This is an overview that displays WebAccess/SCADA Service&nbsp;versions and some stats and numbers for each release.</span>
  
{| border="1" cellspacing="1" cellpadding="1" style="width: 797px;"
+
{| border="1" cellspacing="1" cellpadding="1" style="width: 1131px;"
 
|-
 
|-
 
| style="width: 47px; text-align: center;" | <span style="font-size:larger;">Index</span>
 
| style="width: 47px; text-align: center;" | <span style="font-size:larger;">Index</span>
Line 107: Line 141:
 
| style="width: 71px; text-align: center;" | <span style="font-size:larger;">Platform</span>
 
| style="width: 71px; text-align: center;" | <span style="font-size:larger;">Platform</span>
 
| style="width: 76px; text-align: center;" | <span style="font-size:larger;">OS</span>
 
| style="width: 76px; text-align: center;" | <span style="font-size:larger;">OS</span>
| style="width: 432px; text-align: center;" | <span style="font-size:larger;">Release Note</span>
+
| style="width: 313px; text-align: center;" | <span style="font-size:larger;">Release Note</span>
 +
| style="width: 400px; text-align: center;" | '''Download Link'''
 +
| style="width: 303px; text-align: center;" | '''Remark'''
 
|-
 
|-
 
| style="width: 47px; text-align: center;" | <span style="font-size:larger;">1</span>
 
| style="width: 47px; text-align: center;" | <span style="font-size:larger;">1</span>
| style="width: 63px; text-align: center;" | <span style="font-size:larger;">v1.0.1</span>
+
| style="width: 63px; text-align: center;" | <span style="font-size:larger;">v1.0.2</span>
| style="width: 72px; text-align: center;" | <span style="font-size:larger;">2018/11/16</span>
+
| style="width: 72px; text-align: center;" | <span style="font-size:larger;">2019/02/18</span>
| style="width: 71px; text-align: center;" | <span style="font-size:larger;">x86_64 CPU</span>
+
| style="width: 71px; text-align: center;" | <span style="font-size:larger;">x86_64 CPU</span><br/>
 
| style="width: 76px; text-align: center;" | <span style="font-size:larger;">Windows</span>
 
| style="width: 76px; text-align: center;" | <span style="font-size:larger;">Windows</span>
| style="width: 432px; text-align: center;" | <span style="font-size:larger;">&nbsp;[[Media:Agent_WASCADAHandler_ReleaseNote_1.0.1.txt|Agent_WASCADAHandler Release Note v1.0.1]]</span>
+
| style="width: 313px; text-align: center;" | <span style="font-size:larger;">&nbsp;[[Media:Agent_WASCADAHandler_ReleaseNote_1.0.2.txt|Release Note]]</span><br/>
 +
| style="width: 400px; text-align: center;" |
 +
<span style="font-size:larger;">&nbsp;[file://eossfs/ESS-Release/EdgeSense/Release/Windows/WASCADAHandler/1.0.2/ Agent_WASCADAHandler_1.0.2.zip]</span>
 +
 
 +
| style="width: 303px; text-align: center;" | <span style="font-size:larger;">Tested with WebAccess/SCADA v8.2</span>
 
|}
 
|}
  
<br/>
+
<span style="font-size:larger;">Above files are available at local server, please paste file's&nbsp;url in File Explorer&nbsp;to copy file. ([[EdgeSense_FAQ|How to access to EOSSFS file server]]&nbsp;)</span>
<br/>
 
 
 
= Verification =
 
 
 
1.Verify for 200 tags data access on evaluation version of WebAccess/SCADA.
 
 
 
2.Verify for 16 Tags long time data access on standard version of WebAccess/SCADA.
 
 
 
<br/>
 
<br/>
 

Latest revision as of 10:31, 6 January 2020

Introduction

WebAccess is a web browser based software for Human Machine Interface (HMI) and Supervisory Control and Data Acquisition. The software acquires, displays and stores real-time data and allows operators to change setpoints, equipment status and other parameters in Programmable Logic Controllers (PLCs), Controllers, IO, RTUs, DCS and DDC systems.

SCADA is a component in WebAccess system. It's communicates with automation devices and the Clients.


WA SCADA Service

WebAccessSCADA EdgeSense SW Architecture.jpg

How to

Installation

1. Install Update for Universal C Runtime in Windows (KB2999226) (needed for OS other than Win 10).

2. Install Microsoft Visual C++ 2015 Redistributable Package (32bit).

 Download link: https://www.microsoft.com/en-US/download/details.aspx?id=48145

3. Install MQTTBroker

 Download link: MQTTBrokerSetup  

4. Double click Agent_WASCADAHandler_X.X.X.exe to install.

5. Follow step wizard to install WASCADA Service.


Configuration

After the installation is completed, please follow below step to config WASCADA plugin:

1. Open and edit WASCADAHandler.ini from plugin's installed folder, for example: C:\Program Files (x86)\Advantech\Agent_WASCADAHandler\

    Set WebAccess IP, User name and Password encoded in base64 and others.

 

[Setting]
Server=127.0.0.1					; the IP address of WebAccess
Authorization=Basic YWRtaW46				; The 'username:password' of WebAccess encoded 
							; in base64, and add 'Basic' at the front. E.g. if your
							; username is "admin" and password is "", the word
							; after encoding is 'YWRtaW46'; then adding 'Basic'
							; at the front, become 'Basic YWRtaW46'.

RetrieveInterval_ms=10000				; The interval of time (ms) of acquiring data, minimal value is 1000ms.
							; This value is depended on how many tags you like to acquire.
							; Generally, increase 100ms for one tag, increase 1000ms for 10 tags... and so on!

RetrieveSpecificTags=1					; 0: Acquire data of all tags in WebAccess
							; 1: Acquire data of selected tags in WebAccess.
							;    Set the selected tags in [Tags] down below.
							;    Settings in [Tags] are only effective when 
                                                        ;    this variable is set to 1.

PollingTagInterval_sec=10                               ; The time interval (in second) to polling Webaccess/SCADA server tag's path, minimal value: 1
PollingTagNotification=0                                ; Disable: 0, Enable: 1


[Tags]
numberOfTags=2						; The total number of tags, maximum value is 200;
Tag0=Project1,tag1					; Tags definition, Tagn = project name, tag name.
Tag1=Project1,tag2



Note: Arithmetic virtual tag is not support.

2. Restart "Agent_WASCADAHandler" Service from Windows Task Manager.


3.On the RMM cloud, check if WASCADAHandler tab is appearing.

WASCADA 2.0.JPG

Config WebAcess can refer WebAccess Training - Step By Step

JSON Data Format

{
  "infoSpec": {
    "WASCADAHandler": {
      "Plugin": {
        "bn": "Plugin",
        "e": [{"n": "Version","sv": "1.0.1","asm": "r"},
              {"n": "Description","sv": "This service is WebAccess SCADA Service","asm": "r"}]
      },
      "ProjectTest": {
        "bn": "ProjectTest",
        "ScadaNode01": {
          "1": {
            "bn": "1",
            "DeviceTest01": {
              "bn": "DeviceTest01",
              "e": [{"n": "AO_40001","v": -1,"asm": "rw","q": 1}]
            }
          },
          "bn": "ScadaNode01"
        }
      },
      "opTS": {
        "$date": 1542794074033
      },
      "dataFlow": "general/WASCADAHandler",
      "seq": "2_1542794074033",
      "srcTs": 1542794074033
    }
  }
}

WASCADA Hand-shark protocol

Use Case

...


Release

This is an overview that displays WebAccess/SCADA Service versions and some stats and numbers for each release.

Index Version Date Platform OS Release Note Download Link Remark
1 v1.0.2 2019/02/18 x86_64 CPU
Windows  Release Note

 Agent_WASCADAHandler_1.0.2.zip

Tested with WebAccess/SCADA v8.2

Above files are available at local server, please paste file's url in File Explorer to copy file. (How to access to EOSSFS file server )