How to Change Settings to Upload From S7
Step 7 Connecting, Downloading and Uploading
These are general guidelines for connecting, downloading and uploading from an S7-300 or S7-400 PLC. The post-obit procedures were created using Siemens SIMATIC Pace vii version 5.4 software.
To offset, open up the SIMATIC Manager.
At present follow the links below.
Connecting to the S7 PLC
The Programming Cables
In that location 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
iii. An Ethernet cable
The CP5512 bill of fare and the PC Adapter can communicate on either an MPI or PROFIBUS port. Annotation that PROFIBUS is labeled every bit DP on the Siemens connection ports. These cables tin can piggyback on existing connectors. Exist enlightened that the PC Adapter draws its ability to piece of work from the connection port so check the power LED for proper performance. The CP5512 card draws its power from the computer.
For Ethernet (TCP/IP) use a standard Ethernet cablevision 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 cablevision 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 then, and then close the Accessible Nodes window and proceed to the download or upload section.
If communication fails so you lot will receive a bulletin similar below.
This indicates that the cablevision is non in the right reckoner port or the cable is non plugged in properly.
Setting the PG/PC Interface
In social club to outset communication to the PLC you will need to lucifer the "PG Interface" setting with the programming cable and protocol. To exercise this, select the menu Options > Set PG/PC Interface.
The following dialog box will open up displaying all the different interfaces (i.eastward. 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 connexion.
To get it working quickly it is best to select the interface with the Motorcar designation. This volition 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 non conflict with existing PLC and slave devices on the network. Besides, cheque nether the Local Connectedness tab and make sure connection option matches the port the cable is connected into.
Once the proper interface is selected and the properties are prepare then click OK and utilise the Attainable Nodes window to cheque for successful communications. It should work. If not double-check the connectedness and cablevision. With the CP5512 and PC Adapter cables, y'all should use the MPI port, equally this is the default connection for Siemens.
If this doesn't work then I don't know what to tell you.
Downloading
Offset, in order to enable the download bill of fare commands, you must select the Cake binder in the project'south station you lot wish to download.
At that place are three methods of downloading.
- Partial download of selected blocks
- Full download of all blocks and organisation data
- Complete deletion of online PLC blocks and then downloading of all blocks and system information
Partial Download
Partial downloads are used in existing projects where only one or more than blocks volition be downloaded. To perform this type of download select the block(southward) you lot wish to download and so select the PLC > Download menu item or the download push button .
Holding downward 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 lodge that the blocks were selected. This may mean that an error will occur if a block is called earlier information technology is downloaded.
The CPU will need to be in Stop mode before downloading the Arrangement Information Block (SDB) as this is equivalent to a hardware configuration download. This is ordinarily not necessary in a PLC that has all ready had its hardware configured. If you do download the system data, the following letters volition prompt you through the transitions.
If the CPU is in Run fashion then yous will be prompted to Stop the CPU. The software volition do the Run to Terminate transition when you click OK.
After downloading the SDB you volition be prompted to Run the CPU again.
Clicking Yes volition automatically put the CPU back into run mode.
Full Download
To download all the blocks at once make sure you are in the Block binder and select the Edit > Select All menu item. Click on the Download icon . You will be prompted to overwrite whatever existing blocks and if you want to load the system data (see higher up).
Clearing the CPU Memory and and then Downloading
The partial and full download methods in a higher place volition overwrite existing blocks but will non 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 post-obit dialog box volition pop upwardly prompting you nearly the deletion of all the blocks and projection data in the PLC. Click Yes to perform the performance.
After this, follow the normal download procedure.
Uploading
There are two methods for uploading. The offset is when you accept the original project and y'all want to preserve the symbols and comments. The second method, when you don't accept the original project, volition upload everything from the CPU but will have no associated documentation (i.east. symbols and comments).
Uploading to an Existing Projection
With the existing project open, select the View > Online bill of fare particular.
This is the aforementioned equally the Online button on the icon bar.
This will open another window called the Online Partner. It shows the existing blocks inside the CPU. The Online version is indicated by the highlighted title bar.
There is a connectedness between these two versions then that uploading from the online partner makes sure to preserve all the symbols and comments. Be careful. Afterward uploading, make certain to shut 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 practise the same.
Upload without an Existing Project
Follow these steps when you do not have the original projection just wish to upload the plan for backup purposes. With an existing projection open or a new bare project select the PLC > Upload Station to PG… menu selection.
In the side by side 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 beneath we are talking to a CPU over MPI with node address 10.
Later clicking OK, the whole contents of the PLC including all blocks and hardware configuration volition be uploaded into a new station in the projection.
While this project contains no documentation, information technology can be used as a backup to download later if needed.
Source: http://www.plcdev.com/book/export/html/597
Publicar un comentario for "How to Change Settings to Upload From S7"