0% found this document useful (0 votes)
101 views19 pages

Manual For Nodered, Wonderware, Machine Advisor, AOA

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views19 pages

Manual For Nodered, Wonderware, Machine Advisor, AOA

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 19

Schneider.

iot@0723
Manual for Node-Red
Wonderware Online(WWO), Machine Advisor, AOA
Software Installation
For the next step you will need the folder “Edge Box Software Installation” located in IoT Schneider Dec
2018\IoT Schneider\IIoT Software Installation\Edge Box Software Installation

Basic Edge Box Software Installation


1. Windows Auto Login
a. Open “auto_login.reg” with Notepad and change DefaultUserName and
DefaultPassword to your SESA and Password then Save
b. Run this file and hit enter(yes) for all the pop up.
2. TightVNC (Server)
a. Install Tight VNC from https://www.tightvnc.com/download.php and set
password for remote from laptop
3. Installing Nodered with AOA (simpliest way)
a. Run “setup.exe” in folder AOA_2.3.0.486
b. Open the Ecostuxture augmented operator app>settings>in the port settings,
input the following
Nginx: 443>>>>when HTTPS is unchecked
Pythin: 8082
Node-Red: 1880
Vijeo XD: 8080
c. Click Apply, then click Check, you should see that it says process stopped next to
Node Red
d. Go to AOA manger by clicking the tab on the left, for login and password, both
put “admin”, then it will ask for a stronger password, use “P@ssw0rd”
f. Now click the tab “NODE-RED”, choose AUTO for Node-red starting mode
g. In file explorer, go to C:\Program Files (x86)\Schneider Electric\EcoStruxure
Augmented Operator Advisor, rename the “node-red” folder e.g. rename to
“node-red0”, then copy and paste the file “node-red-reference.7z” that you can
find in Box here.
h. Unzip the file by right clicking>7 zip>extract here, and you will now have the
necessary node modules installed

Internal
Other ways to install nodered
1. Node-Red for basic
a. Install Nodejs from https://nodejs.org/en/download/
b. Open Command Prompt(cmd) and run these 3 commands for Schneider proxy
npm config set proxy http://127.0.0.1:9000/localproxy.pac
npm config set https-proxy http://127.0.0.1:9000/localproxy.pac
npm config set strict-ssl=false
c. Then run this command to install Node-Red
 npm install -g --unsafe-perm node-red
d. Finished installing Nodered. To run Nodered, Open cmd and run this command
 node-red
To develop flow, open Chrome and type localhost:1880 or
wtthiotse00005d:1880
e. Open new cmd as Administrator and go to C:\Users\SESA94921\.node-red
directory and run these commands to install necessary node modules
 npm install -g windows-build-tools
 npm install node-red-contrib-ui
 npm install node-red-contrib-modbus
 npm install node-red-contrib-modbustcp-no-pooling
 npm install node-red-dashboard
 npm install node-red-node-mysql
 npm install mosca
 npm install node-red-contrib-mqtt-broker
2. Node-Red Auto start
f. Copy “StartNodeRed.bat” file into C:\Users\SESA94921\AppData\Roaming\
Microsoft\Windows\Start Menu\Programs\Startup
Note: Do not use pm2 for Node-Red auto startup because there is some issue, cmd
keep popping up and it is unusable.

Extra Edge Box Software Installation


If you successfully installed nodered with AOA (no.3 under “Basic Edge Box Software Installation”), you
don’t need to do no.1-4 below

1. Nodered for Wonderware online


a. Create new folder name “Nodes” in C:\Users\SESA94921\.node-red directory
b. Copy “http_proxy.html”, “http_proxy.js”, “Wonderware_upload.html”,
“Wonderware_upload.js” files into it

Internal
c. Open cmd as Administrator and go to C:\Users\SESA94921\.node-red directory
and run these commands to install necessary node dependencies for WWO
 npm install follow-redirects
 npm install mustache
 npm install hash-sum
 npm install url
 npm install querystring
 npm install cookie
2. Nodered for Machine advisor
a. Copy “ca-bundle.crt”, “curl.exe” files from Folder “Curl 64 Bits” into C:\Users\
SESA94921\.node-red
C:\Windows\System32
C:\Windows\SysWOW64
Note: if your PC is 32 bits use file from Folder “Curl 32 Bits”
b. Copy flow inside “Machine Advisor flow.txt” and import into node red flow
3. Nodered for AOA
a. Unzip “node-red-augmented-operator.zip” and copy “node-red-augmented-
operator” folder into C:\Users\SESA94921\.node-red\node_modules
b. Install AoA runtime by running “setup.exe” in folder “AOA_2.3.0.486”
4. Nodered Schneider (Optional)
a. Open Command Prompt(cmd) and run this commands
 npm set registry http://wain05322.apa.gad.schneider-electric.com:4873
b. Open cmd as Administrator and go to C:\Users\SESA94921\.node-red directory
and run these commands
 npm install se-node-red-………
c. List of Schneider Node red module can be found from this link
http://wain05322.apa.gad.schneider-electric.com:4873/
d. If have problems installing new packages on node-red (such as modbus), run this
command :
 npm set registry https://registry.npmjs.org/

5. Driver for ZBRN Access Point


a. Run “SETUP.EXE” in folder “CH341SER”

Internal
Laptop Software Installation
1. Arduino IDE + Modbus library
a. Install Arduino IDE from https://www.arduino.cc/en/Main/Software
b. Copy Mudbus folder into C:\Program Files (x86)\Arduino\libraries
2. TightVNC (Viewer)
a. Install Tight VNC from https://www.tightvnc.com/download.php and set
password for remote
3. WonderwareOnline
a. https://online.wonderware.com/explore
4. Machine Advisor
a. https://machine-advisor.schneider-electric.com/fleet
5. AoA
a. https://app.schneider-electric.com/ecostruxure-augmented-operator-advisor

Ipad/mobile phone Software Installation


1. SmartGlance
a. Download “SmartGlance”or “AVEVA Insight” from App store or Play store

Internal
Edge box Address and VNC Password
1. LRD Autoline 1
a. Node red: http://w7thiotse00003d:1880
b. VNC Remote host: wtthiotse00016d
c. VNC Password: admin
2. GV2 Autoline 1
a. Node red: http://wtthiotse0002d:1880
b. VNC Remote host: wtthiotse0002d
c. VNC Password: gv2iot
3. Domae3
a. Node red: http://wtthiotse00008d:1880
b. VNC Remote host: wtthiotse00008d
c. VNC Password: admin
4. Domae4
a. Node red: http://wtthiotse00001d:1880
b. VNC Remote host: wtthiotse00001d
c. VNC Password: admin
5. Domae2
a. Node red: http://wtthiotse00017d:1880
b. VNC Remote host: wtthiotse00017d
c. VNC Password: admin
6. Domae1
a. Node red: http://wtthiotse00007d:1880
b. VNC Remote host: wtthiotse00007d
c. VNC Password: admin
7. Rocket
a. Node red: http://wtthiotse00003d:1880
b. VNC Remote host: wtthiotse00003d
c. VNC Password: admin
8. Facility
a. Node red: http://wtthiotse00009d:1880
b. VNC Remote host: wtthiotse00009d
c. VNC Password: admin
9. Warehouse CB
a. Node red: http://wtthiotse00005d:1880
b. VNC Remote host: wtthiotse00005d
c. VNC Password: admin
10. Warehouse ENC
a. Node red: http://wtthiotse00006d:1880
b. VNC Remote host: wtthiotse00006d
c. VNC Password: admin
11. EasyPact
a. Node red: http://wtthiotse00020d:1880

