Vous êtes sur la page 1sur 4

COMMUNICATION BETWEEN 2 CPU 313C-2DP

I.CPU Slave
1. Make new profibus network
2. From properties of DP choose:
+ Address
+ Operating mode: slave

+ Configuration : make one virtual module

3. Save and compile it


II.CPU Master

1. Make slave station: drag and drop CPU31x from configuration station

2. Click the button Connect


3. Choose tab Configuration: make virtual I/O slot connection
III. Program
1. Insert OB: 80->87,122
2. In OB1(Slave, don’t need in master) drag and drop: FC1 DP_SEND, FC2 DP_RECV

3. Use virtual I/O as real I/O: input of mater is output of slave and inverse
(example: IB8 is virtual I/O- virtual output QB8 from master, QB124 is real I/O of slave station)

Vous aimerez peut-être aussi