Plc update tag late

Please see Wiki - how to post code on this forum. You can then edit to fix the code block formatting. Thanks.