(0)| 7/7/2023 1:40 PM | |
|
Posts: 5 Rating:
|
Hello, We are replacing the communication between a S7-400 and a S7-300 from PROFIBUS to PROFINET. Currently it is done using "DPRD_DAT" and "DPWR_DAT" mechanism. We would like to do minimal changes to the software and communication handling and instead do only the hardware change. Currently the DP communication is done via GSD file in which the remote and local addresses (different) are configured. These addresses are read/written on both sides using the DPRD/WR_DAT functions. We have replicated this with an I-Device GSD with the previous remote addresses, and configured the local addresses directly in the hardware configuration of the PN interface of the 300. According to this manual it should be possible to use those functions for PN communication. However, whatever we've trying in terms of hardware configuration, we are getting access error codes from the functions (For 400: 80B0, for 300: 80A0 on read and 80A1 on write). My question is, first of all if this is possible, but also if there is some "checkbox" in the hardware configuration that we have to tick to enable this? Also is there a example application similar to this? |
Last edited by: Jen_Moderator at: 07/10/2023 08:23:03Link optimized. |
|
| 7/10/2023 8:48 AM | |
|
Posts: 5 Rating:
|
Hello, See attached for current HW config (DP), and desired (PN). The software uses SFC14 and SFC15 to read/write on the 1020 addresses from the 400 side and read/write the 640 and 672 addresses on the 300 side. Hope the document is clear enough. AttachmentCurrent vs Desired.docx (616 Downloads) |
| 7/10/2023 9:01 AM | |
|
Posts: 5 Rating:
|
My bad, see attached Edit: included word file in archive for readibility AttachmentCurrent vs Desired.zip (611 Downloads) |
Last edited by: alexandru_olar16 at: 07/10/2023 09:03:04 |
|
| 8/31/2023 2:49 PM | |
|
Posts: 5 Rating:
|
Hello, No worries on the reply. Please clarify if I understood the manual correctly. At the S7-400 as controller chapter it states to see the section with the 300 as controller (see below). At the 300 controller chapter it states that a 400 with a CP can communicate with a 300s PN interface using DPXX commands (see below). Am I reading this wrong? Best. |
Follow us on