Forum Replies Created
-
AuthorPosts
-
MikhailModeratorHi,
You can also use BitConverter.GetBytes as a formula of an output channel to convert a number into array of bytes:
BitConverter.GetBytes((float)Cmd)
June 19, 2017 at 5:36 am in reply to: New Version 5.1.1, installation on Win-7 32 bit, Default Silverlite is x64 #2271
MikhailModeratorIn this case may be it’s faster to install Rapid SCADA manually as written at http://doc.rapidscada.net/content/en/installation-and-run/manual-installation.html
June 19, 2017 at 5:35 am in reply to: New Version 5.1.1, installation on Win-7 32 bit, Default Silverlite is x64 #2270
MikhailModeratorPlease check the following:
1. Does the folder C:\SCADA\ exist?
2. Run services.msc
Do ScadaCommService and ScadaServerService exist?June 16, 2017 at 12:44 pm in reply to: New Version 5.1.1, installation on Win-7 32 bit, Default Silverlite is x64 #2266
MikhailModeratorIt means that Rapid SCADA already installed. If you need to reinstall it, uninstall the existing one.
MikhailModeratorWhat is written in the log file?
MikhailModeratorTo change the password you need to login. You can change the password in the configuration database to make them matched.
After password is changed in XML, you need to restart the web application. You can do it using IIS Administration console or by restarting the PC.Don’t need.-
This reply was modified 9 years ago by
Mikhail.
MikhailModeratorHi,
The easiest way is changing password by editing C:\SCADA\ScadaWeb\config\WebSettings.xml in your favorite text editor.
MikhailModeratorThe script to export data executes when the data are received by SCADA-Server. You can create a stored procedure (function in Pg) that filters data according to your needs and use this procedure in DB Export Module.
MikhailModeratorHow the truly detect when OPC server is down?
MikhailModeratorIt is possible to upgrade KpOpc.dll to repair connection to OPC server. It may be done as a custom development.
MikhailModeratorRapid SCADA does not know that the OPC server has been shutted down
It’s true. There is a workaround. You can send a command via a text file to restart the communication line:
Create a file cmdXXX.dat within C:\SCADA\ScadaComm\Cmd
where XXX is a random number[Command] Target=ScadaCommSvc Sender=ScadaCommCtrl User=Admin DateTime=12/21/2015 23:00:13 LifeTime=60 CmdType=RestartLine LineNum=1 End=
I think you can create a file by using formulas in the configuration database (Administrator app).
MikhailModeratorHi,
Thank you for the details.
You should understand how the data are encoded when you send the command 0x10 (Write Multiple Registers):
You can choose either:
1. Binary command. Using this option you can explicitly specify the bytes which are sent. Let’s try it.2. or Standard command. See these lines:
modbusCmd.Data = cmd.CmdTypeID == BaseValues.CmdTypes.Standard ? BitConverter.GetBytes(cmd.CmdVal) : cmd.CmdData;
The value 14 is 0x402C000000000000 when converted into a double (see this). Then you send the 4 bytes from the right that are zeros.
You can create formulas in the configuration database to convert data entered by a human to the format described above.
MikhailModeratorHello,
Please provide the detailed description of the required changes.
MikhailModeratorI validated the packages by http://modbus.rapidscada.net/ They are wrong. Communicator never sends wrong requests.
Could you provide screenshots?If you need to send float, you need at least 4 bytes to store it. So you can’t use Write Single Register command which sends 2 bytes.
MikhailModeratorJust right click the tree node and choose restart the line.
-
This reply was modified 9 years ago by
-
AuthorPosts