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:

Tags: NI Software

Similar Questions

  • How to convert the pulse signal line single layer

    Hello

    I tried to create a VI that will allow me to convert a pulse signal (generated by a tachometer) in a line single layer, indicating that a revolution succeeded. I would like to overlay this line on other signals generated.

    I am able to detect the falling edge of the signal, but I could not make a suitable line. I tried to create a new waveform, and juggle the markers, but no method worked for me.

    Does anyone have ideas for a good way to do this?

    Below is my test VI.

    Make the second vertical lines style trace (trace style: no points, no interpolation, fill - inf). a NaN whener you don't want a power cable and a '+ inf' when you want a vertical line.

    Here's a simple example:

  • Can I get this program converted to readable in Labview 2010?

    Can I get the programs following, converted in readable in Labview 2010? I think the real files are in Labview 2013!

    Thank you

    http://forums.NI.com/T5/version-conversion/BD-p/VersionConversion

  • How to convert data from XY graph for type ' signal in "for measurement functions

    Hi all, I have a driver file that generates the screenshot XY graph.  I want to measure the period, using the measurement functions in the LabVIEW palette.  Can someone tell me how to convert this type of signal "in".  The X (time) and Y (power) are all there, but it causes an error when I son together?

    Please see my attached code.

    Thank you

    Its ok people, I found a solution.  See attached FYI.

  • I need to convert programs written in Labview 8.5 in Labview 2012 when I want to run these programs in 2012 of Labview VI?

    I have VI moreover written in Labview 8.5. These programs can work well in labview 8.5.  Should I convert these programs VI Labview 2012 when I want to run these programs in 2012 of Labview? Thank you.

    LabVIEW 2012 can open the screw of from 6.0.  But if you save them in 2012, you need to perform a "save for precedent" to get back them to 8.5.

    This resource may be useful:http://www.ni.com/white-paper/8387/en

  • Convert Matlab FFT FFT LabVIEW

    Hello

    Nice day! Can someone here help me convert this Matlab LabVIEW code.

    fftdata = abs (fft (data, 32768))

    size of the data is the matrix of 1151 X 41. fftdata after the execution will be matrix 32768 X 41. I tried using FFT vi but I only got 1151 X 41.

    Can someone help me and explain why?

    Thank you...

    Have you tried?  The length must be equal to n.

  • 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.

  • How to convert java ' instanceof' to Labview?

    Dear Sir

    I would use a comparison function that is 'instanceof' in java, but I don't know how to get a similar function in labview OOP (I know normal type, but for the classes that I don't know). In my project, I have 2 classes, one is the parent (Parent) class and the other is the class of the child (child) which extends the class parent. I would like to convert this java code in labview:

    Parent p1 = new Parent();
    if  (child instanceof p1)
    do something;

    Thank you

    mnemo15

    If you want to only check, you can use CFRP, but if you also want to use screws of child1, you need to use TMSC.

  • Edit event managed by this case in LabVIEW 2013 does not show the specifiers of the event, Event Sources and events on screen resolution 800 x 600

    Edit event managed by this case in LabVIEW 2013 shows not specifiers of the event, Event Sources and events on screen resolution 800 x 600.

    As far as I know, the list of supported resolutions is determined solely by the graphics card. It is possible that one used by the PC supports only 800 x 600 as maximum resolution, even if you plug an external monitor.

    Like Dennis suggested, the recommended option would probably be to develop on another PC and only deploy an executable for the industrial PC. That's what we do with our systems (although not because of this problem, but because it makes sense. There absolutely no need to have the IDE installed in most of our systems).

    Other options:

    1. See if you can get an update of the driver from the manufacturer to solve this problem.
    2. Plug a USB Monitor with its own driver.
    3. Try to hide the taskbar and make the smaller title bar in the hope that the bug manifests.
    4. Try remote access in the PC. I think that some remote access programs allow you to specify custom resolutions that are not affected by the original drivers. Remote Desktop seems to be a likely this option even if it has been awhile since I've used it.
    5. Check the BIOS. I saw at least one industrial PC where there was some settings in the BIOS to control the resolution, but I don't remember the details, and it was quite limited. I think that in this case, you can change the resolution, but then the image does not fill the entire screen.
  • Please convert my file to labview 8.5 labview 8.2

    Hi, can someone please convert my file to labview 8.5 labview 8.2 & it get back to me. I'll be very obliged.
    Thanx

    You can go there.

    If you use it, it takes a lot of work that local variables are abused.  There are while loops that run only once without reason. And serial ports being reconfiguration on each iteration of the loop.

  • "Languages: language ' not supported in this version of labview

    Hello

    I'm changing with the labels on the front of my vi, depends on which version of the language of the environment LabVIEW Runtime was installed.

    To check which language I'm currently using, I tried the 'VI' type property node class "languages: Current Language. When running, I was told that LabVIEW does not support this...

    Is it because I'm using LabVIEW Base or am I missing something?

    Cheers, Alec

    alecjcook wrote:

    Yes, that would do the trick. How to integrate this control with labview?

    Cheers, Alec

    Call function from Kernel32.dll:

    Take a note that LabVIEW is non-Unicode, so you could suffer langugae ID, which has been set for non-Unicode applications (check the advanced settings in the control panel)

    Andrey.

  • .mts file appear too large in my view window, that I need to convert this file and what?

    Hi all, it's been a while since I used Prem and have a little video project on, my camera in .mts and I fight for this import in the first... I need to convert this file and what? MTS file appears too large in my view window, I need to convert this file and what I really don't want to lose any quality of the video, I'm not interested in sound.

    Or can I adjust the aspect ratio first to account for this? It would be better?

    Thanks in advance

    ChristianScreenshot.jpg

    Do one of the two to obtain a corresponding sequence:

  • I have seconds in digital format, I need to convert this number to format MI: SS

    Hi all

    I have seconds in digital format, I need to convert this number to format MI: SS

    ex SEC 119-> 01:59 you guys can help me?

    s 900-> 15:00

    can you help me?

    Thank you all.

    Hello

    Here's one way:

    SELECT TO_CHAR (TO_DATE (119 ' SSSSS'), 'MI: SS') FROM DUAL;

    SQL > SELECT TO_CHAR (TO_DATE (119 ' SSSSS'), 'MI: SS') FROM DUAL;

    TO_CHAR (TO_DATE(119,'SSSSS'),')

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

    01:59

    SQL >

  • How to convert this BSO formulas formulas ASO?

    I need help to convert this BSO formulas formulas ASO:

    BSO formulas:
    12 * ("head count"-> "stopped" / ((@PRIOR("Head Count"-> "Total Active & Leave") + "number of head"-> "Total assets & leave ') / 2));

    'Number of head' is a member of the dimension account
    'Complete' and ' Total assets & leave "are members of the dimension of the State


    Existing Active
    New rental
    Assets
    CARPET
    STD
    OTH
    Leave
    Holidays & total assets
    Volunteer
    Involuntary
    Death
    Retirement
    End of temporary assignment
    Terminated
    LTD
    Total status
    Promotion within level
    Promotion to the next level
    Promotion
    No Total status
    All Status
    Status (Dimension)



    ASO, the formulas will be?

    Thank you

    Try

    CASE WHEN IS([Period].CurrentMember, [Jan]) THEN
    
    12 * (([Head Count], [Terminated] ) /
    ((( [Head Count], [Total Active & Leave], [Dec], [Year].CurrentMember.lag(1) ) +
    ([Head Count], [Total Active & Leave])) / 2))
    ELSE
    12 * (([Head Count], [Terminated] ) /
    ((( [Head Count], [Total Active & Leave], [Time].CurrentMember.lag(1) ) +
    ([Head Count], [Total Active & Leave])) / 2))
    END
    

    Note that this implies that your dimension of the year is in descending order

    Year
    -2007
    -2008
    -2009

    If the year is in ascending order

    Year
    -2009
    -2008
    -2007

    Then, you need to change

    [Year].CurrentMember.lag(1) 
    

    TO

    [Year].CurrentMember.lead(1)
    
  • I have a 6 s with Verizon iPhone. Can I send/receive calls (using this service and calls on other devices functionality) on my iPhone 5s, who was with AT & T service, but has no service now since I switched to Verizon?

    I have a 6 s with Verizon iPhone. Can I send/receive calls (using this service and calls on other devices functionality) on my iPhone 5s, who was with AT & T service, but has no service now since I switched to Verizon?

    Note: I'm able to get two phones to ring with an incoming call, but the 5s consist not out. Whenever I dial a number, it says call failed.

    Do not dial a number. Try to choose a contact in the contacts App and tapping on telephone button.

    That said, I don't think that outgoing calls work on continuity since another iPhone. given that the iphone is designed to make calls through its own service.

    Document to support that you just did not mention calls from a secondary iPhone at all, it points to Mac, iPad and iPod touch, which leads me to believe that it won't work.

    It runs from devices such as iPads and Macs, who have no other way to place a cell call.

Maybe you are looking for

  • Tecra A9 - 12 H: Downgrade Vista to XP using Dual Boot

    I am about to receive a Toshiba Tecra A9 - 12: my company, with Vista. The machine will be accompanied by a DVD of XP downgrade, and they will use it to give me the XP operating system I asked.However, I am a little reluctant to completely lose the V

  • How can I have my photos duplicated to remove computer?

    Help, please? I need to find an easy way to remove duplicate pictures! I know that some photo sets have 3 or 4 duplicates.

  • Complete PC Vista restore error 0 x 80042407

    Okay, I need to move my installation out of a set of raid 5 unstable material which consists of three discs of 500 GB of the same type, model and size.  This raid set is equivalent to a 1 terabyte of 931 GB disk after it is formatted. I did a full ba

  • Automated transfer of Windows 7 to a new system method?

    Hello (There is probably a thread or two on this topic already and I need a pointer to it.  My keywords are not finding it.) I replaced my PC, erase my Windows 7 Pro, then downloaded Windows 7 Pro to the new system and activating the latter. I'm hopi

  • want HP how to change the system from Russian to English

    Hi guys I bought a laptop Russia, is a desire to hp with windows 8, I put the English language pack on it, but it's always 70% in Russian that is to say the system / settings nothing to do with the heart of it. It is possible to do this in English? r