There are some methods to do PLC programming. The programming methods can be with Logic Ladder Diagram, mnemonic (statement list), and / or function block diagram. One of the PLC programming methods that are very commonly used programming using PLC ladder diagram. The method is practical and easy to understand. The programmer in charge of writing a program should describe an electronic switch circuit. It can be designed to perform the conversion of electronic circuits that already exist, and then replace the switch function according to the functions available to software programmers. A ladder diagram consists of a downward line on the left side with lines branching to the right. Existing line on the left side is called the bus bar, whereas the branching lines are lines of instructions or steps. Instructions are placed along the line of a variety of conditions linked to the other instructions on the right side. Logic combination of the conditions stated when and how the existing instructions on the right side are done.
Figure 1. Example of ladder diagram As shown in Figure 1 is, along the lines of instructions can branch out again and then joined again. The lines of vertical pairs (such as capacitors symbol) is called the condition. The pair of vertical lines no diagonal line called the Normal Open - Normally Open or NO and related instruction LOAD (LD), AND or OR. While the couples have a vertical line was a diagonal line called the Normal Closed - Normally Close or NC, and related instructions LD NOT, AND NOT or OR NOT. PLC is still used mostly as a strand of logic, as generally in strings of logic / digital solutions to these problems will be easier if each input and output components are presented in digital logic, involving the truth table, set the output equation in the table is based on binary numbers, and then simplify the equation by using Karnaugh Map. Here are some examples of conversion from basic logic gates in the Ladder