Tag PLC counter instruction