Recipe Sample Code - Ladder program with supporting NB project

Michael Walsh
By Michael Walsh in PLC Sample Code,
This is a quick bit of code to show how a recipe function might be written if one were to do it in the PLC rather than the HMI. This is the basic building blocks with which a program could begin to be written. The BSET instruction combined with the indirect addressing method demonstrated would allow for a delete function. Copy and other functionality could be added using similar concepts.