Chapter 6 Deployment CPU 31x with TCP/IP Manual VIPA System 300V
6-54 HB130E - CPU - Rev. 11/50
Synchronization of the CP interface
The used interface of the CP has to be synchronized in the CPU by means
of the start-up OB 100 and the handling block SYNCHRON.
The block SYNCHRON proofs if the synchronization has been executed
error free. In case of an error there is an error output in MB198.
OB 100:
CALL "Synchron"
SSNR:=0
BLGR:=6
PAFE:=MB198
Data transfer between CPU and CP
Via the cycle OB 1, the sending and reception of data between CP and
CPU is controlled:
OB 1:
CALL "Recv_ALL" //SFC 237
SSNR:=0
PAFE:=MB197
ANZW:=MD184
CALL "Send_All" //SFC 236
SSNR:=0
PAFE:=MB196
ANZW:=MD180
AUF DB 10 // Content of DW0 is cyclically
L DBW 0 // incremented
+ 1
T DBW 0
Create the DB10 with the data words DBW0 ... DBW8:
DBW0 of type Word for the counter value
DBW2 ... DBW8 of type Byte for the data area
The data transfer happens via MPI. If your programming device has no MPI
interface you may establish a serial point-to-point connection from the PC
to the MPI via the VIPA "Green Cable".
The "Green Cable" has the order no. VIPA 950-0KB00 and may only be
deployed with VIPA CPUs of the Systems 100V, 200V and 300V.
• Connect your PG with the CPU.
• With PLC > Download in your projecting tool you transfer your project
into the CPU.
Now the project engineering of the CPU and the CP is finished. The
following page shows the deployment of TCPTest:
CPU program
Transfer PLC
project