12/6/2010 6:48 PM | |
Posts: 62 Rating: (0) |
Dear all, Wewant to establish communicate with a S7300 CPU with a S7400 CPU via CP342-5(6GK7-342-5DA02-0XE0). We put the CP342-5 in central rack of the 300 CPU and configured as a DP slave. In S7400 HW configuration we put the CP in DPnetwork and attached 192byte input and 64 byte output (Universal) But in S7300 HW configuration we did not find the option to put 192byte output and 64byte input it shows default 16byte. Please help epro AttachmentPIC.zip (60 Downloads) |
Last edited by: epro at: 12/6/2010 10:28 PM |
|
12/7/2010 1:03 AM | |
Joined: 10/7/2005 Last visit: 5/29/2024 Posts: 3007 Rating: (1049)
|
Hello epro
These 16 Bytes of I/O are the "data bus" between the CPU and the CP342-5, buthave nothing to do with the amount of CP342-5 DP Slave I/O data that you want to have. The CP342-5 DP Slave Outputrange is determined by the lenght (number of Bytes) of the "SEND" parameter of FC1 (DP_SEND) and the CP342-5 DP Slave Inputrange is determined by the lenght (number of Bytes) of the "RECV" parameter of FC2 (DP_RECV) and below are a couple of example links which hopefullyhelp to get you started: How do you configure a CP342-5 as DP slave to a CP 342-5 as DP master? DP link between CP 342-5 (slave) and S7-300/400 (master)
Doesn't matter as either way is possible and the FAQ below has more on this: Notes on linking a CP342-5 as DP slave to a DP master with STEP 7 Last but not least, you may the following FAQ useful too: What are the differences between an integrated DP interface of my CPU (e.g. CPU 315-2 DP) and the DP interface of the CP 342-5? I hope this helps |
Cheers |
|
This contribution was helpful to2 thankful Users |
12/8/2010 1:36 AM | |
Joined: 10/7/2005 Last visit: 5/29/2024 Posts: 3007 Rating: (1049)
|
Hello epro
Hard to say what's wrong without looking at the code. Bear in mind the following though: - SFC14/15 need to be called for each I/O module in the DP Slave (you orginal S7-400 config has for example two input modules in the CP342-5 based DP Slave, so you needtwo SFC 14 calls to read all inputs). - There is no need to use SFC14/15 if the DP Slave I/O's are in the process image (which seems to be yourcase). You'll find more useful info about all this in "master" linkbelow: Which entries deal with consistent data in conjunction with distributed I/O?
These 16 I/O bytes are needed and used internally for data exchange purposes between theCPUand theCP (every Ethernet or Profibus CP in an S7-300 has this 16 Bytes I/O area for this purpose).
That would be a clear "I'm afraid it is NOT possible" answer. Even though THISFAQ describes usage of the CP342-5 as a DP Master, item 5 in the list is also applicable for yourCP342-5 DP Slave use-case. I hope this helps |
Cheers |
|
This contribution was helpful to1 thankful Users |
Follow us on