You are on page 1of 31

SIEMENS

CONSTITUENTS OF PLC & WORKING

PLC Power
Supply

Input Module CPU Output Module


Program Memory

Field Inputs Control Elements


PROCESS / MACHINE
I-CS-VS-TRG TIA BASIC
SIEMENS
Need of Digital Input Module
Digital Input CPU

Field Digital
Input
24 V

5V

24 V DC
5V/0V

M_LPS M_SPS

(1) Signal conversion


(2) Signal isolation
(3) Serial communication with CPU - S7-300

I-CS-VS-TRG TIA BASIC


SIEMENS
Digital Input Module
Field Input
Signals

MUX

CPU
z

PII PIQ
P24

PII-Process Image Input, PIQ = Process Image Output


I-CS-VS-TRG TIA BASIC
SIEMENS
WORKING OF PLC
Bringing Input Signal To PII
Field Input
Signals

enable

CPU
Input
Module

PII PIQ

P24
PII-Process Image Input, PIQ = Process Image Output
I-CS-VS-TRG TIA BASIC
SIEMENS
Processing of Signals using Program

User Program
Memory
Internal
Timers
Internal
CPU
Counters
Flags /Bit
Memory

PII PIQ

I-CS-VS-TRG TIA BASIC


SIEMENS
Sending Process Image Output To Output Module

Field
Devices
enable

CPU
Output
Module

PII PIQ

I-CS-VS-TRG TIA BASIC


SIEMENS
Cyclical Program Execution(OB1)
Start-up block (OB 100)
Execution once after e.g. power on

Start of the cycle monitoring time Input


Module

Reading the signal states from the modules


and saving the data in the process image (PII)
CPU Cycle

Execution of the program in OB1 Block A I 0.1


(cyclical execution) OB 1 A I 0.2
Events (time-of-day interrupt, hardware interrupts etc.) = Q8.0
call other OBs, FBs, FC/PBs, etc.

Output
Writing the process-image output table Module
(PIQ) to the output modules

I-CS-VS-TRG TIA BASIC


SIEMENS
Addressing
Address

Identifier Byte Address Bit Address


PII = I

PIQ= Q I1.4

Bit Memory = M

Timer = T Q4.0

Counter = C
I-CS-VS-TRG TIA BASIC
SIEMENS
Process Images
Digital Input Module CPU Digital Output Module
I 1.3
Q4.3

I 2.0

+L Q5.0
M

PII PIQ
CPU

Byte 0 Byte 0
Byte 1 1 User Program Byte 1
Byte 2 1 Byte 2
: : :
: : : 1
: :
1
A I 1.3
A I 2.0
= Q 4.3
= Q 5.0
:
:
CPU Memory Area : CPU Memory Area
:

I-CS-VS-TRG TIA BASIC


SIEMENS
SIMATIC S7 Programmable Controller

High-performance and The PowerPLC,


medium range
for Production
S7-400
and Process
Low -end and Engineering
medium range
S7-300

MicroPLC
S7-1200
MicroPLC
S7-200

+ Programming devices
+ STEP 7 software
+ Communications
+ Human-Machine Interface

I-CS-VS-TRG TIA BASIC


SIEMENS

Positioning
Price

LOGO! S7 - 200 S7 -1 200 S7 - 300 S7 - 400 Performance

I-CS-VS-TRG TIA BASIC


SIEMENS
Software
STEP 7 - Basic / Professional

S7 - 400

S7 - 300
STEP 7 - Lite

S7 - 1200 TIA Portal

S7 - 200 STEP 7 – MicroWIN

LogoSoft Comfort

I-CS-VS-TRG TIA BASIC


SIEMENS

Selection Criteria
No. of Inputs : Digital / Analog

No. of Outputs : Digital / Analog

Memory

Processing speed of CPU

CPU capabilities / system functions / system function blocks

No. of timers, counters & size of bit memory

Need of special function modules such as high speed counters, closed loop control etc.

Need of Interface Module

Networking and communication capabilities

I-CS-VS-TRG TIA BASIC


SIEMENS

Power Supply Modules (PSs) -


Overview
PS 307 2A PS 307 5A PS 307 10A

PS307
5A PS307
5A
PS307
5A

DC 5V
DC 5V
DC 5V
VOLTAGE
SELECTOR VOLTAGE
VOLTAGE
SELECTOR
SELECTOR
ON
OFF ON
ON
OFF
OFF

X2 X2 X2
34 34 307 - 1BA00- 0AA0 34
365 - 0BA01- 0AA0 307 - 1BA00- 0AA0

