How to create alarm based on 2 signals

I am trying to create an alarm for the following:
After a start signal is sent to a motor i want to have a delay for 3 minutes before i check to if the motor is running. If the run command is still there and there is not run status then i need an alarm
Could i use a one-shot with:
name = verify_motor1_start
on/off signal = start_motor1  (this is the bit that is written to the PLC to start the motor)
timer delay = 3:00
display format = mm:ss
Then create an alarm (logical):
name = confirm_motor1_start
message = "motor 1 did not start"
condition = start_motor1 and verify_motor1_start
If the command to start motor is true and the verify_motor1_start is false then i should get an alarm  -(is this correct)
Would this work?
what kind of problems would i have when the command to stop the motor is sent?
would i have to reset the one-shot if the motor did start and then i stopped it and then later the command was sent to start again?
I hope this makes sense.....

When i want to start a pump, the HMI writes a "1" to a PLC register and the PLC looks at this register to see when to start the pump. When there is a "1" the DO starts the motor. There is a 2 minute delay built into the motor starter, not part of the PLC program, that will not let it start until 2 minutes after the PLC sends the start command. The motor has a contact thats pulls in when the motor is running. I use this contact and bring it to a DI on the PLC. That is how i know it is running and why i need to have a delay before i can do the compare of - did the PLC tell the motor to start and has the motor started after 2-3 minutes.
So i need an alarm generate when the motor start command is "1" and the motor run status is "0" (after the 2-3 minute delay). Status should be a "1" if motor has started.

