Tag plc programming