how to upload program from cpu using simatic manager _ plc basics

11
How to connect S7-300 PLC to a computer? This PLC tutorial will tell you how to connect you PLC to a computer. You will learn what kind of cables you can use. How to download and upload Siemens drivers etc. MORE TUTORIALS You are here: Home PLC Articles How to connect S7-300 PLC to a computer? 1 Ads by Google Siemens S7 PLC PLC Programming Siemens PLC PLC Tutorial Thursday, 30 April 2009 16:00 Fujitsu LIFEBOOK S751 Try the new LIFEBOOK S751. With 2nd generation Intel® Core™ i7 vPro™. lifebook.me.ts.fujitsu.com Free Programming Courses Get started in minutes! Become a Software Engineer code.he.net PID Tuning Simulator PID Practice & Testing on Simulator for DCS Techs & Control Engineers www.picontrolsolutions.com Software Engineer Degree 100%Online Master Degree - Software Engineering for Busy Programmers! EducationDegreeSource.com/Free_Info PLC MEGAPACK PLC MEGAPACK Learn programming PLC the easy w ay. PLC Fundamentals - THE NUMBER SYSTEM Boat Lift Controller w ith Remote - PLC Programming: Relay logic PLC Ladder Logic Simulator Ladder Logic Fundamentals and Programming Examples - PLC Tutorial How to connect S7- 300 PLC to a computer? LOGIN Forgot your password? Forgot your username? Create an account Home PLC Video Tutorials PLC Articles PLC Ladder Simulator PLC Downloads PLC Classifieds PLC Questions 13/05/2012 How to connect S7-300 PLC to a comp… plc-course.com/…/how-to-connect-co… 1/11

Upload: mohamed-elsayed

Post on 01-Dec-2015

621 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

How to connect S7-300 PLC to a computer?

This PLC tutorial will tell you how to connect you PLC to a computer. You will learn what kind of cables you can use. How to

download and upload Siemens drivers etc.

MORE TUTORIALS

You are here: Home PLC Articles How to connect S7-300 PLC to a computer? 1

Ads by Google Siemens S7 PLC PLC Programming Siemens PLC PLC Tutorial

Thursday, 30 April 2009 16:00

Fujitsu LIFEBOOK S751Try the new LIFEBOOK S751. With 2ndgeneration Intel® Core™ i7 vPro™.lifebook.me.ts.fujitsu.com

Free Programming CoursesGet started in minutes! Become a SoftwareEngineercode.he.net

PID Tuning SimulatorPID Practice & Testing on Simulator for DCSTechs & Control Engineerswww.picontrolsolutions.com

Software Engineer Degree100%Online Master Degree - SoftwareEngineering for Busy Programmers!EducationDegreeSource.com/Free_Info

PLC MEGAPACK

PLC MEGAPACK

Learn programmingPLC the easy w ay.

PLC Fundamentals -THE NUMBERSYSTEM

Boat Lift Controllerw ith Remote - PLCProgramming: Relaylogic

PLC Ladder LogicSimulator

Ladder LogicFundamentals andProgrammingExamples - PLCTutorial

How to connect S7-300 PLC to acomputer?

LOGIN

Forgot your password? Forgot your username? Create an account

Home PLC Video Tutorials PLC Articles PLC Ladder Simulator PLC Downloads PLC Classifieds PLC Questions

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 1/11

Page 2: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

Step 7 Connecting, Downloading and Uploading

These are general guidelines for connecting, downloading and uploading from an S7-300 or S7-400 PLC. The following

procedures were created using Siemens SIMATIC STEP 7 version 5.4 software.

To start, open the SIMATIC Manager.

Connecting to the S7 PLC

The Programming Cables

There are three major types of programming cables:

1. The CP5512 card in a PCMCIA slot.

2. The PC Adapter using a serial or USB connection

GENERAL PLC

QUESTIONSPLC manual for siemens

LOGO!...

PC PLC Communication

PLC Softw are

Type of PLC as per...

project idea

send a ladder diagramme

of...

SIEMENS PLC

QUESTIONSlogo! 230rc

someone please please

please help...

Best internet tablet for

around...

SCADA: WinCC or

LabView ?

I w ant free ebook

“Automating...

has the pin up look...

Please tell me everything

about...

I am w orking w ith SIEMENS...

w here i can dow nload

siemens...

w hat is the latest version...

ALLEN BRADLEY PLC

QUESTIONSLooking for a new or...

Allen Bradley PLC

Programming softw are?

Rate and Comment: Caylee

Sophia...

sources of contamination for

allen...

how do i program an...

can anyboddy use the

allen...

PLC Allen bradley SLC 500...

does anybody know from

w here...

What is Allen-Bradley 1784-

PKTX/A?

How many digital i/os does...

How to diagnose PLCerrors?

Practical real lifeexamples on how toprogram PLC -advanced examplesfor PLC.

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 2/11

Page 3: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

3. An Ethernet cable

The CP5512 card and the PC Adapter can communicate on either an MPI or PROFIBUS port. Note that PROFIBUS is

labeled as DP on the Siemens connection ports. These cables can piggyback on existing connectors. Be aware that the

PC Adapter draws its power to work from the connection port so check the power LED for proper operation. The CP5512

card draws its power from the computer.

For Ethernet (TCP/IP) use a standard Ethernet cable from the computer to a CPU with an Ethernet port, a CP 343/443

module or a network switch all ready attached to the PLC network.

Checking Communications

With the programming cable plugged in, you can check for proper operation by clicking on the Accessible Nodes icon.

If communications are successful, you'll see a window pop up similar to the one below. If so, then close the Accessible

Nodes window and proceed to the download or upload section.

If communication fails then you will receive a message like below.

This indicates that the cable is not in the right computer port or the cable is not plugged in properly.

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 3/11

Page 4: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

Setting the PG/PC Interface

In order to start communication to the PLC you will need to match the "PG Interface" setting with the programming cable

and protocol. To do this, select the menu Options > Set PG/PC Interface.

The following dialog box will open up displaying all the different interfaces (i.e. communication drivers).

Each cable has its own interface. For Ethernet select the TCP/IP interface for your computers network card. Be careful not to

select your wireless Ethernet connection.

To get it working quickly it is best to select the interface with the Auto designation. This will discover working settings and

use them automatically.

For the PC Adapter click on the Properties button and make sure the Station Parameters Address is a unique network

address. It should not conflict with existing PLC and slave devices on the network. Also, check under the Local Connection

tab and make sure connection selection matches the port the cable is connected into.

Once the proper interface is selected and the properties are set then click OK and use the Accessible Nodes window to

check for successful communications. It should work. If not double-check the connection and cable. With the CP5512 and

PC Adapter cables, you should use the MPI port, as this is the default connection for Siemens.

If this doesn't work then I don't know what to tell you.

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 4/11

Page 5: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

Downloading

First, in order to enable the download menu commands, you must select the Block folder in the project's station you wish to

download.

There are three methods of downloading.

1. Partial download of selected blocks

2. Full download of all blocks and system data

3. Complete deletion of online PLC blocks and then downloading of all blocks and system data

Partial Download

Partial downloads are used in existing projects where only one or more blocks will be downloaded. To perform this type of

download select the block(s) you wish to download and then select the PLC > Download menu item or the download

button .

Holding down the Ctrl key or the Shift key allows more then one block to be selected at a time. Be careful though as the

order of download will occur in the order that the blocks were selected. This may mean that an error will occur if a block is

called before it is downloaded.

The CPU will need to be in Stop mode before downloading the System Data Block (SDB) as this is equivalent to a

hardware configuration download. This is usually not necessary in a PLC that has all ready had its hardware configured. If

you do download the system data, the following messages will prompt you through the transitions.

If the CPU is in Run mode then you will be prompted to Stop the CPU. The software will do the Run to Stop transition when

you click OK.

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 5/11

Page 6: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

After downloading the SDB you will be prompted to Run the CPU again.

Clicking Yes will automatically put the CPU back into run mode.

Full Download

To download all the blocks at once make sure you are in the Block folder and select the Edit > Select All menu item. Click

on the Download icon . You will be prompted to overwrite any existing blocks and if you want to load the system data

(see above).

Clearing the CPU Memory and then Downloading

The partial and full download methods above will overwrite existing blocks but will not any blocks from memory. In order to

completely delete the existing program in the CPU and download a new project select the Blocks folder and then use the

PLC > Download User Program to Memory Card menu item.

The following dialog box will pop up prompting you about the deletion of all the blocks and project data in the PLC. Click