Similar Messages

  • How to create Formula based value field in COPA

    Hi,
    I want to know how to create formula based  value field in COPA
    My Requirement is i want to collect some value in formula based value field and want to use in copa allocation cycle as a tracing
    factor.
    anybody give some light on the same topic or requirement ?
    Thanks
    Nilesh R

    The key figure you are creating in KE2K is not a value field, i.e. you can't post to it and you can't use it in a report. It is a caluculated value that can be used only in assessment and top-down-distribution.
    In Ke2K, enter a name for your key figure, then click on the the white sheet button to create it. Now the formular area is open for input. Input your formular (e.g. VV001 + VV002 - VV003 .... where VVXXX are the technical names of value fields).
    Now click the "check formuar"-button. Then save.
    Before you can use the key figure in assessment, execute TC KEUG.
    Now the key figure is available as any value field in the tracing factor selection of your assessment cycle.
    I hope this made it clearer.
    Regards
    Nikolas

  • How to create Profile Based Rule in Endeca Studio Developer

    Hi,
    Can anybody tell me how to create Profile based rule in the Endeca Studio Developer. and how to fecth the data in the JSP. what are the parameter required to pass in the ENEQuery
    Thanks
    Shailesh

    I use visual studio 2012.
    I dont see rule set editor which can help me create busineesss rule.
    Where can I find it?
    Hi Rajesh,
    If you want to learn more information about RuleSet Editor in .net framework 4.5, check out https://msdn.microsoft.com/en-us/library/ee960221(v=vs.110).aspx
    for more information. 
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to create HeatMap based on Country Credit Rating?

    How to create Heatmap based on Country Credit Rating i....
    Credit Ratings are AAA, -AAA, +AA, AA, -AA, +A, A, -A, +BBB, BBB, -BBB, +BB....... From Green To Red
    Country    Credit Rating
    Angola
    BB-
    Botswana
    A-
    Burkina Faso
    B
    Ethiopia
    B-
    Ghana
    B
    Morocco
    BBB-
    Nigeria
    BB-
    Sierra Leone
    B-
    South Africa
    BBB
    Tanzania
    B
    Zambia
    B+
    Australia
    AAA
    India
    BBB-
    Indonesia
    BB+
    Pakistan
    B
    Philippines
    BBB
    Thailand
    BBB+
    Uzbekistan
    BBB
    Turkey
    BB+
    Chile
    AA-

    Thanks Jim for the solution.
    Also, this article should be helpful for you:
    Create a Heat Map Using Excel’s Conditional Formatting -
    http://peltiertech.com/heat-map-excel-conditional-formatting/
    (Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee
    the accuracy of this information.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Hi Ethan, If you trying to get points i understand but please do assume that googling is done first.
    If you want to get help from others, you should first be polite to those who are trying to help you, rather than "i already new the option of converting to numbers" or "If you trying to get points i understand but please do assume
    that googling is done first.".
    You didn't make it clear in your initial post that what you already tried, or which articles you already reviewed, how should us people know this?
    I'm sorry but here all is asked politely and please, politely do not  change the subject.

  • HOW TO CREATE PROMPT BASED ON ANOTHER PROMPT IN OBIEE

    HOW TO CREATE PROMPT BASED ON ANOTHER PROMPT IN OBIEE.
    Requiremenst is as follows.
    Year ,Qtr columns in first prompt.Based on selection on these prompts second prompt should display corresponding prompts
    Second prompt will have Month ,Week and Day columns.Second prompt should be hidden and based on first prompt selection second prompt should display with constraint based on first prompt.
    Any help would be highly appriciated!!!

    hi,
    Using Guided navigation it is possible,
    Please refer the below links.
    http://gerardnico.com/wiki/dat/obiee/dashboard_prompt_1_eq_0
    http://businessdecisionsystems.com/blog/?p=448
    Hope this help's
    Thanks,
    Satya

  • How to create ajax based tabs ..??

    Hi all,
    How to create Ajax based Tabs (or Tab like) in a JSF page..?
    Any clues..?
    Thanks and regards,
    Jijo

    You need to write your own jsf component for this.

  • How to create event based process chains

    Hi All,
    I would like to know about event based process chains. In connection to this, could you please answer the following queries,
    1. How to create events
    2. How to link created event to the process chain in the same BI or BW system and as well as from  
        externel BI system.
    3. How link one process chain with other process chain (i.e, After completion of one process chain, it
        should trigger other dependent process chain)
    Thanks and Regards,
    Kotesh.

    1). Doubt regarding first question.
    For example, i would like to create time based event (it should be trigger daily at specified time),
    where we have to maintain scheduling options while creating event.
    When i checked SM62 there i found only two options a). Event name and b). Description.
    Could please send any doucument link if you have.
    Ans : You can use function modules like "BP_EVENT_RAISE" in a program and schedule the program to trigger.
    2). For externel BIW system also same procedure we need to follow or any difference.
    Ans : Externally you need to trigger the same event.
    3). i found dependent process chain also had scheduling options as direct scheduling insted of start using meta chain or API. As you said dependent process chain should be mata chain. it seems dependent process chain may be Meta chain or Direct scheduilg.
    Ans : Its your choice how you want to schedule it.You can either make that dependent chain a metachain or schedule it separately.
    I found at the end of first process chain they kept one process like Raise event and second process chain connected with the help of raise event process event name. If you have any idea about this process could explain a bit more.
    Ans : May be they are raising the event in the main chain and triggering the dependent chain using this event.
    But Metachain is preferred for such thing.Though it does similar thing.
    Hope this helps.

  • How to create file based on date value

    Hi
    Hope you'll help me. I can't find right way to tackle the problem. I need to read a file which name is created based on month and years' value. File name format is as follows: INMMYY.log. So to read it I must create File object using this file name format. I tried to use Calendar class get necessary information using get() method. Unfortunatelly returned month's value is always 2,3,4 and so on..(I need 02,03). There is problem with year's value als. It's returned in form YYYY but I need YY.
    Does anybody have any idea how to create string INMMYY in the easiest way ??
    Thanks in advance :)

    Use java.text.SimpleDateFormat.

  • Job Chain. How to create Rule based on Time also?

    Hi ,
    I need to check at 9:30 AM that one of the previous step in the existing chain has been completed.
    If not I'd like to do some 'send_notification' Step.
    So, I need to create rule based on Time and 'step_n succeeded'.
    Could you please tell me how to do that?
    Thanks for your help,
    LSY.

    Hi,
    Alberto is right in his approach. You can't say to evaluate the chains rules at 9:30am but you can set an evaluation context of 10 minutes so that the chains rules are reevaluated every 10 minutes.
    Then you can create a rule that says
    if the time is between 9:30am and 9:40am and step_to_check is running or not_started
    then start send_notification_step
    Hope this helps,
    Ravi.

  • How to create Form based on a table to display multiple record

    Hello All,
    Would somebody please tell me how to create a Form based on a single table ,
    to view and insert multi record based on a single table.In other words I would like
    to have a form as shown below ,where the users can Insert,update,delete,query and so on
    Item Id PArt Number List Price
    100 Item-1 $120.oo
    200 Item-2 $150.00
    300 Item-3 $50.00
    I know I can do it as Single Record block using Tabular Format,but multiple record ?????
    Thanks in Anticipation
    Babu

    Try this method,
    1. Creat a Master Detail Form (Custom Layout and not tabular)
    and in the master block select one field.
    2. In the HTML layout for master remove the reference for
    that field(so that nothing will appear in the master block
    of the form).
    3. Before the update (in the Pl/SQL event handler select the 'Save' event and write the following code to avoid updating master block).
    p_session.set_value(p_block_name => 'MASTER_BLOCK',
    p_attribute_name => 'MASTER_ACTION',
    p_value => 'None');
    doSave;
    For eg, let's say
    Master is from 'Dept' table and Detail is from 'Emp' table(with join condition Dept.dept_id = Emp.dept_id). In the master remove everything except dept_id field and in the HTML layout for master remove the reference of the dept_id field(you cannot remove this field physically from the master layout). Now the form will look like multirow form rather than master detail form but only problem with this workaround is 'Detail Action' will be present in the detail block.
    I hope this will help you.
    Thanks
    -Krishnamurthy

  • Newbie - How to create XML based on given schema

    Hello,
    We have a requirement to create an XML message from our system (Oracle 9iR2 with Oracle Apps 11.5.10). The XML is generated from a query in our HR tables, and must be in a specific format (schema and example XML has been provided to us).
    Newbie question is this: What is the best way to create this XML message (dynamic data coming from a SQL select) while ensuring that it matches the given schema? Most of our developers are strong PL/SQL with limited Java experience.
    Thanks,
    -- John

    I've updated the FAQ with an answer and example for this question...
    Please see the following thread
    How to create XML from relational tables based on an XML Schema ?

  • How to Create RMA Based on Sales order using OE_ORDER_PUB api

    Hi,
    Can any one pls help me how to create a RMA based on the sales order using oe_order_pub.process_order APi.
    Thanks.

    Creating RMA is very similar to creating an Order. You need to make sure you're passing the correct order_type, line_type which'll be setup as 'RETURN' (or 'MIXED') category in transaction type definition.
    For the API to automatically create a reference on your RMA lines to the original Order lines, you need to pass the following
    l_line_tbl (l_line_tbl.COUNT).return_reason_code := 'RETURN'; -- Mandatory for RMA
    l_line_tbl (l_line_tbl.COUNT).reference_line_id := v_ref_line_id; -- Original order line_id
    l_line_tbl (l_line_tbl.COUNT).reference_header_id := v_ref_header_id; -- Original order header_id
    l_line_tbl (l_line_tbl.COUNT).return_context := 'ORDER';
    l_line_tbl (l_line_tbl.COUNT).return_attribute1 := v_ref_header_id; -- Original order header_id
    l_line_tbl (l_line_tbl.COUNT).return_attribute2 := v_ref_line_id; -- Original order line_id
    Once the RMA gets created, query the order and navigate to Lines>Returns tab. You can see the original order number and line number.
    Thanks
    Gopal

  • How to create querys based on infosets?

    Hi all,
    How to create queries on infosets ? can anyone let me know the procedures?
    Thanxs
    haritha

    Hi Haritha,
    TC SQ02 - Enter name of the Infoset – Create – enter name of Infoset - Data source -- > Table join by basis table – give name of table e.g pa0000 - Enter - Click on insert table if we want to include more tables – give name of table one by one and after finishing, place cursor on the joining lines and right click to delete unwanted relationships - check - and go back - field groups - include all table fields - click on generate button - go out
    Also refer this thread
    SAP Query-for  Reporting   how to create and use it
    Regards
    Karthik

  • How to create Idoc based on NAST entries

    Hi Experts,
       I have a requeriement, on successful posting of receipt i  need to send an idoc ORDERS05 using objkey(PO number) of NAST table. How to proceed on this??
    Regards
    Sridevi S
    Edited by: Sridevi Sivanandam on Aug 1, 2010 4:25 PM

    hello,
    please see the segment for ORDERS05 from WE30 and after that you should have an idea what kind of data you need to pass.
    NAST-OBJKEY can contain PO number, article number based on the message / output type fired from GR...
    please have a close look at the data being entered in that field...
    after that you can relevant data from PO document for creating the IDOC.
    Thanks

  • How to create monitor based on the data collected by rule?

    I have an application which comes with a built-in command: GetBackLogNm.exe. Running this command can get the current backlog number in the system.
    Now I need to create a monitor which should trigger the alert if the backlog keeps increasing for 2 hours. I am thinking of creating a rule which run command GetBackLogNm.exe to get the number and save it into DW. Then create a monitor based on the collected
    data. Is it the correct way? If so, can anyone give me a outline how to do so? An example would be much appreciated if possible.
    Thanks!

    Hi Jonathan, thanks for the quick reply. But System.ConsolidatorCondition seems only available for SCOM 2012. I didn't find it in 2007 libraries.
    However the idea your and Vladimir showed in this
    post is really helping. I kind of solved the issue not using the exactly the components (since it is available in 2012 only) but following the same logic.
    In general I did this:
    1. create a script rule which execute the command to get backlog number; then save the log number in the DW and the registry.
    2. just like System.Performance.DeltaValueCondition, when the second time the rule triggered by schedule, it will compare the current backlog number and the last known number stored in the registry. If the value is exceeding given threshold AND bigger than
    the last known back log number, the rule increase an counter which is also stored in the registry
    3. create an unit monitor to monitor the counter stored in the registry and will trigger the alert if the counter exceeding a given value.
    This solved the issue. But I feel a little not comfortable to store data in the registry.
    So one quick question which might be out of the this topic: what is a good way to store the data generated by one workflow and then share it with another workflow or reuse sometime later? In my case here, I used the registry key. Cook down is one option
    to share data but it is very strict and can't solve the issue I have in this case.
    Thanks again!

