Mikhail

Forum Replies Created

Viewing 15 posts - 1,306 through 1,320 (of 6,266 total)
  • Author
    Posts
  • in reply to: How to use ModArcPostgreSql? #13893
    Mikhail
    Moderator

    Hi,
    Channel formulas work only with current data. To calculate differences (e.g., power consumption), I suggest Elastic Report Plugin.

    in reply to: How to use ModArcPostgreSql? #13891
    Mikhail
    Moderator

    Hi,
    Could you clarify your question?

    in reply to: Modbus Data Formula #13890
    Mikhail
    Moderator

    Could you make a screenshot of the log?

    in reply to: Visual Devide Driver #13887
    Mikhail
    Moderator

    Hi,

    I use sendcommand sending about 30 commands to virtual device per second and the base session will be suspended. The session will wait until the cmd is handeld.

    If commands require heavy processing, implement a queue to process them in background.

    I use the writcurdata method to send data to the server and persist the data to a dat file.

    To analyze the issue, you should use a debugger or log files.

    in reply to: Rapid SCADA IoT #13886
    Mikhail
    Moderator

    Linux is preferable for a cloud server.

    in reply to: Rapid SCADA IoT #13885
    Mikhail
    Moderator

    I suggest to deploy Rapid SCADA on a cloud server provided by Microsoft Azure, Google Cloud, Amazon, Digital Ocean or your local provider.

    in reply to: Visual Devide Driver #13880
    Mikhail
    Moderator

    Hi Zeus,

    When I use the send command function to write a large amount of data to a virtual device, the session will be suspended.

    What amount of data you try to send using a command?

    When I use writing curdata to a virtual device, if the frequency is low, the data will become 0.

    Could you explain?

    in reply to: ExtTrendJP #13879
    Mikhail
    Moderator
    in reply to: Modbus Data Formula #13878
    Mikhail
    Moderator

    Check Communicator – Communication Lines – Your line – Line Stats – Line Log

    in reply to: Use logical judgment to calculate equipment working time #13873
    Mikhail
    Moderator

    Hi,
    Something like (not tested)

    public double CountTime()
    {
      return Val(101) > 0 ? Val() + 1 : Val();
    }

    101 – channel that stores the machine state
    Then use this formula in a channel of the Calculated type: EveryMin(() => CountTime())

    in reply to: WAGO Pfc100 #13870
    Mikhail
    Moderator

    Also, try specifying a byte order. For 16-bit float it could be 2301.

    in reply to: WAGO Pfc100 #13869
    Mikhail
    Moderator

    Hello,
    Usually, you should remove 4x from register address. Address of register 40000 is 0.

    in reply to: Calculate the hourly difference of a channel #13866
    Mikhail
    Moderator

    Hello,
    Formulas work with current data. To solve this task, Elastic Report Plugin can help. It can calculate the difference. See the example here.

    in reply to: Use logical judgment to calculate equipment working time #13865
    Mikhail
    Moderator

    Hello,
    The related answer is here
    If the motor change its state not too often, you can check it every minute and add a channel value if it is on.

    Mikhail
    Moderator

    In Rapid SCADA the general syntax of the formula would be
    EveryMin(() => MyFunc())

Viewing 15 posts - 1,306 through 1,320 (of 6,266 total)