Ethernet communicat​ion to NU-EP1 laser sensor controller

We are starting development of a new ATE. I already have a Keyence NU-EP1 controller (http://www.keyence.com/products/sensor/network-com​munication/nu/models/nu-ep1/index.jsp) for 2 laser sensors. It communicates to the PC via Ethernet. I am wondering if I would be able to communicate to this device via a LabVIEW program using VISA functions, since this device does not come with a LabVIEW driver. Or would I have to get the Ethernet/IP Driver, or is this driver included in my LabVIEW full development package? Thank you for the information.

Sorry to take so long to reply, but I noticed when I tried the Ethernet/IP examples (I am trying the ethernet/IP trial for the driver first) it appeared data was successfully being sent to the device. The sensor controller (NU-EP1) has 4 LED lights as indicators for what is going on with the unit. One of the LED's indicated that data was being seen at the devices end, but then there was an LED to show an error that the EDS file for the ethernet/IP communication to PC was not on the PC. 
Is there a way to import an EDS file for the controller device, to the PC through LabVIEW (maybe in MAX?) so that the PC can recognize the device? I was playing around with EtherCAT and noticed you can upload an XML in a project for that type of communication. Is there something similiar for an EDS file for ethernet/IP in this instance?
Thanks!
Kelsi

Similar Messages

  • How to implement Modbus Ethernet communicat​ion in Lookout, if we want to simulate the PC as PLC ?

    Problem Description :
    Dear Sir,
    We are doing a project where we are using Lookout with
    Front end Modicon PLC. The communication is by
    Ethernet, using Modbus.
    Since the installation is at a distant place, we wanted
    to use another PC (running Lookout) to simulate the
    PLC. For this, we tried to communicate
    a: the server Lookout PC running Modbus Ethernet mode of
    Modbus object as Master
    b: with another PC (for simulating the PLC) running
    Modbus Slave
    We did not get any communication. (we have given the
    details of what we have done, at the end of this email)
    We also tried connecting the above 2 PC's as
    a: the server Lookout PC running Modbus Serial mode of
    Modbus object as Master
    b: with another PC (for simulating the PLC) running
    Modbus Slave object
    Again we did not get any communication.
    If instead of PC (b) we connect the Modbus simulator to
    PC (a), there is no problem in communicating
    Please let us know how to go about establishing the
    communication between 2 PC's using Modbus serial,
    and Modbus Ethernet. A detailed step by step procedure
    would help us a lot.
    Thanking you
    Warm Regards
    Raja Mahbubani
    Procedure of our trial with ethernet.
    This is what we have done in detail.
    On PC A:
    We created an object (Pot) and connected it to
    the modbus data member of the modbus object say 40001. In the
    properties of the modbus object we selected modbus ethernet mode
    of communication and in the IP address field we wrote the IP
    address of the machine B to which we are trying to communicate
    i.e. 152.63.50.2.
    On PC B: we tried the following two methods
    Trial 1 : We created a modbus slave object and
    inserted an expression for the same data memeber to which the
    object was connected hoping to get the value of the pot of machine
    A on machine B.
    Trial 2 : We created a modbus object on machine B and we wrote
    the IP address of machine A and inserted an expression for the
    same datamemeber to which the object was connected hoping to get
    the value of the pot of machine A on machine B.
    NI Software : Lookout
    Version : 4.0.1 or 4.5
    OS : Windows 98
    NI Hardware : N/A
    Drivers : N/A
    Other Hardware/Instruments : N/A
    CPU : Pentium
    RAM : 64
    Vendor : S-Tech
    Customer Information :
    Raja Mahbubani
    Theta Controls
    IN
    [email protected]
    Ph: (+91) 20 4222556/7

    The ModbusSlave which comes with Lookout currently supports only Serial communication. So, you cannot use Ethernet between your two PCs. At least not with Modbus Master-Slave setup (if you must speak Ethernet between the two PCs, IPASCII object lets you do that, but then you'll need to implement your own protocol).
    Since all you want to do is simulate a Modbus PLC on a PC, you can use the Serial mode of communication for now. And later on just modify the Object in your Server Lookout to use the Ethernet mode.
    For setting up a Serial Modbus Slave, use a null-modem cable between the two PCs (lines 2 and 3 are swapped). On your PC 'B,' create the Modbus Slave object with the right COM port for that PC. And on your PC 'A' create the regular Modbus Object as if you w
    ere connecting to the Modbus Simulator box. The only difference here is the cable. The simulator box uses a straight-through cable whereas the Slave needs a null-modem cable.
    Hope this helps.
    Rgds,
    Khalid

  • I need help with Modbus Ethernet communicat​ion

    I try to communicate with a Modbus RTU controller with a MOXA Ethernet to RS232 converter. I use DSC module to create a modbus Ethernet driver, and create a list of shared
    variables that are bound to individual addresses in the modbus register.
    I have tried for a long time to make this communication stable, but I lose communication after a couple of hours..
    I read hex values from the controller registers, and they normally is from 100 to 140 depends.. But after a while some of my
    registers drop to zero, and others up to 65408 for instance..  and some digital values hang..
    When I restart my vi, it works again for some hours..
    Maybe it is a communication problem true Ethernet, because I have tested shared variables in other ways, and it works fine..
    I want to know if there is any specific rules how to put up a good way to communicate with my modbus driver true Ethernet.. I have enclosed one of the examples that I tried, and I have also tried to read values directly into while loops, but I lose communication after a while
    Anybody…  please I need help. I would be happy to see a good and stabile way to put up a communication example.. 
    I also tried some of the modbus examples, but I didn't manage it to work.. I use one master controller and one slave, and I use ID 32 for
    the master and ID 01 for the slave..
    Thanks..
    Very best regards from..
    Benji..
    Attachments:
    test37.vi ‏83 KB

    Hi.. and thank's for your answer..
    Yes, I have downloaded and tried the modbus lib before, and it works, but I have to rebuild it to make it work good for my system..
    Maybe that is the way to go..  But I also thought that when I have DSC installed, it would be easier to use that one..
    In the mean time I've did some test's and, I see that the problem maybe is in my modbus gateway..
    Anyhow.. thank's for your answer...
    Regards from Benji..

  • I am new to the ethernet communicat​ion using labview. I do not have any hardware. I have two laptop i need to send and recieve the data via these 2 laptop using labview. Kindly help me on this.

    i am new to the ethernet communication using labview. I do not have any hardware. I have two laptop i need to send and recieve the data via these 2 laptop using labview. Kindly help me on this.
    Solved!
    Go to Solution.

    Hi thanks for the help.
    Actually i am trying to send 10 sine signals from server pc to client pc. So i will bundle 10 signals in server pc and send it and in client pc i am unbundling it and need to save in TDMS format.
    Till unbundling i was able to do. TDMS format it is saving only last value. I need to save all the values. Kindly help me on same. I am attaching both the VI.
    Attachments:
    Client.vi ‏62 KB
    Server.vi ‏252 KB

  • Got a MacBook with 10.5.8  I am anable to burn cds, dvds, and dl dvds.  Everything worked before I reformatted my computer but now it comes up with error messages like unable to communicate or something about the laser power levels.  Help! Anyway to check

    Got a MacBook with 10.5.8  I am anable to burn cds, dvds, and dl dvds.  Everything worked before I reformatted my computer but now it comes up with error messages like unable to communicate or something about the laser power levels.  Help! Anyway to check to see what is going on?

    Hi I am having the identical problem with my 24" intel iMac 2007..... Did you ever figure out what the problem was? I'm on round 3 now and with a completely blank grey screen and it won't start up from the disk 1.. I also have diskwarrior and techtool pro as well as the osx leopard and snow leopard disk... The HD is new.. Replaced by apple 3 months ago.. Don't know the cause the first time this happened about 9 months ago.. 2nd time, 6 months ago it never rebooted from the office for mac 2008 critical update... Did a clean install after backing up to TC... Took it to apple replaced HD even though it appeared ok, they checked all hardware and I ran techtool pro daily ever since. Last week software update had several updates avail. Office for mac being one of them.. I updated and have never booted since.. . I swear to never ever use another Microsoft product as long as I live if I can just fix this once more... Help me please

  • Laser Sensor Voltage Does Not Settle At Zero

    Hello wise ladies and (mostly) gentlemen. Have a problem for you that has got me quite frustrated.
    My current setup:
    Wenglor Reflex Laser Sensor: http://www.wenglor.com/index.php?id=346&L=0%27&tx_wsproductlister_pi1%5BArtikelNR%5D=YR24PCT2&tx_wsp...
    SCC-A10
    SC-2345
    DAQ 6036E
    Labview (can't remember what version).
    The sensor is connected to a 24V power supply, with the output of the sensor to the positive terminal of the SCC-A10, and the neutral of the power supply to negative terminal. Theoretically, (I measured these voltages with a multimeter) it jumps from around 23.2V to 0V, depending on if it is in NO (Normally Open) or NC mode. When everything above is hooked up, and my VI running, I get the output of the sensor going crazy when it is supposed to be sitting at 0V. The 23.2V side of things is fine however.
    The left side of the graph is for output of 23.2V, right side is the theoretical zero. But instead it seems to be going crazy between 2.32V and -1.5V (SCC-A10 is a voltage divider by 10). WHY??????
    Block diagram of VI:
    Input mode is referenced single ended, sensor range is -10 to 10 V. Connected on ACH6 or 14.
    HELP PLEASE!!

    So finally managed to get the resistors and get everything setup. When I attached the positive terminal through the resistor to ground, I didn't actually get any change. Still looked like the above graph. I of course said, well lets try the other way. This worked better with the 10k resistor now going from the neutral (negative) terminal to ground, but the signal (when it was supposed to be zero) would float around 0.5 by +- 0.3. Would connecting both to ground fix this? The sensor is NC, so all I really need to see is the delta, but it would be nice if the open case sat at a constant voltage.
    Turns out my sensor is not sensitive enough for what I want it to do, so waiting on getting another one sent to me...will have the same setup once it gets here however.
    Thanks for all the help so far, has gotten me farther than the hammer approach would have.

  • VISA: Communicate​ion with "imar sensor " via serial port[

    Hello
    I have problem in communication. I have one sensor imar sensor that can be easily communicate in Hyperlink but if I send same command for example "show conf" it doesn't responses It is connected with rs232 in com port 1.  it will be nice if you give me some suggestion thanking you
    regards
    Solved!
    Go to Solution.

    Yeah I can't open that (needs to be 2010 or earlier - see my first post)
    Is 57600 baud rate the one specified in the manual for your device? This needs to be absolutely correct for the serial communications to work properly.
    "If anyone needs me, I'll be in the Angry Dome!"

  • Communicat​ion ethernet crio avec un modem wireless

    Bonjour,
    je souhaite envoyer des données sur un server FTP via un modem 3G connecté par câble ethernet sur mon compactRIO.
    Le problème est que je suis débutante dans la programmation labview et que je n'ai aucune idée comment réaliser cette fonction.
    J'ai paramétré le modem et le cRIO avec une IP fixe dans une même plage pour qu'il puisse discuter ensemble.
    J'ai recherché des exemples sur NI pour m'orienter dans une direction de programmation, mais je n'ai rien trouvé.
    Si quelqu'un pouvait m'aider..
    Cordialement,
    Julie

    Merci d'avoir épondu si vite.
    Je ne sais pas faire du FTP filaire, pour l'instant j'essais de voir comment fonctionne les VI FTP sur labview, mais j'ai beaucoup de difficultée à avoir un résultat.
    Je n'utilise pas le toolkit NI FTP, devrais je?
    Pour ma connexion 3G j'utilise un modem de chez Sierra Wireless le raven Xe connecté en ethernet sur le cRIO.
    Les paramètres que j'ai configuré sont les suivant:
    cRIO: port ethernet 1: IP 192.168.13.102
             masque de sous réseau: 255.255.255.0
             port ethernet 2: IP 192.168.13.104
             masque de sous réseau: 255.255.255.0
    mon ordinateur : IP 192.168.13.101
    masque de sous réseau: 255.255.255.0
    et le modem IP 192.168.13.102
    masque de sous réseau: 255.255.255.0
    Merci beaucoup pour votre aide
    Julie

  • Using existing c code for usb-hid communicat​ion in labview

    Hello,
    I want to write a simple temperatrue logger using labview and a external hardware which communicates over usb-hid. The external hardware uses an ATMEL 90USB162 µC and DS18B20 sensors.
    Link to the hardware:
    http://www.diamex.de/dxshop/USB-Temperatur-Sensor-​Tester-fuer-DS18B20
    The source of a a simple command line tool is available (see attachement), which reads out the temperature value of the connected sensors.
    Is it possible to include this c-code in the labview application to simplify the communication?
    Thanks a lot and best regards,
    Michael
    Solved!
    Go to Solution.
    Attachments:
    CMDLINE.zip ‏17 KB

    I'm not that experienced at this personally (in terms of compiling C code into DLLs), but I believe the process you need to go down to call your C code in LabVIEW is to compile the C code into a DLL which you can then call from LabVIEW using a Call Library Function node (or you can try to use the "Import Shared Library" wizard to automatically generate SubVIs).
    There's more information here:
    http://digital.ni.com/public.nsf/allkb/DCB90714981​A1F148625731E00797C33
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Help with HID communicat​ion

    Hi can anyone help with this. Iam new to labview. I have recently purchased a transmitter for an oxygen sensor. this transmitter appears to connect to my PC as a HID device. Iam having difficulty gaining any information from the manufacturer up to now apart from that in the instruction manual it says that real time data is streamed via the USB. can you give me any advice on how to initially connect to the device and read what ever data is being streamed ?

    Hi
    I finally recieved some communication information from the manufacturer of the transmitter (previous version though) i am trying to communicate with. just a little bit limited in my opinion. And confusing to me. Could you point me in the right direction if that is at all possible. I have attached the information.
    Thankyou.
    Attachments:
    USB Port Communications.doc ‏51 KB

  • RS232 communicat​ion with cDAQ

    Hello,
    I am about to commence a project which will require my LabVIEW application to communicate with an RS232 device.  I am planning on using an Ethernet 4-slot Compact DAQ module, but can't see a way to connect through.
    Is this possible? Is there a C-Series module I can buy for RS232 comms?
    Dave 

    So you mention you have a ethernet cDAQ.  Would it then be possible to add an ethernet switch, and a Ethernet to Serial device?  I have never used one but it appears that a quick google search finds lots of modules that can take ethernet from an RJ45 and convert it to RS232 in a DB9.  Here are a few links.
    http://www.perle.com/products/RS232-to-Ethernet.sh​tml
    http://www.lantronix.com/device-networking/embedde​d-device-servers/xport.html
    http://www.bb-elec.com/Products/Ethernet-Serial-Se​rvers-Gateways/Ethernet-Serial-Device-Servers.aspx
    http://www.digi.com/products/faceted?keywords=prod​ucts/serialservers/
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Serial Communicat​ions with Allen Bradley PLC 2.30

    Does any one know the required pin outs for the serial cable from the PC com port to the Allen Bradley 1771-KG card or directly to the Allen Bradley processor? Any samples on writing TAGs to the registers?
    Roy L. Costa
    Email: [email protected]
    Catalyst Test Engineer
    General Motors Warren Tech Center (R & D)

    Hello Chad
    Thanks for the pin out information. I tried that pin out configuration Monday and it did not work. I am pasting a copy of a communication with Allen Bradley in this comment box as well as a communication with another programmer that commented in here as well. Please read it and let me know what you think. Thanks again Chad.
    Roy
    Everything works well, from the LPD OPC Server to creating TAGS..to using the HMI wizard on the front panel,...but there is no communication with my hardware. An NI Application Engineer came by yesterday and we concluded that this was a hardware ware communication problem. I talked with an Automation Engineer in Austin yesterday and he told me to try RSLinx and see if I could get it to communicate with the hardware. I like that HMI wizard, it is pretty cool! I am pasting a copy of an email I sent to Allen Bradley so you can see a little bit more information about my hardware. thanks for your help again Khalid.
    {{{I am having much difficulty in communicating to my PLC 2 communication port or through my RS-232 port on my 1771-KG card. I am using a serial (null modem) cable on com port 1 on my PC. I have Win98 operating system. I am using LabView Datalogging and Supervisory control (Lookout) software to create several HMI?s. Can you please give me the pinouts that I need to communicate with the processor port on the PLC and or the 1771-KG card? Please contact me as soon as possible for I really need to get this to communicate so I can get started on this HMI upgrade. We are using PanelMates as HMI?s, but they are 13 years old and are failing frequently as well as being obsolete. At the present time I am creating new HMI?s but we are planning to do one fuel processing line at a time and replacing the PLC 2.3 with PLC-5 and then we can use the Ethernet module. Please call me at 313-972-4635 I do not have my own email at work so you will need to email any communications to my supervisor Fred Jacobsen he then will pass it on to me. Email: [email protected] If you have something you can fax me, here is the fax number: 313-871-2835
    Roy L. Costa
    Email: [email protected]
    Catalyst Test Engineer
    General Motors Warren Tech Center (R & D)

  • Communicat​ion failure

    My printer used to print properly until 15 days ago. Now everytime i try to print something I get the error message "
    Communication Failure: The computer is no longer able to communicate with your printer. Turn the printer off, check your printer connections and check for printer errors, and turn the printer back on.
    Paused."
    I tried everything follwing the same steps I found in the support comunity regarding the same error but no success! Please help!

    Hi Renata1974,
    Welcome to the HP Forums!
    I understand that you are getting a communication failure with your printer, and I am happy to help you with this communication issue!
    For further assistance, I will need to know:
    The Product/Model Number of your printer. Follow instructions in this link. Finding Your HP Product Model Number.
    If you are using a Windows or Mac Operating System. To find the exact version, visit this link. Whatsmyos.
    If the printer is connected, Wireless, Ethernet, or USB.
    If the printer is able to make copies by itself.
    If the power cable plugged into a surge protector, or directly to the wall outlet. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well.
    In the meantime, if you ar eusing Windows, please try our HP Print and Scan Doctor, and let me know what happens.
    Hope to hear from you, and have a great day!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Problem with TCP/IP communicat​ion: error ni-448 when I want to write on a TCP/IP-con​nection

    Hi folks
    I have a really annoying problem: I want a computer (Win XP, Ethernet board, Labview 7.1) to communicate with my robot controller (Win 2k, Epson SPEL+ language). The robot controller is the client, the LabViewPC the server. now reading messages sent by the robot controller are no problem to read. But when I want to send messages from the LabViewPC to the robot controller I get an error message: error ni-448, make sure that the GBIP-controller is the primary controller.
    For the communication I open a TCP-listener and a TCP wait listener in a while loop. So far this works. Then I use the TCP-write function to send a string to the robot controller. Here the error described above occurs. So the communication doesn´t work.
    Can anybody help me?
    Please. Thank you in advance!

    hi there,
    are there several network adapters on your host? if so pass the IP of the network adapter to the "TCP listen.vi". i'm not sure but i think i remember that in former versions this had no effect. then you could use "TCP Listen.vi" on your slave and "TCP Open Connection" function on your host.
    you can use the "Simple Data Server" and "Simple Data Client" examples for a quick test.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • CompactRIO CAN communicat​​ion in custom Driver VI generated by SIT

    Hello,
    For my application I need to use the compactRIO to communicate with a .dll generated from a simulink model with real time workshop, read and wrtie CAN message and read the second ethernet port. I am using a compactRIO running VxWorks (9025 RT controller and 9116 FPGA).
    The communication with the model is ok. Now my problem is for adding the CAN communication in the Base rate loop  of the Driver VI generated by the SIT connection manager.
    I have tried different configuration of the FPGA VI but I always have the same problem.
    The first time the compactRIO is powered up, the writing on the CAN bus is done correctly and the reading seams to miss some messages.
    Then a stop using the stop button from the model control of the front panel of the HOST vi.
    Then I  run again this VI (without restarting the compactRIO) and in that case nothing is written on the CAN bus but the reading is correct. I cannot find where is the mistake. Maybe it is in the FPGA VI but I don't see what I am doing wrong.
    I have tried to change the priority of the timed loop but that has no effect. I put my complete project in attachement.
    Thanks for your help.
    Attachments:
    NI support NET.zip ‏1559 KB

    Hi !
    It's the french forum !
    Link to english forum : http://forums.ni.com/t5/LabVIEW/bd-p/170
    Benjamin

Maybe you are looking for

  • How do you close updated apps from apple store

    HI I have just upgraded to ISO7 and was wondering how do I clear any apps that I have upgraded through the Apple Store. Many thanks Steve

  • ABAP OO: methods as method params, method chains

    Hello all, I am currently developing quite much ABAP OO and wonder if this is possible, because I got compilation errors. a) Methods as method params w/o temp vars: I have a method whose parameter shall be the return value (let s say a string) shall

  • Spotlight not showing web results

    not showing web results

  • LR4 Windows OS requirement

    Hi, I just downloaded Lightroom 4 and tried to install it on my OS Windows XP Version 5.1 with Service Pak 3. The installation error message states that OS Vista is required. Are OS Vista and 7 the only OS's that will work on a PC?

  • Oracle Webcenter Portal and UCM Problem

    hi, I'm using both applications but it seems UCM always ask authentication before viewing the checked in files to webcenter portal. How can I view the files checked in to UCM through webcenter without UCM authentication??????????I set the files secur