SIMATIC manager سيماتك منجر سيمنز

SaifAli238 2,449 views 40 slides Jul 09, 2018
Slide 1
Slide 1 of 40
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40

About This Presentation

خطوات احتراف برنامج سيماتك منجر للمتحكمات 300 و 400
من اعداد المدرب سيف علي موسى


Slide Content

SIMATIC Step7تادادعا طبضل جمانرب وه , زنميس عون تامكحتملا ةجمربو ةنونع300 و400
ساركلا اذه كلعجي نم ةمهملا بناوجلا ضعب فرتحتSIMATIC Manager ةريثكلاو ةعسوملا
لبق نم ةرودلا هذه ميمصتو دادعا مت"ىسوم يلع فيس " عم نواعتلاب"قرشلا كينورتكلا " ميلعتلةتمتلأا
SIMATIC Manager –EssosElectronic By SaifAli 1
www.YouTube.com/c/EssosElectronic

مادختسلاا ةقيرطو ةركفلا:
يدجم ريغلا فصولل ةيمك لقا ىلع ةمزلملا هذه تممص ,ليهستل كلذو
هسفن بردتملا لبق نم ةديفملا تاظحلاملا تيبثتو ملعتلا ةيلمع...
مادختسلاا ةقيرطل جذومن:
SIMATIC Manager –EssosElectronic By SaifAli 2
سردلا مسا
ةعبتملا تاوطخلا
بردتملا تاظحلام
رشانلا ىلا ةظوفحم قوقحلا عيمج"يلع فيس"
ناسيم طفن ةكرش /مظنلاو ةرطيسلا مسق

Create new Project
SIMATIC Manager –EssosElectronicBy SaifAli 3
تاوطخلا
كتاظحلام...

Change the language
SIMATIC Manager –EssosElectronic By SaifAli 4
تاوطخلا
كتاظحلام...
Open app > option > customize > language > English > OK

New project
SIMATIC Manager –EssosElectronic By SaifAli 5
تاوطخلا
كتاظحلام...
File > new > Type project name > create top level folder
Insert > station > SIMATIC 300 station > rename it!

Hardware configuration
SIMATIC Manager –EssosElectronic By SaifAli 6
تاوطخلا
كتاظحلام...
Open PLC station folder > hardware configuration > right catalog
Choose > SIMATIC 300 > RACK-300 > Rail
PS-300 > Choose suitable one! > PS 307
CPU-300 > CPU 315 > 6ES7 315 XXX XXX
SM-300 > DI/DO-300 > SM 323 DI/DO XXX XXX
Save & Compile

Write your first LOGIC
SIMATIC Manager –EssosElectronic By SaifAli 7
تاوطخلا
كتاظحلام...
Open CPU folder > S7 program > Blocks > OB1 > OK
View > LAD
Write YOUR LOGIC > From Right catalog > choose your instruction

Documentation
SIMATIC Manager –EssosElectronic By SaifAli 8
تاوطخلا
كتاظحلام...
TOP level Description
NETWORK Title
Comment

Download & monitoring
SIMATIC Manager –EssosElectronic By SaifAli 9
تاوطخلا
كتاظحلام...
Save your project > download > monitor > RUN mode
PLCSIM mode
Run your PLCSIM set on > MPI > RUN-P
Insert > Inputs > Outputs > According on your HW CONFIG
Save your project > download > monitor > on ladder editor

Project Wizard
SIMATIC Manager –EssosElectronic By SaifAli 10
تاوطخلا
كتاظحلام...
Menue> file > new “project wizard” > preview > next >
Select your CPU > next >
Select code blocks > LAD > next >
Type project name > finish

Insert PROFIBUS-DP
SIMATIC Manager –EssosElectronic By SaifAli 11
تاوطخلا
كتاظحلام...
Open HW CONFIG > right click > DP master > insert DP master system >
new > type name > OK
Save & Compile

Add device to PROFIBUS-DP
SIMATIC Manager –EssosElectronic By SaifAli 12
تاوطخلا
كتاظحلام...
Open HW CONFIG > PROFIBUS DP catalog > ET 200 L > L-16DI/DO >
Drag drop to network > OK
Save & Compile

