Ethernet Communications with a Rockwell Reliance VFD

How can I communicate with and control (read from and write to drive parameters) a Rockwell Reliance VFD (SP600 / GV6000) with their Ethernet/IP Communications Module - M/N RECOMM-ENET from Labview ?

Hi Dennis:
Ultimately I believe you will want to use VISA.  Have a look some documentation on how to use VISA with TCP/IP communication.
Hope this helps you out.
Emilie

Similar Messages

  • Ethernet communication with NI9149

    Hi everyone,
    I would like to create a rugged system by interconnecting several units by means of Ethernet for a measurement and control application. My question is if I can connect NI9149 chassis over the ethernet directly for control and communication with the modules attached to the chasis and application or is required an additional ethernet controller for each unit. The application is created in Measurement Studio. The system diagram is presented in attached file. Thanks.
    Attachments:
    Untitled.png ‏26 KB

    The 9149 gives you direct access to I/O using a technology called shared variables, which should be accessible from measurement studio. Shared variables are a peer-to-peer protocol meaning you just need to connect the 9149 to your network and you should be able to get data.
    However, shared variables are lossy and have a maximum rate -- I've seen something on the order of about 50-100 Hz update rates mentioned in various locations, although performance will be application and network specific. If you need faster performance you will have to use a FIFO (allowing you to stream data) and you will have to program the FPGA using the LabVIEW FPGA module. I believe you should be able to interface with the FPGA but it will require using the LabVIEW FPGA C interface and you must be able to call the dll from measurement studio. There may be an easier mechanism I am unaware of.
    You may also consider ethercat for your application which does require a separate real-time host but is also a faster protocol. A good comparison of options is here: http://www.ni.com/white-paper/14151/en/

  • Fast low level Ethernet communication with LabVIEW

    Hello, I want to read Ethernet packets with LabVIEW (an private protocol, not UDP or TCP or others). The hardware writes 40 000 packets per second. I want to use winPcap API to capture data. I’ve seen the example «packet_sniffer_project » (and others). It’s an great job. But the soft reads only 1 packet at each time (wrapper dll calls « pcap_next_ex » function) and I lose packets. With my computer, I read 25 000 packets per second. How can I read more than one packet at each time? (or all the Ethernet buffer) Thank You
    Micke

    Hi,
    maybe an example that I posted will help you
    http://decibel.ni.com/content/docs/DOC-11373
    cosmin 

  • Ethernet communication with E-series DAQ

    I have several DAQCard-AI-16XE-50 PCMCIA cards. I have accessed them via ethernet in the past when they were installed in network connected laptops. Are there any NI or third party products that a PCMCIA card can be pluuged into that will connect to an ethernet network so I don't have to put several laptops out in the plant? I don't want to change everything over to Fieldpoint.

    Wow, this is an amazing coincidence. I'm sure you were just about to give up hope on this idea. I'd read your post and was just talking with a friend of mine who had heard of this company, ViaSat, that produces such a device. So here's a link to the ViaSat MiniDAT. I don't know anything about it or what it's limitations are, but at least it's a start! Looks pretty nifty to me.
    Russell
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Enet IP communication with 1794-AENT module

    Has anyone had success with communicating with the Rockwell 1794-AENT/B ethernet modules?  I have one of the Flex I/O ethernet interface modules with two 8 port analog in modules connected.  I can read the 1794/AENT module information, using the ENET-I/P library, like model, version etc but nothing representing the I/O data.
    Greg
    CVC
    Kudos! Thanks!

    Adam, I am using Labview 8.6 with the EtherNet-IP library.  I have a ethernet connection to the 1749-AENT/B module and that is woring and tested.  Attached to the 1749-AENT/B interface is a 1749-IE8K 8 port analog input module.
    I am able to read the attributes from the 1794-AENT/B module using the Ethernet-I/P library's "EthernetIP CIP Get Attribute Single VI" function in Labview.  I get the name of the module, the major and minor versions, the type of module etc.  What I can’t seem to figure out is how to read the I/O data from the 1794-IE8K module attached to the 1749-AENT/B.  I'm trying to use the "EthernetIP Tag Read VI" function in the same library.  It might be that I just don’t know what the “Tag Names” are supposed to be.I’m using an Ethernet-IP “EthernetIP Tag Read VI” function from the Labview library that is wanting several variables.  The network path is the IP address of the module and I know that’s right.  Also asking for a “Tag name” and number of elements.  These two I’m not sure about, maybe one of your guys can help me with what the Tag name should be and how many elements there should be.  Also I can select the type of data out which can be an SINT, DINT, INT, BOOL, STRING, RAW or REAL.  I’m assuming INT or DINT then scale. Thanks for the help.  Greg Yotz CVC

  • My iPad is no longer communicating with my printer

    My iPad is no longer communicating with my printer. I get a message that it is contacting printer and then eventually it tells me that my printer is off line but it's not.

    First, follow these steps:
    Turn off internet modem (DSL)
    Turn off wireless router
    Turn off printer
    Turn off iPad
    WAIT THREE MINUTES BEFORE TURNING THEM ON
    Turn on previous items in the EXACT order they were turned off
    Allow Third Party Access
    After the rebooting, go into your computer or printer's network connection, and make sure that third party devices have permission to have access to the printer.
    If you're having problems after that, I deduct that the problem is not with the iPad, but with the printer itself.
    Is the printer connected to Wi-Fi? Or, is the printer directly linked to your wireless router?
    In the event that the printer IS connected to Wi-Fi, either refer to the user's manual that came with it, contact customer service, or let me know below!
    In the event that the printer IS NOT connected to Wi-Fi but to a wireless router, resort to the following steps:
    Check the (ethrnet) cable linking your printer and wireless router for any damage.
    Make sure the ethernet cable is connected.
    Check the wireless router's lights. The cable that was plugged in should have a matching light that turns on and off when plugged in, and removed.
    If the light is off, try plugging the ethernet cable into a different port. Repeat this step until a light turns on.
    If none of the port lights turn on, your wireless router is the problem.
    If the port light does turn on, a connection between the printer and router is established.
    Try to connect your device and the printer again.
    After following these steps, and it's still not working, post another comment and let me know! My life is now dedicated to helping you get your iPad and printer connected!
    -Johnjohn

  • Communication with XRAID via XRAID Admin frustration

    I have an XRAID that properly mounts and works flawlessly from a storage point of view. However, I can't seem to be able to communicate with the device via RAID Admin. I have hard reset the power (unplug for > 1hour) the RAID.
    To start the debug process, I downloaded RAID Admin onto my macbook pro and tried to find the XRAID. It worked perfectly. I can see both ethernet cards. It reports all is well with the device. I am spinning my wheels trying to find out what the difference between the two setups are.
    I tried to manually input the ip addresses of the RAID controller (that I received from my laptop. 169.xxx.xx.xx from both cards) on my xserve to establish the connection with no success.
    My xserve has a DNS without automatic client Bonjour browsing for domain enabled. My network input to my server comes from a comcast cable modem to an apple extreme then to the server.
    Any ideas to further debug are really appreciated.
    Much thanks
    darnelld

    What is the IP address of the computer your are trying to reach the 169.x machines? I'll assume you're talking about 169.254.x.x address - it must also be in the 169.254.x.x IP address range to talk to a network connection.
    Certain IP ranges are set aside as special (169.254.. is self-assigned, 192.168.. is local) and are unroutable from outside that space. If your computer is on a publicly addressable space you will not be able to establish communication with a computer in any of these special non-routable ranges.
    You either need to force a computer into the same space or make (at least) one of the network cards have a publicly reachable IP address via DHCP or whatever method you want.
    HTH,
    =Tod

  • Communication with modbus devices

    Hello All,
    My name Peter, I am currently exploring what LabVIEW has for instrument communication. I have explored a little on NI-Visa and used it for instrument communication through USB and Ethernet. My next task just now is to see how I can communicate with Modbus devices. I have done some background reading on modbus communication protocol and now have some level of understanding of what it is about. I hope to understand more as I continue to read more materials.
    I came across an NI-Tutorial  titled Connect LabVIEW to any PLC with Modbus. It is about communicating with a networked PLC using modbus. I followed all the steps described for creating Modbus master I/O Server, Binding shared variables to Modbus Address through the I/O Server and writing to Modbus Addresses in LabVIEW. On running my VI to deploy the shared variable, the following error occured.
    Can anyone please guide me on what to do because I do not know exactly what is going ON. I engaged in this excercise with the hope of getting to understand more about Modbus communication and then see how I can apply thesame idea to communicate with the Modbus device available in my Laboratory. Please note that I do not yet know much about modbus communication and I am just learning about it now. I do not have any PLC connected to the network. Could that be the reason for the error? If anyone has got any other relevant document to help me get started with modbus communication I will be happy to have them posted here.
    Thanks very much for taking time to read through my post message. Hope to hear a quick response from you.
    Regards
    Peter

    Hi SmithD,
    I would like to say thank you very much for making out time to respond to my queries. I have done as directed but still not getting result. Following the wire mode port setting configuration, I stopped the process and then selected the RS485/wire4 as the wire mode. On running the VI, an error pops up with the information that the Visa resource is Valid but the port cannot be accessed. I noticed that If I undeploy the shared bound variable the error does not pop up anymore. I concluded that maybe I was not supposed to have added the VISA configure Serial port in the first place.
    Kindly tell me what to do.
    My task is to read the holding register from a Modbus device. I have the register map with me, and know the TCP and RTU settings for this device. After the attempts I have made so far I was forced to believe that perhaps the device was not responding. I then resolved to using the QModbusMaster which was previously used to read the holding register. For reasons I don’t not know, It worked well with the TCP communication and returned an error that read " slave threw exception > unknown error". With that, I am now sure that the device is functioning properly, at least with the TCP.
    Having obtained result from the TCP using QModbusMaster application, I want to simply do the same using LabVIEW.
    Some few questions for which I would want to ask for clarification are:
    1.)  When using the Modbus Library, do I need to create both master and slave instance to be able to read the holding register? My attempt was to create a Master instance with the RTU parameters. The starting address and number of registers were specified at the input terminals of the Read Holding Register VI. This VI immediately followed the Create Master Instance VI. I was expecting that that would read the information contained in the specified registers and output it at the register value terminal. One challenge with this attempt was that with RTU it didn't work. I tried selecting TCP as the VISA resource. But the device was not showing on the list. I went to MAX to create a new VISA TCP/IP resource under the network devices but MAX could not detect the presence of the device. I am now thinking maybe the device is not supported by NI-VISA and so it will not be possible to use the Modbus Library with it.
    2.) If the device is actually not compatible with NI-VISA, can DSC I/O server be used to read the information on the holding register?
    3.) Do I need an intermediate device between a Modbus device and the PC to be able to read its holding register?
    Please if anybody has got a good suggestion as to what to do to  get my task achieved, kindly leave me a post.
    Thanks
    PETER

  • Digital Fax to Folder Setup gives error message unable to establish 2-way communication with device

    Digital Fax to Folder Setup gives error message unable to establish 2-way communication  with device. I can s end a Fax and I can print documents. I can also, now, scan to computer. I have changed the phone line twice, restarted the router, restarted the computer, and made sure the front panel was lit when setting up the Digital Fax folder. I am on a Homegroup network, with both wireles and ethernet computers.  When I view the network, it sees both computers (wireless laptop and enthernet desktop), the printer, scanner, and router (VerizonDrive). I recently had to reinstall Windows 7, where Digital Fax to Folder Setup previously worked, and now it doesn't.  The network shows up as Network 3. When I try to view the network map, I get the error message that Windows cannot create the network map. Responses from other devices on the network are delayed or there is an  incompatible router on the network.  What am I doing wrong?

    Hello @JiffyFingers and Good Afternoon
    From what you have described, and from the work you did on another thread, I believe you'd get better assistance talking to either Microsoft or your router manufacturer. With not being able to create the network map, that's something a bit more intricate than digital fax setup
    You can have a look at this Windows cannot create the network map. Responses from other devices on the network are delayed or th... Microsoft thread as well, and you may be able to figure it out from there.
    Hope that helps, have a great day!
    Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    **MissTeriLynn**
    I work on behalf of HP

  • Modbus ethernet communications problem

    We are having a lot of trouble with modbus ethernet communications. We are using Lookout 6.0.2. Communications is via a Lantronix UDP100 convertor to RS485. The protocol is MODBUS RTU. A number 6-8) instruments are daisy chained on the RS485 (2-wire) line and then connected to the Lantronix. I am using your Ethernet modbus driver.
    If all the modbus instruments are connected then the system works fairly well. However if one gets powered off or disconnected we start getting random comm fails from all the other instruments on that RS485 link. This happens even if I stop polling the dead instrument. It only goes away and the network performs perfectly if I close the modbus driver for the dead instrument.
    This behavior does not happen if we use RS485 to Lookout instead of the Lantronix+ethernet.
    Need some ideas soon.
    - VS

    Does the convertor you said support Modbus? Because Modbus serial protocol is different from Modbus TCP protocol, if the convertor doesn't support Modbus, I think it won't work.
    On the market, you can find Modbus/TCP to Modbus RTU gateway. But I'm not sure if your convertor has the same feature.
    Ryan Shi
    National Instruments

  • NI VBAI TCP Communication With Staubli CS8 Controller

    I have a Staubli CS8 controller running the VAL3 programming language. Their documentation is light but I managed to brute force the solution to controlling DIO (Digital Input/Output) commands. I am having trouble brute forcing the SIO (Serial Input/Output) commands. The Staubli appears to only be capable of being the TCP/IP communication Master. I have my laptop's IP address configured in the Staubli controller with the ethernet socket name of "test". With the NI VBAI TCP/IP communication manager set up as slave and the TCP server enabled, the Staubli controller claims it is actively communicating with the NI VBAI socket server, and status is OK. In the VAL3 programming language I believe I have correctly linked the sioLink(siotest,io:test) between the variable name and the actual hardware device port. I try to send serial text strings from the CS8 to the VBAI. But I cannot figure out where to observe the serial communication traffic in VBAI. I have it set up right now to run infinitely and check the TCP port for serial input, but don't see any results. Anyone integrate these two systems yet? I have been using both for quite some time so I'll catch on fast if someone can run me through some quick steps if they have done this before with NI and Staubli. Thanks.

    Actually the VBAI side of the communication was easy and straighforward. Plenty of help files and info on the NI support site. The Staubli side was more complex with minimal information supplied in the programming manual, and I was having trouble with that. After experimenting further I was able to transfer data between VBAI and the CS8 controller. If anyone else ever tries this here is what you need to on the Staubli side of the communication:
    Set up the ethernet socket on the teach pendant:
    Create a new socket and call it VBAI (or anything you really want)
    Set the Staubli up as the TCP communication SERVER
    Set the termination character for " ; " which is Staubli ASCII character 59 (default is ASCII character 13 which I could not generate in VBAI)
    Create the Staubli program (VAL3 language ONLY):
    Create a new program in your application
    You need to create a serial input output variable (In the data sheet add a new SIO variable, call it sioASCII or whatever you want)
    Also create a string variable (In data sheet add a new STRING variable, call it sTEXT or whatever)
    Now you must link this variable to the actual hardware socket
    Then read the socket and output the value to the teach pendant display screen like this:
    UserPage ()
    CLS ()
    sioLink ( sioASCII , io:VBAI)
    sTEXT = sioASCII
    putLn ( sTEXT )
    Run your VB Inspection on infinite loop first, then run the Staubli program and the inspection data will be displayed on the CS8 teachpendant. Yeah, it always looks to easy after you figure it out the hard way.

  • LabVIEW low level Ethernet communication, 802.3 physical layer

    I'm trying to use LabVIEW to establish communications with a Freescale
    8270 PowerPC CPU with built-in 802.3 Ethernet. The microcode on the CPU
    end supports only the 802.3 MAC/PHY layer (with CSMA/CD). We will not
    be implementing a TCP or UDP stack in the CPU code. It appears that the
    built-in LabVIEW functions communicates with Ethernet through the TCP
    and UDP stacks only, which in turn call the windows API. LabVIEW does
    not access the Ethernet 802.3 physical layer directly at all. So, there
    is a gap in the communications between the two. I do not need a lot of
    networking functionality, this is only for a simple continuity test
    (CPU sends a test message, LabVIEW displays it). Any LabVIEW code
    examples or app notes would be helpful. Thank You, Larry Junek
    ([email protected])

    See this Link where it sounds like Bim has already cracked that nut.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=206697#M206697
    Ben
    Message Edited by Ben on 09-26-2006 11:19 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Ethernet Communications Issue

    Hello list,
    I have an ethernet communications issue.
    We can communicate with our products using two communications modes, ethernet, and a proprietary CAN. For the ethernet connection, I have a router that assigns a DHCP address to the product (169.254.130.005). For the CAN connection there is a hardware ethernet to CAN adapter that has an assigned address of 169.254.130.006.
    Below is a simplified example of the code I use to talk to the product. (there is only one loop...two loops are shown. One showing the True Cases, one showing the False cases.
    So I set the I.P. address, set "Connect?" to true, and run my code for a while. I then set "Connect?" to false, change the I.P. address, and then set "Connect?" to true.
    What I have found is that the "TCP Close Connection" does not actually close the connection, and the "TCP Read" and "TCP Write" are reading and writing to BOTH I.P. addresses simultaneously! (confirmed by using Wireshark). I don't understand how this can be since I only have one TCP Write and one TCP Write, and see only one "Connection I.D." when I probe that wire.
    Am I not closing the connection properly? Do I have to kill the connection ID in Windows somehow?
    Any ideas would be appreciated.
    Thanks in advance,
    Mike
    Using Labview 8.2
    Windows XP
    Attachments:
    Ethernet Issue.JPG ‏274 KB

    Nathand,
    The code shown is a simple representation of what I'm doing.  I guess it wasn't clear.  The switch is connected to a shift register to compare the previous & current loops itterations and only opens one connection "on change" of the "Connected?" input.  (that is confirmed with Wireshark).  Also, the product tells me that I have made only one TCP/IP connection on each IP address.
    I pass the Connecion ID that is created out the right side of the loop and into the left with a shift register when the connectionis made...so the same Connection ID is used for each read/write.  What I'm not understanding is how I can see only one Connection ID on the wire but a read/write to both I.P. addresses with only one one read and one write in my code.
    Any other ideas would be appreciated.
    Thanks,
    Mike

  • Mac suddenly stopped communicating with LAN devices, but internet access still OK.

    My iMac has suddenly stopped communicating with my wireless printer and my blu-ray player (DLNA).  Both have worked well for the past 3-4 weeks since I set up a new wireless router (Cisco EA4500). 
    Troubleshooting so far:
    Printer Function: My wife's MacAir and my iPhone both print wirelessly to the printer. [OK]
    2nd Printer connected to Mac via USB. [OK]
    Blu-Ray Player Function: System is able to reach the internet (YouTube) via the wireless router. [OK]
    Mac Function:
    Internet access. [OK]
    PRAM and SMC resets: [nothing]
    Restarted "Playback" media server software for blu-ray (DLNA) server. [nothing]
    Printer Setup: I have deleted and re-added the wireless printer and reset printer system. Mac will "see" the printer on the network, but cannot communicate with it.  [nothing]
    Attempts to use Epson Utility: Connection Error
    Router Function:
    Checked Firmware.  Most recent version prior to the "Cisco Cloud" fiasco - my router did not auto-upgrade and was not involved in the most recent firmware upgrade.
    I just cannot get the Mac to see any other hardware on the local wifi network, but the mac has no problem connecting to the internet.
    Any ideas?
    Travis

    Happened to me.Drove me crazy. Turns out, iMac can fix itself.
    Go to system preferences then network and select the connection (wireless or ethernet) that you want to use.At the bottom of the box you'll find "Assist me". click that and follow the prompts. it will likely telly you that your settings are screwed up (surprise) and ask if you want to fix them or let DHCP do it. Just let DHCP do it.

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for