Forum Replies Created
-
AuthorPosts
-
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 8 years, 7 months 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.
MikhailModeratorHello,
Communicator can’t restart OPC server because this is another application. Is it enough to restart communication line to repair a connection?
MikhailModeratorHello,
then I couldn’t save this change as kpModbus.dll
Please explain what do mean? How do you do this?
I think, it’s possible to solve your issue without changing KpModbus.dll. I can tell how to configure it if you provide more information: what value should be sent by an operator and what data (in hex format) should be sent to the device?
Update: usually the command 0x10 (Write Multiple Registers) is used for sending float data to a device. In this case you can tick the Multiple command checkbox in Communicator and send any data.
-
This reply was modified 8 years, 7 months ago by
Mikhail.
MikhailModeratorWhich development environment You use? It is .NET?
I use Microsoft Visual Studio 2015 Community Edition.
In case of questions about programming, create new posts in http://forum.rapidscada.org/?forum=development-and-integrationLet me know when Bosch answers about Modbus TCP 🙂
MikhailModeratorYou can purchase a training and we will solve the issues together via remote connection. Please send an email to get information about the prices.
-
This reply was modified 8 years, 7 months ago by
-
AuthorPosts