Using modbus/TCP with USB ethernet adapters

I have a test stand where I have a handful of USB instruments and a single modbus/TCP slave.  I'm considering adding a USB ethernet adapter to the stand so that there is a single USB cable connecting the computer to the hardware rather than both a USB and an ethernet connection.  Does anybody out there have experience (good or bad) using USB ethernet adapters with modbus/TCP slaves?
The existing USB instruments all use ASCII/SCPI-style command sets.  The Modbus/TCP slave is an Automation Direct EBC-100.  Nothing high-bandwidth or low-latency.  Basically, the computer issues no more than a handful or command or request (ether SCPI or Modbus/TCP) per minute.
Mark Moss
Electrical Validation Engineer
GHSP

Adam G wrote:
Hello Mark,
I was wondering what NI hardware you are going to be using in your application? Also are you going to be using LabVIEW for the programming? Have a great day!
Best Regards,
Adam G 
The test software is written in LabVIEW, and the test stand uses M-Series cards for data acquisition.
Mark Moss

Similar Messages

  • Cannot apply OS image to lenovo with usb Ethernet

    Greetings,
      We have a Windows 8.1 task sequence which works fine on over a dozen laptops that have an ethernet adapter. We recently acquired a Lenovo Helix machine that doesnt have an inbuilt adapter but has a usb ethernet adapter. I found the driver for this
    and added it to our winpe image (we are using sccm 2012 r2, adk 8.1, winpe 5). When I use the same task sequence, it always fails on the apply OS image step. Relevant log entries here:
    <![LOG[WinHttp credentials set]LOG]!><time="09:30:03.696-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="1" thread="1732" file="downloadcontent.cpp:796">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: ZDC1SC001.INFAUIAG.CORP:80  PROPFIND /SMS_DP_SMSPKG$/P0100120]LOG]!><time="09:30:03.696-660" date="03-24-2014" component="ApplyOperatingSystem" context=""
    type="1" thread="1732" file="libsmsmessaging.cpp:8604">
    <![LOG[Request was successful.]LOG]!><time="09:30:03.774-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="0" thread="1732" file="libsmsmessaging.cpp:8939">
    <![LOG[DAV response string is: 
     <?xml version="1.0" encoding="utf-8" ?><D:multistatus xmlns:D="DAV:"><D:response><D:href>http://ZDC1SC001.INFAUIAG.CORP/SMS_DP_SMSPKG$/sccm?/P0100120/</D:href><D:propstat><D:status>HTTP/1.1
    200 OK</D:status><D:prop><D:getcontenttype/><D:supportedlock/><D:getetag/><D:creationdate/><D:iscollection>1</D:iscollection><D:resourcetype><D:collection/></D:resourcetype><D:ishidden>0</D:ishidden><D:displayname>http://ZDC1SC001.INFAUIAG.CORP/SMS_DP_SMSPKG$/sccm?/P0100120/</D:displayname><D:getlastmodified></D:getlastmodified><D:getcontentlanguage/><D:getcontentlength>0</D:getcontentlength></D:prop></D:propstat></D:response><D:response><D:href>http://ZDC1SC001.INFAUIAG.CORP/SMS_DP_SMSPKG$/P0100120/sccm?/windows8.1-x64-Enterprise-Captured.wim</D:href><D:propstat><D:status>HTTP/1.1
    200 OK</D:status><D:prop><D:getcontenttype/><D:lockdiscovery/><D:supportedlock/><D:getetag/><D:getcontentlanguage/><D:iscollection>0</D:iscollection><D:creationdate/><D:resourcetype/><D:ishidden>0</D:ishidden><D:displayname>http://ZDC1SC001.INFAUIAG.CORP/SMS_DP_SMSPKG$/P0100120/sccm?/windows8.1-x64-Enterprise-Captured.wim</D:displayname><D:getlastmodified>Wed,
    22 Jan 2014 03:18:55 GMT</D:getlastmodified><D:getcontentlength>3582506802</D:getcontentlength></D:prop></D:propstat></D:response></D:multistatus>]LOG]!><time="09:30:03.774-660" date="03-24-2014"
    component="ApplyOperatingSystem" context="" type="0" thread="1732" file="downloadcontent.cpp:321">
    <![LOG[List of files to be downloaded]LOG]!><time="09:30:03.774-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="1" thread="1732" file="downloadcontent.cpp:350">
    <![LOG[  File: http://ZDC1SC001.INFAUIAG.CORP:80/SMS_DP_SMSPKG$/P0100120/sccm?/windows8.1-x64-Enterprise-Captured.wim]LOG]!><time="09:30:03.774-660" date="03-24-2014" component="ApplyOperatingSystem" context=""
    type="1" thread="1732" file="downloadcontent.cpp:418">
    <![LOG[GetDirectoryListing() successfully completed]LOG]!><time="09:30:03.774-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="1" thread="1732" file="downloadcontent.cpp:523">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\i386\1033\TSRES.DLL']LOG]!><time="09:30:03.774-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="1" thread="1732" file="util.cpp:964">
    <![LOG[Downloading file /SMS_DP_SMSPKG$/P0100120/sccm?/windows8.1-x64-Enterprise-Captured.wim range 0-2147483646]LOG]!><time="09:30:03.825-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="1"
    thread="1732" file="downloadcontent.cpp:1411">
    <![LOG[WinHttpReadData (hRequest, (LPVOID) Buffer, sizeof (Buffer), &dwRead), HRESULT=80072efe (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,972)]LOG]!><time="09:30:24.015-660" date="03-24-2014" component="ApplyOperatingSystem"
    context="" type="0" thread="1732" file="downloadcontent.cpp:972">
    <![LOG[WinHttpReadData() failed.]LOG]!><time="09:30:24.015-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="3" thread="1732" file="downloadcontent.cpp:972">
    <![LOG[ReadDataAndWriteToFile() failed. 80072efe]LOG]!><time="09:30:24.015-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="3" thread="1732" file="downloadcontent.cpp:991">
    <![LOG[ReadDataAndWriteToFile() failed for D:\_SMSTaskSequence\Packages\P0100120\windows8.1-x64-Enterprise-Captured.wim. 0%]LOG]!><time="09:30:24.015-660" date="03-24-2014" component="ApplyOperatingSystem" context=""
    type="3" thread="1732" file="downloadcontent.cpp:992">
    <![LOG[ReadDataAndWriteToFile (hRequest, ullContentLength, hDestFile, pszDestFile, ulPackageSize, ulDownloaded), HRESULT=80072efe (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1413)]LOG]!><time="09:30:24.015-660" date="03-24-2014"
    component="ApplyOperatingSystem" context="" type="0" thread="1732" file="downloadcontent.cpp:1413">
    <![LOG[DownloadFileWithRanges() failed. 80072efe.]LOG]!><time="09:30:24.015-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="3" thread="1732" file="downloadcontent.cpp:1430">
    <![LOG[DownloadFileWithRanges (hSession, hConnect, sRequest, hFile, pszDestination, ullFileSize, ulPackageSize, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=80072efe (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1496)]LOG]!><time="09:30:24.015-660"
    date="03-24-2014" component="ApplyOperatingSystem" context="" type="0" thread="1732" file="downloadcontent.cpp:1496">
    <![LOG[DownloadFile() failed for http://ZDC1SC001.INFAUIAG.CORP:80/SMS_DP_SMSPKG$/P0100120/sccm?/windows8.1-x64-Enterprise-Captured.wim, D:\_SMSTaskSequence\Packages\P0100120\windows8.1-x64-Enterprise-Captured.wim. 80072efe.]LOG]!><time="09:30:24.015-660"
    date="03-24-2014" component="ApplyOperatingSystem" context="" type="3" thread="1732" file="downloadcontent.cpp:1518">
    <![LOG[DownloadFile (hSession, hConnect, sSourceFile.c_str(), sDestinationFile.c_str(), ulPackageSize, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=80072efe (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1572)]LOG]!><time="09:30:24.015-660"
    date="03-24-2014" component="ApplyOperatingSystem" context="" type="0" thread="1732" file="downloadcontent.cpp:1572">
    <![LOG[Error downloading file from http://ZDC1SC001.INFAUIAG.CORP:80/SMS_DP_SMSPKG$/P0100120/sccm?/windows8.1-x64-Enterprise-Captured.wim to D:\_SMSTaskSequence\Packages\P0100120\windows8.1-x64-Enterprise-Captured.wim ]LOG]!><time="09:30:24.015-660"
    date="03-24-2014" component="ApplyOperatingSystem" context="" type="3" thread="1732" file="downloadcontent.cpp:1572">
    <![LOG[DownloadFiles() failed. 80072efe.]LOG]!><time="09:30:24.015-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="3" thread="1732" file="downloadcontent.cpp:1588">
    <![LOG[DownloadFiles (setDirs, setFiles, sDestination.c_str(), bUseSSL), HRESULT=80072efe (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,2529)]LOG]!><time="09:30:24.015-660" date="03-24-2014" component="ApplyOperatingSystem"
    context="" type="0" thread="1732" file="resolvesource.cpp:2529">
    <![LOG[Download() failed. 80072efe.]LOG]!><time="09:30:24.015-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="3" thread="1732" file="resolvesource.cpp:2534">
    <![LOG[DownloadContentAndVerifyHash() failed. 80070002.]LOG]!><time="09:30:24.031-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="1" thread="1732" file="resolvesource.cpp:2963">
    <![LOG[DownloadContentAndVerifyHash ( pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, mapNetworkAccess ), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3052)]LOG]!><time="09:30:24.031-660"
    date="03-24-2014" component="ApplyOperatingSystem" context="" type="0" thread="1732" file="resolvesource.cpp:3052">
    <![LOG[DownloadContentLocally (pszSource, sSourceDirectory, dwFlags, hUserToken, mapNetworkAccess), HRESULT=80070002 (e:\nts_sccm_release\sms\framework\tscore\resolvesource.cpp,3273)]LOG]!><time="09:30:24.031-660" date="03-24-2014"
    component="ApplyOperatingSystem" context="" type="0" thread="1732" file="resolvesource.cpp:3273">
    <![LOG[TS::Utility::ResolveSource( this->packageID, this->packagePath, TS::Utility::ResolveSourceFlags::PersistContents | (this->forceRunFromNet ? TS::Utility::ResolveSourceFlags::ForceRunFromNet : 0) ), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1767)]LOG]!><time="09:30:24.031-660"
    date="03-24-2014" component="ApplyOperatingSystem" context="" type="0" thread="1732" file="installimage.cpp:1767">
    <![LOG[resolvePkgSource(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1810)]LOG]!><time="09:30:24.031-660" date="03-24-2014" component="ApplyOperatingSystem" context=""
    type="0" thread="1732" file="installimage.cpp:1810">
    <![LOG[Apply(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,2019)]LOG]!><time="09:30:24.031-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="0"
    thread="1732" file="installimage.cpp:2019">
    <![LOG[Installation of image 1 in package P0100120 failed to complete.. 
    The system cannot find the file specified. (Error: 80070002; Source: Windows)]LOG]!><time="09:30:24.031-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="3" thread="1732"
    file="installimage.cpp:2039">
    <![LOG[installer.install(), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,2094)]LOG]!><time="09:30:24.031-660" date="03-24-2014" component="ApplyOperatingSystem" context=""
    type="0" thread="1732" file="installimage.cpp:2094">
    <![LOG[ReleaseSource() for D:\_SMSTaskSequence\Packages\P0100120.]LOG]!><time="09:30:24.109-660" date="03-24-2014" component="ApplyOperatingSystem" context="" type="1" thread="1732" file="resolvesource.cpp:3564">
    <![LOG[The user tries to release a source directory D:\_SMSTaskSequence\Packages\P0100120 that is either already released or we have not connected to it.]LOG]!><time="09:30:24.109-660" date="03-24-2014" component="ApplyOperatingSystem"
    context="" type="2" thread="1732" file="resolvesource.cpp:3622">
    <![LOG[InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_OS, g_ConfigPackageID, g_ConfigFileName, bOEMMedia, g_RunFromNet ), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\applyos\applyos.cpp,509)]LOG]!><time="09:30:24.109-660"
    date="03-24-2014" component="ApplyOperatingSystem" context="" type="0" thread="1732" file="applyos.cpp:509">
    <![LOG[Process completed with exit code 2147942402]LOG]!><time="09:30:24.109-660" date="03-24-2014" component="TSManager" context="" type="1" thread="2040" file="commandline.cpp:1123">
    Does OSD have a problem with USB ethernet adapters? It appears so....
    Thanks
    David Z

    Yes, it does have something to do with USB Ethernet. Before conclusion, we may check if there is a workaround or fix for this issue to make OSD work. So, please check the IP Info when the issue happens.
    Another way is to use a Standalone media.
    Juke Chou
    TechNet Community Support

  • Problem communicating via Modbus TCP with Honeywell UDC3200

    Hello:
    I have to read the temperature of the Input 1 of this controllers. I've succesfully read the temperatures in the controllers. I'm using Modbus TCP/IP for the communication through the NI Modbus Library 1.1. I'm working on LabVIEW 8.5.1. However, sometimes when I open the connection, I get error 56 (timeout), despite that the controller responds to a ping. When I can initiate all the connections to the controllers, some hours after the monitoring has started, randomly, I get an error 66 (the connection was closed by the peer). This error interrupts the connection and the temperature readings stop. This is not acceptable.
    Also, I've found out that if you don't request some data from the controllers in 5 seconds or more, also the error 66 appears. To solve this, I poll twice a second the controllers but the error 66 still shows up.
    The controllers and the PC are interconnected via an Ethernet switch. The switch works well.
    In brief, I can communicate with the controllers but the communication is not reliable. Sometimes when I start the communication I get an Error 56 and sometimes after the communication starts I get Error 66. It cannot be predicted when this will happen.
    Why does the error 66 appears?
    Has somebody communicated succesfully with this controllers?
    I'd really appreciate your help, I'm running out of time.
    Thanks in advance.
    Robst.
    Robst - CLD
    Using LabVIEW since version 7.0

    Hello:
    Thanks for answering Pedro. I've read the document you told me to, but it refers to problems with VI Server, the application is not using VI server, so I guess the problem comes from somewhere else. I still haven't figured out why this is happening.
    About the Error 56, well, I'll try to slow down the communication, I'm not doing any delays after sending the information. I wasn't aware that I needed to do this.
    Any other ideas?
    Thanks in advance.
    Robst.
    Robst - CLD
    Using LabVIEW since version 7.0

  • USB Ethernet adapters?

    Hi
    Is there any USB ethernet adapters i can get to plug in my ethernet cable to, so i can connect to my local netwrok as there is something wrong with my ethernet card??
    If so can someone tell me the name and model number?
    Thanks

    iMac? try asking over in the Discussion devoted to iMac G5
    No internal PCI slots, so that is out. However, there is IP over FireWire which might be possible to network off another FW based Mac.
    http://discussions.apple.com/category.jspa?categoryID=132

  • Is snow leopard usb backup drive access much much quicker using firewire than with usb 2.0 ?

    is snow leopard usb backup drive access much much quicker using firewire than with usb 2.0 ?

    I migrated from a USB2 external hard drive (when it failed) to the Firewire 800 and have not looked back.  I also sync from that primary drive to a secondary backup drive (still USB2).  Everything I do with the firewire drive is significantly faster than USB2.

  • Using Modbus TCP I/O Server with new DSC Shared Variables in LabVIEW 8.6

    Hello,
    I'm using LabVIEW 8.6 and want to communicate with a Beckhoff BK9000 Ethernet TCP/IP Bus Coupler via Modbus TCP. Instead of using the NI Modbus Library, I've tried the new LabVIEW 8.6 feature "DSC Shared Variables" as described at the bottom of this page: Latest NI LabVIEW DSC Module Features and Demos. Reading of analog input bus terminals works fine. However, I haven't figured out yet how to write on an anolog output bus terminal with these shared variables.
    It's about a 16 bit analog output and I need to write to the registers 0x1121 and 0x0801. It works with the NI Modbus Library (just using function code 6 and choosing the registers), but on the other hand I don't know which shared variables I have to choose for these registers. I've tried several data items (e.g. 400001 upwards as well as 402049 for 0x0801) but none of them worked. I would be glad for a short explanation - thanks in advance for your support!
    Regards
    utechle

    The Beckhoff documentation says, that holding registers start with 0x0800. I've checked this by using the NI Modbus Library. I used the "MB Ethernet Master Query.vi" togehter with the function code 6 for "Write Single Registers", changed the settings of the starting address to hexadecimal view and entered 801 (since it starts with a control byte in 0x0800 and the data out word follows in 0x0801). Furthermore, I had to address register 0x1121 in the same way for resetting the watchdog. As I've mentioned in my first post, this method works fine. However, I haven't found out yet which shared variables i have to use for accessing these registers.
    On the other hand, it's no problem to read data from analog input bus terminals using shared variables. They start with 0x0000 (status byte) and 0x0001 (data in word) and I can read data with the shared variable and data item 300001, respectively.
    Message Edited by utechle on 01-27-2009 11:12 PM

  • Controlling a Load Drive using Modbus TCP or Ethernet IP

    Hello,
    My name is Francisco Loras. My team and I are looking forward to building a dynamometer in order to obtain test standards for motors. We're going to use a Load Drive in order to control the Load Motor. The Drives we have been looking at are either from ABB or from Yoskawa (a1000), both offer the option of connecting via Modbus TCP/IP or via Ethernet IP. I was wondering if someone has previously worked with them and could give me some feedback on either the drive or connection type. I would preferrably use Ethernet because the complete system we're building requires at least one more ethernet connection (for a Power Analyzer).
    Besides this, we were counting on using a Chassis from NI to put everything together. When looking at the specific modules, we considered two options:
    1- Using an ethernet module (from NI that fits in the Chassis) to drive in both the Power Analyzer and the Load Drive.
    2- Using an ethernet switch setting specific IP addresses. 
    Has someone used any of these before? A switch would be close to 50 times cheaper than using the ethernet module itself so I'm a bit worried there might be something that limits it or that I'm missing (noise maybe?).
    To conclude, I'm looking forward to se if someone has:
    1) Used Ethernet IP or Modbus TCP/IP to control a Load Drive, which connection type is best if any.
    2) Recommended any specific load drive
    3) Experience with using an ethernet switch or an ethernet module.
    Thankyou very much for your help and time,
    Francisco
    PD. If something is unclear (which I sense it is) please ask me and I can develop more on it.

    Florasga,
    Which ethernet module are you looking at? And what kind of chassis are you planning on using?
    There's some more information on Modbus here. Also, have you seen this forum post? 
    Kyle T.
    Applications Engineering
    National Instruments

  • Sharing internet with 2 USB ethernet adapters?

    Is it possible to connect the MBA via one USB Ethernet adapter to a LAN and share it with another USB adapter? Basically internet sharing from wired to wired.

    ...but the only way to know for sure...is to buy a 2nd USB Ethernet adapter which is a waste of money if it doesn't work
    I didn't bring it up in the previous post, but since the discussion is going to continue...I would argue that getting a second USB wired ethernet adapter is a "waste of money." Why not get a router? OSX's Internet Sharing turns the Mac into a NAT device. This is the primary function of a typical home router. For about the same price as (or only a few dollars more than) the Apple USB ethernet adapter, you can get a router which will probably provide better throughput performance than Internet Sharing, especially if the machine you're sharing to is doing a heavy download, it likely slow down your machine even if you're not doing anything on the internet. (e.g.: Your Word Processing may will slow down if the other computer starts streaming Netflix.)
    You can get small routers, if portability is needed and the 4-port wired switch is not essential. (i.e.: the Macbook has built-in wireless, as does most if not all portable computers.) I got one from D-Link that is the size of a deck of cards and runs off a USB port so no AC power is needed (although an AC adapter is included.) And of course Apple has the Airport Express.
    To put it another way: you got a Macbook Air, which doesn't have any wired ethernet ports, but now you want two, and will use up all of your USB ports to do so. One could argue that you got the "wrong computer" for your needs. And even then, I would argue that a router is the "correct computer" to share one wired network connection.
    Or can you make the defense and show significant negatives to using a router in your use case. And you have to go beyond price because a wired router is around $50 and often goes on sale for as low as $30, the same as the Apple USB ethernet adapter. And a wireless router is in the $70 range, with sale prices going down to $50. So I argue that a router is a better value.
    (edit: for that matter, I forgot to ask, what kind of network connection are you trying to share? If it's like a university or other LAN where you can obtain more than one IP address, then you don't even need a router. A simple hub/switch will do, which I've seen on sale as low as $10, and free when people throw away their old junk. Hmmm, the price of the router could now be $0 if you have a friend that is upgrading their router to 802.11n. )

  • Modbus TCP with Beckhoff (Wago)

    Hi,
    I'm looking for examples/how to/lib/dll to build a communication to a Beckhoff BK9000(similar to Wago 750) which have a Ethernet - Modbus TCP Option.
    I'm able to write via LabVIEW-TCP-Functions but only once after powering on and the result/answer is more confusing.
    For the lookout OPC variant i heared there is still some additional software needed - true? or is it possible to set up the communication with lookout OPC without third party driver?
    Thanks for any help
    Hans

    Hi JAMR,
    There are plenty of examples that setup up the tcp server communications. If you open up the NI Example Finder and double click on the Networking Folder (under the Browse tab). You can then select the TCP & UDP folder and find several examples that use TCP. Also, there is a great knowledge-base article that provides information about network communication with TCP/IP messaging protocol. Essentially, what you are going to want to do is establish basic connectivity between the computer and the device and then assign the device an IP address. Before you do anything with the driver for the device, you might try to ping the device first. Once you can get this working, then you can set up the TCP/IP communication. I hope this helps!
    Carla
    National Instruments
    Applications Engineer

  • Modbus IO with multiple ethernet ports?

    Dear LabView experts:
    My Labview system needs to communicate with three Modbus slave units (motor drive controllers with Modbus TCP/IP option installed) to send commands (speed reference) and read drive status (actual speed, output voltage/current/power etc). The PC has a quad-port Ethernet adapter with three of the ports connected via standard Ethernet cable to the three controllers. The three Ethernet ports on the PC have been given static IP addresses (192.168.1.10, 192.168.1.11, 192.168.1.12). The three controllers have been configured to give the Modbus slave options static IP addresses as well (192.168.1.20, 192.168.1.21, 192.168.1.22). I have also downloaded the NI Modbus library (version 1.2) and would like to use its VIs to perform Modbus Master Query operations. To do this, it is first necessary to open TCP connections to the three slave units using the TCP Open Connection vi, and this is where my problem comes in. How do I bind TCP Open Connection to use a specific Ethernet port (one of the first three IP addresses) on the PC ? Thanks in advance for your help.
    VRA
    Solved!
    Go to Solution.

    Hello Mike:
    Thanks for your response. I should have browsed this forum a little more before sending the message out. You are right; one way is to restrict each Modbus-dedicated Ethernet port on the PC to a range or even a single port number (using Advanced settings), and use that port number in the TCP Open Connection vi to ensure that this connection will go out of that port. The other way is to use subnet masks as pointed out more than once on this forum; instead of using a subnet mask of 255.255.255.0 for all three ports (which would put them all on the same subnet), I could use a subnet mask of 255.255.255.192 which would allow for four separate subnets, then give the three PC ports IP addresses in the range 192.168.1.(2-62), 192.168.1.(66-126), 192.168.1.(130-190), with gateways set to 192.168.1.1, 192.168.1.65 and 192.168.1.129. The Modbus slave units (motor drive controllers) would then have to be configured with static IP addresses in the respective subnet ranges, so that a TCP Open Connection to that IP address would automatically go out on that subnet.
    Thanks again.
    VRA

  • Using modbus tcp/ip to control vfd speed

    Hi, I'm brand new to Modbus and fairly new to LabVIEW. I do not have any code constructed yet, so I'm posting to here so that hopefully I can get led in the right direction. I have downloaded the free modbus library because after explaining to NI what I needed, they told me that this would give me enough functionality. I am trying to read the vfd frequency and display it on my front panel, as well as be able to adjust the frequency of the vfd through the front panel. I'm sure that this is a fairly simple and straightforward solution, but since I am brand new to modbus, I really am not sure what values I need to get in order to make this happen. I'm assuming that I need to initialize a tcp master, but what values do I need to feed it so that it can read anything from my vfd? I have an ABB ACS355 VFD with a FENA-01 ethernet adapter. I have the manuals for both and I see lots of parameters and numbers but I don't know how to make sense of them. Are there any keywords I should be looking for in these manuals? Sorry for posting such a general question but I really don't know how to begin this properly. Thanks in advance for any help!

    Hello,
    A great place to get started will be the shipping examples in the example finder. In LabVIEW, if you go to Help>> Find Examples and the search "Modbus" you will see and example called Modbus Fundamentals.lvproj. This uses shared variables and can communicate with TCP/IP (or ethernet etc) and is set to connect to the localhost. This example also shows how to read and write  using Modbus. There is a readme also included in the project if you need more information.
    Additionally, there is a great getting started white paper that may be helpful for you. I've linked it below:
    Introduction to Modbus: http://www.ni.com/white-paper/7675/en/
    I hope this helps!
    Best regards,
    Anna L
    Applications Engineer
    National Instruments

  • USING AC ADAPTER WITH USB 2.0 PORT

    I recently installed a new EA6500 wireless router (AC1750).  I also bought some wireless AC USB adapters (WUSB6300). Will use of the AC USB adapters increase network speed if they have to be plugged into the USB 2.0 ports on my laptops?

    The WUSB6300 utilizes the USB 3.0 standard.  However, the adapter is backward compatible with USB 2.0 ports. The WUSB6300 could support up to 300 Mbps for 2.4 Ghz and upto 866.7 Mbps for 5 Ghz.
    Key features of Linksys Wireless-N and Wireless-AC adapters

  • Can you determine link status with USB Ethernet adapter?

    I'm wanting to replace an old G4 PowerBook with a 11" MacBookAir. I install networks, and I often need to determine link status of an Ethernet connection. With the built-in Ethernet port on most Macs, you can check the Network Status to see if there is link on an Ethernet connection (either the green or yellow status signs).
    If I am using the Apple USB Ethernet adapter, do I get similar feedback from the Network preference panel? If not, perhaps a terminal command that would do the same?

    Yes - the Network Panel under System Preferences works the same as with a regular Mac, showing USB Ethernet status (connected, disconnected, etc) and with the updated connected IP address, etc.

  • Problems using Modbus TCP accessed by NI OPC Server

    Hi there,
    i'm using NI OPC-Server to access a measurement module. The buildup is quite easy, my system with NI OPC, a modbus gate and there the module connected with RS485.
    There's a thermocouple to provide me some sample data.
    But there's the point. I know, my data is in the Holding Registers and I can access them, but every data type I'm trying doesn't bring my my data out, just any other (sometimes Huge with e34, sometimes very small like e-13...) sorts, i can't understand.
    The type provided by the module should be single precision.
    In Lookout the address used to be is 41000 in Labview it's just 999 and in the "target" OPC-Server I get some values at 401000 but not useful.
    I also get the same results accessing 301000 in different types.
    Read/Write or Read Only is equal.
    I've tried to tell my OPC that the values are Strings, Floats, Words, BCD and all other possible ways OPC offers me, but nothing results in a usable temperature.
    I hope I missed something and you could suggest it.
    Cateros
    Solved!
    Go to Solution.

    Thanks for your reply.
    in LabVIEW I'm using the provided Modbus Libraries. If I unbundle the Holding registers, my value appears at Holding Register [0], I'm type casting it to single and get the sample temperature. (Address 999->unbundle->typecast->value)
    In NI OPC, I'm reading ( [depends on zero based addressing]  300999/301000 equal to 400999/401000) an already typecasted Holding Register [1] compared to LabVIEW (and the value changes in the second or third digit behind the comma and they are changing at the same time). Data type in the tag is float.
     Another disturbing thing is even if I change in the options "using zero-based addressing in registers" my value does not change.
    If I'm reading two addresses close to each other (as you mentioned 401000-401001) I'm getting an unknown data type and no results. How do I read multiple addresses without such errors? And how do I specify a special register to read?
    Scaling should not be the problem, I am having three ways to get my value (FTP-Server on the gate (just a *.dat file with correct type), software the the module manufacturer (while measuring and configuring the module) and LabVIEW(as can be seen above)) .
    Sadly, I have not found any useable modbus documentation about the module (just it can use modbus, you have the registers, you could read/write and fine)
    When I'm adding a second couple to the module, in LabVIEW Values in Holding Register [2] and Holding Register [3] appear and are changing.
    Cateros

  • Compare transmission speed between thunderbolt gigabit and usb ethernet adapters

    As the new MBA has an accessory (Thunderbolt ethernet adapter), will its transmission speed be significantly faster than using an old USB ethernet adapter in one of the new MBA's USB ports?

    An emphatic yes. The new t-bolt adapter should be many times faster, provided all the other links in the chain support it. I mean, plugging a gigabit adapter into a 10/100 router port, or using a slow internet connection will at least partially negate the advantages.

Maybe you are looking for

  • IWeb '08 and Counters

    Hello, I have been trying to put a counter on my iWeb sites, but as we all know you can't have a counter on your site unless you pay for a ".Mac" account. Well I have an ftp site and publish to a folder, then use an ftp client to transfer it. I don't

  • Green flag: scheduled for outbound processing

    We had some network connection problem.Outcome was that in SXI_MONI ,there were some red color flags,single rectangles,green flags. Firstly i restarted red color flag,secondly i restarted single rectangles.In this way,first two issues got resolved. T

  • Installing clicky on iweb site

    Hi. I was wondering what the procedure is to install "Clicky" (analytics), to all pages of my iweb site. With Google Analytics, you can do this fairly easily with Automator. Does anyone know how to do so with Clicky? Thanks in advance

  • How to pickup multiple calls via Call Pickup

    We are currently on CUCM 8.6 and have a location where there is a Call Pickup group. When a single call comes in, they are able to pickup the call without issue from any phone in the Pickup Group. They have instances where they may have more than one

  • Separate 2 Channels in SoundInputRead.vi

    Hi , I would like to distinguish between 2 Channels that I am reading out from the SoundInputReadvi. I can see that both are read but when I draw them using a graph, it seems that they are interpolated between each other. The index in the picture sho