<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<p class="MsoNormal"><span style="font-size: 10pt;" lang="NL">Hi all, <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"><o:p></o:p>I am
trying the etherlab master, and I
am getting the following message when attaching a small ethercat
segment and
starting the Etherlab master (v. 651e9cfb244b).<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p><tt>EtherCAT
DEBUG: Reading alias from register 0x0012
of slave 5.<o:p></o:p><br>
EtherCAT WARNING: Failed to read reg alias of slave
5.</tt><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">When
running “ethercat slaves –v” I get this amongst others (question marks
inserted by me):<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Courier New";">=== Master 0,
Slave 5 ===<o:p></o:p><br>
State: PREOP<o:p></o:p><br>
Flag: +<o:p></o:p><br>
Identity:<o:p></o:p><br>
<span style=""> </span>Vendor
Id:<span style=""> </span>0x00000002<o:p></o:p><br>
<span style=""> </span>Product
code:<span style=""> </span>0x0c5a3052<o:p></o:p><br>
<span style=""> </span>Revision
number: 0x00000000<span style=""> </span><span
style=""> </span>???<o:p></o:p><br>
<span style=""> </span>Serial
number:<span style=""> </span>0x00000000<span style="">
</span>??? All 0?<o:p></o:p><br>
DL information:<o:p></o:p><br>
<span style=""> </span>FMMU bit
operation: no<span style=""> </span><o:p></o:p><br>
<span style=""> </span>Distributed
clocks: no<span style=""> </span>???
Beckhoff’s docs say yes<o:p></o:p><br>
Port<span style="">
</span>Type<span style=""> </span>Link<span style=""> </span><st1:place
w:st="on">Loop</st1:place><span style=""> </span>Signal<span
style="">
</span>NextSlave<o:p></o:p><br>
<span style=""> </span>0<span style=""> </span>N/A<span style="">
</span>down<span style=""> </span>open<span style=""> </span>yes<span
style="">
</span>4<span style=""> </span>??? All ports N/A ?<o:p></o:p><br>
<span style=""> </span>1<span style=""> </span>N/A<span style="">
</span>down<span style=""> </span>open<span style=""> </span>yes<span
style="">
</span>6<o:p></o:p><br>
<span style=""> </span>2<span style=""> </span>N/A<span style="">
</span>down<span style=""> </span>closed<span style=""> </span>no<span
style="">
</span>-<o:p></o:p><br>
<span style=""> </span>3<span style=""> </span>N/A<span style="">
</span>down<span style=""> </span>closed<span style=""> </span>no<span
style="">
</span>-<o:p></o:p><br>
Mailboxes:<o:p></o:p><br>
<span style=""> </span>Bootstrap
RX: 0x1800/244, TX: 0x18f4/244<o:p></o:p><br>
<span style="">
</span>Standard<span style=""> </span>RX: 0x1800/246, TX:
0x18f6/246<o:p></o:p><br>
<span style=""> </span>Supported
protocols: CoE, FoE<o:p></o:p><br>
General:<o:p></o:p><br>
<span style=""> </span>Group:
AnaIn<o:p></o:p><br>
<span style=""> </span>Image name:
<o:p></o:p><br>
<span style=""> </span>Order
number: EL3162<o:p></o:p><br>
<span style=""> </span>Device
name: EL3162 2K. Ana. Eingang 0-10V<o:p></o:p><br>
<span style=""> </span>CoE
details:<o:p></o:p><br>
<span style=""> </span>Enable
SDO: yes<o:p></o:p><br>
<span style=""> </span>Enable
SDO Info: yes<o:p></o:p><br>
<span style=""> </span>Enable
PDO Assign: yes<o:p></o:p><br>
<span style=""> </span>Enable
PDO Configuration: yes<o:p></o:p><br>
<span style=""> </span>Enable
Upload at startup: no<o:p></o:p><br>
<span style=""> </span>Enable
SDO complete access: no<o:p></o:p><br>
<span style=""> </span>Flags:<o:p></o:p><br>
<span style=""> </span>Enable
SafeOp: no<o:p></o:p><br>
<span style=""> </span>Enable
notLRW: no<o:p></o:p><br>
<span style=""> </span>Current
consumption: 180 mA<o:p><br>
</o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">When
running a few reg_read commands I get this:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 10pt; font-family: "Courier New";"># reg_read -p5
0x0012 2<o:p></o:p><br>
Failed to read register: Input/output error<o:p></o:p><br>
# reg_read -p5 0x0010 4</span><span
style="font-size: 10pt; font-family: "Courier New";"><o:p></o:p><br>
00000000<span style=""> </span>06 00 00 00<span style="">
</span>|....|<o:p></o:p><br>
# reg_read -p5 0x0000 32<o:p></o:p><br>
00000000<span style=""> </span>01
01 0c 00 02 04 04 00<span style=""> </span>00 00 00 00 00 00
00 00<span style=""> </span>|................|<o:p></o:p><br>
00000010<span style=""> </span>06
00 00 00 00 00 00 00<span style=""> </span>00 00 00 00 00 00
00 00<span style=""> </span>|................|<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">The
00 at addresses 0x0007 and 0x0008 seem to be wrong and responsible for
the weird port descriptions,<o:p></o:p><br>
</span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">All other slaves
seem to be doing fine.<br>
I may be linking things that I should not see as linked: I am new at
this stuff. However, can
anybody point me at a probable cause? I sure would love that DC on my
slave!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;">Thanks,
<o:p></o:p><br>
Len.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt;"><o:p> </o:p></span></p>
</body>
</html>