How do i get multiple tcp/ip modbus to work together

Hi All,
I have got a system that uses 2 identical Serial (rs-485) Modbus libraries on 2 seperate ports.
I can can put the 2 libraries on the same com port as long as I put them on different addresses.
Unfortunately the same doesn't appear to be true for TCP/IP.
The best I can do is multiple masters but only 1 slave and they all have to be on the same address.
Add a second library on a different address and it all goes bad.
Any suggestions/solutions?
iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT

If adding as a slave, configure the master device with the IP address of the NIC that connects the LV MyComputer target to the device, and you can host multiple slaves on that same IP and separate them using the slave address (as the dialogs you posted show). So long as your master device allows you to configure the unit id.
Not sure I understand exactly what your dilemma is, but the nice thing about ModbusTCP (IMHO) is the support for multiple masters. 
As you may have already suggested the serial bus address is replaced by the IP address. However, there is still a provision for including the old serial bus address for use in gateways (when many serial slaves are put 'behind' a single ModbusTCP gateway). Usually this is not even used by ModbusTCP devices, but some legacy devices still require this to be set to a certain value to work.
The NI Modbus function blocks include this in an input called the MBAP header. Within this input is the unit identifier which is the old serial bus address (I recently had to add this for a power quality meter that refused to talk unless this was set to 1).
From the detail help...
Unit Identifier—This field is for intra-system routing purposes. It typically communicates to a MODBUS serial line slave through a gateway between an Ethernet TCP-IP network and a MODBUS serial line. The MODBUS client sets this field in the request, and the server response must return this field with the same value.

