Use the ladder software "SIMATIC Manager" to perform the communication settings for the S7-300/400 Series.
Set as below, following the steps.
Setup Items |
Setup Description |
|---|---|
Speed |
187500 bps |
Destination Node No. |
2 |
Source Node No. |
1 (Option: Set the smaller value than Max Value of Node No.) |
Max Value of Node No. |
31 |
Click the icon of [New Project].
Put the optional name and click [OK].
From the menu bar, select [Insert], [Station], [1 SIMATIC 400 Station] in this order.
"SIMATIC 400(1)" is created in the project. Double-click [Hardware] in the CPU.
The "HW Config" screen is displayed. From the left tree, open [RACK- 400] from [SIMATIC 400], and select the base unit of the using model, then drag & drop to the upper right window.
Drag & drop the using power unit in the preset rack.
Similarly, drag & drop the using CPU unit.
Double-click the preset CPU unit "CPU xxx-xxx".
The dialog box for the MPI port setting is displayed. Open [Properties].
Check that "MPI(1)...187.5Kbps" is set as default. In addition, set [Address] which will be the destination node number (PLC Address) you set in BLUE (the default value "2" is used this time). Select "MPI(1)...187.5Kbps" and open [Properties].
Click the [Network Settings] tab.
You can change the transmission rate and the highest MPI address of the node No. in the dialog displayed (select [187.5Kbps] for the transmission rate). When you change the highest MPI address of the node No. (set to [31] this time), check the [Change] box to allow you to select the item. When you finish setting, click [OK].
Click [OK] in the dialog box displayed in step 12.
Click [OK] in the MPI port setting dialog box displayed in step 9.
Check the connection between the External Device and the ladder software. Open [Set PG/PC Interface] from [Options] in the menu bar.
The [Set PG/PC Interface] dialog box is displayed. Click [Properties].
Set [Transmission] to [187.5Kbps], and [Highest Node Address] to [31]. Click [OK].
Next click [Diagnostics].
Click [Test] and [Read].
If "OK" is displayed and other items than [0-0] of [Bus Nodes] are checked, the connection with the External Device is established. Click [OK] and close the dialog box.
Open "Configure Network". Select the using CPU unit and click the [Download] button.
When the "PLC Download Selected Stations" is displayed, click "Yes" and continue to download.
When you finish downloading, the dialog box is closed.
Close the [Configure Network] window. When the [Network Save and Compile] dialog box is displayed, click [Yes].
When the [Save and Compile] dialog box is displayed, click [OK].
External Device setting is completed at above.