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

Switching the ethercatmaster state via OPC UA

Switching the ethercatmaster state via OPC UA

Open
New Contributor

Hi @CodeShepherd ,

Do you know if it is possible to switch EtherCAT master status to OP using OPCUA Client?

I have tried using UA.TestClient unfortunately the datatype for the masterstate node datatype is ExtensionObject. 

Open_0-1706152598964.png

Is it possible to decode OPCUA client datatype ExpansionObjects value to string and write OP and INIT value to masterstate to switch between EtherCAT OP and INIT?

Open_1-1706153072502.png

Warmest regards,

4 REPLIES 4

CodeShepherd
Community Moderator
Community Moderator

Moved to own topic from "Switching the ethercatmaster between states".

Which version of the ctrlX OPC UA server app is used? And which version of UA.Testclient? 

Setting state is working fine in server version 2.04 using e.g. UaExpert version 1.7.1 540: 

UaExpert - setting EtherCat master stateUaExpert - setting EtherCat master state

I am using ctrlX OPCUA Server v2.4.0 and UA.Test Client v2.4.1, the UA.Test Client does not decode the datatype ExtensionObject and cant see the OP and INIT options.

Open_0-1706166335345.png

Using the UaExpert software is working now i can see the INIT and OP options.

Open_2-1706165316634.png

CodeShepherd
Community Moderator
Community Moderator

We gonna check this internally. Thanks for bringing it up.

CodeShepherd
Community Moderator
Community Moderator

Feature is included in UA.Testclient version 2.4.2 available now in the store area.

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