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

write SOE Parameter with structure index

write SOE Parameter with structure index

Zimmbo
Established Member

Hi,

i using ctrlx and SOE communication to control an indradrive. I have a difficult task. I like to write parameter with a structure index. So i like to write the parameter S-0-602.1.1. In my understanding i am only able to write the Parameter e.g. P-0-077 without the flowing structure index .1.1. Attached a snapshot from the help with this structure index.

How can i change the geber config without the ctrlxworks

2023-11-15_16h53_53.png

8 REPLIES 8

CodeShepherd
Community Moderator
Community Moderator

Moved to corresponding sub forum IndraWorks, IndraControl for MLC/MTX, IndraDrive.

EDIT: The EtherCat SoE specification is based on the SERCOS II. The structured parameter including the indexes (instance.element e.g. S-0-602.1.1) were first introduced in SERCOS III. Even IDN size changed from 2 Byte to 4 Byte and so access to this parameter is not possible via SoE.

Please also have a look to how to "Ethercat SoE: Read and write ctrlX DRIVE and/or Indradrive S and P parameters".

alink
New Contributor

A time ago I had a similar issue, maybe this helps:

Solved: Re: Writing value in element 0 of P-0-0397 (boschrexroth.com)

Zimmbo
Established Member

Ok, i checked the post before. I understand to send a array as value. But in my case i have a matrix or an array include in an array. Is this possible?

I tried the solution from before with some adjustments but never i can write these complex parameter

 

complete parameter S-0-602.1.1

parameter 602

array1 : geber 1 or 2

array2 : gebertyp, resolution,...

CodeShepherd
Community Moderator
Community Moderator

@Zimmbo please check my post above. It is not possible to access this parameter via SoE.

Zimmbo
Established Member

ah i miss understanding in first time reading.

Ok this is a problem. So i can not change this parameter now by PLC using SOE with indradrive because of Secros II. 😞 If there no other option to change this parameter not by hand? Hmm is their any timetable for ctrlx and secros III (maybe with indradrive)

Maybe load different parameterfile by plc command?

CodeShepherd
Community Moderator
Community Moderator

You could for example use the DriveConnectApp (see ctrlX STORE). This app will add drive data directly to the data layer and you can access it with a CXA_DataLayer.DL_WriteNode function (path: devices/drives/<serialnumber of drive>/axis-1/parameters/S-0-0602.10.1):

ctrlX CORE web UI - ctrlX DRIVE Engineering -  S-0-0602.10.1ctrlX CORE web UI - ctrlX DRIVE Engineering - S-0-0602.10.1

There are ALIAS parameter available that can be written over SOE and these are following the 16Bit IDN.

In your case you have to use P2389 ad P2390 to be able to write S602.1.130 and S602.1.130. These are list parameters and you have to write the first list element to configure the physical encoder type.

Please refer to the parameter description of IndraDrive

Zimmbo
Established Member

Many thanks, with this DriveConnectApp and fb i am able to write these parameters.

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