[Beremiz-devel] MCL in beremiz

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Beremiz-devel] MCL in beremiz

enorm-2
Hi there,
I ran to issues when trying to bring up an ethercat cia402 device. Any suggestions? Where can I get the MCL?

/root/test/build/cia402node_0_0_0.c:87:5: error: unknown type name ‘axis_s’
axis_s* axis;
^
/root/test/build/cia402node_0_0_0.c:106:43: error: unknown type name ‘ETHERLABGETTORQUELIMIT’
extern void ETHERLABGETTORQUELIMIT_body__(ETHERLABGETTORQUELIMIT* data__);
^
/root/test/build/cia402node_0_0_0.c:107:29: error: unknown type name ‘MC_GETTORQUELIMIT’
void __GetTorqueLimit_0_0_0(MC_GETTORQUELIMIT *data__) {
^
/root/test/build/cia402node_0_0_0.c:125:43: error: unknown type name ‘ETHERLABSETTORQUELIMIT’
extern void ETHERLABSETTORQUELIMIT_body__(ETHERLABSETTORQUELIMIT* data__);
^
/root/test/build/cia402node_0_0_0.c:126:29: error: unknown type name ‘MC_SETTORQUELIMIT’
void __SetTorqueLimit_0_0_0(MC_SETTORQUELIMIT *data__) {
^
/root/test/build/cia402node_0_0_0.c: In function ‘__retrieve_0_0_0’:
/root/test/build/cia402node_0_0_0.c:166:20: warning: implicit declaration of function ‘__MK_Alloc_AXIS_REF’ [-Wimplicit-function-declaration]
*__IW0_0_0_402 = __MK_Alloc_AXIS_REF();
^
/root/test/build/cia402node_0_0_0.c:168:13: warning: implicit declaration of function ‘__MK_GetPublic_AXIS_REF’ [-Wimplicit-function-declaration]
__MK_GetPublic_AXIS_REF(*__IW0_0_0_402);
^
/root/test/build/cia402node_0_0_0.c:167:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
AxsPub.axis = 
^
/root/test/build/cia402node_0_0_0.c:169:14: error: request for member ‘NetworkPosition’ in something not a structure or union
AxsPub.axis->NetworkPosition = beremiz__IW0_0_0;
^
/root/test/build/cia402node_0_0_0.c:171:20: error: request for member ‘__mcl_func_MC_GetTorqueLimit’ in something not a structure or union


The code is generated by beremiz/etherlab/plc_cia402node.c

 (https://bitbucket.org/automforge/beremiz/src/8dbdf20f795b2038ba729cfb1189ac2652a319d4/etherlab/plc_cia402node.c?at=default&fileviewer=file-view-default)

In the file it requires MCL_headers, mcl library( __MK_Alloc_AXIS_REF,  AxsPub.axis, etc)

In file beremiz/etherlab/EthercatCIA402Slave.py(https://bitbucket.org/automforge/beremiz/src/8dbdf20f795b2038ba729cfb1189ac2652a319d4/etherlab/EthercatCIA402Slave.py?at=default&fileviewer=file-view-default) line 18: from MotionLibrary import Headers, AxisXSD  also require MotionLibrary.

Thanks in advance.



 



_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
skv
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] MCL in beremiz

skv
Administrator
Hi,

AFAIK, MCL isn't available. You can ask Eduard Tisserant more
about that. He is done most work on EtherCAT.

Edouard, It looks like EtherCAT extension is still broken without
MCL. Have you fixed that in your branch?

On 19-01-28 14:01, enorm wrote:

> Hi there,
> I ran to issues when trying to bring up an ethercat cia402 device. Any suggestions? Where can I get the MCL?
>
>
> /root/test/build/cia402node_0_0_0.c:87:5: error: unknown type name ‘axis_s’
> axis_s* axis;
> ^
> /root/test/build/cia402node_0_0_0.c:106:43: error: unknown type name ‘ETHERLABGETTORQUELIMIT’
> extern void ETHERLABGETTORQUELIMIT_body__(ETHERLABGETTORQUELIMIT* data__);
> ^
> /root/test/build/cia402node_0_0_0.c:107:29: error: unknown type name ‘MC_GETTORQUELIMIT’
> void __GetTorqueLimit_0_0_0(MC_GETTORQUELIMIT *data__) {
> ^
> /root/test/build/cia402node_0_0_0.c:125:43: error: unknown type name ‘ETHERLABSETTORQUELIMIT’
> extern void ETHERLABSETTORQUELIMIT_body__(ETHERLABSETTORQUELIMIT* data__);
> ^
> /root/test/build/cia402node_0_0_0.c:126:29: error: unknown type name ‘MC_SETTORQUELIMIT’
> void __SetTorqueLimit_0_0_0(MC_SETTORQUELIMIT *data__) {
> ^
> /root/test/build/cia402node_0_0_0.c: In function ‘__retrieve_0_0_0’:
> /root/test/build/cia402node_0_0_0.c:166:20: warning: implicit declaration of function ‘__MK_Alloc_AXIS_REF’ [-Wimplicit-function-declaration]
> *__IW0_0_0_402 = __MK_Alloc_AXIS_REF();
> ^
> /root/test/build/cia402node_0_0_0.c:168:13: warning: implicit declaration of function ‘__MK_GetPublic_AXIS_REF’ [-Wimplicit-function-declaration]
> __MK_GetPublic_AXIS_REF(*__IW0_0_0_402);
> ^
> /root/test/build/cia402node_0_0_0.c:167:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
> AxsPub.axis =
> ^
> /root/test/build/cia402node_0_0_0.c:169:14: error: request for member ‘NetworkPosition’ in something not a structure or union
> AxsPub.axis->NetworkPosition = beremiz__IW0_0_0;
> ^
> /root/test/build/cia402node_0_0_0.c:171:20: error: request for member ‘__mcl_func_MC_GetTorqueLimit’ in something not a structure or union
>
>
>
>
>
> The code is generated by beremiz/etherlab/plc_cia402node.c
>
>
>  (https://bitbucket.org/automforge/beremiz/src/8dbdf20f795b2038ba729cfb1189ac2652a319d4/etherlab/plc_cia402node.c?at=default&fileviewer=file-view-default)
>
> In the file it requires MCL_headers, mcl library( __MK_Alloc_AXIS_REF,  AxsPub.axis, etc)
>
> In file beremiz/etherlab/EthercatCIA402Slave.py(https://bitbucket.org/automforge/beremiz/src/8dbdf20f795b2038ba729cfb1189ac2652a319d4/etherlab/EthercatCIA402Slave.py?at=default&fileviewer=file-view-default) line 18: from MotionLibrary import Headers, AxisXSD  also require MotionLibrary.
>
>
> Thanks in advance.


--
Best regards,
Andrey Skvortsov


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] MCL in beremiz

Edouard Tisserant
I still didn't fix this. I got sick of Motion Control cowards cheating
both Free Software and Scientific community.

But I'll recover. Stay tuned.






On 31/01/2019 10:36, Andrey Skvortsov wrote:

> Hi,
>
> AFAIK, MCL isn't available. You can ask Eduard Tisserant more
> about that. He is done most work on EtherCAT.
>
> Edouard, It looks like EtherCAT extension is still broken without
> MCL. Have you fixed that in your branch?
>
> On 19-01-28 14:01, enorm wrote:
>> Hi there,
>> I ran to issues when trying to bring up an ethercat cia402 device. Any suggestions? Where can I get the MCL?
>>
>>
>> /root/test/build/cia402node_0_0_0.c:87:5: error: unknown type name ‘axis_s’
>> axis_s* axis;
>> ^
>> /root/test/build/cia402node_0_0_0.c:106:43: error: unknown type name ‘ETHERLABGETTORQUELIMIT’
>> extern void ETHERLABGETTORQUELIMIT_body__(ETHERLABGETTORQUELIMIT* data__);
>> ^
>> /root/test/build/cia402node_0_0_0.c:107:29: error: unknown type name ‘MC_GETTORQUELIMIT’
>> void __GetTorqueLimit_0_0_0(MC_GETTORQUELIMIT *data__) {
>> ^
>> /root/test/build/cia402node_0_0_0.c:125:43: error: unknown type name ‘ETHERLABSETTORQUELIMIT’
>> extern void ETHERLABSETTORQUELIMIT_body__(ETHERLABSETTORQUELIMIT* data__);
>> ^
>> /root/test/build/cia402node_0_0_0.c:126:29: error: unknown type name ‘MC_SETTORQUELIMIT’
>> void __SetTorqueLimit_0_0_0(MC_SETTORQUELIMIT *data__) {
>> ^
>> /root/test/build/cia402node_0_0_0.c: In function ‘__retrieve_0_0_0’:
>> /root/test/build/cia402node_0_0_0.c:166:20: warning: implicit declaration of function ‘__MK_Alloc_AXIS_REF’ [-Wimplicit-function-declaration]
>> *__IW0_0_0_402 = __MK_Alloc_AXIS_REF();
>> ^
>> /root/test/build/cia402node_0_0_0.c:168:13: warning: implicit declaration of function ‘__MK_GetPublic_AXIS_REF’ [-Wimplicit-function-declaration]
>> __MK_GetPublic_AXIS_REF(*__IW0_0_0_402);
>> ^
>> /root/test/build/cia402node_0_0_0.c:167:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
>> AxsPub.axis =
>> ^
>> /root/test/build/cia402node_0_0_0.c:169:14: error: request for member ‘NetworkPosition’ in something not a structure or union
>> AxsPub.axis->NetworkPosition = beremiz__IW0_0_0;
>> ^
>> /root/test/build/cia402node_0_0_0.c:171:20: error: request for member ‘__mcl_func_MC_GetTorqueLimit’ in something not a structure or union
>>
>>
>>
>>
>>
>> The code is generated by beremiz/etherlab/plc_cia402node.c
>>
>>
>>  (https://bitbucket.org/automforge/beremiz/src/8dbdf20f795b2038ba729cfb1189ac2652a319d4/etherlab/plc_cia402node.c?at=default&fileviewer=file-view-default)
>>
>> In the file it requires MCL_headers, mcl library( __MK_Alloc_AXIS_REF,  AxsPub.axis, etc)
>>
>> In file beremiz/etherlab/EthercatCIA402Slave.py(https://bitbucket.org/automforge/beremiz/src/8dbdf20f795b2038ba729cfb1189ac2652a319d4/etherlab/EthercatCIA402Slave.py?at=default&fileviewer=file-view-default) line 18: from MotionLibrary import Headers, AxisXSD  also require MotionLibrary.
>>
>>
>> Thanks in advance.
>
>


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] MCL in beremiz

enorm-2
Thanks a lot for the info :)

At 2019-01-31 19:55:55, "Edouard Tisserant" <[hidden email]> wrote: >I still didn't fix this. I got sick of Motion Control cowards cheating >both Free Software and Scientific community. > >But I'll recover. Stay tuned. > > > > > > >On 31/01/2019 10:36, Andrey Skvortsov wrote: >> Hi, >> >> AFAIK, MCL isn't available. You can ask Eduard Tisserant more >> about that. He is done most work on EtherCAT. >> >> Edouard, It looks like EtherCAT extension is still broken without >> MCL. Have you fixed that in your branch? >> >> On 19-01-28 14:01, enorm wrote: >>> Hi there, >>> I ran to issues when trying to bring up an ethercat cia402 device. Any suggestions? Where can I get the MCL? >>> >>> >>> /root/test/build/cia402node_0_0_0.c:87:5: error: unknown type name ‘axis_s’ >>> axis_s* axis; >>> ^ >>> /root/test/build/cia402node_0_0_0.c:106:43: error: unknown type name ‘ETHERLABGETTORQUELIMIT’ >>> extern void ETHERLABGETTORQUELIMIT_body__(ETHERLABGETTORQUELIMIT* data__); >>> ^ >>> /root/test/build/cia402node_0_0_0.c:107:29: error: unknown type name ‘MC_GETTORQUELIMIT’ >>> void __GetTorqueLimit_0_0_0(MC_GETTORQUELIMIT *data__) { >>> ^ >>> /root/test/build/cia402node_0_0_0.c:125:43: error: unknown type name ‘ETHERLABSETTORQUELIMIT’ >>> extern void ETHERLABSETTORQUELIMIT_body__(ETHERLABSETTORQUELIMIT* data__); >>> ^ >>> /root/test/build/cia402node_0_0_0.c:126:29: error: unknown type name ‘MC_SETTORQUELIMIT’ >>> void __SetTorqueLimit_0_0_0(MC_SETTORQUELIMIT *data__) { >>> ^ >>> /root/test/build/cia402node_0_0_0.c: In function ‘__retrieve_0_0_0’: >>> /root/test/build/cia402node_0_0_0.c:166:20: warning: implicit declaration of function ‘__MK_Alloc_AXIS_REF’ [-Wimplicit-function-declaration] >>> *__IW0_0_0_402 = __MK_Alloc_AXIS_REF(); >>> ^ >>> /root/test/build/cia402node_0_0_0.c:168:13: warning: implicit declaration of function ‘__MK_GetPublic_AXIS_REF’ [-Wimplicit-function-declaration] >>> __MK_GetPublic_AXIS_REF(*__IW0_0_0_402); >>> ^ >>> /root/test/build/cia402node_0_0_0.c:167:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] >>> AxsPub.axis = >>> ^ >>> /root/test/build/cia402node_0_0_0.c:169:14: error: request for member ‘NetworkPosition’ in something not a structure or union >>> AxsPub.axis->NetworkPosition = beremiz__IW0_0_0; >>> ^ >>> /root/test/build/cia402node_0_0_0.c:171:20: error: request for member ‘__mcl_func_MC_GetTorqueLimit’ in something not a structure or union >>> >>> >>> >>> >>> >>> The code is generated by beremiz/etherlab/plc_cia402node.c >>> >>> >>> (https://bitbucket.org/automforge/beremiz/src/8dbdf20f795b2038ba729cfb1189ac2652a319d4/etherlab/plc_cia402node.c?at=default&fileviewer=file-view-default) >>> >>> In the file it requires MCL_headers, mcl library( __MK_Alloc_AXIS_REF, AxsPub.axis, etc) >>> >>> In file beremiz/etherlab/EthercatCIA402Slave.py(https://bitbucket.org/automforge/beremiz/src/8dbdf20f795b2038ba729cfb1189ac2652a319d4/etherlab/EthercatCIA402Slave.py?at=default&fileviewer=file-view-default) line 18: from MotionLibrary import Headers, AxisXSD also require MotionLibrary. >>> >>> >>> Thanks in advance. >> >> >


 



_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] MCL in beremiz

klwanghao
In reply to this post by Edouard Tisserant
Hi. Eduard Tisserant,
    I try to use the EtherCAT extention. I have two questions I would like
to ask you.
    1)the code have error ,when I insert ethercatnode on IDE .   It is built
on windows .
       I download the code form " https://hg.beremiz.org/beremiz " last
change Tue, 22 Dec 2020 .  

File "E:\beremiz\beremiz-ecfb59e4ecb0\etherlab\EtherCATManagementEditor.py",
line 351, in __init__
    self.SDOMonitorGrid.Bind(gridlib.EVT_GRID_CELL_LEFT_DCLICK,
NameError: global name 'gridlib' is not defined
    and "Thread" "PDOChoicebook" ...  are not defined

    2) I can not download Windows installer form
        https://cloud.woelkli.com/s/wSKLa8Gcron3Byn

--
Best regards,




--
Sent from: http://beremiz-devel.2374573.n4.nabble.com/


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Beremiz-devel] MCL in beremiz

klwanghao
In reply to this post by Edouard Tisserant
Hi Edouard Tisserant

I download the code form " https://hg.beremiz.org/beremiz " last change Tue,
22 Dec 2020 .

I'm sure there's something wrong with the code

for example
In file "beremiz-ecfb59e4ecb0\etherlab\EtherCATManagementEditor.py" line
1118 "self.CallPDOChoicebook = PDOChoicebook(self, controler=self.Controler,
name="Tx") "
But there is no definition of PDOChoicebook Class in the project.
and I thing "PDOChoicebook" should not be in other libs or modules.

How can I download the complete code ???



--
Sent from: http://beremiz-devel.2374573.n4.nabble.com/


_______________________________________________
Beremiz-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/beremiz-devel