Download Programmable Logic Controllers: Understanding I/O Module Types and more Slides Programmable Logic Controllers in PDF only on Docsity!
Programmable Logic
Controllers
I/O Module Types
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
Basic Module Types
• Digital (discrete) output modules
- Optical isolation provided
- Relay, transistor or triac based
- Transistor-based outputs may be
- Current sourcing or
- Current sinking
• Digital (discrete) input modules
Optical isolation provided
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
- Optical isolation provided
- Diode based
- Current sinking, sourcing or both depending on device
Relay Output Module
CPU Actuator
0
7 6
OUT
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
Power +/- -/+
common
0
Relay Output Module
• Coil actuated switch closing
• AC or DC switching
- Relay determines current carrying capacity
• More expensive relay I/O modules may have
two external contacts per relay
- Separate actuator and power supply can be
connected to each relay-controlled circuit
- Most flexible in terms of power types (AC or DC)
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
p yp ( )
and connections
• Less expensive relay I/O module
- Common contact for a group (or all) outputs
Transistor Output Modules
• PNP transistors used in current sourcing
output modules
• Positive common may be shared across allP iti b h d ll
(or groups of) inputs
• NPN transistors used in current sinking
output modules
• Negative common may be shared across all
(or groups of) inputs
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
(or groups of) inputs
• BE AWARE OF THE OUTPUT TYPE
- Sourcing vs. Sinking
- Power supply connections are different between the types
Current Sourcing/Sinking TRIAC
Output Module
OUT
CPU
Power
Actuator
0
7 6
OUT
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
common
TRIAC allows current flow in either direction if triac’s gate contact
is energized. Power supply polarity is not important. AC is allowed.
More expensive than transistor-based modules.
Current Sinking Optoisolated
Input Module
CPU
0
7 6
IN
Current
sensor
+5V
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
Power
common
0
Current Sourcing Optoisolated
Input Module
CPU
0
7 6
IN
Current
sensor
+5V
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
Power
common
0
Controller wiring
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
Trainer Wiring
(sink/source input module)
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
Trainer Wiring
(relay output module)
AC power
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
24Vdc
MicroLogix™ Analog Input/Output
Module (1762-IF2OF2)
- 1a upper panel mounting tab
- 1b lower panel mounting tab
- 2 power diagnostic LED2 power diagnostic LED
- 3 module door with terminal
identification label
- 4 bus connector with male pins
- 5 bus connector cover
- 6 flat ribbon cable with bus
connector (female)
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
- 7 terminal block
- 8 DIN rail latch
- 9 pull loop
- 10 input type selector switch
Input Data File
- For each module, slot x, words 0 and 1 contain the analog
values of the inputs.
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
p
- The module can be configured to use either raw/proportional
data or scaled-for-PID data.
Status Bits
- SIx = General status bits for input channels 0 and 1.
- SOx = General status bits for output channels 0 and 1. This
bit is set when an error (overbit is set when an error (over- or under-range) exists for that or under range) exists for that
channel, or there is a general module hardware error.
- OIx = Over-range flag bits for input channels 0 and 1.
- OOx = Over-range flag bits for output channels 0 and 1.
These bits can be used in the control program for error
detection.
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-
- UIx = Under-range flag bits for input channels 0 and 1.
- UOx = Under-range flag bits for output channels 0 and 1.
These bits can be used in the control program for error
detection.
Output Data File
Electrical & Computer Engineering Dr. D. J. Jackson Lecture 11-