I-CS-VS-TRG TIA BASIC


SIEMENS

Power Supply Module - Front Plate


Control
LED for 24V DC

Voltage Selector
230V
Switch

L+ Terminals for 24V DC


M output Voltage
L1 L+
N M
E L+
M

I-CS-VS-TRG TIA BASIC


SIEMENS
Power Supply Modules - Electrical
Specifications

Details PS 307 2A PS 307 5A PS 307 10A


Input Voltage 120/230V AC 120/230V AC 120/230V AC

Max. Output
Current 2A 5A 10A
Short cct.
Protection Yes Yes Yes

Output Voltage 24 DC±5% 24 DC±5% 24 DC±5%

I-CS-VS-TRG TIA BASIC


SIEMENS

SIMATIC S7- 300 System

I-CS-VS-TRG TIA BASIC


SIEMENS

SIMATIC S7- 300 : CPU Front Plate Controls


CPU 31X CPU 31X-2DP

I-CS-VS-TRG TIA BASIC


SIEMENS

Central Processing Unit ( CPU ): LED Indicators


SF
BF1 CPU 31x 2-PN/DP

CPU 312 BF2


CPU 314
CPU 315 2-DP
DC5V

SF H/W or S/W fault FRCE

BF Bus fault RUN

STOP

DC5V 5V DC Supply
FRCE BF1 SF
Forcing
BF2 CPU 319 3-PN/DP
RUN CPU in RUN
BF3
DC5V
STOP CPU in STOP
FRCE

RUN

STOP

I-CS-VS-TRG TIA BASIC


SIEMENS

CPU Mode Selector Switch


RUN :
•The CPU scans the User Program.
•Reading / Uploading a program from CPU is possible.
•Changed program can be Downloaded into the CPU.

RUN
STOP :
STOP
•The CPU does not scan the User Program.
•Reading / Uploading a program from CPU is possible.
•Changed program can be Downloaded into the CPU.
MRES

MRES :
•The momentary contact position for resetting the CPU memory.
•You must observe the special procedure for it.

I-CS-VS-TRG TIA BASIC


SIEMENS
Performing a Memory Reset and a Warm Restart
RUN
STOP 1. Set the mode selector switch to STOP.
MRES

RUN 2. Hold (Press) the mode selector switch in the MRES position.
STOP The STOP LED will flash slowly.
After the second flash release the mode selector switch so that it
MRES returns to the STOP position.

within 1 sec

RUN 3. Turn (Press) the mode selector switch to the MRES position once
STOP more. The STOP LED begins to flash quickly.
MRES Release the mode selector switch so that it returns to the STOP
position.

RUN
STOP 4. Now set the mode selector switch to the RUN position.
MRES (A warm restart is carried out in the transition from STOP to RUN)

I-CS-VS-TRG TIA BASIC


SIEMENS
Central Processing Unit ( CPUs ):
Specifications
CPU 313 CPU 314 CPU 315 CPU 316-2DP CPU 318-2
(CPU 315-DP)
Instructions/Data 4K/- 8K/- 16 (21) K / - 42 K / - 84 K / 256 Kbyte
User memory 12 Kbyte 24 KByte 48 (64) KByte 128 KByte 512 Kbyte
Free addressing no no no (yes) yes yes
DI / DO 256 1024 1024 1024 1024
AI / AO 64 256 256 256 256
Processing time/ 0,6 ms 0,3 ms 0,3 ms 0,3 ms 0,1 ms
1 K bin. instructions
Bit memories 2048 2048 2048 2048 8192
Counters 64 64 64 64 512
Timers 128 128 128 128 512
(PROFIBUS- PROFIBUS- PROFIBUS-DP
DP interface DP interface (Master/Slave)
master/slave master/slave with 125 stations;
with 64 DP- with 64 DP- MPI usable as
stations) stations DP (12 MBaud)

I-CS-VS-TRG TIA BASIC


SIEMENS

SMs (Digital) - Basic Characterisitcs


– Digital signals from 24 or 230 V, DC or AC.
– 20 or 40-pin front connector with screw-type connections or
spring-loaded connections
– Powerful modules
• Process interrupt
• Diagnostics interrupt
– Setup via parameterization, no more hardware settings
– Status : Yes, Green LED per channel.
– No. of Channels : 8, 16, 32.
– All Modules are Single Width ( 125 X 130 X40 mm )

I-CS-VS-TRG TIA BASIC


SIEMENS

SM 321 ( DI ): Module Overview


Digital Input Module: SM 321

Module Number of Rated input Diagnostic&