Archive & Retrieve
SIMATIC Manager –EssosElectronic By SaifAli 13
تاوطخلا
كتاظحلام...
File > archive > select file name > OK
Select destination directory > save
Retrieve > Select directory > select file > open > OK > yes

What is a STEP 7 library and how do I use it
•A library is an organization of programs
and associated code blocks. A library is
a top-level folder/directory, under
which you develop subdirectories called
programs. Siemens provides libraries
with STEP 7, where you will find
hundreds of pre-defined ready to use
subroutines. You can use these like an
auxiliary instruction set to complement
the STEP 7 instructions. A simple drag
and drop or copy and paste can be used
to use them in you user program.
SIMATIC Manager –EssosElectronic By SaifAli 14

What central hardware modules are supported
•Power Supply (PS)
•The modular power supply provides the rack and CPU internal supply voltage.
•Central Processing Unit (CPU)
•The CPU stores and processes the user program; assigns parameter to the
modules; handles the communication with the programming device / PC, the
modules and additional stations over the built-in MPI bus; and can be equipped
with an integrated DP interface for DP master or slave operation.
•Interface Module (IM)
•The interface module connects the mounting racks with each other. Different
versions of IM support local expansion or PROFIBUS DP connections.
•Signal Modules (SM)
•Commonly called I/O (input/output) modules, SMs measure input signals and
control output devices. Signal modules are available for digital and analog
signals and can also be used for the connections such as sensors and actuators.
•Function Modules (FM)
•Function Modules perform complex or time critical processes independently of
the CPU module, such as counting, position control, and closed-loop control.
•Communication processors (CP)
•Modular communication processors connect SIMATIC stations with networks,
such as Industrial Ethernet, PROFIBUS, Actuator/Sensor interface or serial point-
to-point connection.
SIMATIC Manager –EssosElectronic By SaifAli 15

Change I/O addresses
SIMATIC Manager –EssosElectronic By SaifAli 16
تاوطخلا
كتاظحلام...
HW CONFIG > right click on module > object properties >
addresses > deselect system selection
Set address as you like > OK
Then save & compile

Change I/O measuring type
SIMATIC Manager –EssosElectronic By SaifAli 17
تاوطخلا
كتاظحلام...
HW CONFIG > double click on module > properties > inputs >
Measuring type > select
Measuring range > select > OK
Save & compile

Local expansion RACK
SIMATIC Manager –EssosElectronic By SaifAli 18
تاوطخلا
كتاظحلام...
HW CONFIG > IM-360 IM XXX > slot 3
Add RACK-300 > rail > double click
PS-300 > select PS
IM-300 > IM 361 receive > slot 3
Save & compile

Configure CPU interrupt
SIMATIC Manager –EssosElectronic By SaifAli 19
تاوطخلا
كتاظحلام...
HW CONFIG > select CPU > right mouse click > object properties >
Time of day properties > Active > select execution type >
Select start date > time of day > OK
Save & Compile

Set CPU network address
SIMATIC Manager –EssosElectronic By SaifAli 20
تاوطخلا
كتاظحلام...
HW CONFIG > select CPU > right mouse click > object properties >
General > properties > parameters >
Change address > 2 –3 –4 –5 ….. > select >
Subnet type > OK > OK
Save & compile

Set PROFIBUS-DP device address
SIMATIC Manager –EssosElectronic By SaifAli 21
تاوطخلا
كتاظحلام...
Select PROFIBUS devices > right click > object properties >
General > PROFIBUS > parameter > select address > 3 –4 –5 –6 …>
OK > OK
Save & compile

What are the main characteristics of MPI
Every S7-300 and 400 CPU is equipped with the Siemens Multi-Pont Interface (MPI) connection. This is
both a programming and peer-to-peer networking connection. This interface establishes a subnet in
which CPU’s, user interface and programming devices can simultaneously exchange data with each
other.
•Characteristics include:
•Standard SIEMENS specific
•Transmission Rate187.5 kbit/s (Up to 12 Mbaud)
•Transmission Medium Electrical:Shielded, twisted pair cable
Optical:Glass or plastic fiber optic cable
•Max. No. of Stations max 32
•Network expansion Electrical:Up to 1.1 km with repeaters
Optical:Up to 100 km with optical link
•Topology bus, tree star, ring
•Applications · Deterministic access and high data integrity
• · Integrated network to address multiple services
• · Test and Diagnosis
• · Remote programming
• · Peer to peer global communication (GD)
• · Multiple active online connection
SIMATIC Manager –EssosElectronic By SaifAli 22

