Mikhail

Forum Replies Created

Viewing 15 posts - 5,221 through 5,235 (of 6,130 total)
  • Author
    Posts
  • in reply to: Webs configuration: set Password #2263
    Mikhail
    Moderator

    What is written in the log file?

    in reply to: Webs configuration: set Password #2261
    Mikhail
    Moderator

    To 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.
    in reply to: Webs configuration: set Password #2259
    Mikhail
    Moderator

    Hi,
    The easiest way is changing password by editing C:\SCADA\ScadaWeb\config\WebSettings.xml in your favorite text editor.

    in reply to: The problem about ModDBExport module #2256
    Mikhail
    Moderator

    The 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.

    in reply to: Reconnect OPC Server #2252
    Mikhail
    Moderator

    How the truly detect when OPC server is down?

    in reply to: Reconnect OPC Server #2251
    Mikhail
    Moderator

    It is possible to upgrade KpOpc.dll to repair connection to OPC server. It may be done as a custom development.

    in reply to: Reconnect OPC Server #2250
    Mikhail
    Moderator

    Rapid 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).

    in reply to: Problem in Sending Modbus (Command) Float32 data #2249
    Mikhail
    Moderator

    Hi,

    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.

    in reply to: The problem about ModDBExport module #2248
    Mikhail
    Moderator

    Hello,
    Please provide the detailed description of the required changes.

    in reply to: Problem in Sending Modbus (Command) Float32 data #2242
    Mikhail
    Moderator

    I 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.

    in reply to: Reconnect OPC Server #2241
    Mikhail
    Moderator

    Just right click the tree node and choose restart the line.

    in reply to: Reconnect OPC Server #2238
    Mikhail
    Moderator

    Hello,

    Communicator can’t restart OPC server because this is another application. Is it enough to restart communication line to repair a connection?

    in reply to: Problem in Sending Modbus (Command) Float32 data #2236
    Mikhail
    Moderator

    Hello,

    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.
    in reply to: Communication errors #2233
    Mikhail
    Moderator

    Which 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-integration

    Let me know when Bosch answers about Modbus TCP 🙂

    in reply to: Commands in Modbus #2232
    Mikhail
    Moderator

    You can purchase a training and we will solve the issues together via remote connection. Please send an email to get information about the prices.

Viewing 15 posts - 5,221 through 5,235 (of 6,130 total)