Fixed this bug for a couple of days. Sorry for updating it until now.

The bug turned out to be typo.
Open Etherlab model library under .../opt/etherlab/rtw/blocks/etherlab_lib.mdl as text. You do open it in matlab or other editor.
>> replace *line 731* EtherCATInfo_el*3xxx* to EtherCATInfo_el*31xx
*The bug is fixed. By the way, I also changed line 724 'EL3102' hex2dex( 0C1E3052) based on my setting. But I do not think it affects. You can give it a try. Do not forget to close and reload etherlab lib each time when you made modification.
>> bdclose etherlab_lib
>> etherlab_lib
Enjoy your Analoy input terminal.
Jayson

Send etherlab-users mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.etherlab.org/mailman/listinfo/etherlab-users
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of etherlab-users digest..."


Today's Topics:

    1. Re: EtherCat EL3102 (Jayson Ding)


----------------------------------------------------------------------

Message: 1
Date: Mon, 29 Nov 2010 18:19:57 -0800
From: Jayson Ding<[email protected]>
Subject: Re: [etherlab-users] EtherCat EL3102
To: [email protected], [email protected]
Message-ID:<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Richard
I installed EtherLab Version 1.3-pre on my computer.
But I still have the same error as Jasper had while compiling block EL3102 in 
simulink.
Would you please explain further how to fix it. Thank you!

To Jasper
Any luck on fixing this bug? Any suggestion will be appreciated.
Best!
Jayson


Hello Jasper,
that was a bug due to a new release of the XML description files from
Beckhoff. I fixed it and put a new version of the 1.3-prerelease on the
website. Note that the signature file [sig] will not fit the new version,
since I do not know how to fix that - Florian will update the website in due
coarse.
For documentation on how Matlab reports errors, please refer to the Matlab
website www.matlab.com.
For documentation regarding EtherLab - you are quite right, but please
remember that we are releasing EtherLab "as is" in the hope that it will be
useful to any one out there. It is a continuous and ongoing project - there is
no one here who can devote 100% of his time for the project. Please bear that
in mind. However, we are pleased that there are so many people using it and
giving feedback and thereby contributing to improving the project.
Kind regards,
Richard
On Tuesday 07 September 2010 13:13:07 Jasper Westpfahl wrote:
  Hello dear Etherlab users,

  I recently upgraded to etherlab-1.3-pre-687  with Ethercat Master 1.5 on
  OpenSuse  with Kernel 2.6.28.10-rtai-3.7.1 and was trying to compile old
  Simulink (R 2009b) models (which before the upgrade worked) containing
  blocks for the Beckhoff EL3102.(Those models compile without the block in
  it.) I get the following error messages reported from Simulink:

  Model Error, Source: Unknown, Undefined function or method
  'EtherCatInfo_el3xxx' for input arguments of type 'double'
  Block Error, Source: Unknown, Error in 'tb/as/AIN1' : Initialization
commands cannot be evaluated.

  I am actually nor sure what Simulink is trying to tell me exactly. Maybe
  someone knows what this means or even better how to fix it or can point me
  to a source of information where this or a similar problem could be
  adressed so I can research it. I find documentation on all etherlab
   related to be a rarity.

  thanks for any help in advance
  Jasper Westpfahl

_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to