Maybe you are looking for

  • Why do thumbnails in Bridge CS5 open in CS3? How to fix?

    I have both CS3 and CS5 installed on new computer running under Windows 7. I do not want to uninstall CS3 until I fully understand CS5. The problem: When I click thumbnail image in Bridge CS5, the image appears in CS3. I have gone to 'preferences' an

  • My Trackpad is not working properly, What shall i do?

    Trackpad is not functioning properly once i updated my computer last night it worked perfectly but by the end of the night it start to act funny!

  • Send Program Change bug in Logic 7.2.2

    I recently got a Mac Pro 3.0, and installed Logic 7.2.2. In general things are going okay, but I recently found a bug and I wonder if anyone else has run into it. I have a fairly extensive studio setup (6 Gigasamplers, some hardware samplers, quite a

  • Converting field NAME1 to fields NAME_LAST and NAME_FIRST

    Hi to all of you, I have a question concerning to the next issue: When we run transaction JUCDCM (Convert customer and vendor masters to SAP Business Partner), the information contained in field NAME1 from customer/vendor master is migrated to field

  • Hey all you pros, question for you...

    I am a new convert, and I and trying to learn all the ins and outs of mac worship. With the one-button mouse (i got myself a cute little wireless one here...), are there shortcut keys to do more with the mouse? I wasn't particularly fond of the might