<div dir="ltr">Hey Mike<div>Is this source inclues Gavin Lambert fixes as well ? </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 19, 2022 at 2:26 PM Mike O'Connor <<a href="mailto:mike@oeg.com.au">mike@oeg.com.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Henrik<br>
<br>
I think you should really look at the work done at<br>
<a href="https://build.opensuse.org/package/show/home:bone11111:branches:science:EtherLab/ethercat" rel="noreferrer" target="_blank">https://build.opensuse.org/package/show/home:bone11111:branches:science:EtherLab/ethercat</a><br>
You use this to download all the packages and tool as binaries, removing <br>
your issues.<br>
<br>
Cheers<br>
Mike<br>
<br>
<br>
On 19/9/2022 8:47 pm, Henrik Barie wrote:<br>
> Hello Mike and Andreas,<br>
><br>
> at this location I could only find the ethercatctl-file.<br>
> However I think I found the right file now in <br>
> /usr/src/etherlanmaster-code/tools. The file is named "ethercat" and I <br>
> also found several .o-files with etherlab commands like "master". <br>
> Executing it with sudo ./ethercat master worked and the output was <br>
> (after starting with "systemctl start ethercat"):<br>
><br>
><br>
> Master0<br>
> Phase: Idle<br>
> Active: no<br>
> Slaves: 4<br>
> Ethernet devices:<br>
> Main: 88:a4:c2:bf:73:10 (attached)<br>
> Link: UP<br>
> Tx frames: 45398<br>
> Tx bytes: 2782824<br>
> Rx frames: 45397<br>
> Rx bytes: 2782764<br>
> Tx errors: 0<br>
> Tx frame rate [1/s]: 479 662 523<br>
> Tx rate [KByte/s]: 28.1 39.2 31.3<br>
> Rx frame rate [1/s]: 479 662 523<br>
> Rx rate [KByte/s]: 28.1 39.2 31.3<br>
> Common:<br>
> Tx frames: 45398<br>
> Tx bytes: 2782824<br>
> Rx frames: 45397<br>
> Rx bytes: 2782764<br>
> Lost frames: 0<br>
> Tx frame rate [1/s]: 479 662 523<br>
> Tx rate [KByte/s]: 28.1 39.2 31.3<br>
> Rx frame rate [1/s]: 479 662 523<br>
> Rx rate [KByte/s]: 28.1 39.2 31.3<br>
> Loss rate [1/s]: 0 -0 0<br>
> Frame loss [%]: 0.0 -0.0 0.0<br>
> Distributed clocks:<br>
> Reference clock: Slave 0<br>
> DC reference time: 0<br>
> Application time: 0<br>
> 2000-01-01 00:00:00.000000000<br>
><br>
> and for "slaves":<br>
><br>
> 0:0 PREOP + EK1100 EtherCAT-Koppler (2A E-Bus)<br>
> 1 0:1 PREOP + EL1104 4K. Dig. Eingang 24V, 3ms, Sensorversorgung<br>
> 2 0:2 PREOP + EL2004 4K. Dig. Ausgang 24V, 0.5A<br>
> 3 0:3 PREOP + EL3062 2K.Ana. Eingang 0-10V<br>
><br>
><br>
> I tried my Simulink Model again but it still doesnt work.<br>
> I will attach a Screenshot of it.<br>
><br>
> I attached a cable from Input 2 of EL1104 (which is +24 V) to Output 1 <br>
> of EL2004. The LED of EL2004 Output should now be on since it recieves <br>
> 24V.<br>
><br>
> I used Slave Index 1 for the EL1104 and Index 2 for the EL2004 as it <br>
> was shown in the Terminal.<br>
><br>
> Master is 0 and Vector Outputs enabled.<br>
><br>
> Also the Master State-Module doesnt show any outputs.<br>
><br>
><br>
><br>
> Regards<br>
> Henrik<br>
><br>
><br>
<br>
-- <br>
Etherlab-users mailing list<br>
<a href="mailto:Etherlab-users@etherlab.org" target="_blank">Etherlab-users@etherlab.org</a><br>
<a href="https://lists.etherlab.org/mailman/listinfo/etherlab-users" rel="noreferrer" target="_blank">https://lists.etherlab.org/mailman/listinfo/etherlab-users</a><br>
</blockquote></div>