kumajaya

Forum Replies Created

Viewing 15 posts - 61 through 75 (of 138 total)
  • Author
    Posts
  • in reply to: Rapid SCADA 6 Beta #10793
    kumajaya
    Participant

    Update:
    Remove user and password from OPC UA server and connect to it anonymously works.

    in reply to: Rapid SCADA 6 Beta #10791
    kumajaya
    Participant

    Just 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.

    in reply to: Rapid SCADA 6 Beta #10789
    kumajaya
    Participant

    Thanks for your beta update but somehow ScadaReport.dll not included.

    in reply to: TCP Api #9800
    kumajaya
    Participant

    Can we use KpHttpNotif as REST API call to RS? Any instructions how to setup it?

    in reply to: BUG: Can’t save SVG image anymore #9766
    kumajaya
    Participant

    I 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.

    in reply to: BUG: Can’t save SVG image anymore #9762
    kumajaya
    Participant

    Load 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.

    in reply to: Com Ports ? #9641
    kumajaya
    Participant

    If 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 client

    in reply to: Forced Modbus TCP reconnect after serial error. #9633
    kumajaya
    Participant

    Maybe I have experienced the same problem and then let Perle TruePort software maintain TCP connection, RS talk to device serial port virtually via TruePort.

    in reply to: HTTPS on Linux #8148
    kumajaya
    Participant

    I 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

    in reply to: HTTPS on Linux #8146
    kumajaya
    Participant

    I 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

    in reply to: Not Receiving Data from Request – Modbus #8018
    kumajaya
    Participant

    I 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.

    in reply to: URL in interface database not get updated #8007
    kumajaya
    Participant

    Yes, 5.8.2 Mono installed on Raspberry Pi 4B, Ubuntu server. I’m afraid it’s also related to browser/server cache.

    in reply to: Not Receiving Data from Request – Modbus #7975
    kumajaya
    Participant

    Just received InHand 4G modem from their local distributor for testing. Not as good as Moxa device but cheaper.

    in reply to: URL in interface database not get updated #7968
    kumajaya
    Participant

    For 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

    in reply to: Modbus RTU comunication issue #7923
    kumajaya
    Participant

    I’ll try it @Mikhail. For now I accessed it from Node-RED using node-red-contrib-modbus. I have to enable TCP in telnet mode because got incorrect Modbus stream in default TCP mode.

Viewing 15 posts - 61 through 75 (of 138 total)