Similar Messages

  • How do I get Personal Oracle 8i & Forms 6i working together?

    I installed Personal Oracle 8i on my PC under Windows 98 in a directory "d:\ORAWIN95". When I attempt to install Forms 6i, I get the message:
    "The location specified, "d:\ORAWIN95", is already used as an Oracle home for "Oracle 815 Production". It cannot be used as an Oracle home for "win95".
    Can someone tell me what my problem is and how to correct it.
    During the installation of Personal Oracle 8i, I was asked to choose a destination and was given two choices:
    1. ORACLE_HOM (c:\orawin95)
    2. ORACLE_HOME (d:\orawin95)
    I thought I had deleted all Oracle references from my PC but apparently not.
    I chose the same oracle home to install Forms 6i that I used to install Personal Oracle 8i.
    What do I need to do to get Forms 6i installed and working with Personal Oracle 8i?
    Thank you in advance for your help!

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
    I installed Personal Oracle 8i on my PC under Windows 98 in a directory "d:\ORAWIN95". When I attempt to install Forms 6i, I get the message:
    "The location specified, "d:\ORAWIN95", is already used as an Oracle home for "Oracle 815 Production". It cannot be used as an Oracle home for "win95".
    Can someone tell me what my problem is and how to correct it.
    During the installation of Personal Oracle 8i, I was asked to choose a destination and was given two choices:
    1. ORACLE_HOM (c:\orawin95)
    2. ORACLE_HOME (d:\orawin95)
    I thought I had deleted all Oracle references from my PC but apparently not.
    I chose the same oracle home to install Forms 6i that I used to install Personal Oracle 8i.
    What do I need to do to get Forms 6i installed and working with Personal Oracle 8i?
    [b]Thank you in advance for your help!<HR></BLOCKQUOTE>
    you need to firstly delete all references to oracle on your pc then start with a clean install(after checking in windows registry and deleting all referencves to oracle, also in aoutoexec.bat file) install into 2 separate directories, 8i into oracle and forms into another directory, then configure using sql net easy config
    null

  • How do I get ATV2 and my iTunes to work together on MB Pro?

    When I first set up my ATV2, I remember it to work along with my MB Pro/iTunes (meaning when I was streaming music to my ATV2, it also streamed to my MB Pro).....Now it does not. What did I inadvertently change?.....also a button appeared in the lower right corner of my iTunes that allowed me to choose multiple speakers (i.e. MB Pro and TV).....It no longer appears either.
    Thx in advance!!

    There's the sidebar one on the far end, then in the middle there's the 'start genius' and beside that is the airplay icon. All on the bottom right side. What version of iTunes are you running?
    Message was edited by: vazandrew

  • How do I get my imac and printer to work together?

    imlost
    I just bought a printer that needs OS 10 1.6 to run, but my mac desk top has version 1.4.  I get a message that the product is incompatable  with the current version. What do I need to do?

    Mac OS X Tiger 10.4.11
    I have Canon PIXMA MG3120 connect to my iMac G3 Tiger 10.4.11. Works fine for me.  It a duplex priner.  Great!
    Canon PIXMA MG3120 Wireless Inkjet Photo All In One Printer Copier Scanner
    http://www.amazon.com/Canon-MG3120-Wireless-All-In-One-5289B019/dp/B005TI2Q8M
    I have it connected by USB.
    Robert

  • How do you get multiple screens on the iPad with iOS 5.1.1?

    How do you get multiple screens on the iPad with iOS 5.1.1? We just upgraded to iOS 5.1.1, and we see no way to be able to open multiple screens at once. Before, there was a small button in the upper portion of any window. That button would take you from a particular window to the place where multiple windows are open at once. Does it do it differently? Is there a special setting button that we have missed? Thanks!
    One more thing: We are only talking about Safari.

    Guitaristica-
    I don't think I've seen a way to have separate Safari screens visible at the same time.  The small thumbnails were deleted in one of the iOS updates, and replaced with a multiple "Tab" system.
    You can open an additional screen in a new "tab" by pressing and holding on a link until a new menu comes up.
    Fred

  • How do i get multiple internet screens going on Safari?

    How do I get multiple internet screens going on Safari at the same time?

    Do you mean "New window" (command-n) or "New tab" (command-t)? Are you in "Full Screen Mode"? If so, hit the escape key to exit that mode before making a new window or tab.  Use Expose/Mission Control to manage windows.
    charlie

  • How can i get multiple photos onto photoshop?

    How do I get multiple photos on to photoshop. I want to work on them together and move one part of one photo onto the other.

    Start by asking in the Photoshop forum
    This forum is actually about the Cloud, not about using individual programs
    For product specific questions you may do better in the specific product forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll
    http://forums.adobe.com/community/photoshop

  • How do I get multiple return results from a function

    IDBASKET IDSTAGE DTSTAGE
    3 1 24-JAN-03
    3 5 25-JAN-03
    4 1 13-FEB-03
    4 5 13-FEB-03
    5 3 21-FEB-03
    I input is a single IDBASKET number from this table and this function works fine only if it has one IDSTAGE per idbasket. (idbasket#5)
    But how do I get it to return a result for an IDBASKET when it has multiple IDSTAGE? (idbasket#3 & 4)
    THANKS MUCH,
    MAT
    SQL> CREATE OR REPLACE FUNCTION status_desc_sf
    2 (p_code NUMBER)
    3 RETURN VARCHAR2
    4 IS
    5 lv_output_txt VARCHAR2(30);
    6 BEGIN
    7 IF p_code = 1 THEN lv_output_txt := 'Order submitted';
    8 ELSIF p_code = 2 THEN lv_output_txt := 'Accepted, sent to shipping';
    9 ELSIF p_code = 3 THEN lv_output_txt := 'Backordered';
    10 ELSIF p_code = 4 THEN lv_output_txt := 'Cancelled';
    11 ELSIF p_code = 5 THEN lv_output_txt := 'Shipped';
    12 ELSE lv_output_txt := 'No information';
    13 END IF;
    14 RETURN lv_output_txt;
    15 END;
    16 /

    Duplicate thread:
    How do I get multiple return results from a function

  • How do you get your album's songs to stay together when you put them on your ipod/iphone, when some songs have a ft. artist?

    How do you get your album's songs to stay together when you put them on your ipod/iphone, when some songs have a ft. artist?
    Even when I try to change the featured artist in my I tunes, it won't stay with my other songs, and I want to be able to listen to my album in the order of the songs that the album has it.

    The iTunes/iPod software isn't set up to let you sync songs from more than one libray, but if you manually manage the iPod you can add tracks from multiple computers without removing the existing content. Personnaly I think syncing with a library is a much better way to manage your iPod, so I'd suggest you just copy the stuff you bought at work onto a memory stick, then take it home and import it into your iTunes library there.
    tt2

  • I updated to yosemite and now if someone is using imessage and sends a text message to my phone it doesn't show up on my phone but does on my computer.  I don't want messages on my computer!  How do I get this to go away and work like it used to?

    I updated to yosemite and now if someone is using imessage and sends a text message to my phone it doesn't show up on my phone but does on my computer.  I don't want messages on my computer!  How do I get this to go away and work like it used to?

    Follow the instructions under the heading "How to unlink a phone number" on this page.

  • How do I get the built in microphone to work on my IMac?  Camera works fine, but I can't record voice.

    How do I get the built-in microphone to work on my IMac?  Camera works fine, but I can't record sound.

    I always assummed that the mic was part of iSight (intertwined?).  The mic is situated right next to iSight.  It would seem to me the solutions would be the same some what.
    Regarding the OP, I also suspect his/her problem is hardware.  It's rather unusual for the internal mic to not work yet the iSight does.

  • How do I get all the songs from an album to show in the album view?  Currently, if an album lists the artist plus a guest artist, those are shown separately and appear to be two different albums on my iPod.  How do I get all the songs on that album togeth

    How do I get all the songs from an album to show in the album view?  Currently, if an album lists the artist plus a guest artist, those are shown separately and appear to be two different albums on my iPod.  How do I get all the songs on that album together on my iPod?  If the album is a collaboration wtih many artists, each sond may appear as a separate album.

    I used to have this problem.
    First, you need to go back on iTunes
    you need to go to each of the songs that are having this problem
    Click the album so all the songs drop down
    Right click the songs that have this problem
    Click ' Get info '
    Click the tab that says " info '
    The box that says ' album artist ' should probably be empty (correct me if I'm wrong)
    Click it and type the artist of the entire album, NOT the songs guest artist
    as such,
    ARTIST
    JAY-Z Feat. Justin Timberlake
    ALBUM ARTIST
    JAY-Z
    These should be separate for each artist
    If you write the same album artists for each song by that artist, all the songs should be on 1 album

  • How can I get my hp Laserjet 1012 to work with Windows 7?

    How can I get my hp Laserjet 1012 to work with Windows 7?

    Here is a list of products that are not supported in the win7 OS. This product is listed there.
    Products not supported in win7
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • I got a iphone 5 but it does not work on my MacBook with Mac OSx 10.5.8  it says i need OSX 10.6.8 but it will not download because I need OSX 10.6 but it would load either. How do I get the older operating system to work with the IPhone5?

    I got a iphone 5 but it does not work on my MacBook with Mac OSx 10.5.8  it says i need OSX 10.6.8 but it will not download because I need OSX 10.6 but it would load either. How do I get the older operating system to work with the IPhone5?

    You don't. Since you have an Intel Mac, buy a Mac OS X 10.6 DVD from the online Apple Store.
    (71894)

  • I have a iPod touch and i installed it on my other laptop until i had just got another one it says unable to connect to iTunes and i forgot my password and i delete the email and i don't know how i can get my i pod touch to work with my new one email

    I have a iPod touch and i installed it on my other laptop until i had just got another one it says unable to connect to iTunes and i forgot my password and i delete the email and i don't know how i can get my i pod touch to work with my new one email.
    I JUST NEED HELP

    I would contact Apple under your warranty.  I doubt you received a new iPod since Apple's policy is to give you a refurbished iPod. 

Maybe you are looking for

  • Dynamic addition of  JMenuItem in JMenu

    I am trying to create a menu for my project. For that i have added the main menus and for each menu there will be menu item. But the problem is i will get the list of menu items for each menu , only at the runtime of my project. i.e. i wabt to add pr

  • Bridge CC running slow

    I recently updated Bridge CC and now it is running painfully slow. Any suggestions on how to fix this?

  • How to get the PDF Text position, font, size, align...?

    Hi~! I can extract all the text from the PDF file, but just plain text. I need their format, position, font, size, align. I am using C#, IAC, and read the SDK carefully. How to get them? Thanks for every hint on how to achieve this! Jason Wang

  • Kanban calculation

    Hi I am using one calculation profile in kanban calculation i have lead time of 4 days and this material is having dependent requirement of 3000 pcs after using pk07 it is giving me proposal of maximum no of kanban but i am not able to understand on

  • How to merge two iTunes libraries, one from a Time Machine backup.  Help!

    Hey there, Here´s the backstory, my laptop was stolen (along with my older iPod which had ALL of my music on it) in February.  I am from Minnesota, and I now live in New York, but my backup from December was in Minnesota at that time.  On me at the t