Text this: Development of a state transition diagram-based programmable logic controller /