Description Channels Voltage Hardware Inter.
SM 321: 6ES7 321 1BLx0 0AA0 32 X 24 V DC No
SM 321: 6ES7 321 1BH020AA0 16 X 24 V DC No
SM 321: 6ES7 321 7BHx00AA0 16 X 24 V DC Yes
SM 321: 6ES7 321 1BH500AA0 16 X 24 V DC No
( Source type )
SM 321: 6ES7 321 1CH8 0AA0 16 X 48 - 125 V DC No
SM 321: 6ES7 321 1EH01 0AA0 16 X 120 VAC No
SM 321: 6ES7 321 1EL00 0AA0 32 X 120 VAC No
SM 321: 6ES7 321 1FFx1 0AA0 8X 120/230 VAC No
X = 0,1,2 etc.

I-CS-VS-TRG TIA BASIC


SIEMENS

SM 322 ( DQ ) : Specifications
– Different voltages like 24 - 120 V DC; 120 - 230V AC
– Different number of channels
• 4, 8, 16 or 32 channels
– Different output currents
• 0.5; 1 ; 1,5 ; 2 ; 3 or 5 A
– Electronic / relay outputs
– Modules with/without diagnostics capability
(Front connector unplugged; module defective indication; short-
circuit; etc.)
– Status : YES, Green colour LED per channel

I-CS-VS-TRG TIA BASIC


SIEMENS

SM 322 ( DQ ): Module Overview


Digital Output Module: SM 322

Module Number of Rated output Diagnostic&Hard


Description Channels Voltage/current ware Interrupt
SM 322: 6ES7 322 1BL00 0AA0 32 X 24 V DC/0.5A No
SM 322: 6ES7 322 1BHx10AA0 16 X 24 V DC/0.5A No
SM 322: 6ES7 322 1BF01 0AA0 8X 24 V DC/2A No
SM 322: 6ES7 322 8BFx1 0AA0 8X 24 V DC/0.5A Yes
SM 322: 6ES7 322 1CF80 0AA0 8X 48 - 125 V DC/ No
1.5A
SM 322: 6ES7 322 1EH01 0AA0 16 X 120 VAC/1A No
SM 322: 6ES7 322 1FFx1 0AA0 8X 120 /230VAC/2A No
SM 322: 6ES7 322 1EL00 0AA0 32 X 120 VAC / 1A No

X = 0,1,2 etc.

I-CS-VS-TRG TIA BASIC


SIEMENS
POWERING AND WIRING

I1.5 I0.3 I9.2 I8.6

1 1 1 1
2 2 2 2
3 3 3 3
4 4 4 4

PS CPU DI DQ DI DQ
5 5 5 5
6 6 6 6
7 7 7 7
8 8 8 8
9 9 9 9
10 10 10 10
11 11 11 11
12 12 12 12
13 13 13 13
14 14 14 14
15 15 15 15
16 16 16 16
17 17 17 17
18 18 18 18
19 19 19 19
20 20 20 20

Q5.7 Q12.2

I-CS-VS-TRG TIA BASIC


SIEMENS
Wiring of Input Devices to DI Module

I-CS-VS-TRG TIA BASIC


SIEMENS
POWERING AND WIRING

I1.5 I0.3 I9.2 I8.6

1 1 1 1

L+
2 2 2 2
3 3 3 3
4 4 4 4

PS CPU DI DQ DI DQ
5 5 5 5
6 6 6 6
7 7 7 7
8 8 8 8

LPS
9 9 9 9
10 10 10 10
11 11 11 11
12 12 12 12
13 13 13 13
14 14 14 14

M
15 15 15 15
16 16 16 16
17 17 17 17
18 18 18 18
19 19 19 19
20 20 20 20

Q5.7 Q12.2

I-CS-VS-TRG TIA BASIC


SIEMENS
Wiring of Output Devices to DQ Module

I-CS-VS-TRG TIA BASIC


SIEMENS
POWERING AND WIRING

I1.5 I0.3 I9.2 I8.6

1 1 1 1

L+
2 2 2 2
3 3 3 3
4 4 4 4

PS CPU DI DQ DI DQ
5 5 5 5
6 6 6 6
7 7 7 7
8 8 8 8

LPS
9 9 9 9
10 10 10 10
11 11 11 11
12 12 12 12
13 13 13 13
14 14 14 14

M
15 15 15 15
16 16 16 16
17 17 17 17
18 18 18 18
19 19 19 19
20 20 20 20

Q5.7 Q12.2

I-CS-VS-TRG TIA BASIC

You might also like