You are on page 1of 16

Pro-face Europe B.V.

1

Siemens S7-300/400 Ethernet





Appendix to GP-PRO/PB3 PLC Connection Manual

Siemens SIMATIC S5/S7 Ethernet










Pro-face Europe B.V. 2

Siemens S7-300/400 Ethernet

Connectable PLCs

Screen Editor
Co. Series Name CPU Link Unit Comments PLC setup
S
I S7-300 CPUs CP 343-1 IT
E Siemens
M Simatic S7 S5/S7
E Ethernet
N
S S7-400 CPUs CP 443-1 IT
Industrial
Simatic S5 S5 Series CPUs Ethernet
Interface module
Pro-face Europe B.V. 3

Siemens S7-300/400 Ethernet

Siemens
System Structure
The following describes the system structure for connecting the GP to Siemens PLCs.
The Cable Diagrams mentioned in the following tables are listed in the
section titled "Cable Diagrams".
. Siemens Simatic S7-300/400 via Ethernet
CPU Link Unit Cable Diagram GP
S7-300 CP 343-IT
Use a cable that GP2000 Series Only
conforms to IEEE802.3 Use Built-in 10 Base-T Port
S7-400 CP 443-IT









Pro-face Europe B.V. 4

Siemens S7-300/400 Ethernet
. Siemens Simatic S5 via Ethernet
CPU Link Unit Cable Diagram GP
Use a cable that GP2000 Series Only
S5 CPUs Industrial Ethernet conforms to IEEE802.3 Use Built-in 10 Base-T Port
Interface

Cable Diagrams
The cable lines illustrated below and the cable lines recommended by Siemens may
differ; in any case, using these cables for your PLC operations will not cause any
problems.

Option 1 (via HUB):







S7-300/400 with CP 343-1
IT / CP 443-1 IT Module
10 Base T Hub
10 Base T Patch Cable
(Straight cable)

Pro-face Europe B.V. 5

Siemens S7-300/400 Ethernet
Option 2 ( Direct Connection):





* To connect with S5 Series, please refer your S5 PLC Manual.
Supported Devices
Siemens Simatic S7-300/400 Ethernet
The following list shows the range of devices supported by the GP.

Device Bit Address Word Address Note
1 Input E E00000.0~E00127.7 EW00000~EW00126 *1
2
Output A
A00000.0~A00127.7 AW00000~AW00126 *1
3
Marker M
M00000.0~M00255.7 MW00000~MW00254 *1
4 Data Block DB DB1.DBX0.0~DB255.DBX65533.7 DB1.DBW0~DB255.DB65532 *1,*3
5 Timer -- T00000~T00127 *2
6 Counter -- Z00000~Z00063 *2
Setup System Area here

*1: Only even word addresses are accepted
*2: Read Only Devices
*3: For Siematic S5 Series the maximum word address is limited to 255 in case of
DataBlock[DB255.DBW255]















GP 2000 Series: via
Built-in Ethernet Port
S7-300/400 with CP 343-1
IT / CP 443-1 IT Module
Pro-face Europe B.V. 6

Siemens S7-300/400 Ethernet

^dd:: luty ^dd:: luty ^dd:: luty ^dd:: luty
The device entry address dialog is used to enter the S7 addresses. From here select the
Memory Area (Device Type), Address and Bit Position. The Data Block number is only
enabled for the type DB. This shows only the Data Blocks that were setup in the Data
Block Configuration Menu. This is entered from the GP Setup Menu, Mode Setup
Dialog (see next page).


Dutu b!ok ou`_uut`ou Dutu b!ok ou`_uut`ou Dutu b!ok ou`_uut`ou Dutu b!ok ou`_uut`ou
On clicking the Data Block Configuration button in the Network Setup Dialog if the
Mode Setup Tab of GP Setup the following dialogs appear:



Pro-face Europe B.V. 7

Siemens S7-300/400 Ethernet


From this dialog the Data Blocks to be accessed in this project should be configured. Up
to a maximum of 40 data blocks per project can be accessed. Index 1 is always assigned
as Data Block 1 and cannot be removed. Changing this menu will change all addresses
in the project that are using the changed Data Block.
It is also possible to choose S5/S7 series for DataBlock accessing. If S5 series is
selected, odd number of dataword can be entered. If S7 is selected, only even word
address is possible. After configuring the Datablocks, changing between S5 and S7
series will cause unexpected results. Please check all the Datablock addresses when you
change between S5 and S7 Series.





