Manual For Nodered, Wonderware, Machine Advisor, AOA
Manual For Nodered, Wonderware, Machine Advisor, AOA
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
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.
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/
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
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
Ipad at lobby
Password: STL2019
AOA on ipad
User: admin
Passwaord: P@ssw0rd
User: user
Password: STL123iot
AVEVA Insight
User: [email protected]
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
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
Humidity sensor
Arduino
CL110 Sensor
Internal
Domae Final Line3
IoT/Edge Box
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
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
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