You are on page 1of 8

Communication set up guide 2008-05-21

Patrik Önnheim/4859

Set up PUT and GET in Siemens S7 317-2 PN/DP to S7 400 system


Start NetPro

1(8)
Communication set up guide 2008-05-21
Patrik Önnheim/4859

2(8)
Communication set up guide 2008-05-21
Patrik Önnheim/4859

Set up the S7 connection

3(8)
Communication set up guide 2008-05-21
Patrik Önnheim/4859

Now the connection is set up, Save and compile, download. Go online in NetPro to check it.

4(8)
Communication set up guide 2008-05-21
Patrik Önnheim/4859

Add FB14 and FB15 from the standard library to your project.

5(8)
Communication set up guide 2008-05-21
Patrik Önnheim/4859

Create two new Data Blocks for the PUT and GET SFB:s

6(8)
Communication set up guide 2008-05-21
Patrik Önnheim/4859

Insert the FB and type in the addresses as shown.

ADDR_x is the Put/get address in the other PLC.

RD_x is were to store the data on the PLC

The ID was setup in the NetPro, W#16#2

The REQ can not always be true, the block triggers on a positive flank. Use
pulse.

Type in the DB created for the FB in the ??? field.

Repeat above but with FB14 GET

7(8)
Communication set up guide 2008-05-21
Patrik Önnheim/4859

Save OB1 and download the OB1, NetPro, DB:s created, the FB or FC were the SFB14/15 were inserted. Or just download
everything.

8(8)

You might also like