This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux: M-Bus TCP and EtherNet/IP

Other Parts Discussed in Thread: AM3358

Tool/software: Linux

Hi all,,

I have a question about AM3358 gateway.

We planning use 2 protocol Mbus tcp and EthernetI/P at the same time in one port RJ45.

So can Processer make a judgment of Mbus tcp and Ethernet/IP from Ethernet frame ?

  • Hi,

    Could you please explain what a Mbus protocol is? Are you asking about Modbus?

    Best Regards,
    Schuyler
  • Schuyler Patton said:
    Hi,

    Could you please explain what a Mbus protocol is? Are you asking about Modbus?

    Best Regards,
    Schuyler

    Hi Schuyler,

    It my typing mistake, it is Modbus tcp.

  • Hi,
    The strait forward answer is that both of these protocols have TCP ports assigned to them, 502 for Modbus and 44818 for EtherNET/IP. From a Linux application perspective both of these TCP port numbers are usable simultaneously in the application domain.

    I think the question you are asking may be complex that that than the answer I just provided. Are there timing requirements or cycle times each protocol requires? How are expecting to use the ports on the AM3358?

    Best Regards,
    Schuyler
  • Hi Schuyler,

    My customer changed them request. They want to use one port RJ45 for Modbus TCP to connector PLC and MQTT protocol to connector server at the same time. I want to confirm processer can do that?

    Best regards,
    An
  • Hi An,

    The best way I can answer this is to say there are no restrictions that I am aware of on the TCP stack that is in the TI Processors Linux SDK. The applications you are asking about all use well known TCP port numbers. Please consider that while it is possible to send and receive data on multiple TCP ports through a single connector the application load on the processor must be evaluated by the application developer.

    To best determine the product concept and likelihood of success on this platform I would recomment that the application developer for this project purchase a TI EVM that has the network ports (connectors) necessary and download the most recent TI Processor Linux SDK. To test the product concept the application developer should either create or install these applications mentioned in this thread and determine if the applications being run simultaneously meet the product requirements. Only the application developer will able to determine if the simultaneous needs of the protocol are being met.

    Best Regards,
    Schuyler