Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
17 views

Basic Programming Simatic S7

The document provides an overview of the SIMATIC S7-300 PLC, detailing its features, modular design, and various operational modes. It includes information on hardware configuration, addressing modules, and programming structures such as binary and digital operations. Additionally, it covers the organization of blocks and data types used in the S7 system.

Uploaded by

nakul6587
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Basic Programming Simatic S7

The document provides an overview of the SIMATIC S7-300 PLC, detailing its features, modular design, and various operational modes. It includes information on hardware configuration, addressing modules, and programming structures such as binary and digital operations. Additionally, it covers the organization of blocks and data types used in the S7 system.

Uploaded by

nakul6587
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 45

By: Mohit Sharma

General
SIMATIC Overview

General
SIMATIC Controller (PLC)

S7-400
S7-200

S7-300

General
S7 – 300
Features :
 Modular small controll system
 Performance graded range of CPU
 Extensive selection of modules
 Expandable design with up to 32 modules
 Backplane bus integrated in the modules
 Can be networked with MPI, Profibus or Industrial ethernet
 Central PG/PC connection with access to all modules
 No slot restrictions
 Configuration and parameter setting with the help “HW Config”

General
S7 – 300
Mode Selector
MRES = Memory reset function
STOP = Stop mode, program not executed
RUN = Program execution
RUNP = Program execution, read/write access

Status Indicator
SF = Group error, internal CPU or fault in
module
BATF =
Battery fault
DC5V =
Internal 5 VDC voltage indicator
FRCE =
FORCE
RUN =
Flashes when the CPU is starting up,
then steady light in Run mode
STOP = Show steady light in Stop mode
SF DP = Physical bus fault
BUSF = No configuration or incorrect
configuration

General
Starting with SIMATIC Manager

General
SIMATIC Manager menus and toolbars

General
Standard Library

General
Context-Sensitive Help in S7

F1

General
Creating a project

General
Insert Station

General
Starting Hardware Configuration Editor

General
Generating a Hardware setpoint Configuration

General
Addressing S7 Modules

S 1 2 3 4 5 6 7 8 9 10 11
R
R0 PS CPU IM 0 4 8 12 16 20 24 28

R1 (PS) IM 32 36 40 44 48 52 56 60

R2 (PS) IM 64 68 72 76 80 84 88 92

R3 (PS) IM 96 100 104 108 112 116 120 124

General
Module Address Overview

General
Variable Addressing

2x

General
CPU Properties

2x

General
Saving the HW Configuration and Downloading it
in the Module

General
Inserting S7 Block

General
Inserting S7 Block

General
Block architecture and Block editor

OB : Organization Block Maximun Nesting Depth :


FB : Function Block
FC : Function S7-300 : 8 (16 for CPU 318)
SFB : System Function Block
SFC : System Function S7-400 :24
DB : Data Block

General
Program Structure

General
Binary Operation
ASSIGNMENT

AND - OPERATION

General
Binary Operation
OR - OPERATION

General
Binary Operation
EXCLUSIVE - OR - OPERATION

General
Binary Operation
RESET DOMINANT

SET DOMINANT

General
Binary Operation
POSITIVE EDGE

General
Binary Operation
NEGATIVE EDGE

General
Binary Operation
JUMP UNCONDITIONAL (JU)

JUMP CONDITIONAL (JC)

General
Digital Operation
BIT

BYTE For a unit of 8 binary characters, the term BYTE is used. A byte has the size of 8 bits.

WORD A word also has the size of 2 bytes or 16 bits.

DOUBLE-WORD A double-word corresponds to the word length of 32 binary characters.


A double-word also has the size of 2 words, 4 bytes, or 32 bits.

General
Digital Operation
Beberapa operand di S7 :
1. Operand input(I) 6. Operand Peripheral(PI)
Bit I 0.0 - … Input Byte PIB 0 - …
Byte IB 0 - … Input Word PIW 0 - …
Word IW 0 - … Output Byte PQB 0 - …
Double Word ID 0 - … Output Word PQW 0 - …
2. Operand Output(Q)
7.Operand Data(D)
Bit Q 0.0 - …
Bit DBX 0.0 - …
Byte QB 0 - … Byte DBB 0 - …
Word QW 0 - … Word DBW 0 - …
Double Word QD 0 - … Double Word DBD 0 - …
3. Operand Flag(M)
Bit M 0.0 - …
Byte MB 0 - …
Word MW 0 - …
Double Word MD 0 - …
4. Operand Timer(T)
T0
5. Operand Counter(C)
C0

General
Digital Operation
PULSE TIMER

General
Digital Operation
EXTENDED PULSE TIMER

General
Digital Operation
ON –DELAY TIMER

General
Digital Operation
OFF-DELAY TIMER

General
Digital Operation
COUNTER OPERATIONS

General
Digital Operation
COMPARISON FUNCTIONS

== IN1 is equal to IN2


<> IN1 is not equal to IN2
> IN1 is greater than IN2
< IN1 is less than IN2
>= IN1 is greater than or equal to IN2
<= IN1 is less than or equal to IN2

General
Digital Operation

General
Data Block

General
Data Block

General
Data Block

General
Scale & Unscaled

General
Scale

General
Unscaled

General
Thank you for your
kind attention

General

You might also like