[etherlab-users] problem with ethercat xml

Rahul Deshpande rahulgd92 at gmail.com
Fri Aug 25 21:43:30 CEST 2017


Hi Graeme,

I was going through the ethercat commands. I came across 'ethercat
struct' and 'ethercat xml'. When I used the 'ethercat xml' in pre-op
and op mode I got the following xml (PFA).

Before and after running the application(In which we have configured
the pdos from the example you had sent), the 'ethercat struct' and
'ethercat xml' produce the same data which does not consist of PDO
config settings.

Is this a case of corrupt EEPROM or that we are unable to configure
PDOs in our application ?

Regards,
Rahul
-------------- next part --------------
<?xml version="1.0" ?>
                                                        
<EtherCATInfo>
                                                                
  <!-- Slave 0 -->
                                                            
  <Vendor>
                                                                    
    <Id>1337</Id>
                                                             
  </Vendor>
                                                                   
  <Descriptions>
                                                              
    <Devices>
                                                                 
      <Device>
                                                                
        <Type ProductCode="#x02200301" RevisionNo="#x00080003"></Type>
        
        <Sm Enable="1" StartAddress="#x1000" ControlByte="#x36" DefaultSize="128
" />
                                                                          
        <Sm Enable="1" StartAddress="#x1080" ControlByte="#x32" DefaultSize="128
" />
                                                                          
        <Sm Enable="1" StartAddress="#x1100" ControlByte="#x74" DefaultSize="6" 
/>
                                                                            
        <Sm Enable="1" StartAddress="#x1400" ControlByte="#x30" DefaultSize="6" 
/>
                                                                            
      </Device>
                                                               
    </Devices>
                                                                
  </Descriptions>
                                                             
</EtherCATInfo>
   


More information about the Etherlab-users mailing list