Recipe Arrays In Compact Logix

Not to nitpick, but I would place the unlatch right after the XIC. You want this to unlatch right after the PLC sees the transition, not based on conditions. Just my experience and opinion though.

What if the command bit gets written first ?

At least where it is the "action" it requested has taken place.

EDIT : I did this from memory, and forgot that I would also CLR the RecipeNumber after doing the copy. No chance of getting the WRONG recipe loaded ....
 
Last edited:
I would agree that the unlatch should probably take place regardless of whether the limit test passed or failed.

OK, I like that thinking, "I've seen it, kill it, now let's see if we can do anything with the data we have".

But that will leave an infuriated operator having to "try again" if the wind wasn't in the right direction.

Perhaps a good solution would be to have the "command" bit in the same WORD (SINT INT or DINT) as the index to the array, say bit 7, 15, or 31 respectively. That way you know for certain that the command bit and data are synchronised.

Food for thought....
 
OK, I like that thinking, "I've seen it, kill it, now let's see if we can do anything with the data we have".

But that will leave an infuriated operator having to "try again" if the wind wasn't in the right direction.

Perhaps a good solution would be to have the "command" bit in the same WORD (SINT INT or DINT) as the index to the array, say bit 7, 15, or 31 respectively. That way you know for certain that the command bit and data are synchronised.

Food for thought....

I think you may be overthinking this. The point, at least mine, is the command (HMI) should reset once the PLC sees it. It did it's job. If the rest of the code isn't "ready" then nothing happens. Your way, the command will remain until the rest of the code is ready, which may not happen for a while. To me, that is undesirable. In your example, probably not a huge deal.
 

Similar Topics

I'm using legacy recipe to download a recipe to the PLC. A little background, the recipes are large. They are broken down into 6 tables, each 16...
Replies
2
Views
104
Hi guys, got one problem PLC model fp-xh c60t and HMI model TG765S-MT I've encountered an issue which is the recipe file went missing if i swtich...
Replies
0
Views
83
Can anyone help me find where is recipe plus or recipe manager in View desginer(studio 5000) software. i want to create an recipe but i am unable...
Replies
2
Views
176
Need to add new tags to some recipe inside a Wincc Tia Hmi . Do we have an option to download the recipe , with the newly added elements ...
Replies
0
Views
244
Hello all. Is it possible to create a shared folder between my laptop and my PV+ 7- standard......2711P-T10C21D8S Series D? What I would like to...
Replies
4
Views
433
Back
Top Bottom