<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19394"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial>as far as I know, given that the device doesn't support CoE,
the PDO informations are fetched in the SII eeprom by Etherlab. Am I right?
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial>So if TwinCat doesn't give me the same PDO informations are
Etherlab, there may be two reasons:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial>a) Etherlab doesn't interpret the SII correctly (I would be
surprised of that)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial>b) TwinCAT doesn't interpret the SII, but the XML file which
may be more complete</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial>Any comments are welcome, thank you!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013><FONT color=#0000ff
size=2 face=Arial>Philippe</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=682533515-22012013></SPAN> </DIV>
<DIV dir=ltr lang=fr class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>De :</B> etherlab-users-bounces@etherlab.org
[mailto:etherlab-users-bounces@etherlab.org] <B>De la part de</B>
hamelin.philippe@ireq.ca<BR><B>Envoyé :</B> 21 janvier 2013
16:42<BR><B>À :</B> etherlab-users@etherlab.org<BR><B>Objet :</B> Re:
[etherlab-users] EL2252: SII eeprom and XML config mismatch<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=050303821-21012013>Hi again,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=050303821-21012013></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=050303821-21012013>let me correct my interpretation:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=050303821-21012013></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=050303821-21012013>SM2 is and must be a RxPDO. The problem is rather on
SM0 and SM1 which should be also RxPDO. Also, I generated a SII binary file
using TwinCat, then uploaded the content to the slave. However, except that the
description of the slave is now in english instead of deutch, I get the same
result. It's very strange that the new SII didn't resolved the problem. In
TwinCat, the sync manager and pdo mapping is correctly shown with respect to the
XML file. However, it's like the generated SII binary file doesn't
match?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=050303821-21012013></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=050303821-21012013>Thank you,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=050303821-21012013></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=050303821-21012013>Philippe</SPAN></FONT></DIV><BR>
<DIV dir=ltr lang=fr class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>De :</B> etherlab-users-bounces@etherlab.org
[mailto:etherlab-users-bounces@etherlab.org] <B>De la part de</B>
hamelin.philippe@ireq.ca<BR><B>Envoyé :</B> 21 janvier 2013
15:48<BR><B>À :</B> etherlab-users@etherlab.org<BR><B>Objet :</B>
[etherlab-users] EL2252: SII eeprom and XML config mismatch<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>I'm having troubles
using the Beckhoff EL2252 with Etherlab. According to the documentation and the
XML file, I should have 5 sync managers:</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>Outputs:
</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>- SM0: DC Sync
Activate</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>- SM1: DC Sync
Start</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>- SM2: Channel 1
& 2 outputs</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>Inputs:
</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>- SM3: SysTime and
Feedback</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>However, when
connecting the slave to the Etherlab master I get the following config (which is
fixed by the device):</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>$ ethercat -p 1
pdo<BR>SM0: PhysAddr 0x0981, DefaultSize 0, ControlRegister
0x00, Enable 12<BR> TxPDO 0x1602 "DC Sync Activate"<BR>
PDO entry 0x1d09:81, 8 bit, "Activate"<BR>SM1: PhysAddr 0x0990,
DefaultSize 0, ControlRegister 0x00, Enable 4<BR> TxPDO
0x1603 "DC Sync Start"<BR> PDO entry 0x1d09:90, 64 bit,
"StartTime"<BR>SM2: PhysAddr 0x0f00, DefaultSize 0,
ControlRegister 0x44, Enable 9<BR> RxPDO 0x1600 "Channel
1"<BR> PDO entry 0x7000:01, 1 bit,
"Output"<BR> PDO entry 0x7000:02, 1 bit,
"TriState"<BR> RxPDO 0x1601 "Channel 2"<BR> PDO entry
0x7010:01, 1 bit, "Output"<BR> PDO entry
0x7010:02, 1 bit, "TriState"<BR> PDO entry
0x0000:00, 4 bit, ""<BR> RxPDO 0x1604 "Reserved"<BR>SM3: PhysAddr
0x0910, DefaultSize 0, ControlRegister 0x00, Enable 4<BR>SM4:
PhysAddr 0x1000, DefaultSize 0, ControlRegister 0x00, Enable
4</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>Is doesn't make any
sense to me that SM2 is a RxPDO since this is the output state that the master
should provides. Moreover, the PDO mapping is fixed by the device so I
can't configure my own mapping. I see two possibles
problems:</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>a) The SII
eeprom isn't correct;</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial>or,</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>b) I don't
understand the meaning of these lines :-)</FONT></SPAN></DIV>
<DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT> </DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>Any
ideas?</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2 face=Arial>Thank
you,</FONT></SPAN></DIV>
<DIV><SPAN class=277013620-21012013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV align=left><SPAN
style="FONT-FAMILY: Lucida Sans; COLOR: rgb(210,105,0); FONT-SIZE: 10pt"><SPAN
style="COLOR: rgb(105,105,105)"><SPAN
style="FONT-WEIGHT: bold">------------------------------------</SPAN></SPAN></SPAN><SPAN
style="FONT-FAMILY: Verdana; COLOR: rgb(210,105,0); FONT-SIZE: 10pt; FONT-WEIGHT: bold"><BR><SPAN
style="FONT-FAMILY: Lucida Sans; COLOR: rgb(210,105,0); FONT-SIZE: 12pt">Philippe
Hamelin</SPAN></SPAN><SPAN
style="FONT-FAMILY: Verdana; COLOR: rgb(103,103,103); FONT-SIZE: 8pt"><SPAN
style="FONT-SIZE: 8pt">, ing., M. Ing</SPAN></SPAN><BR
style="COLOR: rgb(103,103,103)"><SPAN
style="COLOR: rgb(103,103,103); FONT-SIZE: 8pt"><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 8pt">Chercheur / Researcher</SPAN><BR
style="FONT-FAMILY: Arial"><BR style="FONT-FAMILY: Arial"><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 8pt"><SPAN
style="COLOR: rgb(210,105,0)">T</SPAN>: 450-652-8499 x2198</SPAN><BR
style="FONT-FAMILY: Arial"><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 8pt"><SPAN
style="COLOR: rgb(210,105,0)">F</SPAN>: 450-6<SPAN
style="FONT-SIZE: 8pt">52-1316</SPAN></SPAN><BR style="FONT-FAMILY: Arial"><BR
style="FONT-FAMILY: Arial"><SPAN
style="FONT-FAMILY: Arial; FONT-SIZE: 8pt">Expertise robotique et
civil<BR>Institut de recherche d'Hydro-Québec (IREQ)<BR>1740, boul.
Lionel-Boulet<BR>Varennes (QC) J3X 1S1, Canada</SPAN></SPAN><BR
style="COLOR: rgb(103,103,103)"></DIV><SPAN
style="FONT-FAMILY: monospace; COLOR: rgb(210,105,0); FONT-SIZE: 10pt"><SPAN
style="COLOR: rgb(105,105,105)"><SPAN
style="FONT-WEIGHT: bold"></SPAN></SPAN></SPAN>
<DIV> </DIV></BODY></HTML>