Escolar Documentos
Profissional Documentos
Cultura Documentos
B3: Config si cp theo chun MPI hay Profibus upload d liu ( tu user). Ch
chn ng thng s.
B4; Ngi "rung i" + nhm nhi ly cafe cho ti khi n bo finish ( nu khng xy ra li).
V tu vo tnh hung m user s x l tnh hung. ^^. i khi l do phn mm, cp hoc
ang chy xy ra s c...
L do ti gi cch ny l cch upload thng thng v n n gin, khng qu kh m ai
cng lm c theo cch ny nu bit hoc lm quen vi PLC. Ngoi ra, n cn gi
thng thng v i khi s c nhng trng hp cc khi hm upload ln b li hoc b
mt cc khi hm FC, FB ( ci ny th qu nhiu ngi b ri ^^)
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.
This indicates that the cable is not in the right computer port or the cable is not
plugged in properly.
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.
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.
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.
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.
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 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.
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.
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.
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.
- Know how to compare a program in the PLC with a program on disk & be able to
interpret
the report
- Know how to set up & use the Monitor/Modify Variables display using VAT tables to
monitor multiple I/O points & data registers in the S7-300/400
- Know how to use the Force function with S7-300/400 to set/reset a point or to step-on a
sequence & understand the dangers
- Know how to use the Diagnostics Buffer facility & how to interpret the information
provided
to troubleshoot more difficult problems
Tips & Tricks when Troubleshooting with S7-300/400
- Know the easy methods to be able to display more STL code in ladder
- How to unlock some hidden code
- Simple program tools to time or count events, to prove status & trap intermittent faults
Further S7-300/400 troubleshooting practicals
- Troubleshooting more complex problems
- Troubleshooting S7-300/400 systems with programs held on Flash/MMC memory
- Troubleshooting data handling problems
- Troubleshooting problems with analogs
- Troubleshooting programs which make extensive use of Data Blocks
- Troubleshooting problems which include Indirect Addressing
- Introduction to third party diagnostic tools e.g. PLC Analyser pro 5
Highly Recommended Follow-up Courses
- Siemens S7-300/400 Networked Systems
The benefit of attending this further 3 day course is that delegates will be able to gain
knowledge & practical experience of maintaining & troubleshooting Siemens PLC
automation control systems that use MPI, Profibus DP & ASi. An introduction to
Ethernet will also be given.
- Understanding S7 Programs
The benefit of attending this further 3 day course is that delegates will be able to gain
knowledge & practical experience of modifying or develop routines & applications for
Siemens PLC controlled automation control systems.
Our delegates are always amazed that by following the logical approach we teach works every
time.
Within the first hour of the course delegates are able to identify exactly where the problem is
within the PLC Control System.