Skip to content

Conversation

@narogon
Copy link

@narogon narogon commented Jan 26, 2016

Possibility to parse additional attributes to configure some SDO parameters in non generic components

narogon and others added 7 commits October 24, 2015 17:13
Additionals attributes

Posibility to parse additional attributes to configure some sdo
parameters in non generic components

added parameters el7041

Max current
nominal voltage
SDO parameters el7041

configure rubish

errors

..

..

.
@narogon narogon mentioned this pull request Mar 2, 2018
@sittner
Copy link
Owner

sittner commented Mar 9, 2018

Good issue. Maybe we like to discuss about the specific implementation. Please use english for comments/messages

@sittner
Copy link
Owner

sittner commented Mar 22, 2018

I've needed something like this to move the stoeber module to the class_enc use. But I have used a little different method that allowes type save preparsing in the lcec_conf module and dynamic allocated items:

825a9a0

please check if that will fit your needs.

@frankbrossette
Copy link
Contributor

frankbrossette commented Jan 12, 2019

Yes, it is running, but data format is a little bit unusual:

Test.xml:
masters
master idx="0" appTimePeriod="4999375" refClockSyncCycles="1000"
slave idx="0" type="EK1100" name="EK1100"/
slave idx="1" type="EL1018" name="EL1018"/
slave idx="2" type="EL7041-1000" name="EL7041"
initCmds filename="7041_Params.xml"/
/slave
/master
/masters

7041_Params.xml:
?xml version="1.0" encoding="ISO-8859-1"?
EtherCATMailbox>PS</Transition
Comment></Comment
Timeout>0</Timeout
Ccs>1</Ccs
Index>0x8010</Index
SubIndex>0x01</SubIndex
!--0x07D0 2000mA --
Data>D007</Data
/InitCmd
/InitCmds /CoE /EtherCATMailbox

you can check the value in terminal with:
ethercat -p 2 upload --type uint16 0x8010 0x01

koppi added a commit to koppi/mk that referenced this pull request Nov 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants