cancel
Showing results for 
Search instead for 
Did you mean: 

ctrlX1 Softstack PNController talking to ctrlX2 Softstack PNDevice -> DHT expired

CodeWasi
New Contributor

ctrlX1 Softstack PNController talking to ctrlX2 Softstack PNDevice -> DHT expired

Connection is established and PNController operates with SendClock1ms RR= 8 ->8ms.

PNIOTask is calc cyclically every 1ms. What may be the reason to the connection loss. Is it reasonable on Controller or Device Side?

Instead of increasing the reduction-rate I wanted to set the sendclock directly to 8ms.... that is not supported so far. Any reason that it is greyed out? Failure in gsdml?

It seems that the PNdevice side is reasonable for the HDT failure, since a colleagues operating the PNController with PN-IO newer so that messages.

Could you please provide details of the failure case... what are the criterias to through the failure? is the PN-WD setting basically the criteria? What would be strange since

And what about the "naming" baptiste at the beginning ot the PN Connection. I do not see the given name in the PN-Device... If I could get some further details - that would be great.

Thanks in advance.

CodeWasi_0-1668172782181.png

CodeWasi_2-1668172907528.png

 

 

2022-11-11_10h29_32.png

 

 

6 REPLIES 6
eschwellinger
Established Member

Re: ctrlX1 Softstack PNController talking to ctrlX2 Softstack PNDevice -> DHT expired

So most devices only support a SendClock of 1ms. Some also 2ms 4ms. Larger is not possible. The DHT error means that the send clock of the device was not kept, so the controller closes the connection.

Could you rise the priority of the pn device io task to the highest for a test. -> 0

PLC2030
Long-established Member

Re: ctrlX1 Softstack PNController talking to ctrlX2 Softstack PNDevice -> DHT expired

On ctrlX CORE the PLC task priority has to be in the range of 20 to 39. 20 is the highest priority.
Values out of this range will result in an error message.

cc2go
Long-established Member

Re: ctrlX1 Softstack PNController talking to ctrlX2 Softstack PNDevice -> DHT expired

it's not possible to increase the SendClock greater than 1ms

CodeWasi
New Contributor

Re: ctrlX1 Softstack PNController talking to ctrlX2 Softstack PNDevice -> DHT expired

I chose the hightest PLC Prio Tasksetup with 20 for the PN Device IO Calculation

CodeWasi_0-1668588368222.png

 

cc2go
Long-established Member

Re: ctrlX1 Softstack PNController talking to ctrlX2 Softstack PNDevice -> DHT expired

thanks to @CodeWasi he did a Profinet capture, after a first investigation, the device send a
Status: Error: "RTA error", "PNIO", "RTA_ERR_CLS_PROTOCOL", "AR consumer DHT/WDT expired (RTA_ERR_ABORT)"

we checked the last cycle times, it's mostly below 8ms.

The observation was, reboot/power cylce the device will not force the issue, reboot/power cylce the controller will force the issue.

The question is, why send the device this abort?

CodeWasi
New Contributor

Re: ctrlX1 Softstack PNController talking to ctrlX2 Softstack PNDevice -> DHT expired

Hello eschwellinger,

since cc2go mentioned the result of the analysis from Wireshark your feedback will be highly appreciated.
Even with S7-PN-Controller and recommended Prios and unsuspious load DHT expired was monitored.

Thanks in advanve for your cooperation.

 

 

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