What are the main characteristics of PROFIBUS
PROFIBUS is a multi-layer protocol used for master/slave, peer-to-peer, and dynamic
communication strategies. There are protocols for different communication layers in the open
PROFIBUS standard. PROFIBUS DP is commonly used to transfer the data between master and
slaves for the Decentralized Periphery (remote devices) such as SIMATIC S7 slaves or even non-
Siemens PROFIBUS compatible devices.
•Standard volume 2 of EN 50170
•Transmission RateUp to 12 MBaud
•Transmission Medium Electrical:Shielded, twisted pair cable
Optical:Glass or plastic fiber optic cable
Wireless:Infrared
•Max. No. of Stations Up to 126
•Network expansion Electrical:Up to 1.1km with repeater
Optical: Up to 100km with optical link
•Topology bus, tree, star, and ring, Redundancy concepts
•Applications · Deterministic access and high data integrity
• · Uniform system w/ interfaces for different devices
• · Integrated network to address multiple services
• · Test and Diagnosis
• · Remote programming
• · Access to Windows applications
SIMATIC Manager –EssosElectronic By SaifAli 23

What are the main characteristics of Ethernet
Industrial Ethernet is the subnet used for connection of computer and
programmable controllers and is commonly used for industrial application
for high-speed exchange of large amounts of data, or connection to the
Intra-, Internet. With the support of baud rates up to 100Mbit/sec, Ethernet
is often the choice for data collection to enhance throughput.
•Standard Ethernet -IEEE 802.3
•Transmission RateUp to 100 Mbps
•Transmission MediumElectrical:Double shielded coaxial cable
(10Base5)
Industrial Twisted Pair (ITP)
• Twisted Pair (TP)
Optical:Fiber optic cable (glass)
•Max. No. of Stations1,024
•Network expansionElectrical:no limits with switching
technology (100m port to port)
• Optical:no limits with switching technology (3000m port to port)
•Topology Bus, tree, star, ring, redundant ring
•Applications· Area and cell network
SIMATIC Manager –EssosElectronic By SaifAli 24

Symbolic name
SIMATIC Manager –EssosElectronic By SaifAli 25
تاوطخلا
كتاظحلام...
S7 program folder > symbols > write symbol >
Write address > write comment > save >
Block folder > OB1 > view > display with >>
Symbolic representation
Symbolic information
Symbol selection
Comment
Address identification

Subroutine
SIMATIC Manager –EssosElectronic By SaifAli 26
تاوطخلا
كتاظحلام...
Select block folder > insert > S7 block > function >
Write name > write symbolic name >select language > OK
Double click on FC > write documentation > write your logic >Save >
Browsing right catalog > FC blocks

reusable subroutine
SIMATIC Manager –EssosElectronic By SaifAli 27
تاوطخلا
كتاظحلام...
Select block folder > insert > S7 block > function >
Write name > write symbolic name >select language > OK
Double click on FC > expand local variable area > declare variables > name >
type LIKE INT > add comment > TAB to add more input >
ADD output > ADD temp for temporary variables
Browsing right catalog > FC blocks

Cross reference
SIMATIC Manager –EssosElectronic By SaifAli 28
تاوطخلا
كتاظحلام...
Select block folder > options > reference data > display > regenerated? > Yes > OK
Customize > cross-refrence> OK
Ref window > view > assignment > inputs, outputs and memory bits
Ref window > view > assignment > timer & counter
Ref window > view > assignment > program structure
OR using icons

Download
SIMATIC Manager –EssosElectronic By SaifAli 29
تاوطخلا
كتاظحلام...
Select blocks > select download icon > and Agree
Select blocks > select specific blocks > then hit the download icon >
agree for overwriting

