[etherlab-users] Simulink compile error using Beckhoff EtherLab library blocks
Richard Hacker
ha at igh.de
Wed Apr 2 14:08:24 CEST 2014
Am 04/01/2014 04:54 PM, schrieb Ralph Oosterveld:
> hello,
>
> I want to control a Beckhoff EL2008 module using the EtherLab library in
> Simulink. For this I am running MATLAB R2013b and EtherLab 2.1.0 on a
> Linux Mint Debian 64bit (201403) operating system. By using the terminal
> I can run the EtherCAT 1.5.2 protocol and I can see which modules are
> connected. Now I want to make a Simulink model using the Beckhoff blocks
> from the EtherLab library. When I have one Beckhoff digital output block
> in my Simulink model, I get the following error message during compiling.
>
> Block error:
>
> Error reported by S-function 'ec_slave3' in
> 'test_program1/EL2xxx_0':
> Variable context: PORT_CONFIG.output(1).pdo_data_type
> Unknown data type
Mathworks changed the way that they handle Simulink data types from the
release that you are using. Attached please find the new ec_slave3.c or
download the latest version from sourceforge.
- Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ec_slave3.c
Type: text/x-csrc
Size: 81745 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20140402/cf83e324/attachment-0005.c>
More information about the Etherlab-users
mailing list