How to Upload Program From Step 5?
Footstep 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 Step 7 version v.4 software.
To start, open up the SIMATIC Director.
Now follow the links below.
Connecting to the S7 PLC
The Programming Cables
There are three major types of programming cables:
1. The CP5512 carte du jour in a PCMCIA slot.
2. The PC Adapter using a serial or USB connectedness
3. An Ethernet cablevision
The CP5512 card and the PC Adapter can communicate on either an MPI or PROFIBUS port. Note that PROFIBUS is labeled every bit DP on the Siemens connectedness ports. These cables can piggyback on existing connectors. Exist aware that the PC Adapter draws its ability to work from the connection port so check the power LED for proper functioning. 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 fix 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 like to the one below. If so, then close the Accessible Nodes window and proceed to the download or upload section.
If communication fails then yous will receive a bulletin like below.
This indicates that the cable is non in the right computer port or the cable is not plugged in properly.
Setting the PG/PC Interface
In order to kickoff communication to the PLC you will need to friction match the "PG Interface" setting with the programming cable and protocol. To do this, select the carte Options > Gear up PG/PC Interface.
The following dialog box volition open 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. Exist careful non to select your wireless Ethernet connection.
To become it working quickly it is best to select the interface with the Automobile designation. This will observe 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. Too, cheque nether the Local Connection tab and brand sure connection pick matches the port the cable is connected into.
Once the proper interface is selected and the backdrop are set then click OK and use the Attainable Nodes window to check for successful communications. It should piece of 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 piece of work then I don't know what to tell y'all.
Downloading
Kickoff, in order to enable the download carte commands, you must select the Cake folder in the project'south station you wish to download.
In that location are 3 methods of downloading.
- Partial download of selected blocks
- Full download of all blocks and system data
- Consummate deletion of online PLC blocks and then downloading of all blocks and arrangement data
Partial Download
Fractional downloads are used in existing projects where only ane or more blocks will be downloaded. To perform this type of download select the block(south) you lot wish to download and then select the PLC > Download carte item or the download button .
Holding down the Ctrl key or the Shift cardinal allows more so ane block to be selected at a time. Be careful though equally the order of download volition occur in the order that the blocks were selected. This may mean that an mistake volition occur if a block is called before information technology is downloaded.
The CPU will need to be in Stop fashion before downloading the System Information Cake (SDB) as this is equivalent to a hardware configuration download. This is usually not necessary in a PLC that has all gear up had its hardware configured. If you practise download the system data, the following messages will prompt yous through the transitions.
If the CPU is in Run way and then you will be prompted to Finish the CPU. The software will do the Run to Finish transition when you click OK.
Later on downloading the SDB you will exist prompted to Run the CPU again.
Clicking Yes will automatically put the CPU back into run way.
Full Download
To download all the blocks at one time make sure y'all are in the Block binder and select the Edit > Select All menu item. Click on the Download icon . You will be prompted to overwrite whatsoever existing blocks and if you want to load the organisation information (encounter higher up).
Clearing the CPU Memory and then Downloading
The partial and full download methods in a higher place volition overwrite existing blocks only volition not any blocks from retentiveness. In lodge to completely delete the existing program in the CPU and download a new project select the Blocks folder and and so use the PLC > Download User Program to Memory Bill of fare menu item.
The following dialog box will pop up prompting yous about the deletion of all the blocks and projection data in the PLC. Click Yes to perform the operation.
Later this, follow the normal download procedure.
Uploading
There are two methods for uploading. The first is when you accept the original projection 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 aforementioned every bit the Online button on the icon bar.
This will open up some other 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 ii versions so that uploading from the online partner makes certain to preserve all the symbols and comments. Be careful. After uploading, brand certain 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 carte item. For a full upload, select the Block folder and do the same.
Upload without an Existing Projection
Follow these steps when you practise non have the original projection but wish to upload the plan for backup purposes. With an existing project open or a new blank project select the PLC > Upload Station to PG… card option.
In the next screen, make full in the slot the CPU is in (this is always two for S7-300) and the node address of the advice port on the CPU. In the case below we are talking to a CPU over MPI with node accost 10.
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 projection contains no documentation, it can exist used every bit a backup to download after if needed.
Source: http://www.plcdev.com/book/export/html/597
0 Response to "How to Upload Program From Step 5?"
Post a Comment