Configuration for PLCnext as Profibus Device

Dear Our customer want PLCnext to be profinet device. „I need some help to communicate PLC in profinet“ shows how to config PLCnext to function as profinet device. But it is not working, so I need help. Here is my system 1. Profinet Device: PLCnext 2152 * IP: 192.168.1.11 * Name of station: axc-f-2152-1 * HW/FW: 02/2021.0.5 LTS 2. Profinet Controller: PLCnext 1152 * IP: 192.168.1.10 * HW/FW: 02/2021.0.5 LTS Sequence configuration 1. Profinet Device IP → Name station → I/O modules → Create main process file 2. Profinet control IP → Name station → I/O modules → Create main process file 3. Profinet control project * Adding Profinet Device(PLCnext 2152) via Online Devices * Creating IN PORT, OUT PORT variables with type PND_IO_512 * Link the variables and „axc-f-2152-1/plc-io-1/plc-io-1/DQ4096“, „axc-f-2152-1/plc-io-1/plc-io-1/DI4096“ * The variables controlled 4. Profinet device project * PND_S1_OUTPUT, PND_S1_INPUT is controlled I think that I missed something configure. Attached file show how to config Best regards Jinho Jung

Hi Jinho Jung, so far your configuration looks OK, but what does exactly not work, or better to say do you even have a PN connection? I’ll send you an example as private message, maybe this would already help. If so it would be great if you could give the community a short feedback what went wrong. BR, Frank

Sorry not to show the Error message. The error is profient connection and data error is below Profibus controller * LED: BF-C(red flash), BF-D(Red flash), Run(Green on), D(Green on). * wbm show: status error Profibus device * LED: BF-C(off), BF-D(Red flash), Run(Green on), D(Green on).

profinet_error.png

Hi Jinho, did you already tried it with the example I’ve send to you? The error you see in the WBM could have the following reasons: [list] [] If the connection could never be established, mostly the PN name is not correct. So that the controller can not find the device. Just scan the network and compare the names [] If the error is more sporadic (turns green from time to time), than the network might not fit to the configured update rate. Play at best a bit around with the update rates. [/list] Hope that helps, Frank