Sei sulla pagina 1di 23

SIEMENS

SIGNAL MODULE

CUSTOMER TRAINING

INPUT MODULE

OUTPUT MODULE

DI

AI

DQ

AQ

SM321

SM331

SM322

SM332

A&D2/ATU

PLC-BASIC-5

Wiring of Input Devices to DI Module

Wiring of Output Devices to DQ Module

SIEMENS
POWERING AND WIRING
I1.5 I0.3 I9.2

CUSTOMER TRAINING

I8.6

L+ PS CPU DI

LPS
M

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

DQ

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

DI

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

DQ

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Q5.7

Q12.2

A&D2/ATU

PLC-BASIC-5

SIEMENS

CUSTOMER TRAINING

Programme Representation

Electrical Engineers

Electronic Engineers
Function Block Diagram (FBD)
Q4.0

Professionals Professionals

Ladder Diagram (LAD)

Statement List (STL)

I0.0 I0.1

Q4.0

I0.0 I0.1

&

AI0.0 AI0.1 =Q4.0

A&D2/ATU

PLC-BASIC-5

SIEMENS
Writing of Instructions
LAD

CUSTOMER TRAINING

FBD

STL

Check for 1

I0.0

I0.0

&

A I0.0 O I0.0

Check for 0

M5.0

M5.0

>=

AN M5.0 ON M5.0

Write decision

Q4.0

Q4.0

= Q4.0

A&D2/ATU

PLC-BASIC-5

SIEMENS
RLO = Result of Logic Operation I0.0 I0.1
I0.0 = open I0.1 =open RLO A I0.0 0 STA 0 I0.0 = close I0.1 = open RLO 1 STA 1

CUSTOMER TRAINING

Q4.0
I0.0 = open I0.1 = close RLO 0 STA 0 I0.0 = close I0.1 = close RLO 1 STA 1

A I0.1

= Q4.0
A&D2/ATU

1
PLC-BASIC-5

SIEMENS
AND before OR Logic LAD
I0.0

CUSTOMER TRAINING

I0.01 I1.1

Q4.0

I0.0

I1.0

I1.0

I0.1

I1.1

STL A I0.0 A I0.1

Q4.0

O A I1.0 A I1.1 = Q 4.0

A&D2/ATU

PLC-BASIC-5

SIEMENS
OR before AND LAD
I0.0

CUSTOMER TRAINING

I0.1

Q4.0

I0.0

I1.0

I1.0

I0.1

STL A( O I0.0 O I1.0 ) A I0.1 = Q 4.0

Q4.0

A&D2/ATU

PLC-BASIC-5

SIEMENS
DATA TYPES

CUSTOMER TRAINING

Elementary data type

Complex data type

Up to 32 bits e.g. Binary,integer, real, etc.

More than 2 bits e.g. Date & Time, Array, Structure,etc

A&D2/ATU

PLC-BASIC-5

SIEMENS
Elementary Data Type 1. Bool : True / False or 1 / 0 2. Binary Number : 2#1010, 2#0111 3. BCD Number : C#123, C#456 4. Hexadecimal Number : 16#A0B8 (32 bits)

CUSTOMER TRAINING

(0 to 999) (0 to FFFFFFFF)

5. Signed Integer number (Small) : 234, -547 (16 bits) (-32768 to +32767) 6. Signed Integer number (Large) : L#50567 (32 bits)

7. Real number (Floating Point) : 567.8, -78.3 (32 bits)

A&D2/ATU

PLC-BASIC-5

SIEMENS
STEP 7 - BLOCKS

CUSTOMER TRAINING

User Programmable Blocks

DATA Blocks (DBs)

Preprogrammed Ready to use blocks

1. Organization Block (OB) 2. Function (FC) 3. Function Block (FB)

1. Shared DB 2. Instance DB

1. In STEP 7 Library 2. In CPU e.g.SFC and SFB

A&D2/ATU

PLC-BASIC-5

SIEMENS

CUSTOMER TRAINING

S7-300 SERIES CPU- FEATURES


Latest version CPU (Compact series) Micro Memory Card No internal memory. MMC is the LOAD memory Compulsory Without battery. No place for battery.
PLC-BASIC-5

Earlier version CPU External Memory Load Memory Working with External memory Program and Data backup Flash EPROM Internal or External Optional Battery

A&D2/ATU

SIEMENS

CUSTOMER TRAINING

S7-300 SERIES CPU- FEATURES


Earlier version CPU Operating switch Downloading of program Ports provided On CPU On board Functions
A&D2/ATU

Latest version CPU (Compact series) Toggle switch 3 position no RUN_P position in RUN and STOP Only MPI or MPI and DP Or MPI and PTP All CPUs

Rotary switch 4 position with one as RUN_P in RUN_P and STOP Only MPI or MPI and DP On few CPUs (IFM type)

PLC-BASIC-5

SIEMENS

CUSTOMER TRAINING

S7-300 SERIES CPU- FEATURES

Earlier version CPU On board I/O s Project backup on External memory Storing of important Files i.e.. Excel,word On few CPUs (IFM type) Not possible on Flash EPROM Not Possible

Latest version CPU (Compact series) All CPUs Possible on MMC card Possible on MMC card

A&D2/ATU

PLC-BASIC-5

SIEMENS
CPU Memory

CUSTOMER TRAINING

External Memory Flash EPROM

Project
(a) Hardware configuration / System data (b) User Program in OB / FC / FB (c) Machine / Process data in DB (d) Symbol Table (e) Comments PII / PIQ M/ T / C L / I / B Stack Diagnostic Buffer

CPU
P

Block

Load Memory

Work Memory

System Memory

A&D2/ATU

PLC-BASIC-5

SIEMENS
PLC - PC Communication Programmable Controller

CUSTOMER TRAINING

Personal Computer

Port

Port

Electrical Interface = RS485 Protocol = MPI Baud Rate = 187.5 kbps

Electrical Interface = RS232 Protocol = serial comm.

Communication = ?
A&D2/ATU PLC-BASIC-5

SIEMENS
For converting desktop PC into PG

CUSTOMER TRAINING

PC with PIV processor HDD = min. 500MB RAM = min. 256 MB

Options for communication with PLC COM port + PC adapter or Free PCI slot + CP 5611(softnet) or + CP 5613 (hardnet) For Laptop + Com Port - PC Adapter or + PCMCIA slot CP 5511

OS = Windows 2000, SP4, or XP, IE 6.0


A&D2/ATU

FDD

STEP 7 software with authorization diskette


PLC-BASIC-5

SIEMENS
Analog Signal Processing

CUSTOMER TRAINING

Temperature Pressure Flow Level ..


CPU AI

Sensor

Electrical Signal

Standard Processable Electrical Signal V I

Channel

PIW

L PIW ..

0 1 2 3

MR Module

D A

A&D2/ATU

PLC-BASIC-5

SIEMENS
Current Signal 4 Wire transducer + _ _ + External PS + _ + _ External PS
A&D2/ATU

CUSTOMER TRAINING

AI + _

+ _

Separate power supply for transducer


PLC-BASIC-5

SIEMENS
Current Signal 2 Wire transducer + _

CUSTOMER TRAINING

AI + _

+ _

+ _

Module powering transducer field wires carry power & signal


A&D2/ATU PLC-BASIC-5

SIEMENS
Current Signal 2 Wire transducer
Ext. PS

CUSTOMER TRAINING

AI _ + _ + _

+ + _ + _

- Two wire transducer powered by external power supply - Setting in hardwire configuration 4 wire
A&D2/ATU PLC-BASIC-5

SIEMENS
AI Module Unused Inputs 1> Voltage signal, other then 1 to 5 V - short and connect to MANA

CUSTOMER TRAINING

2> Voltage signal, 1 to 5 V - connect unused input of the same channel group in parallel to the used input 3> Current signal, 2 wire - No diagnostic interrupt : keep it open - With diagnostic interrupt : connect 1.5k to 3.3k resistor across 4> Current signal, 4 wire - Connect unused inputs of the same channel group in series AQ Module Unused outputs - Keep open Please Note : Always disable unused inputs and outputs groups in hardware configuration A&D2/ATU PLC-BASIC-5

Potrebbero piacerti anche