adccommunitymod (AutomationDirect) asked a question.

Recipe in C-More HMI

Created Date: April 14,2014

Created By: slapratt

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Hello, I need to be able to load and save values in the HMI. The PLC (DL06) will then read the values. I have been able to figure out how to load from a recipe, but for the life of me I cannot figure out how to edit a recipe by using a numeric entry. Sorry if this is a repeat I did search for a bit but didn't find anything specific for editing a recipe from a numeric entry. Thanks in advance!:) Sterling.


  • adccommunitymod (AutomationDirect)

    Created Date: April 14,2014

    Created by: mwdkmpr

    What HMI are you using?

  • adccommunitymod (AutomationDirect)

    Created Date: April 14,2014

    Created by: slapratt

    Part # EA7-T6CL-R

  • adccommunitymod (AutomationDirect)

    Created Date: April 15,2014

    Created by: mwdkmpr

    Use a "tag name " instead of a "constant " value for the source in the recipe box. Then assign that tag name to numeric entry. I hope that helps. If not post back and someone smarter can chime in.

  • adccommunitymod (AutomationDirect)

    Created Date: April 15,2014

    Created by: slapratt

    I have tried that. I will attach some images of the test program I am making. To clarify, I am trying to load a recipe, edit the numeric entry in the recipe and then save it (overwrite) the existing numeric entry. Also will need to be able to save a recipe in a slot (or blank recipe) without one even being loaded, in other words choose from a list of recipes to overwrite.

    5O2uEof1r6UuiDA2yQwGhcY3(Ignore the numeric display box)

    MGjvPgf4I tried both the following methods...

    VW1JQrL54ei9vFw6recipe "Untitled "

    Ysn5pPB8Thanks in advance sorry if it is confusing.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: April 15,2014

    Created by: mwdkmpr

    You are using the same tag name for the source as the destination. Change the destination to a different tag name and then try it.

  • adccommunitymod (AutomationDirect)

    Created Date: April 15,2014

    Created by: a agnone

    Your close. In your last image, fill out the sheet by giving each column a V-Memory, and in your first column you can use Ascii to display on screen. If you put "0 " in each row you are not using you can edit it and add to it. If you leave them blank you can not add recipes. Pick download, edt for the option so the user can change values. I sometimes put a done bit in my last column to tell the plc I am done loading all the values then proceed. You really do not need the save button because as soon as you enter a value, it will go to the V-Memory location. Also use the option for handshaking to make sure the value gets there. It looks like you are using the individual recipe button whereas I use the whole sheet on screen. there is too much to type here.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: April 15,2014

    Created by: slapratt

    Okay, thank you I will try it and reply when I am done. May take a while I am completely new with controls as of 3 months ago.

  • adccommunitymod (AutomationDirect)

    Created Date: April 15,2014

    Created by: slapratt

    a agnone, What you explained will work for what I am doing. However, the end user will have to be able to simply load, set and save values. Unfortunately I don't think having a sheet appear on the screen is simple enough. I appreciate the advice and if it was up to me I would rather have it that way.

    So what I need to do is be able to for example, load a recipe so that the values display on a numeric entry button, be able to change the loaded value, and then save it with a desired name all using just a numeric entry, text entry for the name and a push button. On top of that the PLC (DL06) will need to be able to read the values in the numeric entry.

    Note: I need to be able to save multiple combinations of numeric entries with different names.

    I 've been banging my head for days:confused: trying to get it in this format and I greatly appreciate all advice.

    Thanks.:)

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: April 16,2014

    Created by: Do-more PE

    AAgnone has it correct. That is the only way it works unfortunately.

  • adccommunitymod (AutomationDirect)

    Created Date: April 16,2014

    Created by: Bob S BN

    I think I have done what you are after, but it does take a while to program it all. I'll try to explain, feel free to ask questions if I'm not clear on something.

    I use the "recipe " buttons as data transfer buttons. Choose "single scource " in the recipe options.

    In you plc program, set aside a group of VMEM for your "operational specs ". Something like this...

    V2000=current job number

    V2002=zone 1 temp

    V2004=zone 2 temp

    V2006=air pressure

    Use these as your parameters in your PLC for running a job. You can have a "set up " screen on the cmore with "numeric entry " objects that can change these specs while running a job.

    Then set aside other groups of VMEM for each "specification storage slot ". Something like this...

    V3000=cycle 1 job number

    V3002=cycle 1 zone 1 temp

    V3004=cycle 1 zone 2 temp

    V3006=cycle 1 air pressure

    V3100=cycle 2 job number

    V3102=cycle 2 zone 1 temp

    V3104=cycle 2 zone 2 temp

    V3106=cycle 2 air pressure

    ETC...

    Then create a screen called "store job settings " that contains the appropriate number of "recipe " objects for the number of different jobs you may have. "storage slot A " is a recipe button that uses V2000-V2006 source, and V3000-V3006 as the destination. When pressed, it will transfer the "operational specs " to storage slot A. Create another "recipe " object for each storage slot with a different destination.

    Then create a screen called "recall job settings " that contains the appropriate number of "recipe " objects for the number of different jobs you may have. "load job A " is a recipe button that uses V3000-V3006 source, and V2000-V2006 as the destination. When pressed, it will transfer the specs from storage slot A to the operational area. You can also put "numeric display " objects next to the recipe objects to display the job number stored in them.

    Like I said at the beginning, lots of programming up front, but for an operator, they are tweaking values while setting up or running. At end of job, pick a storage slot and press the button to save all the parameters. When that job comes up again, press the appropriate recall button to get your specs loaded from the last run.

    Hope this helps, Bob

    Expand Post
10 of 17