• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Extcomm port for second RS485 on M503

    Scheduled Pinned Locked Moved Neuron Series
    2 Posts 2 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mohamed Dounnani
      last edited by

      Hi I would like to know what extcomm port is for control second modbus rs485 port

      I use extcomm/0/0 for the first port but there is extcomm/1 and extcomm/2 what is the correct port?

      Martin KudláčekM 1 Reply Last reply
      Reply Quote 0
      • Martin KudláčekM
        Martin Kudláček @Mohamed Dounnani
        last edited by

        Hi @mohamed-dounnani,
        the addressing is as follows:

        /dev/extcomm/0/... <- All serial ports (0 = RS485 1.1, 1 = RS485 2.1)
        /dev/extcomm/1/... <- Serial ports of Group 1 (0 = RS485 1.1)
        /dev/extcomm/2/... <- Serial ports of Group 2 (0 = RS485 2.1)

        You can reveal the structure by listing the directory:

        unipi@L503-sn101:~ $ ls -l /dev/extcomm/*
        /dev/extcomm/0:
        total 0
        lrwxrwxrwx 1 root root 12 Aug 31 09:51 0 -> ../../ttyNS0
        lrwxrwxrwx 1 root root 12 Aug 31 09:51 1 -> ../../ttyNS1
        
        /dev/extcomm/1:
        total 0
        lrwxrwxrwx 1 root root 12 Aug 31 09:51 0 -> ../../ttyNS0
        
        /dev/extcomm/2:
        total 0
        lrwxrwxrwx 1 root root 12 Aug 31 09:51 0 -> ../../ttyNS1
        

        Martin

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post