Mikhail

Forum Replies Created

Viewing 15 posts - 4,096 through 4,110 (of 6,299 total)
  • Author
    Posts
  • in reply to: String dynamic text change according input channel value #5763
    Mikhail
    Moderator

    Hi,

    1. Create a new record in the Units table with Sign =
    -; Stop; Manual; Auto

    See “No; Yes” for example.

    2. Create a new formula in the Furmulas table. Something like that:

    function double MyFunc()
    {
      switch ((int)Cnl)
      {
        case 3:
          return 1;
        case 4:
          return 2;
        case 5:
          return 3;
        default:
          return 0;
      }
    }

    3. For your input channel set formula to MyFunc() and set unit to the unit you created.

    in reply to: Show latest event formula #5759
    Mikhail
    Moderator

    Hi,

    You should create an extra input channel of the calculated type.
    In the channels of particular doors use SetVal(…) to set the calculated channel.

    in reply to: Dashboard Application Error #5753
    Mikhail
    Moderator

    it s okay now

    Thanks for noticing.

    in reply to: Using Number Format #5748
    Mikhail
    Moderator

    The current solution is not beautiful.

    Use a formula for an input channel:
    EncodeAscii(((UInt16)Cnl).ToString(“X4”))

    And set the Format field to ASCII text

    in reply to: Read individual holding register #5747
    Mikhail
    Moderator

    This code performs bit operations. It uses C# syntax. You can find &, >> in C# documentation.
    Val() gets the channel value.

    in reply to: Read individual holding register #5741
    Mikhail
    Moderator

    Hi,
    The idea I wrote before is true.

    For example, to get bits 5-8, you need a formula:
    ((UInt16)Val(101) & 0x0078) >> 4
    where 101 is the source input channel.
    Note: I didn’t test the formula.

    in reply to: Read individual holding register #5739
    Mikhail
    Moderator

    Hi,

    I’m not sure that I understand the question. But likely you need to create extra input channels of the Calculated real type. And use the Formula field of these channels to define the calculations.

    in reply to: Log in web page #5734
    Mikhail
    Moderator

    You should update Webstation at least to 5.0.8.0

    in reply to: Getting Acquainted with the Software #5733
    Mikhail
    Moderator

    Hi,

    The manual is http://doc.rapidscada.net/content/latest/en/
    For now, the existing videos show the earlier version of Rapid SCADA. The textual documentation is up to date.

    in reply to: Log in web page #5730
    Mikhail
    Moderator

    after i add autologin to scadaweb folder and try to access website via address

    What version of Webstation do you use?

    in reply to: Log in web page #5729
    Mikhail
    Moderator

    I have noticed the file Web.config of PlgAutoLogin and normal Web.config are different.

    You should restore the existing Web.config.
    Try this update of Auto Login Plugin. It requires Webstation 5.0.8.0 or higher

    in reply to: Parsing String from MQTT #5728
    Mikhail
    Moderator

    Hi,

    I’m not sure that the driver can split and parse the numbers. Is it possible to split the values on the MQTT server?

    in reply to: Export to Database Module #5727
    Mikhail
    Moderator

    On my PC images are not available. Could you check them?

    in reply to: MQTT sending value not showing in the communicator #5725
    Mikhail
    Moderator

    Hi,
    Thanks for noticing.

    in reply to: Dashboard Application Error #5724
    Mikhail
    Moderator

    Dashboard 5.1.0.0 requires Webstation 5.0.9.0.

    You would recommend an update to SCADA 5.7.0?

    Definitely.

Viewing 15 posts - 4,096 through 4,110 (of 6,299 total)