Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: T4a recipe
PostPosted: Mon Aug 13, 2018 5:19 am 

Joined: Thu Nov 29, 2012 5:33 am
Posts: 5

Offline
Hi,
I've converted an old e410 project to T4a and I'm stuck with a couple of things.
1. The e410 had an Ascii box that displayed the recipe name in use.
2. The e410 recipe could be remotely changed from I/0 on the plc or a network signal through the PLC etc.

How can i get these to work on the t4a???

please speak in plain english, I'm only pretending to be a controls expert, I prefer mechanical things!!

Cheers


 Profile  
 
 Post subject: Re: T4a recipe
PostPosted: Tue Sep 04, 2018 5:00 am 

Joined: Tue Sep 04, 2018 1:20 am
Posts: 12

Offline
Hello there,

There is a special System Tag ( Tags -> Add tag -> System Tag ) which directly displays the recipe name when attached to a Label or AnalogNumeric element set to string on a screen.

As for the remote change of the recipe, im not certain what you mean? This part will require a Script to be written.


 Profile  
 
 Post subject: Re: T4a recipe
PostPosted: Mon Sep 17, 2018 5:25 am 

Joined: Thu Nov 29, 2012 5:33 am
Posts: 5

Offline
Thanks for the reply, that's sorted the current recipe display...cheers.
When we used the E410 HMI's the recipe could be remotely changed from the PLC, I cannot see how to do this with the IX screen???


 Profile  
 
 Post subject: Re: T4a recipe
PostPosted: Mon Sep 17, 2018 6:13 am 

Joined: Tue Sep 04, 2018 1:20 am
Posts: 12

Offline
To change the recipe using screen and touch input:

Create a button. Go to properties and in the action tab select Recipe -> Load recipe.

When you press the button in runtime, a window will pop-out where you'll be able to select what recipe to load.

In addition you can also directly attach a recipe to a button and skip the selection.


To change the recipe using some PLC input :

Write a script and add an event

Code:
void Script1_Created(System.Object sender, System.EventArgs e)
{
   Globals.Tags.recipeTag.ValueChange += RecipeSelection;
}


Code:
private void RecipeSelection(System.Object sender, System.EventArgs e)
{
   switch((int)Globals.Tags.recipeTag.Value)
   {
      case 1:
         recipe.LoadRecipe(RecipeName1);
         break;
      case 2:
         recipe.LoadRecipe(RecipeName2);
         break;
   }
}




I would advise you to go through Beijers' iX developer video course and refer to the manuals in the future.


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron