Chapter 4 - Processor, Power Supply and Programming Device
Chapter 4 - Processor, Power Supply and Programming Device
1
Introduction to Programmable Logic Controllers Chapter 4
4.1 Introduction
• The typical CPU consists of three components: Processor, memory and power supply.
• The power supply may be a separate unit that is mounted next to the block
enclosure containing the processor and memory.
4.1 Introduction
4.1 Introduction
4.2 Processors
• The principal function of the processor is to command and govern the activities of
the entire system.
• It performs this function by interpreting and executing a collection of system
programs known as the executive.
• The processor can perform all of its control, processing, communication, and other
housekeeping functions.
• The CPU of a PLC system may contain more than one processor to execute the
system’s duties and/or communications.
4.2 Processors
• The approach of using several microprocessors
to divide control and communication tasks is
known as multiprocessing.
4.2 Processors
AC servo motor
control
HCM City Univ. of Technology, Faculty of Mechanical Engineering 7 Duong Van Tu
Introduction to Programmable Logic Controllers Chapter 4
(End-Of-Scan)
Input
1 twice less than the scan.
signal 1
0 • Input signal 3 changes states
1
Input fourice less than the scan.
signal 2
0
Input 1
signal 3
0
HCM City Univ. of Technology, Faculty of Mechanical Engineering 12 Duong Van Tu
Introduction to Programmable Logic Controllers Chapter 4
1
Pulse
signal
50 𝜇sec
0
1
Stretched
signal
0
1 2 3 4
Word
110011 101101 101110 100111
At the sender side:
• The sum of all segments is obtained as
110011+101101+101110+100111=10110101
• 1’s complement is taken which is 0 1 0 0 1 0 1 0
• CRC checksum value 0 1 0 0 1 0 1 0
1 2 3 4
Word
110011 101101 101110 100111
At the receiver side:
• The sum of all segments is obtained as 1 0 1 1 0 1 0 1
• CRC checksum value 0 1 0 0 1 0 1 0
• The overflow sum = Sum of all segments + Checksum = 1 1 1 1 1 1 1 1
• Complemented value of the overflow sum = 0 0 0 0 0 0 0 0
• Receiver assumes no error occurred in the data and therefore accepts it.
HCM City Univ. of Technology, Faculty of Mechanical Engineering 26 Duong Van Tu
Introduction to Programmable Logic Controllers Chapter 4
24VDC
100-240
VAC L N
100-240
VAC L N
N
INPUT
100-120VAC ~
L
RS-422 MD8M
USB