58. A discrete input also referred as digital input is an input that is either ON
or OFF are connected to the PLC digital input. In the ON condition it is
referred to as logic 1 or a logic high and in the OFF condition maybe
referred to as logic o or logic low.
Discrete Input
Normally Open Pushbutton
Normally Closed Pushbutton
Normally Open switch
Normally Closed switch
Normally Open contact
Normally closed contact
60. 1. Digital I/O Module
• The digital module is also called Discrete Module.
• It is useful in the ON or OFF condition.
• Based on Input and Output, the digital module is of two types.
1. Digital Input Module
• Examples: Push switch, Toggle switch, Rocker switch, Selector
switch, Proximity switch, Limit switch and etc are the example
of the Digital Input Signal.
2. Digital Output Module
• Examples: Lamp, Coil, Buzzer, Relay, Motor, Fan, Heater,
Actuator, Solenoid Valve and etc are the example of the Digital
Output Signal.
61. 2. Analog I/O Module
• The analog module is called a Continuous Module.
• Usually, the voltage or current is given to the input module in
the form of an analog signal.
• Analog I/O modules are also of two types.
1.Analog Input Module
• Examples: Temperature detection switch, Pressure detection
switch, Flow detection switch, Level detection switch, Limit
detection switch, Position detection switch, PH Level detection
switch are the best example of the Analog Input Signal.
2.Analog Output Module
• Examples: Temperature Transmitter, Thermocouples, Pressure
Transmitter, Flow Transmitter, Level Transmitter, etc., are the
example of the Analog Output Signal.
74. Basic Important Parts of Ladder Diagram in PLC
Programming
• Rungs
• Branches
• Inputs and Outputs for PLC programming
• Addressing Inputs and Outputs
• Instructions
75. Rungs & Rails
• In Ladder diagram, the horizontal lines called Rungs. You can put as many
numbers of rungs as per your project requirements.
• The vertical lines show the power supply or flow.
76. 1. Series Branch:
• In the series branch, inputs or outputs are connected in the series.
77. 2. Parallel Branch:
• In the parallel branch, inputs or outputs are connected parallelly.
78. 3. Nest Branch:
• The combination of series and parallel branches in the same or
different rungs are called as Nest Branch.
79. Inputs and Outputs for PLC Programming:
• Inputs refer to the switch or Push Button (PB).
• Output referred to the Coil or Lamp or Load.
• Input modules are represented by the ‘I‘ or ‘X‘ and
• Output modules are presented by the ‘Q‘ or ‘Y‘.
• For the Ladder Diagram (LD) programming language, normally
open and normally closed contact is used in the form of input.
89. Advantage of the Ladder Diagram PLC Language
• The ladder diagram (LD) is a simple logic construction
and more reliable than an electronic circuit controller.
• Easy to learn and read the program.
• Every programming symbol performs specific actions.
• LD having good representation for discrete logic.
• Easy to troubleshoot.
• Shut down the power without the switch (i.e. hardware
devices).
90.
91. 1. Inputs can be used in Series as well as Parallel to form
a connection
93. 3. One Input can be used in multiple times in one program
Single Input with a different form of Outputs
94. 4. One Output cannot be used multiple times in one program, except
in Set/Reset and Latch/ Unlatch functions
• In the function set/reset, the same output address is used. And it can be connected to the
same or different inputs.
• Different inputs (I1 and I2) are linked with the single output (Q1) using the set and reset
function.
• When the Input (I1) is pressed, the output coil will be set ( i.e. Q1 on activate mode). And
when the input (I2) is pressed, the output coil will be reset ( i.e. Q1 on deactivate mode).
95. • In latch/unlatch function, working is the same as set/reset function. The only
difference is, the first input (I1) is normally opened (NO) and the second input
(I2) is normally closed (NC).
• The latch/unlatch function is useful for the cycling process.
96. 5. Input Address cannot be used as an Output Address
• The same input address can be used as multiple inputs. And it can
not be used as output.