The S7-200 CPU family supports a variety or network communications. After you create a program for a CPU, your PC or PG must communicate with the CPU to download the new program to the CPU. If programs are downloaded to two or more networked CPUs and the CPUs are put in run mode, then the CPUs can communicate with each other by executing NETR (Network Read) and NETW (Network Write) commands. In addition, a CPU may use the network to communicate with operator interface devices like the TD200 (pushbuttons and text display) or the TP070 (touch panel graphic display).
Refer to the PG / PC to S7-200 CPU Communication Options Tables for a summary of communication connection possibilties.
You can use your PC or PG as a master device in any of the following communications configurations:
·Single Master: A single master device is connected to one or more slave devices. See Figure 1.
·Multiple Master: A single master device is connected to one or more slave devices and one or more master devices. See Figure 2.
·For 11-bit modem users: A single master device is connected to one or more slave devices. This master device is connected by means of 11-bit modems either to one S7-200 CPU functioning as a slave device or to a network of S7-200 CPUs functioning as slave devices.
·For 10-bit modem users: A single master device is connected to only one S7-200 CPU functioning as a slave device by means of a 10-bit modem.
Figure 1 and Figure 2 show a configuration with a personal computer connected to several S7-200 CPUs. STEP 7-Micro/WIN 32 is designed to communicate with one S7-200 CPU at a time; however, you can access any CPU on the network. The CPUs could be either slave or master devices. The TD 200 is a master device.
Figure 1 Using a PC/PPI Cable for Communicating with Several S7-200 CPUs
Figure 2 Example of a CP Card with Master and Slave Devices
How Do I Choose My Communication Configuration?
The following tables show the possible hardware configurations and baud rates that STEP 7-Micro/WIN 32 supports. Table 1 is for 2nd generation CPU 22x models, table 2 for Profibus DP connection, and table 3 for 1st generation CPU 21x models.
|= Not supported|
Data Communications Using a Communication Processor Card
Siemens offers several network interface cards that you can put into a personal computer or SIMATIC programming device. These cards allow the PC or SIMATIC programming device to act as a network master. These cards contain dedicated hardware to assist the PC or programming device in managing a multiple-master network, and can support different protocols at several baud rates. You select a specific card and protocol using the PG/PC Interface in STEP 7-Micro/WIN 32. For more information on communications processor cards, see the OnLine catalog on the Internet at https://mall.ad.siemens.com/DE/guest/guiwelcome.asp?lang=en
From What Point Do I Set Up Communications?
You can set up communications from the following points:
·During the final step of the installation of your STEP 7-Micro/WIN 32 software
·Within STEP 7-Micro/WIN 32
·The Windows Control Panel “Set PG/PC interface” icon
How Do I Set Up Communications within STEP 7-Micro/WIN 32?
Within STEP 7-Micro/WIN 32, there is a Setup Communications dialog box that you can use to configure your communications setup. You can use one of the following ways to find this dialog box:
·Select the menu command View > Communications.
·Click the Communications icon on the STEP 7-Micro/WIN 32 navigation bar (see Figure 3).
Figure 3 Navigation Bar of STEP 7-Micro/WIN 32
In the Communications Setup dialog box, double-click the top icon on the right-hand side. The Setting the PG/PC Interface dialog box appears. See Figure 4.
Figure 4 Setting the PG/PC Interface Dialog Box