Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

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

Regarding Connection Interruption with OPCUA

Regarding Connection Interruption with OPCUA

Chirag03
Established Member

Hello,

we are developing web based HMI using javascript to operate robot. our web HMI, as a client communicate with opcua server. 

We are able to write data to the ctrlX CORE PLC by using OPC UA nodeID but problem is that after getting following error , OPC UA not send request to PLC.

Writing data: ns=2;s=plc/app/Application/sym/mxA_04_Jog_Fast/A5_B_M false
09:57:50.795Z :client_secure_channel_layer :236 requestData not found for requestId = 182 try with 183
Error writing data: Invalid message header detected
Error writing data: Invalid message header detected
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DELETE ME
09:57:53.574Z :reconnection :416 Session has been restored 

Is there any solution?

Thanks in advance

3 REPLIES 3

MauroRiboniMX
Contributor

Hello, 

Usually the library for opcua are working well with our device if well configured. In my opinion is better, seing the application to write directly on the datalayer. In this way you skip the Opcua server with all the configuration regarding it. 

Regarding the server post your configuration and compare your cleint functioning with our testclient or UA expert. Are also them creating this issue?

Mauro 

 

NoRisk4Project
Long-established Member

Hello,

as far as I understand, you were able to connect the OPC UA server and you could write data to the PLC, but it stopped working.

Can you reproduce the effect? If yes, can you send me a WireShark trace that covers this situation?

Christian

CodeShepherd
Community Moderator
Community Moderator

@Chirag03 Any news here or can this topic be closed?

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