Professional Documents
Culture Documents
INTRODUCTION
Modular IO module
• Modular Type is nothing but a single module for each “n” number of IOs.
• If we need 6 number of Analog input signals then we have to use a standard 8
channel or 16 channel or 32 channel AI module.
• Similarly, If we want to connect 20 digital input signals to the PLC then we need
a 32 channel DI module in the PLC.
• Power supply will be one module, CPU will be another separate module,
different input, and output modules. If we have redundancy in the PLC then
extra modules will be required
important parts of plc cont…
iii. Power supply.
• PLC needs 24 volts DC supply for its operation. Some PLCs work with 230 volts
AC supply.
• The power supply details of PLC depend on the type of PLC model,
manufacturer of PLC, or as per the geographic location and standards.
• For IO modules, we need a separate power supply for its operation. Some
micro PLC types can able to supply power for their modules.
• But in a larger PLC system, we have to give a separate power supply for its
operation.
• In fixed or compact type PLC, we can connect the power supply to the inbuilt
positive and negative terminals.
• In modular type PLC, power supply modules are provided with each rack unit
where CPU, IO modules, and any other modules will be installed. This power
supply module will take care of the requirements of power for that rack unit.
important parts of plc cont…
iv. Programming Device
• Programming Device is used to enter the required program into the memory of
the processor. The program is developed in the device and then transferred to
the memory unit of the PLC . The memory unit is where the program is stored
that is to be used for the control actions to be exercised the microprocessor. The
most common used programming device is the PC (person computer).
• The programs used by the program are similar to a schematic for a relay control
circuit. In a relay control system, we used to wire the circuit using hardwires for
making the application/logic whereas, in PLC, we have software for doing the
same but without hardwires.
• We have different PLC languages which will be used for building the logic behind
the application.
• There are five languages for writing the PLC program, in that ladder logic is
mostly using one in the control industry.
PLC PROGRAMMING LANGUAGE
Plc programming language
• Programming language is a computer language engineering to
create a standard form of commands. These commands can be
interpreted into a code by a machine.
• There are different programming languages used in PLC. These
include the following:
i. Ladder Logic
ii. Structured Text
iii. Functional Block Diagram
iv. Sequential Flow Charts
v. Instruction List
Plc programming language cont…
LADDER LOGIC
• Ladder Logic the type of programming language that is used to
develop software for programmable logic controllers (PLCs) used in
industrial control applications. The name is based on the
observation that programs in this language resemble ladders ,with
two vertical rails and a series of horizontal rungs between them.
• On the left side, ladder logic instructions are set as conditions,
while the ones on the right side are instructions that are triggered if
the conditions are met. Each rung of the ladder spans from left to
righr and is executed from top to bottom by the PLC
PLC programming language cont…
• How to write a PLC ladder logic program
The power flow of the rung is taken from the left hand vertical across
the rung
Each rung represents one operation in control process.
Each rung of the ladder logic diagram represents a condition of the
input/output/memory bit, and it may contain more than one input in
different configurations.
A ladder diagram is read from top to bottom
PLC programming language cont…
ADVANTAGES OF LADDER LOGIC
Intuitive and self documenting, i.e excellent graphical representation
and well understood circuit design concepts.
Excellent debugging tools. It shows proper power flow and hence
easy to understand the diagram logic and to debug faults
Efficient representation for the discrete logic.
Reliable parts.
DISADVANTAGE OF (SFC)
• It does not always fit every application
Instruction list programming language
• Instruction List (IL) is a low level textual language which has a structure
similar to a simple machine assembler.
• Instruction list is suitable for those who likes coding and C languages. IL
offers a broad variety of operators representing those most frequently
discovered in present PLC proprietary instruction lists. Example of
programming.
• With IL the following operations can be executed:
• Logical (AND…), arithmetic (ADD…), compare (GT…) operations and
assignments (ST, S, R).
• Jumps within a section unconditioned / conditioned (JMP / JMP C, JMP
CN)
• Functions and function blocks unconditioned / conditioned (CAL / CAL C,
ADVANTAGES OF INSTRUCTION LIST PROGRAMMING
LANGUAGE
• suitable for those who likes coding and C languages. IL offers a
broad variety of operators representing those most frequently
discovered in present PLC proprietary instruction lists. Example
of programming.