Professional Documents
Culture Documents
Voltage Hardwire
PLC
Regulator Logic
Relays
Isolation
Output signals to pump, mixer, etc
Inside the PLC
Input Relays - (contacts)
– connected to the outside world
– physically exist and receive signals from
switches, sensors, etc..
Internal Relays - (contacts)
– do not receive signals from the outside world
nor do they physically exist
– simulated relays and are what enables a PLC to
eliminate external relays
– also some special relays that are dedicated to
performing only one task
Inside the PLC
Counters
– do not physically exist
– simulated counters and they can be
programmed to count pulses
– limited in their counting speed
– high-speed counters that are hardware based
Timers
– do not physically exist
– on-delay and off reset
– increments vary from 10ms through 100ms
Inside the PLC
Output Relays (coils)
– connected to the outside world
– physically exist and send on/off signals to
solenoids, lights, etc
– can be transistors, relays, or triacs depending
upon the model chosen
Data Memory
– registers assigned to store data for math or data
manipulation
– can also typically be used to store data when
power is removed from the PLC
Types of Memory
Signals
I Memory O
u Signals to
n
from t solenoids,
p
Switches, u CPU p
u motor,
Sensors, t t lamps,
etc etc.
Programming
Device
ZEN
Expandable to 44 I/O
Low Cost Model 20 I/O max
Compact PLC Series
CPM2B CPM2C
Brick Style Micro The versatile slim-line
Controller Board Package controller
Modular PLC Series
CQM1H CJ1
The original backplane-less The entry-level modular PLC
modular PLC with a big potential
Rack PLC Series
CS1 CS1D
Suitable for any job: the The dual-redundant PLC
rack-based PLC with over system for never-fail control
200 types of I/O units
Omron CPM1A CPU Models
• CPM1A-20EDR
12 Input / 8 Output point
• I/O Numbers
- The input and output device (I/O device) are
managed by number only.
- These numbers are called I/O numbers and are
composed of channel (CH) and bits (bit).
PLC Channel Register
000 00
Input
CH 0 : 000.00, 000.01, 000.02, 000.03, …, 000.11
(000.12, 000.13, 000.14, 000.15)
CH 1 : 001.00, 001.01, 001.02, …, 001.14, 001.15
Output
CH 10 : 010.00, 010.01, 010.02, …, 010.07
(010.08, 010.09, …, 010.14, 010.15)
CH 11 : 011.00, 011.01, 011.02, …, 011.14, 011.15
Introduction to Control System
(Control Panel)
Flow Rate
Float Level
Oxygen Level
Control System
(Output)
Motor pump
Valve
Mixer
Input Device
Injection Molding
Machine Tower Light
NS Series Touch screen
NT Series Touch Screen
Positioning Control with PLC
Conventional
Hardwire Logic
Hardwire Logic Control Circuit
Start Stop
Relay 1
Relay 1
Relay 1 Solenoid
Timer
Timer
Pump
Conventional Relay Control Panel
What PLC can do?
1. Sequence Control
Relays
BB 27 3
CC 43 8
Analog Control
Information Handling
3. Supervisory Control
Computer
Printer
FA
Network
Pager
Process Monitoring
The advantages of Using PLC
Smaller physical size than hard-wire solutions.
Easier and faster to make changes.
Diagnostics are centrally available.
Applications can be immediately documented.
Applications can be duplicated faster and less
expensively.
Fast project implementation time
Low operating cost
Increase productivity
PLC Vs Relay Based Control System
Control Device
Wired Logic PLC
General Purpose
Specific Purpose
Control sequence can be
Control sequence is changed from time to time
fixed for one design without rewire
Control Scale
Small & Medium Medium & Large
Mnemonic Code
LD START
Relay 1 OR RELAY 1
Relay 1 AND NOT STOP
OUT RELAY1
Relay 1
Solenoid OUT SOLENOID
Timer
LD RELAY 1
TIM 000
Timer #0020
Pump LD TIM 000
OUT PUMP
Modification
The same example for PLC control system
Mnemonic Code
LD START
OR RELAY 1
AND NOT STOP
OUT RELAY1
OUT SOLENOID
LD RELAY 1
LD STOP
CNT 000
#0030
LD CNT 000
OUT PUMP
Programming
LED indicator Console
Input/output connector
can be remove easily
without using screw driver
Wired Logic
PLC
Economic Efficiency
Advantage on Advantage on
small scale small, medium
and large
Wired Logic
$$$ PLC
Power Consumption
High Low
Operating Mode
PROGRAM - Used for inserting or
< PROGRAM>
PASSWORD!
< PROGRAM>
CLR 0000
* PLC program and memory will be cleared after the following stroke!!!
LD OUT 0
OR CNT WRITE
Basic Instruction
1. LD / LD NOT
2. OUT / OUT NOT
3. END
4. AND / AND NOT
5. OR / OR NOT
6. AND LD
7. OR LD
8. TIM
9. CNT
LD / LD NOT
The first condition that starts any logic block within
a ladder diagram corresponds to a
LD or LD NOT instruction.
END
AND / AND NOT
OR LD
LD 0000
TIM 000
#0100
LD TIM000
OUT 1000
END (01)
*#0100 = 10s
Timer present value can be monitored by :
LD 0001
LD 0002
CNT 010
#010
LD CNT01
OUT 1000
END (01)
CLR
CONT
SHIFT 0
#
SRCH
INSTRUCTION
SEARCH CLR
OUT
SRCH
Inserting & Deleting Instruction
BIT SEARCH
<Instruction> INS
BIT SEARCH
<Instruction> DEL
Bit Monitor
CONT
SHIFT # 00000 MONTR
CH
SHIFT 010 MONTR
#DM
BINARY
SHIFT MONTR
* Monitor the status (ON/OFF) of bit & word in any PLC operating mode
Forced Set/Reset
PLAY REC
SET RESET
ON OFF
HEX / BCD DATA MODIFICATION
PRESS VAL ?
CHG
01000 ???/
I/O Relay
- Corresponds to input terminals and output
terminals.
- 00000 to 00915 (Input relay)
- 01000 to 01915 (Output relay)
000.01 010.00
000.00
SW1 SW2
010.00 LAMP1
000.01 200.00
000.00
LAMP1
END
SW1 SW2
200.00
010.00
200.00
LAMP1
END
Special Relay (SR)
- Special functions are assigned.
- 23200 to 25515
- Example :
25313 ----- Always ON
25314 ----- Always OFF
25315 ----- 1 cycle ON when operations start
25500 ----- 0.1 sec. clock pulse
25501 ----- 0.2 sec. clock pulse
25502 ----- 1.0 sec. clock pulse
LAMP1
END
TR0 TR1
INTERLOCK CIRCUIT
000.03 010.02 010.01
000.01
SW 1 RESET
MOTOR MOTOR
010.01 REVERSE FORWARD
MOTOR FORWARD
000.03 010.01 010.02
000.02
SW 2 RESET MOTOR
MOTOR
FORWARD
010.02 REVERSE
MOTOR REVERSE
END
Programming Instruction
1. Latch Instruction
2. DIFU (13) / DIFD (14)
3. MOV (21)
4. CMP (20)
Latch Instruction
– SET, RSET
Used momentary switches to latch and reset
output.
SET
1000
00
RSET
1000
01
Latch Instruction
– KEEP (11)
Used momentary switches to latch and reset
output.
Operates like a latching relay that is set by S
and reset by R.
Remains ON or OFF state of a bit until one of its
two inputs sets or reset.
00 00 LD 000.00
KEEP (11) S 01 LD 000.01
01
10.02 R 02 KEEP (11) 010.02
03 END (01)
Differentiation Up & Down
DIFU (13) and DIFD (14)
000.00
DIFU
SW1 200.00
200.00 010.00
000.00
DIFU
000.00
DIFD DIFD
SW2 200.01
200.01 010.01
CONT 20000
SHIFT 20000 MONTR
#
^ OFF
20000
^ OFF
00000
CMP(20)
CP1 First compare word
CP2 Second compare word
25505
1000
Greater Than
25506
Equal To
1001
25507
Less Than
1002
Exercise
Upper Limit Sensor
000.01 Ware House
Door Open Output 010.00
Door Close Output 010.01
Truck
Door Close Sensor
000.03
Door Open Sensor Lower Limit Sensor
000.00 000.02