Manual VIPA System 300V Chapter 6 Deployment CPU 31x with TCP/IP
HB130E - CPU - Rev. 11/50 6-47
Sample communication TCPTest - CPU 31xNET
This chapter provides an introduction to the communication between a
CPU 31xNET and the software TCPTest from VIPA. Here data is
exchanged via 2 connections. The sample shows the principles of project
engineering and will help you to use WinNCS.
The minimum technical equipment required for the examples is as follows:
Hardware
- 1 CPU 31xNET from VIPA
- 1 PC or PG with Twisted Pair Ethernet connection
Communication line
- 1 bus cable (crossed at point-to-point connection)
Software packages
- Parameterization software WinNCS and TCPTest from VIPA
- SIMATIC manager from Siemens V. 5.1 or V.5.2 with SP1
- SIMATIC NET
Twisted pair
TCPTest
System 300V
CPU31xNET
The following communication task is the basis of the sample project:
DW0 of DB10 is incremented in OB 1 of the CPU. Deploying TCPTest, the
DB10 of the CPU (DBW2 ... DBW8) shall be given a value via
WRITE_ACTIVE. For control purposes we want to read DBW0 ... DBW8
from the CPU via READ_ACTIVE.
The CP gets the sample IP address 172.16.129.1 and communicates via
the ports: read port: 7002, write port: 7003
At PC side, the IP address and ports are not specified.
Outline
Preconditions
Structure
Problem