Forum Replies Created
-
AuthorPosts
-
kumajaya
ParticipantUpdate:
Remove user and password from OPC UA server and connect to it anonymously works.kumajaya
ParticipantJust tested RS6 as OPC DA – OPC UA gateway, UAExpert can access it using username and password but RS6 OPC UA client driver running on Linux can’t access it with “BadIdentifyTokenInvalid” error.
kumajaya
ParticipantThanks for your beta update but somehow ScadaReport.dll not included.
kumajaya
ParticipantCan we use KpHttpNotif as REST API call to RS? Any instructions how to setup it?
kumajaya
ParticipantI can save back svg image now, thank you. Image properties show data size, format, and name but still no image size (always show 0,0). Image size information useful as a quick information to set scheme layout size.
kumajaya
ParticipantLoad svg image in Scheme Editor, there will be no data size, format, and size information in image properties and we will got zero size file when try to save it.
kumajaya
ParticipantIf I was in your situation, since I have Mqtt broker (Mosquitto) and Node-RED installed:
Solution 1: Use python to read serial data and push it to Mqtt broker, RS as Mqtt client
Solution 2: Use Node-RED to read serial data and also set it as OPCUA server, RS as OPCUA clientkumajaya
ParticipantMaybe I have experienced the same problem and then let Perle TruePort software maintain TCP connection, RS talk to device serial port virtually via TruePort.
kumajaya
ParticipantI can’t edit my own post, a few correction:
Step 2. Fix mono-xsp4 service bug:
sudo nano /etc/init.d/mono-xsp4
Step 4. Start Mono XSP server. Server will run on port 8084, you can change it in /etc/default/mono-xsp4:
sudo systemctl start mono-xsp4
kumajaya
ParticipantI just installed RS on Ubuntu server 20.04 and follow https://www.mono-project.com/docs/web/fastcgi/nginx/ without any success, repeatedly errors in table view. I want to run RS purely with Nginx without Apache. A tested working solution:
1. Add ScadaWeb to Mono XSP server:
sudo mono-xsp4-admin add --path=/opt/scada/ScadaWeb --app=/scada
2. Fix mono-xsp service bug:
sudo nano /etc/init.d/mono-xsp
change:
for i in $(ps aux | grep -v grep | grep 'xsp4.exe' | cut -c 10-15)
to:
for i in $(ps aux | grep -v grep | grep 'xsp4.exe' | cut -c 10-17)
3. Reload mono-xsp service:
sudo systemctl daemon-reload
4. Start Mono XSP server. Server will run on port 8084, you can change it in /etc/default/mono-xsp4:
sudo systemctl start mono-xsp
5. Follow https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04 to install Nginx
6. Follow https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04 to secure Nginx
7. Edit /etc/nginx/sites-available/example.com and add:if ($scheme != "https") { return 301 https://$host$request_uri; } location /scada { proxy_pass http://127.0.0.1:8084; sub_filter 'example.com:8084' 'example.com'; sub_filter 'example.com%3a8084' 'example.com'; sub_filter_once on; proxy_redirect off; proxy_buffering off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; }
8. Restart Nginx:
sudo systemctl restart nginx
9. Test as previous post.NOTE: Not tested to load a scheme yet but “Unable to receive list of plugins” in Main Menu – Plugins – Download
kumajaya
ParticipantI set InHand 615’s serial port as TCP client on port 40000, RS as Modbus master on TCP server communication line. After that I can access Schneider PM810MG via cellular network but the problem I got communication error repeatedly and sometime RS still assume incorect response as a correct value, data value
jumping strangely. My solution for now make use of Perle TruePort driver for Linux https://www.perle.com/downloads/trueport.shtml as TCP server on port 40000 and RS access serial data from /dev/tx0000. Working good so far.Perle TruePort config in /etc/trueport/config.tp:
/usr/bin/trueportd -noudp -opmode optimize_lan -tty 0 -port 40000 -ka 30
Perle TruePort driver also available for Windows with better configuration GUI.
kumajaya
ParticipantYes, 5.8.2 Mono installed on Raspberry Pi 4B, Ubuntu server. I’m afraid it’s also related to browser/server cache.
kumajaya
ParticipantJust received InHand 4G modem from their local distributor for testing. Not as good as Moxa device but cheaper.
kumajaya
ParticipantFor a brand new installation, I create ULR link entry under HelloWorld\Simulator.tbl in Interface table. For example: Path: https://www.myhome.com, Title: HelloWorld\Home. It’s work after initial upload, click on Home link will open https://www.myhome.com . But later even after I have change Home link to https://www.myhome.com/subpage, I always got https://www.myhome.com
-
AuthorPosts