1766 BWAA PLC - interface Labview Act really strange

Hi all

It is a very, very odd response, I want to come.

I have an automaton of 1766-BWAA with which I am in communication via modbus.

an AIN, a DOUT and a DIN module is connected to the controller.

When I decide to the PLC using Modscan - coil status, entry status, registry entry - I am able to control the robot. Can I read/write of the coils, read AIN read module DIN modules. This is why I think that the problem might be with Labview.

but when I try to do the same thing with Labview, I get only the part right DOUT. AIN and DIN give me the strange answer. Here's the situation.

AIN module: I connected a source meter in AIN. I give the source alternately to channels 0-4. but the labview program reads the registry PLC only if I read once by using modscan. The sequence for detection of AIN in Labview is (!), concern 1V AIN0, run modscan, labview. apply 2v to AIN0, run modscan, launch labview. The current value and the previous value now appears in the labview alternately. the duration of this fluctuation is 5. (reading that I will be AINvalue to 1V, value AIN to 2V, junk, junk, junk and this cycle repeats. strangely, its iterations always 5)

Same situation with DIN. If I want the value in Labview, I read in modscan once. Its like he labview follows modscan.

It's weird. I am not able to understand why thi happening. VI that I used for the reading of the PLC is attached.

Any help will be appreciated.

Hello

The problem has been resolved with the addition of a header PMAV in vi of the request.

Kind regards.

Tags: NI Software

