Académique Documents
Professionnel Documents
Culture Documents
SESSION 1
6 10 December 2010
1-1
6 10 December 2010
1-2
WHAT IS PLC?
RELAY
Arus Listrik
Overview of AB PLCs System
6 10 December 2010
1-3
Coil
6 10 December 2010
1-4
6 10 December 2010
1-5
6 10 December 2010
1-6
outputs
Power Supply
Processor
inputs
I/O System
Power Supply
PROCESSOR
Memory
Unit
6 10 December 2010
1-7
Programming
Device
6 10 December 2010
1-8
PLC WORK
POWER ON
Sanity Check
STOP
Indikator On
Yes
Error
No
Save to
Memori
Scanning
All Inputs
Outputs Change
Overview of AB PLCs System
6 10 December 2010
1-9
Scanning
All Outputs
6 10 December 2010
1-10
POWER ON
6 10 December 2010
1-11
Input
Output
Medium Size:
Up to 2048 I/O
Memory up to 32 KB
Large Size:
Small
Overview of AB PLCs System
Micro
6 10 December 2010
1-12
Up to 16000 I/O
Memory up to 2 MB
CPU
I/O
Port
output
bus
Data
Memory
Program
Memory
address bus
Instruction Cycle :
Fetch the next instruction from program
memory
Place it in the instruction register in the
CPU
Increment the program counter by one
Execute the instruction
6 10 December 2010
1-13
System
Clock
ALLEN-BRADLEY PLC
PROCESSORS
SLC 5/03
1747-L53x
SLC 5/04
1747-L54x
RS-232
1 DH-485 (1747-L53x)
1 DH+ (1747-L54x)
1 EtherNet/IP (1747L55x)
Networks Through
Additional Modules
DeviceNet
EtherNet/IP
Each interface uses an
RS-232 port.
SLC 5/03
1747-L55x
EtherNet/IP PLC-5
1785-LxxE
RS-232
1 EtherNet/IP
up to 2 DH+/Universal
Remote I/O
ControlNet PLC-5
1785-LxxC15
RS-232
1 ControlNet
up to 2 DH+/Universal
Remote I/O
DH+ PLC-5
1785-LxxB
RS-232
up to 4 DH+/Universal
Remote I/O
DeviceNet
EtherNet/IP
Local
I/O
Total I/O
(Local and
Distributed)
32
local only
136
local only
540
512
6 10 December 2010
1-14
Controller
Built-in
Communication
Ports
ALLEN-BRADLEY PLC
PROCESSORS (2)
Controller
Local
I/O
DeviceNet
960
digital
9000 digital
or
256 analog
additional I/O capacity
with DeviceNet I/O
512
128,000 digital
or
4,000 analog
additional I/O capacity
with DeviceNet I/O
512
digital
CompactLogix:
1769-L31
1769-L32C, 1769L32E
1769-L35CR, 1769L35E
ControlLogix:
1756-L55
1756-L61, 1756-L62,
1756-L63
1756-L60M03SE
RS-232
DH-485 (via RS-232)
Modbus via ladder
routine (via RS-232)
FlexLogix:
1794-L34
RS-232
DH-485 (via RS-232)
Modbus via ladder
routine (via RS-232)
DeviceNet
ControlNet
EtherNet/IP
RS-232
1 EtherNet/IP
1 ControlNet
DH-485 (via RS-232)
Modbus via ladder
routine (via RS-232)
Total I/O
(local and
distributed)
Networks through
additional modules
DeviceNet
ControlNet
EtherNet/IP
DH+
Universal Remote I/O
128
analog
6 10 December 2010
1-15
Built-in
communication
ports
6 10 December 2010
1-16
ALLEN-BRADLEY PLC
PROCESSORS (3)
INPUT/OUTPUT SYSTEMS
Discrete Inputs/Outputs
Analog Inputs/Outputs
Special Purpose Modules
Intelligent Modules
Communication Modules
6 10 December 2010
1-17
6 10 December 2010
1-18
6 10 December 2010
1-19
PROGRAMMING DEVICES
Used to enter, store, and monitor the PLC software
PC-based system
Connected to the PLC only during :
programming & testing
startup
troubleshooting
com m unic atio n
cable
PLC
Com m unic atio n
Card
6 10 December 2010
1-20
I/O Module s
TC
TC
TC
TC
AO
AO
AI
AI
AI
DO
DO
DO
DI
DI
PLC
DI
POWER
SUPPLY
DI
Driver :
- RS232
- RS 485
- ENET
- DH+
6 10 December 2010
1-21
RSLinx
Communication
Software
Programming
& Communication
Software
Driver :
- RS232
- RS 485
- ENET
- Modbus
6 10 December 2010
1-22
6 10 December 2010
1-23
Relay type
Timer/counter
Data manipulation
Arithmetic
Data transfer
Program control
6 10 December 2010
1-24
90
In
90
70
10
Alarm
10
30
70
30
HHAlarm
HHLimit
HAlarm
HLimit
LAlarm
LLimit
LLAlarm
LLLimit
ROCPosAlarm
Deadband
ROCNegAlarm
0
0
0
0
0
0
6 10 December 2010
1-25
LV001
...
6 10 December 2010
1-26
ST
imax:=max_ite;
cond:=X12;
if not(cond(*alarm*))
then return;
end_if;
for i:=1 to max_ite do
if i<>2 then
SPcall();
end_if;
end_for;
6 10 December 2010
1-27
Statement types :
assignment
subprogram or function call
C function block call
Selection (if, then, else, case, etc)
Iteration (for, while, repeat, etc)
Control (return, exit, etc)
Special
6 10 December 2010
1-28
3. Memory Sizing
4. Selecting programming language
5. Peripheral requirements
6. System drawing and I/O wiring diagrams
7. System programming
PROCESS DESCRIPTION
States the purpose and the steps of the process/plant operation
Process Description is the most important step in the design
process
6 10 December 2010
1-29
6 10 December 2010
1-30
TTL
solid state displays and electronic instrumentation
Analog
Encoders
Overview of AB PLCs System
6 10 December 2010
1-31
6 10 December 2010
1-32
Select suitable I/O modules from PLC manual and obtain the number
of I/O points per module
The number of each I/O module type required =
[Total I/O points] / [Number of I/O points per module]
MEMORY SIZING
6 10 December 2010
1-33
6 10 December 2010
1-34
I/O Points
REDUNDANT CONFIGURATION
6 10 December 2010
1-35
SELECTING PROGRAMMING
LANGUAGE
6 10 December 2010
1-36
PERIPHERAL REQUIREMENTS
Peripheral = other equipment in the PLC system that is not
directly connected to field I/O devices
6 10 December 2010
1-37
Operator interfaces
SYSTEM DRAWING
Gives an overall view of the system hardware
I/O modules
processor
peripheral equipment
system interface
communication cabling
6 10 December 2010
1-38
6 10 December 2010
1-39
SYSTEM PROGRAMMING
6 10 December 2010
1-40
INSTALLATION
Control Panel Design
Layout
Heating Consideration
Enclosure Standards (NEMA)
Maintenance Features
Panel Duct and Wiring Design
Power Distribution Design
Grounding Considerations
Electrical Interference Considerations
I/O Module Installation and Wiring
6 10 December 2010
1-41
NEXT
SESSION 2
6 10 December 2010
1-42