Programmable Logic Controllers: An Emphasis on Design and Application