Hello,
When I type a script in iX Developer 2 and run it, it does not work.
I received a file from an acquaintance which has the same script, and it works.
However, when I open this file (sent by an acquaintance), cut and re-paste the script in the same location (without changing the script in any way), and run it, it doesn't work.
I guess that for some reason, my iX Developer 2 does not run scripts, and it most probably has to do with a setting on iX developer 2.
The scripts and tags I use are shown below.
What should be happening using this script, but doesn't work, is that the SystemTagLatestLoadedRecipeName tag value should be loaded into RcpName_Hold tag when I load a different recipe, so that when the hardware is turned off and on again, the latest recipe should be automatically loaded.
Does anyone know what the problem is?
Thank you,
Loukis
Scripts I make do not work.
Re: Scripts I make do not work.
I found what the problem was.
I simply had to hook up the events in the scripts.
This is done by clicking on the required variable (in this case the LatestLoadedRecipe) and then right clicking on ValueChange and clicking Hookup Event.
This should also be done for the other variables/Screens (eg. Button1 and Button9).
I simply had to hook up the events in the scripts.
This is done by clicking on the required variable (in this case the LatestLoadedRecipe) and then right clicking on ValueChange and clicking Hookup Event.
This should also be done for the other variables/Screens (eg. Button1 and Button9).