Jure

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 36 total)
  • Author
    Posts
  • in reply to: 503 Error #10222
    Jure
    Participant

    No it also doesn’t work.

    in reply to: Mqtt communication doesn’t work at autostart #9489
    Jure
    Participant

    I made server restart and it works now. Thank you for quick response.

    in reply to: Show last input value on restart #9482
    Jure
    Participant

    Checkbox for input channel. If it is checked then it automatically uses keeps last good value, without this code.

    in reply to: Mqtt communication doesn’t work at autostart #9481
    Jure
    Participant

    I hope that this will be ok: https://pastebin.com/j9yFp0nG

    in reply to: Mqtt communication doesn’t work at autostart #9478
    Jure
    Participant

    Maybe some more info that could help. We didn’t had this problem on Win10, but only now that we are using Win 2019 server.

    in reply to: Show last input value on restart #9465
    Jure
    Participant

    It works, thank you. Would maybe be possible to have checkbox for this in some future version instead of formula?

    in reply to: Mqtt communication doesn’t work at autostart #9464
    Jure
    Participant

    Last version from Github:
    It says that was created 10.5.2021

    in reply to: Show last input value on restart #9453
    Jure
    Participant

    Rapid Scada, don’t know why i used RP for abbreviation of Rapid Scada.

    • This reply was modified 8 months, 2 weeks ago by Jure.
    • This reply was modified 8 months, 2 weeks ago by Jure.
    in reply to: EncodeAscii #9077
    Jure
    Participant

    I made formula:
    String M8ToString(double val)
    {
    if(val == 0.0)return “OFF”;
    if(val == 1.0)return “TČ”;
    if(val == 2.0)return “zemlja”;
    return “error”;
    }

    Then in input channels I called it like this:
    M8ToString(Cnl)

    but it is still display basic value 0,1,2.

    in reply to: EncodeAscii #9076
    Jure
    Participant

    Variable can represent 3 different strings:
    0=OFF 1=TČ 2=zemlja

    in reply to: MQTT #9060
    Jure
    Participant

    EDIT: Nevermind i think that I found error.

    • This reply was modified 11 months, 1 week ago by Jure.
    • This reply was modified 11 months, 1 week ago by Jure.
    in reply to: MQTT #8862
    Jure
    Participant

    I don’t see any images that contains formulas. If you add them, I will check.

    Is imgur working OK for you? Because above I see one image view where if you move right or left you can swap images so in total are 3.

    This is image with formulas:
    http://i.imgur.com/SEZpypc.png

    As you can see, all that I do is Cnl / 10 and Cnl – 10.

    As wrote above, the result of formulas can be displayed by views, not in Communicator.

    I know that you can see result of formulas, that is why there is also image of view. You can see in event log that formula is used multiple times per second, so probably is used on every program iteration:
    http://i.imgur.com/y8fNCxn.png


    Could you provide more info about that?

    I am not sure what more info I can give, I will try to describe process in more details. I have two computer and PLC in same LAN.
    Mqtt PC: It runs Mqtt client that is based on Mqtt Paho Java
    Server PC: It runs SCADA and Mqtt broker
    PLC from where we read values and change them

    1. Rapid SCADA is running.
    2. I start mqtt client.
    3. Mqtt client retrieves values and updates topic values. I don’t use .js just plain topic values.
    4.Mqtt broker acknowledges new topic values and publishes them to Rapid Scada. Like I said in short time there are around 80 topics published. It can take up to 1 minute or probably even more for communicator to update all values.
    I tried with just on topic and it can take from 4-10 seconds for topic to be updated in communicator.

    We also support the existing MQTT driver.

    That is great. Currently we made all of the testing in the office and SCADA was accessible just in LAN. But if we can solve problem with formulas and events there is plan to test on some real project where SCADA would be accessible from outside our LAN and we would monitor location in some other company.

    in reply to: MQTT #8856
    Jure
    Participant

    I also noticed that Rapid SCADA takes quite some time to read data from Mqtt broker. When around 80 variables is published to Rapid SCADA it takes more then 1 minute to show all the data.
    If I send command from Rapid SCADA -> PC -> PLC communication is much faster.

    If we choose Rapid SCADA for our projects can we count on official support or is Mqtt community developed and so unofficial?

    in reply to: MQTT #8855
    Jure
    Participant

    As you can see on my images I have two formulas:
    Cnl – 10
    It looks like it is done on each cycle of program. Because of that value gets lower on each cycle.
    Cnl / 10
    This formula is never caluclated. Value is all the time the same as in communicator.

    in reply to: MQTT #8847
    Jure
    Participant

    Now one formula is working, but it doesn’t execute just once, but whole time. So – operator works, but / doesn’t work.

    http://imgur.com/a/dReUchm

    I hope that you can see all three images: device, channels and web browser view.

    • This reply was modified 1 year ago by Jure.
Viewing 15 posts - 1 through 15 (of 36 total)