Forum Replies Created
-
AuthorPosts
-
manjey73
ParticipantVersion : 5.2.0.1
manjey73
ParticipantYou can, the module sends a letter not only to one recipient, but also to a group of recipients
manjey73
ParticipantInput Channel
Channel 450, use formula – Yes, Val(450)
Output Channel
Channel 450, use formula – Yes, SetVal(450, Cmd)
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 doublemanjey73
ParticipantOnly if another Scada has Modbus slave or is able to receive data from Databases to which Rapid Scada can export
August 7, 2019 at 2:49 pm in reply to: Dynamic text change to "error" if chanel value greater than specified value #5812manjey73
Participantns.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
August 7, 2019 at 1:07 pm in reply to: Dynamic text change to "error" if chanel value greater than specified value #5805manjey73
Participantpublic 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 ASCII353 – 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.
August 7, 2019 at 12:57 pm in reply to: Dynamic text change to "error" if chanel value greater than specified value #5804manjey73
Participantpublic 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.
August 7, 2019 at 11:45 am in reply to: Dynamic text change to "error" if chanel value greater than specified value #5803manjey73
ParticipantCan 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.
August 1, 2019 at 6:42 am in reply to: String dynamic text change according input channel value #5778manjey73
ParticipantLine 514, column 10:
See the file C:\SCADA\ScadaServer\Log\CalcEngine.cs with the source codeSee the file for this line and the error symbol
manjey73
Participantwhat if two doors close at the same time ? 🙂
manjey73
ParticipantYes, we need a formula.
Make a calculation channel, specify the use of the formula. As a formula, specifyDateTime.Now.ToOADate()
Set the display format to Time, Date or Date and Time
Display the channel in a table or scheme
manjey73
ParticipantUsing Modbus in Siemens PLC
manjey73
ParticipantThanks, look. I’m really gonna have to deal with the DF1, the Micrologix controller.
manjey73
ParticipantLook for formulas to check the signal status on the forum or try to change the formula to double.NaN
-
This reply was modified 6 years, 2 months ago by
-
AuthorPosts