IO Modules
Ho Chi Minh City
University of Technology 1 1
1
IO Modules
• Digital Input
• Digital Output
• Analog Input
• Analog Output
2
Types of PLC Input
Digital Input (DI) – Digitals inputs are Logic High & Logic Low
signals (Two States either ON or OFF) from the Digital Input
devices.
Input devices are ON/OFF switch, Push Button, Level
switch, Limit switch, Pressure switch, Temperature
switch, etc.,
Analog Input (AI) – Analog Inputs are ranges of electrical
signals (Not just two states but signals between Minimum
and Maximum range) from the Analog Input devices
Pressure Transmitter, Level Transmitter, Analyzer
Transmitter, Temperature transmitter, etc.
The range electrical signals of an AI from the Transmitters
are depended on its working principle, check the following
Analog input types.
• Current inputs ( 4-20 mA or 0-20mA)
• Voltage inputs ( 0-10 V or 0-5 V)
• RTD inputs ( Resistance)
• Thermocouple (Resistance) 3
Types of PLC Output
Digital Outputs (DO) – Digital outputs are commands to
Output devices to operate it in two positions (two states) ON
or OFF.
Digital output devices or actuators such as Lamp,
Solenoid Valve (ON/OFF valve), Single speed motor
(motor without VFD), Sounder (Buzzer or Hooter for
audible alarms), etc.,
Analog Output (AO) – Analog outputs are command to the
output devices to operate it between the ranges of positions
(multiple states).
Analog output devices such as Control valves, Variable
speed motor (motor with VFD), etc.,
Types of Analog output to output devices are,
• Current output ( 4-20 mA or 0-20 mA)
• Voltage output (0-10 V)
4
Discrete Input Devices
5
Typical AC/DC Input Circuit
6
6
DC Inputs – Source/Sink
A DC input module can interface with field devices in both sinking and sourcing operations.
Sinking and sourcing operations refer to the electrical configuration of the circuits in the
module and field input devices.
• A device provides current when it is ON, it is said to be sourcing current.
• A device receives current when it is ON, it is said to be sinking current.
Source Sink
7
8
8
DC Inputs – Source/Sink
Sinking sensors allow current to flow into the sensor to the
voltage common, while sourcing sensors allow current to
flow out of the sensor from a positive source.
9
Isolated AC/DC Inputs
10
Wiring the S7-1200 – Input Wiring Type
11
11
Register/BCD Inputs
Multibit register/BCD input modules enhance input interfacing methods with the
programmable controller through the use of standard thumbwheel switches.
Thumbwheel switch (TWS)
12
Register/BCD Inputs
13
Register/BCD Inputs
14
Determine the values of the
registers (in BCD) after an
input transfer is made (in this
case via a block transfer input
of data).
The input has a starting
destination register of 4000
and a length of 4 registers
(i.e., from registers 4000 to
4003).
Assume that TWS set 1 is
read first, TWS set 2 is read
second, etc.
1515
Digital Outputs
16
Typical AC/DC Output Circuit
17
AC Outputs
18
DC Outputs – Sink/Source
19
Register/BCD Outputs
20
Register/BCD Outputs
21
Analog Inputs
Analog input modules digitize analog input signals, thereby bringing analog
information into the PLC
2222
Analog Inputs
23
Analog Inputs
1. The transducer detects the process signal (e.g., temperature).
2. The transducer transforms the process signal into an electrical signal that the
analog input can recognize.
3. The analog input transforms the signal into a 12-bit value proportional to the
electrical input to the module.
4. A block transfer in instruction, or another analog input instruction, transfers the
12-bit value to the PLC.
5. The PLC stores the 12-bit digital value in a memory location for future use
24
Analog Inputs
What will the contents of register
1000 be after the multibit
instruction the is executed?
25
Analog Inputs
Conversion of an analog signal by a transmitter and transducer
Standard current and voltage
ratings for analog interfaces
Analog interfaces can be either
unipolar (positive voltage only—i.e.,
0 to +5 VDC) or bipolar (negative
and positive voltages—i.e., –5 to +5
VDC)
2626
Analog Inputs
The resolution of the module indicates how many parts the module’s A/D will
divide the input signal into; it is given as a function of how many bits the A/D uses
during conversion.
An input module, which is
connected to a temperature
transducer, has an A/D with
a 12-bit resolution
Find the same values for a module with a 10-bit resolution!
27
Analog Inputs
Temperature transducer/transmitter connected to an input module.
Relationship between counts and input signal
28
Analog Inputs
Single-ended modules offer more points per module than their differential
counterparts. Depending on the manufacturer, a module may be set to either single-
ended or differential mode during software setup using rocker switches.
2929
Quiz
Define transfer equation for the following hardware
• Humidity sensor: 0-100%, 0-10VDC; Analog input: 12bit ADC
• Pressure sensor: 0-150 kPa, 4-20 mA; Analog input: 14bit ADC
• Temperature sensor: 0-500 0 C, -10-10 VDC; Analog input: 16bit ADC
3030
Analog Outputs
3131
Analog Outputs
3232
Analog Outputs
3333
Analog Outputs
Decimal = ?%
Valve open = 30%
3434
Analog Outputs
3535
Analog Outputs
Analog output connections
Analog output bypass/control station
Bypass/control stations, which are
placed between the PLC’s analog
interface and the controlled
element, ensure continued
production or control in a variety
of abnormal process situations.
3636