S7-TCPIP Ethernet Interface
S7-TCPIP Ethernet Interface
INAT S7-TCP/IP
Ethernet interface
for the
S7
Version 1
®
SIMATIC is a registered trademark of Siemens AG
®
S7-400 is a registered trademark of Siemens AG
®
STEP 5 is a registered trademark of Siemens AG
®
STEP 7 is a registered trademark of Siemens AG
®
Windows95 is a registered trademark of the Microsoft Corp.
®
Windows98 is a registered trademark of the Microsoft Corp.
®
Windows NT is a registered trademark of the Microsoft Corp.
®
Windows 2000 is a registered trademark of the Microsoft Corp.
0101-001
Range of delivery
CD-ROM contents:
• INAT Parameterization Software
• Manual in pdf format
• PC-H1 driver
• INAT OPC Server TCPIPH1 (Version 32 points)
• OPC Client of the Rockwell Corp.
• S7 Project for the SEND/RECEIVE and the FETCH/WRITE communication
Note
Programming of the MPI with the S7-TCP/IP is actually not being supported.
Connect your PC directly with the MPI interface of the S7-CPU via MPI cable.
Don’t use the MPI slot of the S7-TCP/IP. With such a connection the module could be
damaged!
Note
While installing the INAT S7-TCP/IP on a S7 rack, the power supply has to be turned off.
Tighten the screws modestly!
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
Contents 5
Contents
1 INTRODUCTION 9
1.2 Caracteristics 10
1.3 Installation 12
2 GETTING STARTED 13
2.1 Requirements 13
3 HARDWARE 50
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
6 Inhalt
4.4 Parameterization 64
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Contents 7
6 APPENDIX 113
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
Introduction 9
1 Introduction
INAT S7-TCP/IP is the high performance Ethernet interface for S7 PLCs of the series 400. The
universal communications processor can be used with both TCP/IP and H1 simultaneously and
in parallel. Besides the S7 protocol the INAT CP supports the entire S5 AP header. With this
number of protocols the INAT S7-TCP/IP may be integrated seamlessly in existing S5 and S7 -
ethernet networks.
LED displays
64K Flash Eprom
memory module
optional
MPI interface
9-pin socket;
actually not supported
AUI interface
15-pin, with sliding
locking mechanism
TP(RJ45) socket
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
10 Layout of the Module
1.2 Caracteristics
Parameterization
• Online via network (TCP/IP and / or H1)
• Offline on the PC with later transfer to the S7-TCP/IP.
Number of Connections
• 124 H1 connections
• 124 IP connections
CPU Types
To run the S7-TCP/IP, you need one of the following versions of the series 400.
&387\SH 6LHPHQV2UGHU1R
CPU 412-1 6ES7 412-1XF02-0AB0
CPU 413-1 6ES7 413-1XG02-0AB0
CPU 413-2 6ES7 413-2XG02-0AB0
CPU 414-1 6ES7 414-1XG02-0AB0
CPU 414-2 with 128K 6ES7 414-2XG02-0AB0
CPU 414-2 with 384K 6ES7 414-2XJ01-0AB0
CPU 416-1 6ES7 416-1XJ02-0AB0
CPU 416-2 with 0,8 M 6ES7 416-2XK01-0AB0
CPU 416-2 with 1,6 M 6ES7 416-2XL01-0AB0
CPU 417 standard 6ES7 417-4XL00-0AB0
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Introduction 11
,PSOHPHQWHG3URWRFROV 0D[/HQJWKRI'DWD
%ORFN
SEND/RECEIVE Direct 32 KB
S7 Functions
FETCH ACTIVE Unblocked
WRITE ACTIVE Unblocked
FETCH PASSIVE 32 KB
WRITE PASSIVE 32 KB
S5-AP Header
FETCH ACTIVE 32 KB
WRITE ACTIVE 32 KB
FETCH PASSIVE 32 KB
WRITE PASSIVE 32 KB
Clock Functions
Clock-Master -
Clock-Slave -
Parameters Security
Double backup of parameters on the
• EEPROM and
• optional on the Memory Flash ROM CARD
- 64 KB Order number: 64KB 700-7410-64
- 256 KB Order number: 64KB 700-7410-256
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
12 Installation
1.3 Installation
The module is designated to be used in the single-slot of a S7-400 rack. The following racks are
being supported. The INAT S7-TCP/IP can be installed in every slot, except the slots reserved
for the Power Supply and Head CPU.
• Central Rack CR2
• Universal Rack UR1
• Universal Rack UR2
Note
The power supply of
the PLC has to be
switched off, while you
are installing the INAT
S7-TCP/IP in a rack
Handling
• Switch off the power supply.
• Remove the cover panel of the slot you need to.
• Put the module - beginning on the upper side - in the slot (see figure).
• Insert the module by pressing the springscrew on the upper and the lower side (with the
help of a screwdriver) into the bore-hole designated for. After the module is firmly in place,
secure it by a mounting screw (in clockwise direction).
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 13
2 Getting Started
2.1 Requirements
The following minimum on technical resources is required to execute the following example:
• PC with Windows 95/98/NT/2000 operating system and a network card
(If you have not already done so, set the IP address of your PC under NT. In the menu „Start/Settings/Control
Panel/Network“ enter the following values in the „Protocols/Properties“ window for the IP address and the Subnet
mask.)
being supported.
Connect your MPI cable directly with the MPI interface of the CPU.
Don’t use the MPI interface of the S7-TCP/IP. With such a connection the
module could be damaged!
• Software packages
- INAT.NET Parameterization
(The INAT Parameterization is freeware. You need it to register the CP in the net and to configure the
connections. You can find an actual version of the Parameterization on CD-ROM under
INATS7CP\ParamNT\. Install the Parameterization by doubleclicking the file paramnt.exe.)
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
14 Registration of the S7-TCP/IP in the network
- OPC Client
(You can find the OPC Client freeware on the CD-ROM under INATS7CP\OPC\Client\
Copy the files there to a directory of your choice.)
Figure 2-1: After startup only the hardware address of the module is set
Select the entry, which is marked with an arrow in front by doubleclicking. The dialog window
„Station Parameters“ appears. The following parameters must be entered:
• Name
• IP address
• Subnet mask
• Domain Name Server
• Router
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 15
If you wish you may enter a Station Password and change the Ethernet Address.
Now the module is registered in the net and reachable via TCP/IP and H1. If the value of the IP
address is set outside the subnetwork of your PC or router, you can install the delivered H1
driver. Then the TCP/IP parameters can be adjusted with the parameterization via H1.
You can find the H1 driver on the CD-ROM under INATS7CP\PCH1.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
16 S7-TCP/IP in the S7 Hardware Configuration
Select the SIMATIC S7-400 under Insert/Station. The following window appears
Select in the right frame of the S7 project the S7 hardware configurator with a double click on
the icon "Hardware".
The next dialog window offers the possibility to show the real hardware configuration on the
SIMATIC manager.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 17
• Rack Type
First select the used rack type under "Rack-400" (here rack UR2 was selected).
• Power Supply
Select the actual used power supply under PS-400 (here PS 405 4A)
• S7 CPU
Select the CPU type in the directory CPU 400 (here CPU 413-1)
• INAT S7-TCP/IP
You can find the S7-TCP/IP in the directory CP-400 under INAT S7-TCP/IP-NET or INAT
S7-TCP/IP-PRG. Please select INAT S7-TCP/IP-NET.
• The peripheral address (LADDR) is automatically be set by the S7. It also can be adjusted.
Note that inputs and outputs have to be equal.
• Please store the edited hardware configuration and load it to the CPU.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
18 Example SEND/RECEIVE Direct Communication
Hub
Station 2
Station 1
IP address 192.0.9.59
IP address 192.0.9.58
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 19
Requirements
- Installed INAT parameterization
- Installed STEP 7 software
- 2 S7 Racks with installed
S7-400 CPU and INAT S7-TCP/IP Start
- Windows PC with network adapter
INAT S7-TCP/IP
Ethernet interface
for the S7-400
Parameters ofStation 2
Monitoring the transmission [Own address]
in the STEP 7 project Ethernet address=0021A0 06 00 02
Open the VAT1 modules in your programm Station name=Station2
and select "monitoring online". Now the send and Ip address=192.0.9.59
receive data should change. [Connection Rec from Station 1]
Job number=3
Type of Job=Receive
Ip Dest station=0.0.0.0
Ip Port=8888
Connection establishment=passive
Ip protocol=TCP
End
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
20 Example SEND/RECEIVE Direct Communication
Note If you want to load the blocks to a existing project, pay attention that existing
blocks are not being overwritten.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 21
Load handling blocks OB 100 and OB 101 (described in the figures below) to the AS.
NET_SYNC FC 249 is then called in OB 100 and 101 for synchronization of the S7-TCP/IP.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
22 Example SEND/RECEIVE Direct Communication
FC200 and FC201 are called in OB1, where they then call the Send Direct and Receive Direct
functions.
The NET_ALL function should be called at least once during the entire PLC programm.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 23
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
24 Example SEND/RECEIVE Direct Communication
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 25
• If you are executing this example with new S7-TCP/IP modules, the TCP/IP addresses have
not yet been set. You can find a detailed description in chapter 2.2. In our example the
following station parameters were edited:
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
26 Example SEND/RECEIVE Direct Communication
Station 1 Station 2
Figure 2-12: Editing the station parameters. Figure 2-13: Editing the station parameters.
Example: Station 1 Example: Station 2
• This stations should be online now. Since the stations are online, they are preceded by an
arrow.
Figure 2-14: Selection of stations on the network after the first startup
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 27
• Using a single mouse click, select one of the stations to be parameterized, and click the OK
button. The window for parameterization of the INAT S7-TCP/IP appears. If connections
have already been parameterized for this station, these connections are shown. This window
is blank when the parameterization program is started for the first time.
Figure 2-16: Send station 1, new connection Figure 2-17: Rec station 2, new connection
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
28 Example SEND/RECEIVE Direct Communication
Figure 2-18: PLC parameters - Send station 1 Figure 2-19: PLC parameters - Rec station 2
• Close the window with OK. The "TCP/IP Parameter Settings" window appears.
TCP/IP parameters - Send station 1 TCP/IP parameters - Rec station 2
Figure 2-20: Editing TCP/IP parameters Figure 2-21: Editing TCP/IP parameters
• Remember that the Send/Receive connections of both stations must have the same port
number "8888". The other settings are deafult values. They should only be changed if it is
absolutely necessary.
• If you want to operate connections via H1 and you have activated H1 (see "New Connection"
window above), the following windows appear. Enter the following values for the stations:
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 29
Figure 2-22: H1 parameters - Send station 1 Figure 2-23: H1 parameters - Rec station 2
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
30 Example SEND/RECEIVE Direct Communication
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 31
Figure 2-26: VAT block for monitoring the transmission with STEP 7 program
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
32 Example SEND/RECEIVE Direct Communication
You can use the Parameterization to monitor the transport connection between the two
communication modules. This can be done on both the sender and the receiver side.
• Start the parameterization program.
• Click "Parameterization via TCP/IP and select "Station 1".
To monitor one connection, select the connection "Send to Station 2" , and click "Online
Indication".
• The name of the connection is indicated in the title line.
• The following values are output in this window:
"Job number"
A connection cannot be used by the S7 standard handling blocks unless it has been assigned a
job number. The PLC program addresses the connection under this number.
Direction of the connection
The direction (i.e., from where to where) is indicated here. Particularly when the serial
parameterization is being used, transmission errors become obvious when suddenly only one
sending direction is indicated.
"Indication word"
The current indication word is shown in addition to the job number. If the connection has not
been entered ("Automatic entry" has not been set), this is indicated in plain text.
"Status"
Since sending and reading can always be performed on a connection, the sending and read
portions are monitored separately. The contents of the indication word is indicated in plain text,
followed by the number of frames since the connection was started, and the type of job.
.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 33
An output window appears indicating all connections and the related indication words.
Indication word
The current indication word is shown in addition to the job number .
0 Receive Job ready
1 SEND/FETCH Job running
2 Job finished (without errors)
3 Job finished (with error)
If the connection has not been entered ("Automatic entry" has not been set), this is indicated in
plain text.
Network Status
Number of frames since the connection was started.
SEND / REC
Number of sent and read frames since the connection was started.
Anzw
The indication words are evaluated bitwise and are indicated in hexadecimal code.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
34 Example SEND/RECEIVE Direct Communication
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 35
3&ZLWK,1$7SDUDPHWHUL]DWLRQ
23&VHUYHU 6ZLWK67&3,3
23&FOLHQW
03,DGDSWHUIRU
SURJUDPPLQJ
73FDEOH
6WDUFRXSOHU+XE
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
36 Example for Fetch/Write Communication
Requirements
- Installed INAT parameterization
- Installed STEP 7 software
- S7 Rack with installed S7-400
CPU andINAT S7-TCP/IP Start
- Windows PC with network adapter
- Installed INAT OPC server INAT S7-TCP/IP
Ethernet interface
- Installed INAT OPC client
for the S7-400
End
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 37
The types of jobs are NET_SYNC and NET_ALL. The internal communication block FC 242
NET_WORK always has to be available in the CPU.
Note The related STEP 7 program is located as project on CD-ROM in the directory
INATS7CP\Project\INAT under the name INAT-Visu.
• After having loaded the project, Step 7 SIMATIC Manager lists all handling blocks required
for this example in the „block directory“.
Note If you want to load the blocks to a existing project, pay attention that the existing
blocks are not being overwritten.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
38 Example for Fetch/Write Communication
NET_SYNC has to be called at warm start or cold start. OB 100 and OB 101 are the blocks for
the warm start and cold start, with which the synchron block FC 249 is called.
Figure 2-30: Organisation block OB 100 with initialisation of the synchron block
Figure 2-31: Organisation block OB 101 with initialisation of the synchron block
The NET_ALL call mest be included in the cyclic program portion of the S7 program. Since the
S7 CPUs call block OB1 when they branch to the cyclic portion, the NET-ALL call is best
located there.
Note
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 39
Beside the organization and the communication blocks described above, the data blocks to be
transferred should also be stored in the PLC.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
40 Example for Fetch/Write Communication
If you have not already done so, install the If you have not already done so, install the
OPC Server on your PC now. See chatpter 3 parameterization software on your PC now.
for information in installation ans starting the
program.
Start the OPC server. In the menu Start the parameterization program. A dialog
"Configuration“, select menu item "Topic window appears offering four methods of
Definition." parameterization:
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 41
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
42 Example for Fetch/Write Communication
After selection of the "Topic Definition" menu Click the OK button in the "Select a Station..."
item, the window “Parameterizing INAT OPC window to access the input mask "INAT S7-
server” TCP/IP Connection list".
At this time, no connections have been At this time, no connections have been
parameterized. Click "New" to set up a new parameterized. Click "Connection/New" to set
connection. up a new connection.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 43
Under the connection name, enter the name Under connection name, enter a name (e.g.,
(e.g., Tank 1) for communication with the "Tank 1 FetchWrite") for the response to the
controller, and select connection type TCP/IP. visualization PC, and select connection type
TCP/IP with the protocol header S7.
PLC Parameter VISU-PC S7 Parameter PLC
Click OK to directly access the "TCP/IP Click OK to open the "Editing PLC
Parameter Settings" mask on the OPC parameters“ window. The PLC parameters
server. A separate dialog window for the PLC control the connection between the S7-
parameters does not exist since the "job TCP/IP module and the S7 CPU. Select as
number" and "job offset" parameters do not job type "Read and write passive connection".
exist and the "job type" is specified.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
Getting Started 45
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
46 Example for Fetch/Write Communication
The connections between the VISU PC and the PLC have now been
parameterized!
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 47
Load the OPC-Client "Rockwell" from the CD-ROM. Copy the exe-file to a directory of
your choice and start the program by double clicking OPC Client.exe or with
"Start/Execute/OPC Client.exe".
Start your OPC Client (e.g., the Rockwell OPC Client).
Select in the menu "OPC/ Connect" the correct installed "INAT TCPIPH1 OPC Server".
Under „OPC ADD ITEM“ enter the Access Path Name from the OPC server. Here it is Tank 1.
The desired ITEM, here DB7DW0 has to be entered, too.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
48 Example for Fetch/Write Communication
Figure 2-36: Input of the access path and the items of the OPC Client
If the control contains the data block DB7 and data word DW0, "Value" should show a
permanently incremented value.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Getting Started 49
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
50 Connections and LEDs on the Front Panel
3 Hardware
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Hardware 51
Bios
Firmware MPI
Reset Button
(without function at the moment))
MPI Port
AUI Port
Abb.1 Innenansicht
TP Port
Figure 3-1 Location of the jumpers and interfaces on the S7-TCP/IP board
The INAT NODE and EPROM chips are provided with the Ethernet NODE address or the
version number of the used Firmware. You can ask for these version numbers in the delivered
parameterization program (version 3.10.4 ).
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
52 Location of the Sockets, Plug Connectors and Jumpers
Although this upgrade is optional it provides additional backup capacity, ans old modules can be
replaced in existing TCP/IP or SINEC H1 networks without losing the system data.
5 0V (M5V)
RTS_PG 9
4 RTS_AS
DATA.A 8
3 DATA.B
+24V 7
2 M24V
+5V 6
1 Not used
8 8 Ground
- 15 15
7
7 -
Ground 14 14
6
13
6 Ground
+12V / 500mA / 6W 13
5
12 5 RCV (Receive+)
RCV (Receive-) 12
4
11 4 Ground
Ground 11
3
10 3 TRMT (Transmit+)
TRMT (Transmit-) 10
2
9 2 CLSN (Collision+)
CLSN (Collision-) 9
1
1 Ground
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Hardware 53
3.2.4 TP Socket
If you are using the S7-TCP/IP in a TP network, connect the RJ-45 plug connector to the TP
socket .
5 Not used
4 Not used
3 RD+ (Receive+)
1
2 TD- (Transmit-)
1 TD+ (Transmit+)
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
54 Using the Module
Data exchange/traffic
The S7-TCP/IP communications processor automatically handles data traffic via the TCP/IP and
H1 and relieves strain on the S7’s CPU. All layers of the ISO-7 layer model are covered.
Data communication between S7-TCP/IP and CPU is organized in standard function blocks
(i.e., handling blocks) on the CPU.
Connection Parameters
The connection parmeters and system-related data (e.g., transport connections and links to the
S7), are configured with an easy-to-use, menu-controlled parameterization program.
The parameters are stored in the FLASH-ROM of the CP (i.e., no RAM memory module
required).
The parameter data stored on the PCMCIA modules can be read and transferred to the FLASH-
EPROM. This ensures simple and inexpensive replacement of already existing components by
the modules of the S7-TCP/IP family.
The INAT S7-TCP/IP works with TCP/IP connections, H1- connections or a combination of
both. The module can also be operated with priorities 0/1 (i.e., datagram, multicast and
broadcast), 2/3 and 4.
Special features
The communications processor is delivered with a build-in 15 V power supply for the bus
coupler.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 55
4.1.1 Installation
Note: Installation of programs and drivers requires the rights of the system administrator.
• Insert the CD-ROM. The installation file is located in the directory: INAT Projektierung S7-
TCP/IP & H1.
• Start the Paramnt.exe program.
After preparations for installation have been performed, the starting window of installation
appears.
• Select "Continue".
The copyright sreen appears.
• Select "Continue" again.
The programs and files are indicated which will now be installed on your system.
• In the next window, you will be asked for the destination directory under which the S7-TCP/IP
parameterization is to be installed. C:\INAT\Projektierung is suggested as the standard
directory.
If you agree, continue with "Continue" to specify the program group.
Otherwise, start the file selection box first with "Browse".
Note: The directories which you specify are set up automatically if they do not exist yet.
• Now specify the program group in which the icons of the S7-TCP/IP parameterization are to
be located. The files are then copied.
The final window of the installation tells you that the S7-TCP/IP parameterization has been
installed successfully on your hard disk.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
56 Starting the Program
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 57
This window permits another connection file to be set (i.e., offline parameterization).
In the "Look in:" selection box select the drive and the directory in which the connection file to
be loaded is located.
The main window shows the connection files located on the current path. Mark the desired
connection file, and click "Open".
Brief instruction:
1. In the "Look in:" selection box, select the desired directory.
2. In the file selection box, select the desired connection file.
3. Click "Open."
1. In the "File name" selection box: Enter the desired name of the connection file. Use the
extension *.NET
2. In the file selection box: Select the desired directory, in which the connection file shall be
located
3. Click "Open"
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
58 Starting the Program
Now, for the parameterization, you get several dialogues that fit the particular system.
4.2.4 Info
The window entitled „Info“ provides you with information on the version, the release number and
the manufacturer of the program.
The following licence conditions apply to the INAT S7-TCP/IP parameterization software.
• This product may only be used by its final user.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 59
• Distribution of the files (i.e., NET and .INI extensions) prepared with the INAT S5-TCP/IP
parameterization software does not require license fees.
• The INAT S7-TCP/IP parameterization software or other files contained on product floppy
disks or parts thereof may not be passed on to third parties, lent out or used on several
computers at the same time.
• INAT GmbH reserves all further rights, including copies or floppy disks other than those
required for personal data backup, and copies of the documentation and further
developments. It is the responsibility of th e licensee to store the software so that
unauthorized use cannot occur.
• Software and documentation are subject to change without prior notice.
• Program and documentation have been carefully prepared and tested. Except in cases of
gross negligence or intent, INAT GmbH accepts no liability for damages caused by the use of
the software and documentation. In addition, compatibility of this software with any other
programs or hardware components is not guaranteed. Licence conditions also cover any
updates or supplements - even without additional notice being given.
• Should one of the proceding points become invalid, the remaining points are not affected.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
60 The Station List / Selecting the Station in the Network
When performing parameterization via the network, select the station to be parameterized in the
main window.
Figure 4-5 Remote parameterization and selection of the station in the network
In addition, the symbol indicates all computers on which the parameterization is running online
at the moment.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 61
Sort function
The names of the stations, indicated in the connection list, you can arrange with the sort
function for
• TCP/IP address
• Hardware address (Ethernet) or
• Station name
Please note that the reaction time is high, if there are disturbances of the connection.
If a station has not been detected in the automatic online display, establish a direct connection
to the desired station using "New connection to a station".
Note: Stations located behind routers are not automatically detected!
The "Name" field contains the symbolic name of the station. The "Address H1" field contains the
6-byte Ethernet address of the station. The "Address IP" field contains the IP address.
Only in this dialog window you can assign new station names.
Both the H1 address and the IP address are available from your system administrator. You can
edit stations which are online and offline.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
62 The Station List / Selecting the Station in the Network
• A station (e.g., router) has disabled the frames for further forwarding.
Serial interface
The "Name" field contains the symbolic name of the station. You cannot edit this name since it
is used as a reference. For information on H1 addressing, see chapter 4.5. For composition of
the IP address, see chapter 4.6.1.2.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 63
The "Name" field contains the symbolic name of the station. You can always edit this name. For
more details on the dialog window, see chapter 4.7. For information on the H1 address, see
chapter 4.5. For the syntax of the IP address, see chapter 4.6.1.2
Remember the following if you respond to the request for deletion confirmation with "Yes":
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
64 Parameterization
4.4 Parameterization
The "Parameterization" dialog window provides you with an overview of the functions for editing
individual connections and the connection list. On the left side all INAT stations on network are
listet.
The at the moment active station is marked in green.
This window lists all parameterized connections of the selected online station with type of
connection, connection name, order number (No), Job, type of built connection (Act),
destination address (Dest) and parameters. The connections are listed in the order in which
they were entered.
Active connections are identified with the corresponding type (IP, H1, FTP, TELNET) at the
beginning of the line. Inactive connections don´t have suche an indication.
Using a single mouse click or the cursor keys, you can select a connection and edit it with the
appropriate buttons.
By double-clicking a connection, you gain direct access to the dialog window for editing the
parameters of this connection (IP, H1 and FTP parameters) (see chapter 4.5).
If a connection is marked and you use the right mouse button, several functions appear
(network parameters, other parameters...)
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 65
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
66 Menu File (Parameter handling)
In the "Look in:" selection box, select the drive and the directory in which the connection file to
be loaded is located.
The main window shows the connection files located on the current path. Mark the desired
connection file, and click "Open".
Brief instruction:
1. In the "Look in:" selection box select the desired directory.
2. In the file selection box select the desired connection file.
3. Click "Open."
Before the INAT S7-TCP/IP is loaded, you will be asked whether you really want this to be
done.
When new connection parameters are loaded to the module, all previously existing connections
are stopped and deleted; the new connections are then loaded. The station address and the
page frame base address are also loaded again. After all data have been loaded, the module is
reset and started again automatically.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 67
A list of the connections can be printed for documentation purposes. The entry fields „Company
Name“, „Project“ and „Programmers“ should be completed so that the printout can be identified.
The printout is made on the standard printer specified for the system. If you would like a printout
in a file, set the system standard printer to „Print to file“.
4.5.4 End
Selecting "End", the "Start dialog window" of the Parameterization will appear on the screen.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
68 Menu Connection
This window provides all functions for editing connections at the H1 level. After you have
entered all parameters, click "OK". In offline operation, all changes are stored in the current file.
In online operation, the modified parameters are transferred to the module via the serial
interface or the network.
Ethernet H1 connections have many parameters to which certain rules apply. At plants, these
Ethernet parameters are usually specified centrally by the network manager.
Experimenting with your own Ethernet parameters can affect the stability of
the entire network !
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 69
"Connection name"
Here you can give the connection a name. This makes trouble-shooting and diagnosis easier.
"TCP/IP active / H1 active"
Indicates which of the two protocols is activated at the moment. H1 parameterization can only
be performed if an H1 connection was also selected in the connection list.
"Destination Ethernet Adresse"
Ethernet address parameters are binary. They can assume all byte states from hex 0 to hex
FF. The partner station (e.g., a PLC) is determined with the address. Such an Ethernet
address is always 6 characters in length. The first three characters are specified by the
manufacturer of the target system. These bytes are assigned centrally by the IEEE Committee.
If no such manufacturer’s code is assigned, make sure that the first byte is an even number
(i.e., it should be divisible by two without remainder). The last three bytes can be assigned as
desired. A network may not contain several stations with the same Ethernet address.
"Own TSAP"
The own TSAP (i.e., Transport Service Access Point) specifies the connection address in the
own system via which the data are to be communicated.
"Dest TSAP"
The partner TSAP determines the connection address of the other system. When establishing
the connection, remember that the own TSAP must correspond to the partner TSAP of the other
system. This requirement is easy to adhere to if own and partner TSAP have the same values.
The length of a TSAP is often 8 bytes, but it can also vary from 1 to 16 bytes. SINEC systems
use the value 20 for the first 3 bytes.
"CR Parameters"
The CR parameters specify the operating mode of the destination system. The contents of
these parameters are not specified anywhere. They depend on the destination system. Some
H1 interface converters use these parameters to specify the parameters of the second (i.e.,
serial) interface. Check the user’s guide of the destination system to determine what, if anything,
must be entered here. If no information is available, no CR parameters should be entered.
Connection active/passive
"Active / passive" specifies whether the own station will actively establish the connection or
whether it will wait for the partner station to do the job. The same value may not be entered on
both sides of the connection.
"Multicast"
Multicast connections are connections which are not directed to all stations and which only
address the stations which have the same Multicast circle number. The number is between 0
and 63. If Multicast is not selected as the „Line type“, the value for Multicast circle can be
disregarded.
"Line type"
The "Line type" specifies whether the frames of this connection will be sent to all stations (i.e.,
Broadcast), whether a certain group of stations is to be reached (i.e., Multicast), whether
secure connection is to be used (i.e., Normal), or whether the data are to be transferred without
protection (i.e., Datagram).
"Priority"
The line priority can vary from 0 (i.e., highest priority) to 4 (i.e., lowest priority).
0 and 1 are the so-called express priorities while 2 and 3 are the normal priorities. Priority 4 is
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
70 Menu Connection
only used infrequently since a new connection must be established for each sending job. If used
infrequently, this priority does not place as much of a strain on the network as other priorities
since the line is not monitored (i.e., the connection is disconnected after each sending job).
Remember that the express priorities do not make transmission faster than the normal priorities.
On some controllers, however, the data are transferred to working storage via interrupt when
priority 0 is used. This can make the total data transmission faster. A data length of up to 16
bytes is permitted for priorities 0 and 1.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 71
"Dest IP Adresse"
Every computer is addressed by a unique destination address (i.e, IP address). The IP address
is a 32-bit number, specified in four groups of numbers. Each number may be from 0 to 255.
The grupos are seperated by a dot. If you want to use conventional names for the TCP/IP
addresses instead of numbers, you must specify the address of at least one domain name
server (i.e., DNS). This server converts all symbolic TCP/IP addresses to numbers.
"Port"
The port number is a 16-bit address from 0 to 65535. It specifies the channel via which the
applicable connection is to be established. It is a parallel to the TSAP for H1 connections. Port
numbers 0 to 255 should not be used since these are already being used by the so-called well-
known ports. If own and partner port numbers differ, remember that the partner port number on
the partner system is the own port number.
"TCP/UDP Protocol"
Das TCP (Transmission Control Protocol) ist ein gesichertes Protokoll mit Checksumme und
Bestätigung. UDP (User Datagramm Protocol) is not protected. It is handled by datagram
services. We recommend selecting the TCP protocol.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
72 Menu Connection
Special settings
SPS-Header
The data stream-oriented TCP/IP protocol can combine several short data units into longer
units. SPS data will be transfered in blocks. For the data transmission to the S7-TCP/IP a
special SPS-Header has been created. This SPS-Header prepares the telegrams of the TCP/IP
data stream for the use in the SPS. The default setting of the SPS-Header is „activated“. You
find the technical data of the header in chapter 6.1.
RFC 1006
With the activation of RFC1006 the H1 frames, which have to be transmitted, are implemented
in a TCP/IP-frame. With that special TCP/IP channel you are able to communicate with the
Siemens CPs of the S5 and S7 series.
There are special rules for the ISO parameters „Own TSAP“ and „Partner TSAP:
- The entries in the TSAPs have to be two signs length but not more than eight signs.
- You will learn more about TSAPs in chapter “Editing H1 parameters“.
Note: You always have to take „Port 102“ if you want to communicate via RFC 1006!
More settings
More settings means special parameters of a connection. Normally you don´t need them.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 73
By selecting "Life acknowledges ", the connection monitoring function which is restricted in
many socket libraries is activated. These frames are used to transfer the connection status to
process visualization. We recommend to activate both functions (life acks and data life acks). If
the connection is being handled by a WAN, we recommend deactivating these functions to save
costs. The default setting of the life acks and data life acks is ”activated”.
No end check is useful with Receive Direct connections only. Selecting "No end check"
disables the end check of TCP/IP frames with the reading of the data. Rec Direct jobs are
finished only without errors if the number of received data is equal to the number you have
specified for the job in the PLC. E. g. if a network frame sends more data then you would like to
receive with Rec Direct the left over data are delivered to the next Rec Direct. See also "PLC
system settings".
The default connection timout value of 30 s for parameterization sessions within a LAN can be
changed. A change is often useful for parameterization sessions via Internet, for which the
monitoring with life acks is disabled. Mind that such a timeout causes higher reaction time for
other connection disrupts (i.e. cable damages), too.
With "change memory in kbytes" the assignment of memory for the current connection can be
changed. The lower limit of memory for a connection is 1460 bytes, which is the ethernet
maximum of user data. For broadcast receive connections (UDP) this memory is not sufficient. If
the remote station is sending data faster than can received by the PLC, the left over data are
buffered in that memory. The UDP data are rejected only, if theis memory is full, too.
193.0.9.4 is an example. The following IP addresses are reserved and should not be used:
0.0.0.0
255.255.255.255
127.x.x.x (x = any value)
If you want to use conventional names for the TCP/IP addresses instead of numbers, you must
specify the address of at least one domain name server (i.e., DNS). This server converts all
symbolic TCP/IP addresses to numbers. The address of your DNS server is available from your
system administrator or service provider. After a DNS server has been specified and is ready
for operation
Names are always used in the Internet since names are easier to remember.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
74 Menu Connection
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 75
"Connection works"
If you establish a new connection, it is active and works automatically. Connections, which are
not being used temporary must not be deleted. They can be set inactive by deselecting the
button "Connection works".
"Protocol Type"
Here you have again the possibility to change the protocol type. Don´t forget to change the
corresponding PLC parameters, too.
"PLC Parameters"
The actual PLC parameters are listed to the right of this button. If you want to change this
parameters click the "PLC Parameters" button.
"Net Parameters"
The actual TCP/IP or H1 parameters are listed to the right of this button. Click the "Net
Parameters" button if you want to change this parameters.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
76 Menu Connection
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 77
"Name"
All parameterization data are allocated to the connections. Every connection is identified by a
connection name. A connection name may contain all characters including blanks. The names
may be up to 32 characters in length.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
78 Menu Connection
If you reply to the "are-you-sure" question with "Yes", the selected connection will be deleted
permanently.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 79
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
80 Menu Diagnosis
Job Number
Each connection which is to be used by the S7 standard communications blocks requires a job
number. The connection is then addressed under this number by the PLC program.
Direction of connection
The direction (i.e., from where to where) is indicated here. Particularly when serial
parameterization is being used, transmission errors become obvious when only one sending
direction is suddenly indicated.
"Indication word"
The current indication word is shown in addition to the job number. If the connection has not
been entered (i.e., "Automatic entry" has not been set), this is indicated in plain text.
"Status"
Since sending and reading can always be performed on one connection, the sending and read
portions are monitored separately. The contents of the indication word are indicated in plain
text, followed by the number of frames since the connection was started.
"Indication Word"
The current indication word is shown in addition to the job number. If the connection has not
been entered (i.e., "Automatic entry" has not been set), this is indicated in plain text.
"Status"
Since sending and reading can always be performed on one connection, the sending and read
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 81
portions are monitored separately. The contents of the indication word are indicated in plain
text, followed by the number of frames since the connection was started.
"SEND / REC"
Is the number of transferred frames since the connection was started.
"PLCStat"
The indication words are evaluated by bit and shown in hexadecimal code. The meaning of the
individual bits is explained in chapter 5.2.8 STATUS "Monitor Indication Double Word".
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
82 Menu Diagnosis
The window entitled "Exapnded Diagnosis" helps you to locate the causes for communication
malfunctions. It is shown for all page frames whether they are synchronized. If a page frame is
synchronized, its DPRAM size is also shown.
If jobs have been processed incorrectly by the controller, up to ten error jobs are indicated. The
following information is given for each error job:
• Job number
• CPU number
• Job identifier
• Block number
• Offset on the block
• Length of the area
By clicking "New", you can view the refreshed values in the indication.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 83
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
84 Menu Station
"Station Name"
Each station can be assigned a name. This name is used to identify the station.
Note! Remember that each station name within a network must be unambiguous.
"Station Password"
If a password is set, parameterization cannot be performed without the password.
"Ethernet address"
Each station in Ethernet has an unambiguous station address. Since, when H1 is used, the
address of the other stations is entered directly on each station, it should be possible to change
this address. The own station address may not consist of only zero bytes. Broadcast addresses
cannot be used.
Note! The addresses within a network must be unambiguous (i.e., no two addresses may
be the same). For the Ethernet NODE address of the S7-TCP/IP, see the INAT
NODE CHIP of the module.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 85
To obtain the complete Ethernet address of your module, add the following INAT
identifier to the three bytes on the INAT node chip:
INAT identifier: 00 21 A0
"Own IP Address"
Own IP addresses can be assigned within a network. If desired, an address area can be
assigned to an installation to ensure that end systems can always be identified unambiguously.
"Subnet Mask"
The value of the Subnet Mask is available from your system administrator.
"Domain Name"
The domain name is used to address the servers in the network.
"Router"
A router is used when an address cannot be located on the local network.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
86 Menu Station
The SNMP services (Simple Network Management Protocol) in accordance with RFCs 1441 to
1452 offer systematic management and monitoring of a network.
The SNMP services in accordance with MIB II (Management Information Base) are present on
the INAT S7-TCP/IP. MIB defines the objects monitored by the SNMP services (e.g., description
of the system, IP package statistics, address conversion, network interfaces, and much more).
Each important event is defined in an MIB module. When an important event has occurred, a
report (the so-called SNMP trap) is sent to all management stations.
"Main Community" is the identifier with which all services on the INAT S7-TCP/IP can be
addressed. If no identifier is entered here, all stations can perform accesses.
"Read Community" is the identifier for read-only accesses. If no identifier is entered here, all
stations can perform read-accesses. Write-accesses are not permitted with this identifier. The
main community is used for this.
"Accessing station" can be further restricted in addition to the identifiers. If an address other
than 0 is entered here, write-accesses can only be performed by the station specified here.
Traps are sent to the station entered in "Station which is getting traps". If no station is
entered here (i.e., value is 0), no traps are generated.
SNMP services are addressed via port 161. Traps are sent on port 162.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 87
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
88 Menu Extras
The function "Copy Parameters in ROM“ copies the parameters of the INAT S7-TCP/IP to the
ROM module in the module slot. An INAT memory card (128-KB, short model) must be inserted
in the module slot. The parameters of the memory card are overwritten. After the programming
procedure, the module contains all parameters required by an INAT S7-TCP/IP. This additional
backup capacity permits easy replacement of old modules without losing system data.
Before transferring the parameters from the memory card to intern resident memory of the S7
TCP/IP, you should notice the following:
1. Install the memory card into the module rack of the module.
2. Connect the module to the S7 control.
3. Turn the power supply on
Note: Before loading the INAT S7-TCP/IP you will be asked if you really want this to be done.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 89
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
90 Menu Extras
monitoring function which is restricted in many socket libraries. These telegrams are used to
transfer the connection status.
Time-interval Life ACKs [ms]
specifies the time after which an acknowledgment is to be sent when no data communication
takes place. This value can be zero for the TCP/IP. If so, this disables the life telegrams. If
"Activate Life Telegrams/Data Life Telegrams" is selected, this activates the connection
monitoring function which is restricted in many socket libraries. These telegrams are used to
transfer the connection status.
Maximum Frame Length [Bytes]
is the maximum number of bytes which are transferred in a telegram.
Timeout for ARP Entries [ms]
determines the time after which an entry in the ARP cache (Address Resolution Protocol)
becomes invalid. Each access to a certain address on the cache sets the value again.
Timeout for DNS [ms]
determines the time after which a name could not be converted into an IP address.
Timeout for Life Data ACKs [ms]
Time without data communication after which the connection is considered interrupted. Since
the TCP/IP usually does not use life telegrams as long-distance telegrams, the connection is
also interrupted when no data have been transferred during the specified time.
After this Time without Data an ACK is Sent [ms]
After 60 Acks the Timeout for Life Data Acks is dropped and the connection is is considered
interrupted.
Start Value for the Next Free TCP Port [Integer]
is used for TCP connections for which both ports are not specified. If a port is parameterized as
0, a port number is generated. The numbers which are used start at the value given here.
Start Value for the Next Free UDP Port [Integer]
is the same for UDP connections.
Wait Factor if no SPS Header [Integer]
Wait Factor if no RFC 1006 Header
If the header is eliminated, the integrated connection control will be also finished. Therefore if
you use long-distance telegrams, it is recommanded to increase the timeout for Life ACKs. The
standard is 5 (29700ms x 5 = 2,5 [min]).
If it is necessary to change the default settings, please contact the INAT Support.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 91
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
92 Menu Extras
If it is necessary to change the default settings, please contact the INAT Support.
Note
In the window "Editing S5 parameters" this function refers to the current connection.
In the actual window "PLC System Settings" this function can be set global for all connections of
the corresponding station.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 93
If this mode is not active the connections are preserved when a restart is made. For running
Fetch- or Write-jobs this can force inconsistent states because the stopped PLC doesn’t
manage data transfer via the internal rack communication.
If this mode is active each Fetch, Write, Fetch Passive/Write Passive connection has to be reset
when the PLC is switched to RUN. Send Direct and Receive Direct connections are not
influenced by this mode. Data are not being lost by switching from STOP to RUN.
PG Reset
the button "PG Reset" enables you to reinitialize the PG interface without a reboot of the
connected PLC. That reset button enables you to shorten the several minute timeout interval
after serial PG accesses.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
94 Menu Extras
1) The Image File will be loaded to the S7-TCP/IP. It takes approx. 20s. Then observe the
LEDs:
After approx. 5 s the LEDs begin to blink. The Flash Copy is running.
Note
- Don´t turn off the PLC during this minute. Otherwise it doesn´t boot anymore
and has to be sent in
- Sometimes the Flash programming stops for 2 s. Not until all 4 green LEDs are
silent for some seconds, the programming is completed.
- During the Flach Copy you can´t access to the CP with the parameterization
- During this time (Upload and Flash programming), PLC connections should
not work
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 95
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
96 Menu Help
4.10.2 Versions
The versions of all programs are output in this window. In the example above, the complete
ROM Ethernet address is: 00 21 A0 06 00 6F. This address is made up of the first three bytes
permanently assigned as the INAT identifier
INAT identifier: 00 21 A0
and the last three bytes of the ROM Ethernet address which you will also find on the label of
the INAT Node Chip on the module.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Parameterization Software Version 4.0 97
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
98 Runtime Errors
Errors are always indicated in plain text. The following error messages can be output by the
software.
• "No help text file“
• "Time exceeded"
• "Break received“
• "Baud rate error“
• "Parity error“
• "Overflow on the interface“
• "Wrong response from destination system“
• "Wrong OpCode from destination system“
• "Wrong length from destination system“
• "Data from destination system invalid“
• "Checksum wrong“
• "Timeout"
• "Driver error - probably no driver was installed“
• "Parameterization error“
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
The Communication Blocks 99
The communication blocks work with special parameters like hardware address, job number
and so on. An overview of the relevant parameters for the communication blocks is given in the
Table of the parameters.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
100 Exkurs Job types
Station 1 Station 2
TCP/IP / Destination address 192.0.9.59 /
Send to Station 2
Connection establishment active / port 8888 Rec from Station 1
Source data area has to be known
Source data area is not set
(NET_SOURCE:=P#DB8.DBX 0.0 BYTE 2)
(NET_SOURCE:=#zero)
Destination data area not set
TCP/IP / Destination address 0.0.0.0 Area for received data is set
(NET_DEST:=#zero)
Connection establishment passive / port 8888 (NET_DEST P#DB100.DBX 0.0 BYTE 1)
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
The Communication Blocks 101
1(7B6<1&
1(7B6(1'
1(7B5(&9
1(7B567
1(7B$//
SIZE X Size of the Dual Port RAM
ID X X X Job number
STATUS X X X X Indication word for the status of the PLC and the CP.
The CP indicates the status of the network connection
and the transfer.
Note It is recommended to use "0" for parameter size. Then the maximal possible
value (from harware) may be set.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
102 Parameter Table
Note It is necessary to decide dependent from the number of direct jobs with high
performance and the needed size of used data, if you choose the number of
ACT_JOBS.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
The Communication Blocks 103
5.2.4 ACT
Format: BOOL
This parameter is used just from the NET_SEND and NET_RECV blocks. By this parameter the
blocks may be set as a job or as a status question.
Value = 1
If this value is equal 1 NET_SEND and NET_RECV FC are designed to start a job.
Value=0
If this value is equal 0, then NET_SEND and NET_RECV FC are just refreshing the STATUS
and ERROR parameters. In this case NET_SOURCE and NET_DEST are ignored.
5.2.6 NET_SOURCE
Format: POINTER
This parameter indicates the source data area for NET_SEND and NET_RECEIVE block. The
expression
explains the following: the source data area in the data block 100 arrives from data bit 0.0 to
data bit 0.7. If you won’t specify a data area so write:
NET_SOURCE:=#zero.
5.2.7 NET_DEST
Format: POINTER
This parameter gives the destination area of the NET_SEND and NET_RECEIVE blocks. The
expression
means: the destination data area in data block 100 arrives from the data bit 0.0 to data bit 0.7. If
you won’t specify a data area so write:
NET_SOURCE:=#zero.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
104 Parameter Table
31 23 15 7 0
The error bits 4-7 are set if the bit "Job finished with errors"(bit 3) is set. The status can take the
following values:
Dec Hex Explanation
0 0 No error
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
The Communication Blocks 105
14 E Internal error
Note: If the bits for "Job ready with error" and "Job running" are set simultaneously,
there is no connection or there is no corresponding job parameterized on the CP.
(FA or AA)
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
106 Parameter Table
If an error occures the bit 0 is set. AAh if there is no connection and FAh if the
connection is not parameterized.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
The Communication Blocks 107
Note At SIZE feed in the desired size of the DPRAM.The size of the DPRAM shows
how many bytes may be transferred by calling the blocks NET_SEND and
NET_RECV. We suggest to use the value "0" for the parameter SIZE. This way
the maximum value, pretended from the hardware, is set.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
108 Description of the Blocks
Note To ensure a maximum data transfer, the NET_ALL block should be triggered as
often as possible within the cycle. This should especially be done at long cycle
times (> 300ms). The NET_ALL block should be triggered in an independent and
scalable timer block.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
The Communication Blocks 109
Note 1 A job with ACT=TRUE is a send job. With ACT=FALSE the parameter
STATUS and ERROR will be updated.
Note 2 If you declare the job in the Parameterization as "SEND with no Protocol"
the "NET_DEST" parameter are ignored.
Note 3 If you may transfer more data than the size of the DPRAM, the NET_ALL will
transfer the rest of the data.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
110 Description of the Blocks
Note 1 A job with ACT=TRUE triggers a receive job. With ACT=FALSE the
parameter STATUS and ERROR will be updated.
Note 3 If you may transfer more data than the size of the DPRAM, the NET_ALL will
transfer the rest of the data.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
The Communication Blocks 111
How to use the #zero parameter in the NET_SEND block within the PLC programm:
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
112 Description of the Blocks
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Appendix 113
6 Appendix
Acknowledges
If DataLen is 0, a life data acknowledge (Life Data Ack) is involved and not user data. Data
acknowledges permit a form of connection monitoring which the TCP/IP actually does not
provide for as remote-communication frame. Since the standard times for connection monitoring
correspond to those of the H1 protocol, the INAT CP-System is compatible with H1 as seen
from the PLC or PC.
0101-001
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
114 The INAT SPS Header
Sequence number
Byte 6 and byte 7 represent a sequence number which has the value 0 when the connection is
established and which is incremented by one each time user data are sent. This frame counter
is used as an additional safety mechanism for the data transmission. When life data acks are
sent, the sequence number is not incremented and DataLen is 0.
1. Particularly in the case of the Send Direct and Receive Direct jobs, certain time limits until
frame acceptance may not be exceeded. If these time limits were violated, the internal
buffers would be overloaded (e.g., with inquiries), and synchronization of request and
response would no longer be possible.
2. A certain mechanism for blocked data transmission must be adhered to so that the end of the
user data can be detected.
3. The receiving side must ensure that the frames are read from the receiving buffer before the
partner station sends the next frame.
Creation of connection monitoring in the application program is indispensable.
0101-001
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
Appendix 115
Table 6-2: Comparision of the type of jobs INAT S5-TCP/IP / CP 1430 /143
READ/WRITE N N J J J J
1
Type of the standard handling blocks
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
0101-001
116 List of Abbreviations
A
ABM Asynchronous Balanced Mode
AFI Authority and Format Identifier (specified by the network administrator)
AK Data Acknowledgment
AP Application Protocol
AS Automation System of the S7 SIMATIC
ASIC Application Specific Integrated Circuit
B
BIOS Basic Input Output System (lower system services for computer operation)
C
Cache Intermediate storage. Uses to increase speed.
CSMA/CD Carrier Sense Multiple Access with Collision Detect Connection Confirm
CCITT Consultative Committee for International Telegraphy and
Telephony
CR Connection Request
CRC Cyclic Redundancy Check
CSMA/CD Carrier Sense Multiple Access with Collision Detect
D
DA Destination Address
DC Disconnect Confirm
DISC Disconnect
DLC Data Link Control
DM Disconnect Mode DPM1 DP master (class 1)
DR Disconnect Request
DSP Domain Specific Part (the addressed station)
DT Data Dual-Port
E
EA Expedited Data Acknowledgment
ED pedited Data
ER Error Report
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
0101-001
Appendix 117
F
FCS Frame Check Sequence
FDL Fieldbus Data Link
FMA Fieldbus Management
FMS Fieldbus Message Specification
FRMR Frame Reject Response
H
HDLC High-Level Data Link Control
I
I Information
ID Identifier
IDI Initial Domain Identifier (the addressed network)
IEC International Electrotechnical Commission
IEEE Institute of Electrical and Electronic Engineers
Intel format Number-byte representation format
Interrupt Interrupt for the processor
ISO International Organization of Standardization
K
KBL Communication relationship list. List of all communication relationships of
one station.
KR Communication Reference. Local short designation for a communication
relationship.
L
LAN Local Area Network
LI Length Indicator
LLC Logical Link
LSB Least Significant Bit
M
MAC Media Access
MS More Segments
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
0101-001
118 List of Abbreviations
N
NRZ Non Return to Zero
O
OV Object directory
P
Plug and Play (PNP) Detection system for hardware
PNO PROFIBUS user organization
Polling Continuous polling. Not very efficient especially for multitasking systems
such as OS/2 or Windows NT.
PDU Protocol Data Unit
PLC Programmable Logic Controller
R
R(E)J Reject
RNR Receiver Not Ready
RR Receiver Ready
S
SA Source Address
SABME Set Asynchronous Balanced Mode Extended
SAP Service Access Point
SFD Start Frame Delimiter
SLOT Slot on the computer
SP Segmentation Permitted
T
TOP Technical and Office Protocols
TPDU Transport Data Control Unit
TSAP Transport Service Access Point
U
UA Unnumbered Acknowledge
UI Unnumbered Information
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
0101-001
Appendix 119
V
VFD Virtual Field Device. The VFD is the part of a real device which can be
addressed for communication.
W
WAN Wide Area Network
X
XID Exchange Identification
XNS Xerox Network System
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
0101-001
120 TCP/IP RFCs (Request for Comments)
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
0101-001
Appendix 121
RFC 1122 : Error corrections for TCP in accordance with RFC 793
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
0101-001
122 TCP/IP RFCs (Request for Comments)
RFC 1441
bis 1452: SNMP (Simple Network Management Protocol)
SNMP is a systematic method of monitoring and administering a computer
network.
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
0101-001
Appendix 123
Index
A I
BNC · 52
Broadcast · 54, 69, 84, 121 J
Connection Name · 69 L
CR Parameter · 69
LADDR · 102
Life ACKs · 73
D
Life ACKs · 73
Domainname · 85
Dual Port RAM Size · 101 M
Editing H1 Parameters · 68
Error return · 101 N
Ethernet address · 56, 61, 69, 96
Ethernetadresse · 84, 121 Name of the connection · 32
Name of the Connection · 27
NET_ALL · 108
F
NET_DEST · 101
Fax +49 911 / 5 44 27-27 l ( +49 911 / 5 44 27-0 l D-90482 Nürnberg l Ostendstraße 115 l INAT GmbH
0101-001
124 TCP/IP RFCs (Request for Comments)
TCP/IP address · 73
R
TCP/IP Address · 73
TCP/IP Adresse · 25, 73
RECEIVE · 20, 22, 105, 106
Thin-Ethernet · 54
Remote parameterization · 60
TP - Socket · 53
Remote Parameterization · 56
TSAP · 69, 71, 121
Remote Parameterization · 56
Type of job · 32
Router · 62, 85, 121
S V
Verbindungsname · 74, 77
S5-Parameters · 74
Versions · 51, 96
SEND · 20, 22, 33, 104, 105, 106
Sequence number · 114
SIMATIC S5 · 51 W
SINEC H1 · 52, 54, 77
SNMP · 86, 122 Write · 114
Sort function · 61
INAT GmbH l Ostendstraße 115 l D-90482 Nürnberg l ( +49 911 / 5 44 27-0 l Fax +49 911 / 5 44 27-27
0101-001