Internal
b. VNC Remote host: wtthiotse00020d
c. VNC Password: admin
12. LRD Mechanism
a. Node red: http://wtthiotse00019d:1880
b. VNC Remote host: wtthiotse00019d:
c. VNC Password: admin
13. GV2 Autoline 2
a. Node red: http://wtthiotse00010d:1880
b. VNC Remote host: wtthiotse00010d:
c. VNC Password: admin
14. GV2 Magnetic 1
a. Node red: http://wtthiotse00021d:1880
b. VNC Remote host: wtthiotse00021d:
c. VNC Password: admin

Password IoT Projects


IoT Box Password:

Somchai’s SESA Password (ask him)

Ipad at lobby

Password: STL2019

AOA on ipad

User: admin

Passwaord: P@ssw0rd

User: user

Password: STL123iot

AVEVA Insight

User: [email protected]

Passwaord: stl.iiot2017 (most aveva account has this password)

Gmail

Email: [email protected]

Password: Stldigital123

Apple ID

Internal
Email: [email protected]

Password: Stldigital123

Node-Red Password:

Now on EVERY IOT Boxes, you will see a new log-in page when trying to access the node-red code on
your web-browser, see below :

The Username and password to enter node-red on every IOT Boxes is the same :
USERNAME : SESA94921 (Somchai’s SESA)

PASSWORD : admin

Internal
Required Equipment
Equipment and Supplier List
1. Schneider IPC
a. IPC without touchscreen -> Schneider
b. 24v 5A power supply -> Schneider
1. Arduino Ethernet
a. Arduino UNO R3 -> thaieasyelec.com
b. Ethernet Shield W5100 R3 -> thaieasyelec.com
c. Power Adapter 9-12V 2A -> thaieasyelec.com
d. Humidity Sensor HTM2500LF -> Maintenance
e. IR Temperature Sensor CS-SF15-C1 -> Maintenance
2. Schneider cl110
a. ZBRN32 Access Point -> Schneider
b. Cl110 temp & humid wireless sensor -> Schneider
3. Schneider Power Tag
a. Acti 9 Smartlink SI D -> Schneider
b. Power Tag -> Schneider

Equipments for each line


Line Equipments
Domae Line 3,4,2 and 1. IPC
Other Production line 2. 24v 5A power supply

3. Arduino Uno
4. Power Adapter 9-12V 2A
5. Ethernet Shield W5100 R3
6. Humidity Sensor HTM2500LF
7. IR Temperature Sensor CS-SF15-C1

8. ZBRN32 Accesspoint
9. CL110 Temp & Humid Sensor
10. RS485 to USB converter
Charpente 1. IPC
2. 24v 5A power supply

3. Acti 9 Smartlink SI D
4. Power Tag

5. ZBRN32 Accesspoint
6. CL110 Temp & Humid Sensor
7. RS485 to USB converter
Facility,TE 1. IPC
2. 24v 5A power supply

3. Arduino Uno

Internal
4. Power Adapter 9-12V 2A
5. Ethernet Shield W5100 R3
6. Humidity Sensor

7. ZBRN32 Accesspoint
8. CL110 Temp & Humid Sensor
9. RS485 to USB converter
Warehouse 1. IPC
2. 24v 5A power supply

3. ZBRN32 Accesspoint
4. CL110 Temp & Humid Sensor
5. RS485 to USB converter

Internal
Original Domae Final Line Devices IP address
Please refer to “Visio-Network NK60 Line Ind 1.pdf”

Devices IP address
Please refer to “Devices IP&ID.xlsx”

Project Status
Please refer to “Project Status.xlsx”

Project Plan
Please refer to “EAJP-IOT_Equipements connection plan to Wonderware Online_update_20181130.xlsx”

Resources
1. JavaScript Programming: https://www.w3schools.com/js/default.asp
2. Nodered in General: https://discourse.nodered.org/
3. Nodered for Schneider Electric:
https://www.yammer.com/schneider-electric.com/#/threads/inGroup?
type=in_group&feedId=12248929&view=all
4. AoA for Schneider Electric:
https://www.yammer.com/schneider-electric.com/#/threads/inGroup?
type=in_group&feedId=12671766&view=all

Internal
Installed Equipment Location
STL Plant
IoT/Edge Box

