Communication is not established with MODBUS simulator

Forum Home Forums Communicating with Devices Communication is not established with MODBUS simulator

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1317
    Praveen
    Participant

    Hi,

    I am trying to connect MODBUS PLC simulator (TCP) with Rapid SCADA.

    Communication log always says “Connection is not established”.

    I am using simulator from the link http://www.plcsimulator.org/Home

    And I am running RapidSCADA and Simulator in same machine.

    And I also could see in the log that connection is reused at 127.0.0.1, 10000 port.

    Can you help me in solving this issue?

    With B/R,
    Praveen.B

    #1318
    Mikhail
    Moderator

    Hi,

    Mudbus TCP usually uses 502 port. Try setting up the communication channel. Use TCP client channel type.

    #1320
    Praveen
    Participant

    Hi Mikhail,

    I am using TCP client and using 502 port only.

    And if I connect to slave simulator with “ADAM-6015 Server room”, I am able to read the data. If I configure new Modbus client, I am not able to get the data.

    Can you help me in trouble shooting it?

    With B/R,
    Praveen.B

    #1321
    Mikhail
    Moderator

    Do the both communications the old and the new work in parallel?
    Post a piece of communication log, please.

    #1323
    Praveen
    Participant

    Hi,

    Please find modbus communication log for the one which I am not able to connect.

    2016-06-24 08:52:07 Unable to communicate with the device because connection is not established

    2016-06-24 08:52:37 Unable to communicate with the device because connection is not established

    ———————————————————————————-
    Same slave I could connect from server room. Communication log is:

    Request element group “Max. Temperature”
    Send (12): 00 00 00 00 00 06 00 03 00 0A 00 07
    Receive (7/7): 00 00 00 00 00 11 00
    Receive (16/16): 03 0E 0C 76 0C 76 0C 76 0C 76 0C 76 0C 76 0C 76

    ——————————————————————————–

    I have one more question.

    How to change the Modbus TCP default port? Suppose I want to run 2 slave simulators from same machine and different ports.

    With B/R,
    Praveen.B

    #1327
    Mikhail
    Moderator

    Probably the Simulator doesn’t support more than 1 connection.
    You can set another TCP port followed by IP address: 127.0.0.1:503

    #1328
    Praveen
    Participant

    Yes. In that case RapidScada also should listen at port 503 right?

    Can you help me in changing TCP port to 503 in client?

    (if I select Modbus TCP, by default RapidSCADA takes 502 port and not editable)

    Thank you.

    With B/R,
    Praveen.B

    #1329
    Mikhail
    Moderator

    Post screenshots for such questions, please.

    #1330
    Praveen
    Participant

    Hi, sorry for the inconvenience..

    Not able to keep the image, editor is accepting only the text.
    where can I keep the screenshot?

    In communicator, I imported communication line and selected modbus communicator
    type as modbus TCP.

    then, Port is selected by default as 502, and not allowing to change to any other port.

    #1331
    Mikhail
    Moderator

    Use postimage.org and post links.

    #1332
    Praveen
    Participant

    Hi,
    Thank you for the answer.

    And the issue is solved.I could connect to 2 modbus simulators on different ports.

    With B/R,
    Praveen.B

    #1340
    Mikhail
    Moderator

    OK 🙂

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