manjey73

Forum Replies Created

Viewing 15 posts - 706 through 720 (of 856 total)
  • Author
    Posts
  • in reply to: DF1 PLC Protocol driver Allen Bradley #5993
    manjey73
    Participant

    Version : 5.2.0.1

    in reply to: Sending Email Notifications #5867
    manjey73
    Participant

    You can, the module sends a letter not only to one recipient, but also to a group of recipients

    in reply to: User input through Scheme #5840
    manjey73
    Participant

    Input Channel

    Channel 450, use formula – Yes, Val(450)

    Output Channel

    Channel 450, use formula – Yes, SetVal(450, Cmd)

    Using Formulas

    Then you can use the data of this channel in other formulas
    In principle, you can use the values of any input channels in other formulas, you should only remember that the value of the channel in the database is double

    • This reply was modified 6 years, 1 month ago by manjey73.
    • This reply was modified 6 years, 1 month ago by manjey73.
    in reply to: Send Modbus Signal to other SCADA #5820
    manjey73
    Participant

    Only if another Scada has Modbus slave or is able to receive data from Databases to which Rapid Scada can export

    manjey73
    Participant

    ns.fariz Yes, the scheme will look like numbers, except for the conditions that you specify. It works, I checked 🙂 But the status can be changed color, but I did not check

    manjey73
    Participant

    public double ToAscii(double channel, double min, double max)
    {
    string s = String.Format(“{0:F2}”, channel);
    if (channel < min || channel > max) s = “Error”;
    return ScadaUtils.EncodeAscii(s);
    }

    353 Extra Channel – use formula ToAscii(Val(532), -1, 3.45)
    Format – Text ASCII

    353 – The channel, which we will display as Dinamic text and two values for minimum and maximum

    • This reply was modified 6 years, 2 months ago by manjey73.
    manjey73
    Participant

    public double ToASCII(double can)
    {
    string test = String.Format(“{0:F2}”, can);
    if (can > 3.5) test = “Error”;
    return ScadaUtils.EncodeAscii(test);
    }

    Make an additional channel, put it in the Format – ASCII Text and use a similar formula. Specify the desired number of decimal places. It is better to add a couple of input variables for Min and Max to set in the formula… Output as Dynamic text.

    manjey73
    Participant

    Can try a formula that any number will translate to text and if the number is less than or greater than the desired range, to make an inscription Error ?

    That is, in fact, any correct number will be text and not the number itself.

    Never tried that.

    in reply to: String dynamic text change according input channel value #5778
    manjey73
    Participant

    Line 514, column 10:
    See the file C:\SCADA\ScadaServer\Log\CalcEngine.cs with the source code

    See the file for this line and the error symbol

    in reply to: Show latest event formula #5756
    manjey73
    Participant

    what if two doors close at the same time ? 🙂

    in reply to: Show time on the scheme #5752
    manjey73
    Participant

    Yes, we need a formula.
    Make a calculation channel, specify the use of the formula. As a formula, specify

    DateTime.Now.ToOADate()

    Set the display format to Time, Date or Date and Time

    Display the channel in a table or scheme

    in reply to: How can I do #5737
    manjey73
    Participant

    Using Modbus in Siemens PLC

    in reply to: Version number change #5666
    manjey73
    Participant

    Thanks, look. I’m really gonna have to deal with the DF1, the Micrologix controller.

    in reply to: Formulas check '-' #5662
    manjey73
    Participant

    Look for formulas to check the signal status on the forum or try to change the formula to double.NaN

    in reply to: Unknown device tags #5656
    manjey73
    Participant

    Does your PLC work via Ethernet or com port ? Can you make a log of Wireshark or monitoring program for COM port and put on the file exchanger ?
    With the exact model of PLC ? and the type of exchange Protocol ?

    • This reply was modified 6 years, 3 months ago by manjey73.
Viewing 15 posts - 706 through 720 (of 856 total)