Mikhail

Forum Replies Created

Viewing 15 posts - 5,671 through 5,685 (of 6,289 total)
  • Author
    Posts
  • in reply to: Look Like bug to Me #1573
    Mikhail
    Moderator

    Hello,
    This is not a bug, but may be a subject for improvement. Thanks.

    in reply to: Application error on new web beta app #1572
    Mikhail
    Moderator

    Hello,
    How can I reproduce this error?
    Could you send the error details from ScadaWebBeta\log\ScadaWeb.log ?

    in reply to: how to create button in SCADA-scheme #1560
    Mikhail
    Moderator

    MatrikonOPC is optional depending on your needs.

    in reply to: how to create button in SCADA-scheme #1558
    Mikhail
    Moderator

    Add Dynamic text element. Then set background color, border, alignment, etc. To setup the button behavior, specify Action and Input channel (Output channel) properies.

    in reply to: Automatic Control Module integration #1556
    Mikhail
    Moderator

    CmdVal works if you use it within a formula of output channel. The formula fires when you send a command related to the output channel.

    in reply to: "Application Error: Unable to Load View" Error Windows 10 #1555
    Mikhail
    Moderator

    Hi,

    Please create a new topic, because this topic is not matched to your question. Specify your Windows version and browser.

    in reply to: Read File Record #1551
    Mikhail
    Moderator

    I came across similar situation:
    a device uses Modbus, but the device provides events. I can receive binary data of those events. So I had to implement a separate driver to process received events and store them.

    in reply to: Read File Record #1550
    Mikhail
    Moderator

    Hi,
    The current version of Modbus driver can not send custom (non standard) commands.
    Imagine it is implemented. What format of the response will be received? How to decode the response and process it?

    in reply to: Automatic Control Module integration #1547
    Mikhail
    Moderator

    Thank you for the info ))
    Did you use the formula with CmdVal in OUTPUT channel?
    How do you set a new value from UI?

    • This reply was modified 9 years, 10 months ago by Mikhail.
    in reply to: Automatic Control Module integration #1545
    Mikhail
    Moderator

    Is is possible to write variables to log.
    Add formula:

    void WriteToLog(string s)
    {
      using (System.IO.StreamWriter writer = 
        new System.IO.StreamWriter(@"C:\SCADA\mylog.log", true, Encoding.UTF8))
      {
        writer.WriteLine(s);
      }
    }
    

    Then you can use WriteToLog(hour.ToString()) within other formulas.

    in reply to: Automatic Control Module integration #1544
    Mikhail
    Moderator

    I created another input channel to display the CmdVal of the output channel which uses SetHour().

    What is the number of that channel on the screenshots?
    How do you expect to behave for input channels 61, 62? Are they received from your device?

    in reply to: Automatic Control Module integration #1543
    Mikhail
    Moderator

    Please describe how do you send command to set hour?

    in reply to: Automatic Control Module integration #1541
    Mikhail
    Moderator

    I recommend to create input channels to show current values of hour and minute variables in order to control them.

    in reply to: Automatic Control Module integration #1540
    Mikhail
    Moderator

    Apparently the calculated channel data never appears correctly in the Scada Comm device data which I was using to check the data changes. It only appears in Scada Web.

    Definitely 🙂

    Now how can I send the hour and minute parameters from the output channel to my flag channel ?

    Add the variables into Formulas table:

    int hour = 0;
    int minute = 0;
    

    Add the code into Formulas table:

    double SetHour()
    {
      hour = (int)CmdVal;
      return double.NaN;
    }
    

    Use the above formula for an output channel.
    Note: I don’t test code which I write in this forum. It’s just a direction for experiments.

    in reply to: Automatic Control Module integration #1538
    Mikhail
    Moderator

    It’s strange. Did you pass the changes to Server and restart Server service?
    Try simplifying the formula of an input channel.
    First of all, try the formula: 1
    Then try: DateTime.Now.Minute

Viewing 15 posts - 5,671 through 5,685 (of 6,289 total)