Forum Replies Created
-
AuthorPosts
-
MikhailModeratorFor example, -; Alarm; Armed; Disarmed; Fired; Normal
– equals 0,
Alarm equals 1,
Armed equals 2,
etc.
MikhailModeratorHi,
See this guide page 6. I hope we will create new documentation system soon.
You can create formulas in Formulas table for reusing, and you can define any number of strings, not only Opened and Closed.
MikhailModeratorYes.
1. Create a new input channel number 4 (number must be greater than existings) of type Calculated discrete.
2. Create a record in Units table for “Opened and Closed”. See No-Yes as an example.
3. Set Formula field for the new input channel. Something likeVal(1)>0 && Val(2)<=0 && Val(3)<=0 ? 1 : 0
4. Set Unit field for the new input channel to your unit that you just created.
5. Set Format field to Text.
MikhailModeratorYou should develop or purchase a driver that implements required functionality and “knows” the model of your database. Driver is a DLL written in C#. See this article http://rapidscada.org/device-drivers-development/
-
This reply was modified 9 years, 5 months ago by
Mikhail.
MikhailModeratorHi,
I think the cause is Windows Communication Foundation (WCF) problem. Check WCF checkboxes as shown in “Rapid SCADA. Before installation. Switch Windows XX features on” video of the playlist.
MikhailModeratorI think, we will implement the required functionality sooner or later. It is not included in the plan for now, but in case of some commercial interest, we can arrange it.
The technical limits:
– ASCII encoding
– max. length is 8 characters
Is it OK for you?
MikhailModeratorIn case of errors, please create a separate topic.
MikhailModeratorAlso you must update KpSnmp.dll
MikhailModeratorHi,
1. Create input channels for string tags.
2. Create such formula in Formulas table (not tested):int GetStrNum() { byte[] buf = BitConverter.GetBytes(Cnl); string s = Encoding.Default.GetString(buf); if (s == "MyVal1") // your string values return 1; else if (s == "MyVal2") return 2; else return 0; }3. Create your own record into Unit table. Use the units 36 and 37 as examples.
4. Enter GetStrNum() in formula field of input channels, change channel type to Discrete and change format to Text.
Please write about the result.
-
This reply was modified 9 years, 5 months ago by
Mikhail.
MikhailModeratorIt usually happens if WCF for .NET Framework 4+ is not installed. See this video
MikhailModeratorI mean, you should know all the possible values of the strings.
MikhailModeratorHi,
Currently, only predefined strings from enumerations are supported. You can’t display custom string as values of input channels of Rapid SCADA. If your strings can be specified in enumeration, I can provide the details how to configure Rapid SCADA. Otherwise, if you are able to receive the strings and display them on your own web page, you can embed this page into the web application of Rapid SCADA.
MikhailModeratorThank you Young for so kind words 🙂
Merry Christmas!
MikhailModeratorDear Young,
Thank you for the research.
I have an idea:
1. Copy ScadaCommMono.exe from Rapid SCADA for Linux installation package to C:\SCADA\ScadaComm\
2. Run it instead of the service.This is the same Communicator but works as a console app.
Does it work with your OPC server? -
This reply was modified 9 years, 5 months ago by
-
AuthorPosts