Objectives 2 Upon completion of this chapter, students will be able to: Describe the components of S7300 and CompactLogix Understand the specifications of S7300 and CompactLogix PLC
Trang 1Chapter 2:
Hardware of PLC
Siemens And AllenBradley
1
Faculty of Electrical and Electronics Engineering
Department of Automation Control
Lecturer: Nguyen Tan Doi
Trang 2Objectives
2
Upon completion of this chapter, students will be able to:
Describe the components of S7300 and CompactLogix
Understand the specifications of S7300 and
CompactLogix PLC
Address I/O modules of S7300 and CompactLogix PLC
Know how to connect sensors and actuators to PLC
Trang 4PLC Overview
4
Trang 6Structure of a S7300 PLC
6
S7300 is a medium PLC of Siemens PLC
Including CPU and modules pluged on backplanes (Racks)
1 Rack connects 8 modules
1 CPU controls 4 Rack
Trang 7Connecting 4 Racks
7
Trang 9Digital Module
9
Trang 10Analog Module
10
Trang 11Memory (CPU with slot for Micro Memory Card)
11
There are three storage areas:
Load memory (located on MMC): collect code and data blocks (are transfered from the programming device)
Main memory: process relevant code and data blocks
System memory: process image of the Inputs (PII) and Outputs (PIQ), Bit memory (M), Timer (T), Counter (C)
Memory
Card
MMC - Micro Memory Card
Trang 12Storage concepts
12
Trang 13Rules of Addressing I/O
13
Bit: Name of region memory + Byte Add + “.” + Bit order
Ex: I0.2, M2.5, Q1.0
Byte: Name of region memory + “B” + Byte Add
Ex: IB2 (= I2.7 … I2.0) QB0 (= Q0.7 … Q0.0)
Word:
Name of region memory + “W” + High Byte of Word Add
Ex: MW0 (= MB0 MB1) QW2 (= QB2 QB3)
Dword:
Name of region memory +“D”+ High-HighByte of Word Add
Ex: ID0 (= IW0 IW2 = IB0 IB1 IB2 IB3)
Trang 14Interfacing Memory and Modules
14
Trang 15Addressing Digital Modules
15
Trang 16Addressing Analog Modules
16
Trang 17Format Analog Word
17
Trang 18CompactLogix PLC
18
Structure of a CompactLogix station
Digital and Analog modules
Memory
Tag based memory structure
Trang 19Structure of CompactLogix
19
CompactLogix is medium size of Allen Bradley PLC
Including 1 CPU and 16 modules pluged in backplane
2 types: 1769-L2x, 3x, 4x and 5370-L1x, 2x, 3x
Provide a Logix solution for machine level applications
Trang 21Digital Input Modules
21
1769-IQ32 24VDC Sink/ Source Input Module
Trang 22Digital Output Modules
22
1769-OB32 24VDC Source Output Module
Trang 23Analog Input Modules
23
Trang 24Wiring Input Devices
24
Trang 25Analog Output Modules
25
Trang 26Wiring Output Devices
26
Trang 27Format Analog Word
27
Trang 28Memory
28
Two types of Memory: Programe and Data memory
Memory is organized into blocks of many elements in
an array called a file
Programe file holds the user programe
There are 8 Data files defined by default
Trang 29Memory files
29
Trang 30Tag based Memory structure
30
Most new genertion PLCs use
A Tag is a friendly name for a memory location
A Tag name also has a data type assigned
Two types of Tag:
Controller Tag: available to all programs
Program Tag: just for one program only
Base Tag: directly addresses a memory location
Alias Tag: point to an addressed memory location
defined by another Tag
Trang 32Temperature Control System
32