Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 7

SIEMENS

Power Supply

CUSTOMER TRAINING

CONSTITUENTS OF PLC & WORKING

Input Module

CPU Program Memory

Output Module

Field Inputs Control Elements PROCESS/MACHINE


A&D2/ATU

PLC-BASIC-5

SIEMENS
WORKING OF PLC Bringing Input Signal To PII

Customer Training

enable

CPU

Input Module PII


P24

PIQ

PII-Process Image Input

A&D2/ATU

PLC-WORKING

SIEMENS
Processing of Signals using Program User Program Memory

Customer Training

Internal Timers

CPU

Internal Counters
Flags /Bit Memory

PII

PIQ
PIQ = Process Image Output

A&D2/ATU

PLC-WORKING

SIEMENS

Customer Training

Sending Process Image Output To Output Module enable CPU Output Module PIQ M

PII

A&D2/ATU

PLC-WORKING

Addessing

Address

Identifier
PII = I

Byte Address

Bit Address
I1.4

PIQ= Q

Bit Memory = M Q4.0


Timer = T

Counter = C

SIEMENS
I 1.3 I 2.0

Customer Training

Process

Images

Q4.3

Q5.0
PII
Byte 0 Byte 1 Byte 2 : : :

CPU

PIQ
Byte 0 Byte 1 Byte 2 : : : 1

User Program
1

1 : : A A = = CPU Memory Area I I Q Q : : : : 1.3 2.0 4. 3 5.0

CPU

Memory Area

A&D2/ATU

PLC-WORKING

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

Customer Training Cyclical Program Execution(OB1)

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

Block Execution of the program in OB1 OB 1 (cyclical execution) Events (time-of-day interrupt, hardware interrupts etc.) call other OBs, FBs, FC/PBs, etc.

A I 0.1 A I 0.2 = Q8.0

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

Output Module

A&D2/ATU

PLC-WORKING

You might also like