Modbus simulator

Forum Home Forums Communicating with Devices Modbus Modbus simulator

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #69
    teleco
    Participant

    Hello,

    I am using a Modbus software simulator. The connection parameters of the simulator are:

    LOCAL IP: localhost
    Server connections: 1
    Port (502): 502
    Alternate port: 501
    Station ID: 1

    The communication messages are:

    Socket 404 listen thread ID=[6048] running
    [6048] Listen for connection…

    I want to simulate the default ADAM-6015 Server room, so, in order to establish a connection I select SCADA-Communicator -> Line 1 “Server room” -> Request Sequence -> Call number = localhost:502. Then, I restart the SCADA-Communicator service but in Communication Line State -> Active Devices the message continues: “error”.

    Which parameters do I have to modify in SCADA-Communicator for Modbus connection?

    #72
    Mikhail
    Moderator

    Switch to Communication Line log tab.
    Read the log carefully, usually it contains information about the cause.
    Firstly, realize is the connection established or not.

    #79
    teleco
    Participant

    Call number = localhost:502
    The same with localhost, pcname, 127.0.0.1 with and without 502

    Every time I change the “call number” in Request Sequence, I press the apply button and then the Restart SCADA-Communicator service button. I don´t know what is the problema. I use the Modbus simulator from http://www.plcsimulator.org/downloads, which doesn´t need any kind of installation or setup.

    Communication Line Log tab:

    2015-02-01 12:52:13 Communication session with Device 11 “ADAM-6015 Server room”, type: KpModbus, call number: MANUEL
    Establish a TCP connection with MANUEL
    Error establishing TCP connection: An invalid IP address was specified.

    2015-02-01 12:52:13 Communication session with Device 11 “ADAM-6015 Server room”, type: KpModbus, call number: MANUEL
    Attempt to establish TCP connection can not be earlier than 5 seconds after the previous

    #80
    Mikhail
    Moderator

    I’ve tried the same as you did.
    Call numbers localhost and computer name don’t work, because of wrong IP address format.

    Call number 127.0.0.1 is OK:
    2015-02-01 21:57:56 Communication session with Device 11 “ADAM-6015 Server room”, type: KpModbus, call number: 127.0.0.1
    Establish a TCP connection with 127.0.0.1

    During testing I uncheck “Use SCADA-Server” checkbox in SCADA-Communicator. If you do not uncheck it the call number specified in the configuration database is used.

    Try 127.0.0.1 again. If it doesn’t work post a part of log here.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.