Beckhoff EK1100 - beginner

Hello

This is my first try to use a Beckhoff EtherCat Coppler EK1100 with a PC and LabView! Sorry for my stupid Questions

I have a Beckhoff EK1100 EtherCat Coppler with 2 EL3008 module. I want to read the channel values with a Cycle time of 1 second in LabView. I use 2010SP1 to LabView and Win7. I installed the driver for EtherCat of NOR. I like to use the connection to the NET. Looks like its easiere that the Version of the Dll

In the TwinCat software, I create a new configuration for the Coppler. There, I can read the values of the channels. I also create a new task, where I have to test the object, add 2 Variables.

Now, I try to read the values in LabView. And there is my problem. Examples of Code for the Beckhoff Webside does not (sample). I changed the Port, I also change the address groups and the Offset to the values in the TwinCat software. But I still have a 'TwinCAT.Ads.AdsErrorException '.

Now, I'm trying to create a new LabView project with new material as in this tutorial ( Beckhoff EK1100 with LabView ).

I can create this configuration, but it is always offline. I enter an IP address valid, but I can't conect to the EK1100 but I can't scan unit or go online with this.

How to read these variables in LabView? I could be so complicated, but I don't know how to start. Maybe someone can give me a tip or a link to a tutorial or maybe an example of functional code.

Thx for your help

Hello

It works! I retried the example of Beckhoff. Has been a failure, as in the example, the value was 32 bit, but in my case, it's a 16 bit. So that was one of the reasons for an Exception. But the 'big' problem is, I don't know where exactly the failure was! Perhaps the address IP of the slave, or failure in the group or the Offset code. I tried different types of values, and I change some parts of the program code.

But I can read a voltage of 1 to theEL3008 Modul. Now, I'm trying to write some values and read data in the tables.

And I discovered that I have need the part in real time, because I do not have time real device. My device 'real time' is the pc.

@ Jesse_D: thanks for the help, your answer was good advice!

Arno

Tags: NI Products

