To run the conveyer belt with the help of switches
As discussed in earlier sections, PLCs are controlled through Ladder Logic. In input section of the ladder, name of the input device must be mentioned on the top of symbol, followed by primary input port. Secondary input port is mentioned just below symbol. In similar way, output symbol should be mentioned with name and output ports as shown in figure 3.3.5.
![]() |
Figure 3.3.5 A rung to run the conveyor belt. |
To control movement of pneumatic devices in an industry with PLCs
Figure 3.3.6 shows a program code to control the motion of pneumatic cylinder with a switch.
![]() |
Figure 3.3.6 Program code to actaute a pneumatic cylinder |

