Forum Replies Created
-
AuthorPosts
-
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 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?
MikhailModeratorI think the cause that the service and your app work by different users. Service works as system. Your app works as other user. Try changing the user of the service. See the end of the article http://rapidscada.org/connecting-devices-using-opc-standard/
Please write about the result.
Note. What do you think is OPC UA is actual for you?
MikhailModeratorCall number is a device additional address in terms of Modbus.
If you need advice about configuring Communicator, provide more information about the issue.December 18, 2016 at 10:43 am in reply to: Comunication with Siemens Plcs via Profinet or Ethernet #1841
MikhailModeratorHi,
There is no native Rapid SCADA driver supports Profinet.
You can connect to Profinet device using
1. OPC server
2. By creating (by your own or purchase) a Profinet driver for Rapid SCADA.As far as I know, Siemens S7 supports Modbus protocol. You can use Modbus devices with Rapid SCADA out-of-the-box.
MikhailModeratorBe careful, if the statement is true on every program cycle, you will run a lot of processes.
MikhailModeratorHi,
You can try using in a formula the following code:
System.Diagnostics.Process.Start("C:\you_file.bat");Please tell about the result.
MikhailModeratorThere is a step by step guide
http://rapidscada.org/connecting-devices-using-modbus-protocol/
MikhailModeratorWhat OS do you use on your RPi?
MikhailModeratorPlease read this manual http://rapidscada.org/connecting-devices-using-opc-standard/
In case of additional questions, ask on this forum.
MikhailModerator4. Install Rapid SCADA on the embedded server if it is possible. And optionally, install the web app of Rapid SCADA on the remote server.
-
This reply was modified 9 years ago by
-
AuthorPosts