Pro-face Europe B.V. 8

Siemens S7-300/400 Ethernet

Environment Setup
The following lists the recommended PLC and GP communication setups.
. Siemens Simatic S7-300/400 via Ethernet
GP Settings:

The Communication settings can be entered from the Communication Tab of GP
Settings.
The following are the parameters:



Source IP Address
This is the GPs own IP address.
Default: 0.0.0.0
Pro-face Europe B.V. 9

Siemens S7-300/400 Ethernet
Range: 0.0.0.0 ~ 255.255.255.255
Notes:
1. When using n:1 connection, this IP address should be unique for each GP on the
network
2. When using ethernet download to the GP or 2-Way connection to the GP, this IP
address should be the same as the IP address defined for the 2-Way / Ethernet
Download connection

Source Port No.
This is the GPs own port number.
Default: 1024
Range: 0 ~ 65535
Notes:
1. Be careful to use ports addresses less than 1024, these are normally reserved for
special features.
2. When using ethernet download to the GP or 2-Way connection to the GP, this port
number must not be the same as the port number defined for the 2-Way / Ethernet
Download connection

Target IP Address
This is the PLCs IP address.
Default: 0.0.0.0
Range: 0.0.0.0 ~ 255.255.255.255
Notes:
1. This should match the PLCs IP address

Destination IP Port No(Target Fetch Port No.)
This is the PLCs FETCH port number.
Default: 2000
Range: 0 ~ 65535
Notes:
1. This should match the PLCs FETCH port
2. When using n:1 connection (n GPs) there should be n FETCH ports. A unique
FETCH port for each GP must be chosen.






Pro-face Europe B.V. 10

Siemens S7-300/400 Ethernet
Additionally, from the Network button on the Mode Settings Tab of GP Setup.



Target Write Port No.
This is the PLCs WRITE port number.
Default: 2001
Range: 0 ~ 65535
Notes:
1. This should match the PLCs WRITE port
2. When using n:1 connection (n GPs) there should be n WRITE ports. A unique
WRITE port for each GP must be chosen
Pro-face Europe B.V. 11

Siemens S7-300/400 Ethernet
These parameters can also be set from the offline menu on the GP. Find the menu in the
INITIALIZE => PLC SETUP menu:



PLC Settings:

The S7-300/400 PLC and CP343-1 IT/ CP443-1 IT modules are configured using the
Step 7 Software and Net Pro Software. The CP ethernet modules for the S7 PLCs
have many options for communications. When connecting a GP to these via Ethernet
the TCP connection type with FETCH and WRITE services have to be configured.
Please follow the steps below to configure correctly for connection to a GP.


1. Configure the CP Modules IP address:


Pro-face Europe B.V. 12

Siemens S7-300/400 Ethernet
The Target IP Address in the GP configuration has to match the IP address selected
here.

2. Run the Net Pro Software

3. Add a new connection


Pro-face Europe B.V. 13

Siemens S7-300/400 Ethernet
4. Select the connection type


The GP only supports TCP connection to the S7 PLC. Always select the Station as
being (Unspecified). After selecting this menu a warning message will appear:

After selecting OK the following dialog appears:


Pro-face Europe B.V. 14

Siemens S7-300/400 Ethernet
5. Enter the port number for the connection

From the dialog above select Addresses, this will display the following dialog:


Notes:
* The Local Port number here corresponds to the Target Port Number that has to be selected in the
GPs configuration. The Partner IP address and Port should be left blank.

6. Select the mode for this connection


From the previous menu the tab Options should be selected. From here the Mode of
this connection is selected. For communication with one GP two connections have to
be made; a FETCH passive connection and a WRITE passive connection.

Pro-face Europe B.V. 15

Siemens S7-300/400 Ethernet

7. Connections are added
After selecting OK on the previous menu the connection should be added. Finally to
have connections setup for one GP only it should look something like this:















Pro-face Europe B.V. 16

Siemens S7-300/400 Ethernet

Error Codes

Siemens Simatic S7-300/400 via Ethernet

Protocol Stack Error Codes (General TCP/IP Errors etc):

You might also like