Yes to perform the operation.

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 6/11

Page 7: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

After this, follow the normal download procedure.

Uploading

There are two methods for uploading. The first is when you have the original project and you want to preserve the symbols

and comments. The second method, when you don't have the original project, will upload everything from the CPU but will

have no associated documentation (i.e. symbols and comments).

Uploading to an Existing Project

With the existing project open, select the View > Online menu item.

This is the same as the Online button on the icon bar.

This will open up another window called the Online Partner. It shows the existing blocks inside the CPU. The Online

version is indicated by the highlighted title bar.

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 7/11

Page 8: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

There is a connection between these two versions so that uploading from the online partner makes sure to preserve all the

symbols and comments. Be careful. After uploading, make sure to close the online partner and do all work from the offline

version.

To upload individual blocks, select them in the Online view and choose the PLC > Upload to PG menu item. For a full

upload, select the Block folder and do the same.

Upload without an Existing Project

Follow these steps when you do not have the original project but wish to upload the program for backup purposes. With an

existing project open or a new blank project select the PLC > Upload Station to PG… menu selection.

In the next screen, fill in the slot the CPU is in (this is always 2 for S7-300) and the node address of the communication port

on the CPU. In the case below we are talking to a CPU over MPI with node address 10.

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 8/11

Page 9: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

Quote

Quote

After clicking OK, the whole contents of the PLC including all blocks and hardware configuration will be uploaded into a

new station in the project.

While this project contains no documentation, it can be used as a backup to download later if needed.

source:http://www.plcdev.com

Last Updated ( Sunday, 27 December 2009 18:59 )

Comments

#16 2012-01-20 11:29

KOVAL ! why do you only respond to people who threaten to unsubscribe.viagra what about me....Id like a shout outtoo ....I watched all your videos....TWICE.....i loved you when you weren't? famous.... *sigh*

#15 2012-01-09 06:45

Hi friends.....i want One help plz help me Imm.........I used siemens 840dsl drive....i want to see plc program already iinstalled simatic s7 300 software but Hmi Does not shoow the s7 Icon.....How to access s7 icon to HMIdoftware....Plz send me ur suggestion imm ......

#14 2011-07-10 18:00

i want to know hat how to check communication b/t plc and hmi

1 2

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 9/11

Page 10: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

Quote

Quote

Quote

Quote

Quote

Quote

Quote

Quote

1000 symbols left

Send

JC omments

#13 2011-06-24 13:01

hi calvin i am sending this page

#12 2011-06-03 00:40

Which data can, get out from PLC to PC displayed, is the PLC able to send out the data capture such, biner, hexa,digital,..please let me know,...thanks

#11 2011-05-25 04:51

Please tell me i can download plc programme from siemens S-7 300 plc with protool enviroment

#10 2010-11-19 22:14

i mean how to get ladder programming manula or literature

#9 2010-11-19 22:12

from where can i get Ladder programming manual

#8 2010-09-28 09:57

dear sir,which are the os will support to s7300 simatic manager and windows 7 will support or not...which are the adapter can communicate with simatic manager. I awaiting for ur reply.

Thanks & Regardssenthil

#7 2010-09-09 14:36

I have buy a CP5512 from www.bestincn.comeasy than the adapter!

Refresh comments list

RSS feed for comments to this post.

Add comment

Name (required)

E-mail (required)

Notify me of follow-up comments

Refresh

1 2

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 10/11

Page 11: How to Upload Program From Cpu Using Simatic Manager _ PLC Basics

PLC Books - sometimes you just need a good book.

Programmable LogicControllers, Thir...

Frank Petruzella

Privacy Information

Activities Manual toaccompany Progr...

Frank Petruzella

Privacy Information

Introduction toProgrammable Logic C...

Gary A. Dunning

Privacy Information

ProgrammableControllers, Third Edit...

E. A. Parr

Privacy Information

Fundamentals ofProgrammable Logic C...

Jon Stenerson

Privacy Information

Programmable LogicControllers

John W. Webb, Rona...

Privacy Information

Copyright © 2012 plc-course.com. All Rights Reserved. Designed by Kursy online.Privacy Policy

13/05/2012 How to connect S7-300 PLC to a comp…

plc-course.com/…/how-to-connect-co… 11/11