cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

CODESYS Profinet Controller - Reconnection Issue

CODESYS Profinet Controller - Reconnection Issue

bkautzman
Established Member

I have a customer who is using the CODESYS Profinet controller to connect to a custom device. When they disconnect and then reconnect the ethernet cable they will frequently not be able to reconnect and they get a "Controller's IP address is already used by another device" in the PN_Controller status field. They've connected the device to a Siemens PLC and have not seen the same issues. They have assured me that there are not other devices connected concurrently to the ctrlX Core. I've attached the log from the Profinet Controller.

Does anyone have suggestions for troubleshooting?

7 REPLIES 7

CodeWasi
Occasional Contributor

Hello ,
could you please tell the version the customer is operating with? RM2303 / 1.20? -  Codesys PN Package 4.2.2.0?
I try to reproduce your case and return to you.

Could you please request log-infos from the diagnose system?
The setup-info of the network-connection (core) and the PLC-Ethernet/PN-Controller (Screenshots maybe) would be helpful as well.

Thanks.

CodeWasi
Occasional Contributor

Since the reduction rate and sendclock have impact ... please check if  ... SendClock * ReductionRate >= 4ms

 

bkautzman
Established Member

The send clock is at 2ms and reduction ratio is 8, so with a product of 16 we are well above 4ms.

bkautzman_0-1698349601309.png

 

CodeWasi
Occasional Contributor

Feedback from Codesys outstanding. Reply soon.

CDSAddons
Established Member

Please check the following troubleshooting. This could be the "ARP flux" effect, which leads to the corresponding error message here:
https://content.helpme-codesys.com/en/CODESYS%20PROFINET/_pnio_error_ip_addresses.html  

CDSAddons
Established Member

Please check the following:
When you add the PROFINET device, check for the setting for IP and name assignment is set to "Load remanent data".
- If the file is not present on the controller, the driver resets the network settings.
-> After switching to "Use project parameters", the behavior should no longer occur as desired

1.png

bkautzman
Established Member

My apologies for the delay.

I was able to borrow the Profinet device from the customer to test on my own setup. I wasn't able to recreate the behavior they were seeing. 

I suspected there may have been an issue with the original version update we performed on the core, so I reimaged their core with a micro SD card and this has fixed their problem. When we originally upgraded their core from 1.12 to 1.20 we updated all of the system apps with the web UI, so it would appear there is some issue with that method.

 

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist