Forum Replies Created
-
AuthorPosts
-
radix
ParticipantYes, It could be 1, 5 or 15 second data. As communicator allows us to enter number (Period) in any second.
radix
ParticipantHi Mikhail,
Is there way we can store/view second wise data ?
If we set Period time is in second in communicator then how can we view it from rapid scada or how can we have it in report ?radix
ParticipantThanks for details. Its done as per required.
radix
ParticipantYes Mikhail, alarm value is generated by device for channel 1.
This channel 1 value required to be calculated at SCADA site & update the result at input channel 2 & 3. So how to update channel 2,3 from formula ? formula need to set on channel 1 ?Channel 2 & 3 (alarm result) result will be then shown on web page
radix
ParticipantThanks for details Mikhail.
Is there function to set value for channel n. (like Val(n) is to get channel value).
In our case, Instrument sends alarm value at Channel 1. Then we want formula to calculate & set value for input channel 2,4,..n
And these alarm value (2,4,..n) further will be shown from web scada to user.radix
ParticipantHi,
I can write function in c#. Please let me know How & where to implement it in rapid Scada? Below is sample function for our requirement.
Output from below function (Alarm High/Low) need be stored into separate channel & then will be shown from front end to user.void CalAlarm(int number, out string Channel1HighAlarm, out string Channel1LowAlarm, out string Channel2HighAlarm, out string Channel2LowAlarm) { //number = 20; var result = Convert.ToString(number, 2); // result = 1010 // Channel 1 calculation if (result.Substring(result.Length-1 , 1) == "1") Channel1HighAlarm = "HIGH"; else Channel1HighAlarm = "NORMAL"; if (result.Substring(result.Length-2, 1) == "1") Channel1LowAlarm = "LOW"; else Channel1LowAlarm = "NORMAL"; // Channel 2 calculation if (result.Substring(result.Length -3, 1) == "1") Channel2HighAlarm = "HIGH"; else Channel2HighAlarm = "NORMAL"; if (result.Substring(result.Length - 4, 1) == "1") Channel2LowAlarm = "LOW"; else Channel2LowAlarm = "NORMAL"; //Output //Channel1HighAlarm =NORMAL //Channel1LowAlarm =LOW //Channel2HighAlarm =NORMAL //Channel2LowAlarm =LOW }
Thanks in advance
radix
ParticipantHi,
We required formula to be calculated as below.
Input channel data is 9 -> which is then converted to 1001
This value denotes alarm for 2 address, (10 for channel 2 , next 01 for channel 1)
(1 means either High or Low based on which position it occurs , & 0 is normal alarm stage). Based on this formula we need to update the input channel valueSo how we should implement it ?
Thanks in advance.radix
ParticipantI think device address from “Request Sequence” page should be put as slave (device) id. Please ignore as its solved now.
-
AuthorPosts