Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V
6-48 HB130E - CPU - Rev. 11/50
• Configure CP
READ_PASSIV and FETCH_PASSIV connection to the PC in WinNCS
• Configure CPU
SYNCHRON in OB 100 and SEND_ALL and RECV_ALL in OB1, Data
block DB10 with DW0 ... DW4.
To create dynamic data, the content of DW0 has to be incremented
cyclically
• Configure PC
WRITE_AKTIV and READ_AKTIV connection to the CP in TCPTest
PC
CPU
OB1:
CP
WinNCS:
OB100:
SYNCHRON
SSNR=0
BLGR=6
PAFE=MB198
TCPTest:
CP-Init:
Page frame address: 0
Page frame number: 1
IP-Address: 172.16.129.1
Subnet-Mask: 255.255.0.0
FETCH passiv
Order number: 1
Port lokal: 7002
Port foreign: 0
WRITE passiv
Order number: 2
Port lokal: 7003
Port foreign: 0
READ aktiv
Remote Host: 172.16.129.1
Local Port: 0
Remote Port: 7002
Time: 50 (500ms)
OrgKennung: DB
DB-Nr.: 10
AnfAdr: 0
Len: 5 (in Words)
WRITE aktiv
Remote Host: 172.16.129.1
Local Port: 0
Remote Port: 7003
Time: 50 (500ms)
OrgKennung: DB
DB-Nr.: 10
AnfAdr: 2
Len: 4 (in Words)
DB10:
DBW0 ... DBW8
SEND_ALL
SSNR=0
PAFE=MB196
ANZ=MD180
RECV_ALL
SSNR=0
PAFE=MB197
ANZ=MD184
DB10, DW0
DBW0=DBW0+1
At this point the purpose and the required settings have been outlined. The
programs provide additional details of the configuration of the handler
blocks. A detailed description of a suitable configuration of the CPs under
control of TCP/IP is also included.
Approach