Similar Questions

  • interfacing labview 8.5 with Spectrum Analyzer

    can someone tell me how to interface labview 8.5 with Analyzer of spectrum... I am a beginner... .i don't know much labview

    Not to SCREAM! It's simply rude.

    There is a driver for the 2721 you have already found and downloaded. There is an example that accompanies it - help > find examples. Look under input and output equipment.

  • Connect the Direct 06 Koyo PLC to LabVIEW

    Please, help me. !!!

    I have can´t connecto Koyo PLC to LabVIEW with OPC, I can't find the tools for this PLC,

    Hi qz6y7q.

    You can find a list of drivers supported here.

    I did find that the exact name, but I found that the AutomationDirect/Koyo DirectNET DL 06 is supported. Is this the same device?

    After watching for them the 2012 OPC servers, I found that they appear only as "AutomationDirect" and its variants, but they must match the Koyo devices listed in the document.

    If your device is not listed, you can contact her directly as Bob_Schor suggested.

    Kind regards.

  • Problem isolation really strange cluster...

    We still use coherence 3.6.0 and is faced with a really strange problem with two test groups:

    Group 1 uses wka a.b.c.d:9000 and cluster name "cluster1.
    Group 2 uses wka e.f.g.h:9000 and cluster name "cluster2.

    I can using JMX and logs to see the two groups started successfully with node 1 (the only wka) using port 9000.

    A client program connects first successfully for Group 1 (using the wka cluster 1 and cluster name as shown above). Once the program complete the client program is executed this time against cluster 2 (with the help of cluster 2 wka and the name of the cluster as shown above) but this time, the connection is denied and to our complete surprise, the error message indicates the Cluster 1 wka node a.b.c.d:9000 has refused the connection and that the cluster name must be "Group 1"! We have checked and re-checked that the right combination of wka and cluster name (Group 2) is specified on the command line, the second time...

    Short of a DNS configuration problem (we are actually using the name server rather than physical IPs in the command line overrides) which would resolve two wka node names in the same physical IP address, I can't see any solution (not involving only not woodo, extraterrestrial intervention or the Bermuda triangle) to this behavior. I actually tried ping both host names and could see they've resolved in fact of different IP to eliminate this problem, unlikely but possible,...

    I understand that when specifying a unique wka for two clusters is not necessary to implement unique multicast addresses / ports (because multicasting is not used in this case) - can anyone confirm not that it is true or if it could have something to do with our problem?

    Any suggestions or ideas (in addition to the hiring of a shaman to exorcise our servers :-)) are highly appreciated...

    / Magnus

    Hi Magnus,

    Yes, there is a bug in 3.6.0 where in a WKA cluster, the cluster would continue to ping recently left members, and this would cause your problem if these members restarted and tried to join a different cluster.

    Subsequently, this has been fixed as you saw. It is of course highly recommended that you upgrade to a newer version of 3.6, but it is not possible to change the port of clients when you restart will avoid this problem.

    Thank you

    Mark
    The Oracle coherence

  • description interface LabVIEW node will not work when compiling

    Hello

    I have a vi that seeks VISA resources and focuses on their name of the interface to select that you connect to.

    I have a strange problem where, if I run the vi in labview it works fine. When the vi is compiled into an exe file, it does not work.

    I traced the problem to the property node "name of Inst Intf' which gives the description of the interface. In Labview, the node of this property returns the description of the interface, as expected.

    When I compile the vi, this node property returns empty strings.

    The station nearest you, that I could find to this kind of problem is it

    http://forums.NI.com/T5/instrument-control-GPIB-serial/why-visa-property-interface-information-inter...

    However, the exe is running as an administrator, so I don't think it's a problem with permissions.

    Any help would be greatly appreciated.

    I have no idea of what was the cause, but I uninstalled the device drivers for the hardware I used, reinstalled and then restarted the computer and now it works fine.

  • Control via RS232 interface labview DC power supply

    Hello world!

    I'm new to labview and I'm trying to control a DC power supply using a serial RS-232 (output voltage). I can't use an interface Gbspecifications TO have only a single module that is used for another task. Any advice on how to go about it in labview?

    Thank you very much!

    Find the driver for your device here: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=510F94BB50256F51E0440003BA7CCD...

    It will work for GPIB or series with VISA.

  • Interface labview with counter source keithley

    I want to know how can I interface keithley 2602 with labview. Can you please tell me the steps.

    Hi Sophie,.

    I think you can use the supplied driver. Check out these links for more information about this:

    http://www.Keithley.com/support/data?asset=51950

    http://sine.NI.com/apps/UTF8/niid_web_display.download_page?p_id_guid=0D7D57B91CB0585FE0440003BA7CCD...

    Mike

  • Operator Interface labview and teststand back the call for promotion of status sequential

    Hello

    I am looking for a solution to be able to take by the API Testand 'call sequence' status key of my teststand sequence.

    The idea is to combine, on my operator labview interface a specific indicator pour each call sequence 'important '.

    Example: an indicator to test consumers, another for power supply, an another SoftComm ex but not pour tests under

    The first solution that comes to me and inspired by what I could find on this forum is the utilistion method PostUIMessageEx en post expression for each call sequence don't I want to get the result.

    I find this solution satisfactory sector a bit heavy and a little too dependent on the test sequence she herself.

    Other solutions of would they?

    Please pour your contributions

    Hello

    In general, I get the UIMessage TraceCallback. So based on the name of the step (say consolidated test for example) I can do whatever I want since LabVIEW update my GUI without having to change the TestStand sequences.

    Kind regards

  • Convert this PLC in LabVIEW (hold pulse signal) function

    Hi, can someone help me convert this simple function PLC (Programmable Logic Controller) in LabVIEW?

    Basically, S1 is a normally open switch and S2 a normally closed switch. K1 is a contactor. Pressing S1 will trigger the switch and switch K1 will hold the value (true) until you press S2 (reset).

    Thank you.

    No worries,.

    Suggest you try to use a value from the State of the lock switch shift register.  Might look like this:

  • Interface LabVIEW Pelco Spectra HD s5320

    Good afternoon

    I have a project that I'm working, which uses an s5320 Pelco Spectra HD camera. This is an IP based camera, and I tried to use the IMAQ and IMAQdx software interface to the camera with no luck. The camera has a native web interface with Pelco software, but I would through LabVIEW interface.

    Has anyone else had any luck with this camera and integration through LabVIEW?

    Thank you

    Steven

    There are a few options that can essentially do an IP camera "looks" as if it were a USB (webcam) camera to the computer.  You can search using terms such as IP camera Skype Yahoo Messenger, etc.  When the driver is installed, the IP camera MJPEG stream is brought and listened with a layer of live Media base, which makes it compatible with IMAQdx.

  • String of DLLS in LabView in two strange characters

    Hello. I pass a string of DLLS in Labview and the result is correct, but there are two characters strange everytime "Gn".

    If the character that I spend is 'a', then the result is «a LARP»

    My DLL code is:

    void massiv_int(char *lv_ptr);

    _declspec (dllexport) void f_massiv (char hello []);

    _declspec (dllexport) void f_massiv (char hello []) {}

    char lv_str [10];
    char * lv_ptr;
    lv_ptr = & lv_str [0];

    massiv_int (lv_ptr);
    * Hello = lv_str [1];

    }

    void massiv_int(char *lv_ptr) {}

    char lv_local [10] = "abcdefg";
    memcpy (lv_ptr, lv_local, 10);
    }

    Could you tell me, what could be wrong?

    Thanks in advance.

    Try this:

    void massiv_int(char *lv_ptr);
    void massiv_int_NextLine(char *lv_ptr);

    LVSTR_API void f_massiv (char hello []) {}

    char lv_str [10];
    char * lv_ptr;
    lv_ptr = & lv_str [0];

    massiv_int (Hello);

    massiv_int (lv_ptr);
    * Hello = lv_str [1];
    }

    void massiv_int(char *lv_ptr) {}

    do lv_local as long as necessary (no extra characters)
    Char [] lv_local = "abcdefg";

    copies all of the characters in lv_local to lv_ptr
    strcpy (lv_ptr, lv_local);

    Add the following line
    massiv_int_NextLine (lv_ptr + strlen (lv_ptr));
    }

    void massiv_int_NextLine(char *lv_ptr) {}

    do lv_local as long as necessary (no extra characters, including LF)
    Char [] lv_local = "\nqwerty";

    copies all of the characters in lv_local to lv_ptr
    strcpy (lv_ptr, lv_local);

    }

    But make sure that the external string buffer allocated by LV is long enough to contain all the characters!

  • How to interface LabVIEW 64bits for cRIO

    We need LabVIEW2013/64-bit interface with a chassis cRIO (cRIO-9068). LV64bit doesn't have an interface of development for the cRIO - target cannot be imported into the project. What are our alternatives to the LV64bit interface and cRIO?

    (1) TCP/UDP,
    (2) water courses,
    (3) shared, variable
    4)...

    TCP/IP will certainly work, but are there operating at a higher level methods?

    The application of data acquisition and control at slow speed (a few s/s). LV64bit is necessary because LV32bit is not compatible with other equipment essential in our Setup: the operating system is 64-bit and the driver does not mix of application of operating system and 32-bit 64-bit support! LV32bit will be used of course for the development of cRIO.

    Tips are welcome.

    Hello heel,.

    This behavior is because the method of linking to the shared variable is not exactly the same.  The two cases are the following:

    (A) your "Block diagram" shared variables.  You use (Interactive) project-style shared variables that are just that-variables implicitly this VI through the project.  The host variable must be a valid target in the project to allow you to use this method.  This interactive method is somewhat simpler, but it has limits (have you meet).

    (B) binding to a front Terminal.  It is actually using the API of programmatic OR-PSP connection behind the scenes and uses a network path to the variable library rather than a link through the project.

    This is a little better detailed in the help topic for LabVIEW here:

    LabVIEW Help: Using Variables of e/s (time real, Windows)

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvioscanhelp/io_vars/

    See the "IO Configuration Variables" Section of the document linked above, which details the differences between the two approaches a little better. You can certainly link to a shared container hosted RIO of LabVIEW to 64-bit, you'll just have to do so explicitly using the API of the PSP.  More information on the use of these functions can be found here:

    LabVIEW Help: Reading and writing of Variables shared by program

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvconcepts/sv_usingdynvarapi/

    Hope that helps!

    Best regards

  • Satellite Pro 6100 - battery acting very strange.

    As mentioned in the title, my laptop battery is very strange.

    The symptoms are:

    When the battery is flat after only 7-10 minutes he turns not, however if the battery is removed and placed in the laptop, the laptop will start as it has never happened.
    Not only that, but the bonus after the first can indefinitely until this that loaded into an OS and immediately after starting start the laptop stops due to an apparent lack of power, when there is power always, enough to do the same thing again. Also, the battery can still start even after being just in a freezer.

    This reacondioned back to normal battery or is this safe to use battery?
    Thanks in advance!

    Hello

    I guess that your battery is old like machines of this Satellite Pro 6100 and maybe it can't be charged more. In this case, your battery should be replaced.

    But even if the battery is faulty, you should be able to use the device connected to the power adapter.
    So even if the battery is removed, you could power the unit with the mains.

  • Really strange problem with Yoga tab 3 10.1 "

    OK, up until that today ' today all was well with my new Yoga 3 tab 10.1 ". Today, he has developed a strange problem.

    The screen kept going blank and in return then and also would lose some wallpaer I had and went back to the default.

    So, as my wallpaper is all stored on the card microSD, I decided to turn off the power and remove the card.

    After plugging everything seems OK... So far, that is.

    I'm currently copy everything off the card on my PC and the test card and reformat to see if that takes care of it, and I'm going to order a new card just as a precautionary measure.

    No idea why these symptoms?

    Well, after doing a formatting FULL of the microSD card on my machine Win7 and retransfering files back to him, he seems to have solved the problem. I think that full format dealt with issues on the map.

    But, because I'm a FIRM believer in the CYA, I also ordered another card anyway. Figure better than cure.

  • Code error undefined-2147352567 interface LabView with a Baldor Flex + Drive II

    Undefined error code '-2147352567 occurred at the unknown "are not in documentation of Baldor or LabView.

    Error seems to happen when the ActiveX methods that the entries of evil, but to the best of my knowledge, they have.

    Has decided that it is possible that the axis has not been activated for all/check activate State I used a method of DriveEnable, it worked (code provided "Baldor test.vi"), the VI active / disable the drive correctly.  Documentation for Baldor does not seem to mention any other measure, you need to take apart from activation before using the movement commands.  Placing the jog command after that DriveEnable causes the error to return to the command of Jog (Baldor test2.vi ' ").  I'm trying to find out what is the cause of the problem, using MoveA, the MoveR, DoGo methods instead of Jog all produce the same error.

    Same error to the method DriveEnable when I try to run the code on a computer that the player is not currently attached to, leading me to believe it is a mistake of communication rather than a material error, as this is the first point at which the program tries to communicate with the hardware.  The player also appears fully functional, no errors in the Workbench of Baldor v5, orders work very well in this environment and controller to update to the latest firmware.

    Solved, still don't know what the error message is but I worked around it.

Maybe you are looking for

  • Battery discharge even if Portege Z830 is off

    I have a Toshiba Portege Z830-10F. I have a question and a question about the consumption of the battery while the PC is turned off. Which means that when I stop the machine, when I restart the device one day after (or during the night) my battery le

  • HP Envy 17 t-n100 (NOU68AV): adding a 2nd SSD to a HP Envy 17 t

    I installed a second (PNY CS1311 960 GB) SSD in my HP Envy 17 t, which is not always recognized.  After the initial installation, I could see in disk management, create a new simple volume and mount it as a record.  Everything worked well.  After the

  • uninstalled Kb963027 update

    I uninstalled the KB963027 update and it fixed the problem I had with collage of the word text in emails.Thanks to the genius who understood that one! There seems to be many people with the same problem.But I wonder what are the problems I might now

  • BlackBerry Smartphones helps Yahoo Messenger Blackberry 9320

    Hey I just bought my first ever Blackberry (curve 9320) and I have the Yahoo who on that application. Butwhen I write my name and my password, it cannot simply connect. It says unable to connect on this phone but my phone is connected to the wi - fi

  • Detect changes in the user interface of the page

    I have a sheet with several fields on this subject. When the user presses the button close to the sheet, I want to check if the user has made changes in this case I will display a confirmation dialog box before you close the sheet and ignoring the ch