Note: 9 Edge Boxes in STL (LRD Charpente, GV2 Auto Line, Domae Final Line3, Domae Final Line4, Domae Final Line2, Rocket Final Line, Facility,
Warehouse CB, Warehouse ENC)

Internal
Facility & Warehouse CB & Warehouse ENC (Update 25 June 2019)
IoT/Edge Box

ZBRN32 Access point

Humidity sensor

Arduino

CL110 Sensor

Internal
Domae Final Line3

IoT/Edge Box

ZBRN32 Access point

CL110 Sensor

Arduino

Humidity Sensor

IR Temperature Sensor

Internal
Domae Final Line2

IoT/Edge Box
ZBRN32 Access point
CL110 Sensor
Arduino
Humidity Sensor
IR Temperature Sensor

Internal
Rocket Line (Line 1 & 2)

IoT/Edge Box
ZBRN32 Access point
CL110 Sensor
Arduino
Humidity Sensor
IR Temperature Sensor

v vv v

Internal
Wonderware Online Development Process
Setup
1. Prepare Metadata file
2. Setup iphone
a. Install AVEVA Insight on ipad
3. Setup Laptop
a. Login to Somchai Account
[email protected]
 stl.iiot2017
4. Setup server (Edge box)
a. Install Wonderware Online Node on Node Red

Development
1. On laptop
a. Create new data source
b. Upload Metadata file
c. Copy Token into node red flow
d. Create Chart
e. Create Dashboard
f. Set the alert for each data

Wonderware Online Tips


1. Node red connect to Wonderware using unique Token from each data source
2. Tag in Metadata file must match header in csv data file

Internal
Machine Advisor Development Process
Setup
1. Prepare Machine Image
2. Setup server (Edge box)
a. Install Machine Advisor on Node Red

Development
1. On laptop
a. Create Machine Type
b. Register new machine
c. Connect to machine in config (select Custom/Tango/HTTP)
d. Label the data
e. Create dashboard
f. Add Widget
g. Set Warning

Machine Advisor Tips


1. Config to connect to machine using Custom, Tango, HTTP
2. Node red connect to Machine Advisor using unique Header2 and Server from each machine
3. Don’t forget to install curl

Internal
AOA Development Process
Setup
5. Prepare PDFs
6. Setup ipad
a. Install AOA on ipad
7. Setup laptop
a. Install Vijeo XD & Runtime (runtime is optional)
b. Add Vijeo 360 into Vijeo XD by editing XML file (Vijeo XD User Manual.pdf)
c. Install AOA Runtime (optional)
8. Setup server (Edge box)
a. Install Vijeo XD & Runtime (Vijeo is optional)
b. Install AOA Runtime

Development
2. On ipad
a. Take images for scenes
3. On laptop
a. Resize images (use Paint resize to 80 & <2MB)
b. Rename images
c. Create AOA project on builder
d. Create area
e. Create scene
f. Create Variable (Vijeo & Node-red)
g. Create POI
h. Create Trigger (blinking, change color)
i. Create Vijeo XD
j. Create Node red
k. Download Vijeo project
l. Download AOA project
m. LOCAL Upload AOA project into Ipad AOA's Local folder using iTunes (Local)
4. On edge box
a. SERVER Copy files into "Project folder" (C:\Program Files (x86)\Schneider Electric\
EcoStruxure Augmented Operator Advisor\Nginx\web-sites\nginx\www\Project)
5. On Ipad
a. Set new connection in AOA app pointing the port to Edgebox (ex. 10.186.10.186:443)
b. Login with AOA runtime manager password (ex. user:admin pass:P@ssw0rd)

AOA Tips
1. Maximum Scene image size is 2MB -> Use Paint to Resize (reduce 80 percent)
2. Maximum Machine image size is 200*200 Pixels => Use Paint to Resize (reduce either Horizontal
or Vertical to 200 Pixels)
3. Maximum Video size is 20 MB -> Use Video Compressor software to compress the fil

Internal
Internal

You might also like