Display program status
SIMATIC Manager –EssosElectronic By SaifAli 30
تاوطخلا
كتاظحلام...
SIMATIC manager > Select online icon > access actual plc program
OB1 > select monitor icon > watch your logic online

Use data type
SIMATIC Manager –EssosElectronic By SaifAli 31
تاوطخلا
كتاظحلام...
•Symbol table
•Local variable > FC1
•Hovering by mouse on instructions
•using below table for some data types

What are OBs, FBs, FCs, DBs
•Organization Block (OB)
•The OBs provide the interface between the operation system and the user program. The operation system of
the CPU calls the organization blocks; every scan, cyclic time period, time events, hardware or software
faults. The operating system manages the coordination of the timing and the interrupt handling when more
than one OB executes at a time.
•Function Blocks –FBs
•An FB is a subroutine where you can write code to solve part of your automation task. This subroutine can
accept information from another code block (parameter passing) and then execute its respective logic using
this information (variables). A function block also stores a copy of these variables automatically in a memory
area called an instance data block; a data block whose data is updated the instant the function block is used.
•Functions –FCs
•An FC is also a subroutine. It might be a simple group of code that works on specific variables each time, or as
with the FB, you can pass information (variables) to the FC for its execution. The difference between the FB
and the FC is that the function does not make an automation copy of the passed variables into a data block.
•Data Blocks –DBs
•A data block is a grouping of information collected by your program. The size and format of the data block is
determined by the user, and has a great deal of flexibility, both in its structure and its access. Data in data
blocks remain in place until overwritten. Typical applications include simple data collection, error recording,
recipe and setpointvalue storage, and grouping information for communication uses.
SIMATIC Manager –EssosElectronic By SaifAli 32

Connect PC to PLC
SIMATIC Manager –EssosElectronic By SaifAli 33
تاوطخلا
كتاظحلام...
Menu > options > set PG/PC interface >
Select your adapter > MPI > properties >
Local connection > COM port > transition rate > 19200 … 38400
Yes > OK > OK > OK
Hit accessibility node icon > browse your PLC

Locate PLC fault
SIMATIC Manager –EssosElectronic By SaifAli 34
تاوطخلا
كتاظحلام...
Accisablenodes icon > click right MPI > PLC > module
information >
Diagnostic buffer > events > open blocks > OK >OK
Modify and edit the logic!

Monitor variables
SIMATIC Manager –EssosElectronic By SaifAli 35
تاوطخلا
كتاظحلام...
Blocks folder > insert > S7 blocks > variable tables >
Add symbolic name > OK >
Open variable table > add your satisfy variable addresses
Press setup connection configuration icon > press monitor icon
That’s it!

Modify / Force variable
SIMATIC Manager –EssosElectronic By SaifAli 36
تاوطخلا
كتاظحلام...
Blocks > open variables table > type new value in modify value field >
Press icon setup connection to PLC > monitor icon > press modify variables icon
Force
Menu > variables > display forced values > type address > type value >
Menu > variables > Force > yes
Menu > variables > Stop Forcing > yes

Upload entire station
SIMATIC Manager –EssosElectronic By SaifAli 37
تاوطخلا
كتاظحلام...
Select project > menu > PLC > upload station > select connection > OK >OK
Select from left catalog > the new SIMATIC station
You can browsing offline

Compare blocks
SIMATIC Manager –EssosElectronic By SaifAli 38
تاوطخلا
كتاظحلام...
Blocks folder > menu > options > compare blocks … >
online/offline > OK
Select Details > for more information
SelectGoto> for open both blocks
SelectUpdate > for make change

Clear PLC memory
SIMATIC Manager –EssosElectronic By SaifAli 39
تاوطخلا
كتاظحلام...
Select accessible node icon > select your online
connections >
Menu > PLC > operation mode > STOP > Yes > Close
PLC > Clear / Reset > Yes

ريدقتو ركش
مكئاغصا نسحو مكروضح ركشا ماتخلا يف
فلؤملا:
ىسوم يلع فيس
SIMATIC Manager –EssosElectronicBy SaifAli 40