CP342-5 DP_SEND and DP_RECV.

JesperMP

Lifetime Supporting Member + Moderator
Join Date
Feb 2003
Location
ᚴᚬᛒᛅᚾᚼᚬᚠᚾ
Posts
16,325
Hi I just came back from a project where I had to help someone else with his PLC where he was using a CP342-5 to exchange data with a Profibus slave. It is my first time with using a CP342-5. I went OK, but 2 things struck me.

1. It is really odd that you have to exchange all i/o with the CP starting from byte 0. If you have say 4 bytes i/o via the CP but they are assigned the adresses IB100-IB103, then you have to exchange 104 bytes, and not just the 4 relevant bytes.

2. What happens with input image when you read all the inputs from the CP starting from IB0 ? Do the input bytes get overwritten ?
If so, what then with the inputs you have in the rack (not via Profibus) ?
Because I became unsure about this I decided to use a DB as target for the DP_RECV block, and then only use the relevant inputs from this DB.

Both of the above would not be a problem if you could read/write only the exact number of input/output bytes that are attached to the CP as Profibus slaves.
 

Similar Topics

Dose anyone have experience with Beckhoff FC3121 profibus master PCIe card connected to Siemens CP342-5 as a profibus slave? The data retrieved...
Replies
17
Views
4,811
Hi Ali, I'm setting up comms between DeltaV as master and S7300 cpu315-2 as slave. I have already comms using 1 cp342-5 bet this not...
Replies
6
Views
2,420
Dear All, I try connect CP342-4 to remote ı/o Conection look like ok. But i cant find I/O address. you can find my configuration on picture...
Replies
6
Views
2,500
I want to configure s7314ifm plc with cp module cp342-5. And after that I have to communicate cp342-5 with a vfd through profibus dp cb15. I don't...
Replies
8
Views
2,366
Hello All, Just want to pick your brains a minute as mine is now dead :) I have a Siemens 315 PLC and I have a ABB drive (ACQ810) on Profibus...
Replies
11
Views
5,223
Back
Top Bottom