Device selection by first package

Forum Home Forums Communicating with Devices Modbus Device selection by first package

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5357
    cooldjmc
    Participant

    Hi, i would like to know if someone can help about when setting a TCP Server and want to idetify device by first package what format is used, —- and after that i assume that that id must be put on call adress. Please if someone, know about this funcion explain how must be used.

    Thank you.

    #5359
    Mikhail
    Moderator

    Hi,

    1. A device is TCP client. Right after it connects to Communicator (TCP server), it sends a string that identifies this device.
    2. Communicator compares the given string with “Call Number” of existing devices. If matched, communication continues.

    #5368
    cooldjmc
    Participant

    thank you for answer, but that string how is interpreted in comunicator ? maybe as ascii?
    Receive (4/4): ˇˇ^^

    the value that the device send is 41377 witch hex is a1 a1 followed by e5 e5 and the comunicator intrprets like this: Receive (4/4): ˇˇ^^

    Exists a method that comunicator intrpret id’s like decimal numbers ?

    #5370
    Mikhail
    Moderator

    Yes, Communicator interprets like ASCII.
    We can update Communicator to support HEX, but currently our team is working hard, so we can implement the changes on commercial way.

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