You are on page 1of 83

CHAPTER 1

INTRODUCTION TO... PLC


-
-

Automatic warehouse

P L C P C

PLC
-
- PLC

-

PLC ?
PLC (Programmable Logic Control)

PC (Programmable Control)

PLC ?
PLC 2
1)

2)

1)
PLC PLC

PLC

1.1 BLOCK TYPE (SHOE BOX) PLC


1.2 RACK TYPE PLC
1.3 SOFT PLC

OMRON

1.1 BLOCK TYPE (SHOES BOX)


PLC Block Type
PLC CPU

/
/
PLC

1. 2 RACK TYPE PLC


PLC Rack Type CPU /

1. 2 .1 Connector

1. 2.2 Backplane

1. 2 RACK TYPE PLC ()

/
/ PLC

Block Type PLC I/O


Network

1. 3 SOFT PLC
PLC Software PLC
PC(Personal Computer)
/

Input

Output
Personal Computer

IEC 1131 Standard


Sequential Function Chart(SFC)
Structured
- Text (ST)
Function Block
Diagram (FBD)
Instruction List (IL)
Ladder Diagram (LD)

Standard Languages
1. Sequential Function Chart(SFC)

2. Structure Text (ST)

Standard Languages()
3. Function Block Diagram (FBD)

4. Instruction List (IL)

Standard Languages()
5. Ladder Diagram (LD)

PLC

PLC
PLC

1. (Input Section)
2. (CPU)
3. (Memory)
4. (Output Section)
5. (Power Supply)

1. (Input Unit)
ENCODER

LEVEL SW.

(Input Devices)
PUSH BUTTON SW.
PHOTOELECTRIC SENSOR

PROXIMITY SENSOR.

()
PLC
1. Relay
2. NPN

3. PNP

()
PLC
Optocoupler

Output
LED

Internal
Circuits

COM

Relay
Input Voltage = 24 VDC +10%/-15%

PLC

PLC

Sensor

Sensor power
Supply

Output
5 mA /12 mA
0V

IN 00

CP1L
COM (+)

PLC

5 mA /12 mA
Output
0V

Sensor
power
Supply

CP1L
IN
00
COM (-)

NPN
SENSOR POWER
SUPPLY

+
OUTPUT

IN

COM +

PNP
SENSOR POWER
SUPPLY

+
OUTPUT

IN

COM -

2. (CPU UNIT)
PLC

(Micro Processor Based)


/
Relay Ladder Diagram
CPU

3. (MEMORY UNIT)

(Data Bit)
1 0 1
PLC ROM
RAM
RAM(Random Access Memory)

ROM(Read Only Memory)
PLC

(Backup)
Backup time (days)

1.Capacitor Backup
20
10
7

1
25

40

80

Ambient temperature(0C)

2.Battery Backup

5 Years ( Within 5 Min. for Change )

4. (OUTPUT UNIT)



Servo Motor
Magnatic Contacter

Output Devices

()

5. (POWER SUPPLY UNIT)

CPU Unit / *AC


100-240 V*DC 24 V

CHAPTER 2
INTRODUCTION TO...
CP1L/CP1H

PLC CP1L CPU UNIT

INDICATORS

OPTION BOARDS

EXPANSION UNIT

EXPANSION UNIT

EXPANSION UNIT

CHAPTER 3

PLC


PLC
PLC PLC
PLC PLC
2

1. Hand Held Programmer


2. Software

1. Hand Held Programmer


(OMRON Programming Console)

2. SOFTWARE

CHAPTER 4

Memory Area

1 ( 0 1 ) 1 ( 1Bit)
3

4 1 ( 1 Digit)

15
0
16 1 ( 1 Word or 1 Channel )

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

0 0 1 0 1 1 1 0 0 1 0 0 0 1 1 0 2

16

2E46

Word or channel

Bit

Example

000.00 0 0
000.07 0 7

PLC

PLC

CIO AREA (Input,Output & Work Area)


000.15
CH 0
15

Input CH 0

000.11

000.00
0

CIO AREA (Input,Output & Work Area)

Input /Output Wiring


INPUT Wiring

OUTPUT Wiring

Input
Area
CH
000
+
1

HR AREA (Holding Relay)


ON/OFF

Example

01000
00000

01000

01000

00000

00001

HR00.00

HR00.00

HR00.00
END
END

01000

AR AREA (Auxiliary Relay)


Flags Control Bit
Example
AR 17 00-07
AR 17 08-15

15

08 07

15 14 13 12 11 10 9

00
6

5
3

()

AR 17

5
Move digit

LR AREA (Link Relay)

DM AREA (Data Memory)

Read/Write

Error Log

Error

Read-Only

PC Set up

PLC

CHAPTER 5

PLC

RST

R ST
S1

K
S2

S1
S2
K1

K1

RST

S1
00000

10000

S2

00001

com
00000 00001
10000

10000

com


Ladder Diagram

S1

00000 00001
K1

10000

10000

S2
K1

LD

00000

OR

10000

AND NOT 00001


OUT

10000


1. Ladder Diagram

2. LD Ladder Diagram
000.00

LD 00000

3. OUT OUT
OUTPUT
LD 00000
000.00
OUT 01000
010.00


4. AND

A B A B

000.00

000.01

010.00

LD 00000
AND 00001
OUT 01000


4. OR

A
B

A B A B

000.00
000.01

010.00

LD 00000
OR 00001
OUT 01000


4. AND LD
000.00

000.02

010.00

000.01

LD 00000 LD 00002
OR 00001 OR 00003

000.00

000.02

000.01

000.03

AND

LD
OR
AND
OUT

010.00

00000
00001
00002
01000


5. OR LD
000.00

000.01

010.00

000.02

LD
AND
OR
OUT

00000
00001
00002
01000

LD 00000
AND 00001

AND
LD

000.00

000.01

000.02

000.03

LD 00002
AND 00003

010.00

Question???
1. 24
PLC
2. 27 .. 12:00

CLOCK

You might also like