Similar Questions

  • Inexplicable delay using EtherCAT

    Hello

    I use a computer configured as a LabVIEW Real-time target. The PC is connected to a Beckhoff EK1100 (with an EL1002 and an EL2004) via EtherCAT. For testing purposes, I have connected one of the EL2004 to a the EL1002 DI. Through the profile of Stimulus Editor, I have change the 0 to 1 c and connect the time needed until the target real-time indicates the change in the DI. I tried to adjust the rate of the primary control loop and the loop of 500 Hz, 1000 Hz and 2 000 Hz data acquisition (between 0.5 and 2 ms cycle time). The County of HP and LP counter remain to 0 all the time. Thus, there should not be problems of performance, right?.

    However, the time to trigger the change up to detect the change of DI is always between 12 and 20 Ms. the strange thing is that the interval is constant as long as the target in real time is under tension. After turning the PC and the new changes in the meantime.

    In addition, I don't understand why the time between the trigger and the detection is too long. About the IO-material the interval should be about 3 ms also tried to replace the LV - RT by a Beckhoff (as master EtherCAT) plc and as expected the interval was about 3 ms now I wonder what the problem could use the LV - RT EtherCAT master. Maybe it's the custom device that is required to use the EK1100? I thought that the execution of a custom device (implemented as "Inline HW Interface") takes a cycle. Am I wrong?

    Or is the LV - RT too slow EtherCAT driver? Or would it be the NIC of the target in real time? Anyone an idea what could cause the slow time interval and why the interval changes after turning the RT still works?

    Kind regards

    TTRD

    Probably because the timed loop NIVS and your LV to test are not synchronized to the engine (ethercat) analysis.

    first change your LV test and try that... If it works then go steal the implementation 'sync veristand engine analysis' from the scan engine and peripheral ethercat customized for your own custom device.

  • Third-party EtherCAT device

    Hello

    I want to use a Beckhoff EK1100 - slave EtherCAT in VeriStand. Unfortunately, I have absolutely no idea how to do that. As far as I understand that Scan Engine and EtherCAT only works for the cRIO-chassis.

    I've tried a bit with LabVIEW and am able to use the Beckhoff i/o modules in a LabVIEW vi. However, I don't know how to proceed.

    Kind regards

    TTRD

    In the meantime, I realized, what went wrong. The first error was that I just build Configuration and not the engine. The second error (screenshot from the last post) could be fixed connect via ftp to the target in real time and by removing the file/rt/or VeriStand/custom devices/Beckhoff EK1100. Now everything works fine. Oddly, my LabVIEW code wasn't the problem.

  • There is a blue box with a white padlock in the middle of my screen. Happened when I was exploring Security FF as a beginner. How it go down?

    Happened while exploring safety FF as a beginner. Don ' t know what I did but how do I get it off there?

    It occurs when you are using Firefox or any time. Because it looks like you have changed some settings on your monitor. However, try this: http://www.paulstravelpictures.com/Dell-LCD-Monitor-Flashing-Padlock-Icon/index.htm

  • How is it possible to reset the game Burble Place from beginner, intermediate or advanced?

    Hello

    My son likes to play instead of Burble games and has fairly well mastered the beginner... There are other levels (intermediate and advanced).  I tried to reset the level, but when he enters one of the Burble games after resetting the scores, it is always configured for beginner - I would have thought I could choose a new level as intermediate or advanced... but no option to be able to do this...

    any ideas?

    Thanks in advance...

    Laptop HP ENVY 17-j005tx, HP ENVY 27 - k001a, HP ProLiant MicroServer Gen8 G2020T, HP MediaSmart EX495 Server tilt, HP MediaVault 2020, HP ENVY 120 AiO Printer

    You must open the game first. Then you can select the game in the menu at the top, then press Options. Make sure you click OK.

  • Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    Hello. I'm just a beginner and I downloaded the itunes 12.3.3 update and now when I right click on a work of art albums all disappear from the track of this album. I also have problems with my get info tab. All of my info from the album crashes.

    This can help (from turingtest2):

    Fix iTunes for Windows security permissions

  • Beckhoff CX8091 works with the SCADA OPC - UA

    Anyone had any experience of working with the beckhoff CX8091. I want to know, how beckhoff CX8091 works with SCADA OPC - UA. I knew the work 3200 siemens CAP with SCADA OPC - UA, but did not find any good material for beckhoff CX8091. I'll be very grateful, if someone can help me in this regard.

    Kind regards

    Usman

    I'm not using any programming language. I only check/see that this system could be interface or not

  • [Beginner] Start button run sub vi only once

    Hi, I am very confused by what it seems, very simple task.

    I have a piece of code and I need to connect it to 'start' button that will run once when the button is pressed, run once more, if I press the button again and so on.

    I tried with 'while' loop and true/false button connected to him, but, as you know, code inside the loop runs continuously as long it is true which is incorrect, it does not stop when it should.

    I woul hold it like this: press start-> code in the block runs once and that's it, no more unsless I press the new button...

    Please advice.

    PS: I have attached the vi piece I need to connect with button. He is currently working as intended but I can't seem to make it executable with button.

    An event loop is the way to go, but since you're a beginner. This is the Basic, simple way:

    You must click with the right button and change the mechanical action of lock when you press on (or exit) to run only once.  If you set it to spend it will switch.

  • Somehow, I got an incredibly high score from 1292 to Spider Solitaire (Beginner)

    Somehow, I got an incredibly high score from 1292 to Spider Solitaire. I was playing on beginner level. Looks like a bug. What should I do?

    Hi IanCandy,

    If you think you have found a bug in a Microsoft product, please contact our Department of Support technique Microsoft to report a bug to Microsoft product.

    Hope the helps of information.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Download or unlock code? Beginner question

    Hello world

    It's a bit silly question from beginner on in-app purchases bare with me please

    Basically...

    Do you want to download content when you make a purchase or do you just unlock code? If you download content RIM hosts it similar to the file of the application bar? Or do I need to have my own downloadable content server host? (or maybe a 3rd party like scoreloop)

    So, for example, if I make a game with 50 levels and the basic version is only from 30. Can I code upwards and release all 50 in a folder bar but wrap access to 20 of these levels within some type of if statement where I check the receipts of payment?

    OR you release the game with 30 levels and then once the user makes the payment that they download the 20 extra on their phone?

    I am currently looking by making payments in application, that is why I ask. Initially I thought that you have downloaded the content (like xbox DLC) but the code example / documentation doesn't mention anything about downloading content.

    Thanks in advance

    Jason

    It's 100% up to you. If the files are large, so it may make sense to build them in the application so that the user doesn't have to wait to download.

    All downloads need to be hosted by you, the App World servers only host apps.

  • Additional help for a 'beginner '...

    Hello again people.

    I posted here a few days ago (Pls help a "beginner", November 27) and thanks to the fast response, I now correctly configured my first Aironet 1200!

    I have another five to set up (for the same site) and I am now considering how best to move forward with the whole installation...

    At least two of the year 1200 additional will be within reach of the first 'root' 1200 radio. Now should I set these two repeaters or other devices of "root"? The other three year 1200 will not within the reach of the original radio 'root', but will be in the range of the other year 1200.

    A "Repeater" can talk to one another "Repeater" who will then speak of a "root"? (i.e., a "bucket brigade"line...) or a "Repeater" cannot speak of a "root"?

    If a device (in this case an HP IPAQ) is within the scope of two or more AP radio, what happens? The device isn't get AP giving the signal stronger, or try to PA to meet the aircraft and then interference?

    What happens if I install a Repeater between two "roots" - is a good idea?

    The installation is located in a large greenhouse (with lots of steel framework) - all AP will be in "line of sight" of the other. I have a 12dB gain for each 1200 antenna Cisco.

    The first 1200 I put in place is easily giving coverage to about 1/3 of the greenhouse with the signal strength is very good, so the five additional AP should flood the site with RF - it of a bad habit of having too many AP in a given area or would it be OK but just exaggerated?

    Sorry to ask for several basic questions, but I need to learn very quickly what I may or may not do with the 1200...

    You can copy the config (as model) of work 1200 and copy it into the remaining units.

    Once loaded, you do not want to change the IP address, and probably the channel assignment.

    If you use it for 802.11 g, the three non-intervention (for US) channels are 1, 6, and 11. If you use what in-between within range of a unit using channels 1, 6 or 11, while the unit will interfere with the channels on each side (example: using channel 8 will interfere with channels 6 and 11).

    Using antennas of 12db everywhere is probably not a good idea from a security point of view and all two units foresee each other on the same channels (or intermediate channel) will intervene and (at least) to slow things down.

    It is a case where a good site (as in most cases) survey will give you a better idea on how to cover your area.

    For example, you want a good omnidirectional antenna in the middle of the building, with semi directional antennas (as a branch of "patch") on the units located near the corners pointing inward.

    By reducing the scope of the coverage (the cover of the antenna model), you can prevent the units to interfere between them and allow you to use three clear channels and maximize you a wireless speed and coverage.

    Using a Repeater will reduce your rate by a little more than half; the Repeater works using the ' store & before "... it can transmit and receive at the same time. In general, use of a Repeater should be reserved for situations 'must use '. Repeaters chained is a bad design.

    If a single point of access covers 1/3 of the area, probably don't need a Repeater.

    Another possibility is to define one or more APs to act as units of 'rescue' (only function after a failure of its neighbour unit).

    If there is a wired LAN APs all connected to, then you can set up a wireless domain who will / can improve your traveling passage (the APs talk to each other to coordinate the transfer).

    Poster of the remaining issues and we will try to fill in the blanks for you.

    Good luck

    Scott

  • Sample application blackberry for beginner developers

    I noticed from time to time on this forum there are beginner developers, ask for help on the HelloWorld sample standards application.

    I wrote a simple blackberry application and attached it to this message.

    This application is well commented.

    When compiled, find the icon of the application on the device (see launch.png below) and run it.

    If you run this example on Simulator Bold or Storm - find this request the download folder (see the animated below image: bold_fr.gif)

    On my site there is no section for novice developers, Simon. There are no articles for novice developers.

    And in this case, I think for beginners, it would be better and easier to find here, in the section "Java development" of this forum.

  • Setup VLAN SG300-52 beginner

    Hello world

    I appreciate, it's a very beginner question and there may be a few facepalms is going to happen, but I could do with help.
    We just bought a SG300-51 switch to enable our businesses to grow. I'm trying to set up 2 VLANS (1 containing a router, the second comes from my pc at the moment so I have test).

    • VLAN 1 (the default) works obviously fine with access to the internet.
    • VLAN 2 (which is the vlan id 10) doesn't have access to the internet.

    For note, our router is run so I have no control over that.

    So for now 1-2 Ports are on the vlan 1 under Access. Port 3 is in vlan 2 access. I changed the 3 to the trunk port, but nothing helped. All traffic is marked as not signposted on all ports.

    IP addresses assigned on the vlan 1 are allocated from the router from 192.168.1.1 to x.x.1.254 (the router is 254). The switch for the vlan 1 is at 192.168.1.1.
    Assigned IP address in vlan 2 (by aboard dhcp on the switch) are 10.0.10.1 - 10.0.10.254 (the 10.0.10.1 switch setting).

    I have an IPv4 static route from: 0.0.0.0 to 192.168.1.254.

    Now, I don't know I'm missing something fundamental and I read through the article furiously to try to discover what is happening, if someone could help and point me in the right direction, I would be very grateful.

    Thanks in advance.

    I could be wrong, but I think it should already be in mode L3 because it appears that he has been able to assign addresses IP interface VLAN 1 and 10.

    If your PC is plugged IG3 access vlan 10 then you should use 10.0.10.1 as your default gateway and you need a way back to 10.0.10.0/24 via 192.168.1.1 in your router/firewall

  • Beginner question: 2nd hand pc, windows 7 compatible. You need to install windows 7 from scratch. Help

    I have a second hand diskless pc and I am wanting to put windows 7 on it. I'm also a complete beginner, where can I get help on this?

    Also, I have a copy of windows 7, can I use the code on the side of the pc?

    I have a second hand diskless pc and I am wanting to put windows 7 on it. I'm also a complete beginner, where can I get help on this?

    Also, I have a copy of windows 7, can I use the code on the side of the pc?

    You can't use the code on the side of the computer to activate your copy of Windows 7, it is no longer valid for the edition/version listed on the machine. Unless it's the same edition as you have on the disk.

    * 1 gigahertz (GHz) or faster 32-bit (x 86) or 64-bit (x 64) processor

    * 1 gigabyte (GB) of RAM (32-bit) or 2 GB RAM (64-bit)

    * 16 GB of disk space available (32-bit) or 20 GB (64-bit)

    * Peripheral figure DirectX 9 with WDDM 1.0 or higher driver

    Windows 7 system requirements
    http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements

    ------------------------------------

    You can perform an installation without a Windows 7 key and see if it will work or attempt to reinstall the version of Windows that is listed on the certificate of authenticity.

    Boot from the Windows 7 DVD

    To learn how to change your BIOS options to boot from the DVD drive, the following tutorial:

    http://notebooks.com/2011/05/05/How-to-load-BIOS-and-change-boot-configuration/

    Click Install now

    Accept the license agreement

    When the option is displayed to select a type of installation, click (Custom advanced)

    Click on drive Options

    Select the disc/s click on Delete

    Click new

    Click on apply

    Click OK

    Click Format, and then click next to proceed with the installation

    Skip entering your product key Windows 7 and complete the installation.

    ----------------------

    Resources:

    Reinstall Windows XP:

    Install,reinstall, or uninstall Windows - help & How-to ...

    Reinstall Windows Vista: installation and relocation of Windows Vista

    Reinstall Windows 7:

    http://Windows.Microsoft.com/en-us/Windows7/installing-and-reinstalling-Windows-7

  • How can I change level games from beginner to intermediate Internet games - sting? Game keeps returning to the beginner when I press on enter.

    No matter how many times, I'm trying to upgrade the level of play that soon I push enter again game, it comes down to benner

    The solution was to choose the play button just after connecting with a new game and choose change level.  The message is that microsoft will look for a set of intermediate level available the next time that you click the game Spades to play.  / i do not know if he did the very next time, but it certainly made the second time.  Beginner level will not change on the initial graphics, but when I choose intermediate, I can see correct statistics for intermediate level AND although the level remains at the beginner when I go to play another game, the level I play is intermediate.

Maybe you are looking for