Problem communicating PLCNext with Siemens S7-1200

Im triying to communicate the PLCnext with the S7-1200, Im using the TiaPortal V15, I download the GSD file from PhoenixContact.com and i put this in the Siemens S7-1200, but i dont know what are the blocks that i can use to send and receive data, I use Profinet because i need this for a demostration in the office , but I can set the PLCnext like a controller because when i want to compile the entire program in the S7-1200 this show me a error saying me he needs a Controller, because for default the PLC Siemens recognize PLCnext like a device. You know if its posible to set the PLCnext like a controller and set the S7-1200 like a device ?

Hello arielito, I’ll check this issue and give you a feedback asap. Best Regards Eduard

Hello arielito, you have to proceed the following steps:

                                               1. Create a project for S7-1200 in TIA-Portal V15 IDE
                                               2. Activate the Device Option "IO-Device" in TIA-Portal V15 (see TIA-Portal screenshot below), compile and download the project to S7-1200 controller
                                               3. Create a project for AXCF2152 controller in PLCnext Engineer IDE
                                               4. Import the GSD-File for S7-1200 (you can find it on the Siemens page)
                                               5. Read In the PN-Device (S7-1200 ) in PLCnext Engineer (see PLCnEng screenshot below and follow Steps 1-6)
                                               6. Now you should be able to echange the PN-Data via Global Array "axc-f-2152-1 / Profinet / PND_S1_OUTPUTS" and "axc-f-2152-1 / Profinet / PND_S1_OUTPUTS" (see last screenchot)

Please see also the similar issue under following link: https://www.plcnext-community.net/en/discussions-2-offcanvas/profinet-wrrec-and-rdrec.html Best Regards Eduard
1. Siemens Device
Include the PN Device DataExchange

Hello, I tried with the set that you show in the screenshots, but when i select the I/O Device i cant compile and show me this error

Hello arielito, please find the documentation “Configuration and Application of the PROFINET I-Device Function” under following Siemens-Support link: https://support.industry.siemens.com/cs/document/109478798/configuration-and-application-of-the-profinet-i-device-function?dti=0&lc;=en-BE Open in the description the link to the pdf-Manual "I-device in a standard environment " And follow the steps in chapter: “3.1.3 Configuring the I-Device function” Best Regards Eduard