Hi
i try to use codesys v3 / rapberry pi as ethercat master and want to control a el6851 DMX Master.
To do this i want to use the FB_EL6851Communication wich is in the TC2_DMX library.
When i try to compile this i get a lot of errors.
Can anyone help me?
Hi, now i think i figured out the problem.
For example the type PVOID is used.
It is from the CAA Technical Workgroup - CAA Types Extern.
I can install the library.
But when i declare a variable in my program i have to write
CAA.PVOID
if i just write PVOID i get a compiler error : unknown type PVOID
I don't know how to import a library that the type is known without any prefix.
In my library manager for example the library Standard works as it should.
I know namespaces are used to differneitate between different librarys with the same typename but in my case i want to set a standard lib.
Is anyone familiar with this?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a tip also:
You can directly add an attachment to every post you make via the "Add Attachments" directly above the Post Reply Button so using dropbox isn't actually necessary! π.
With kind regards!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
i try to use codesys v3 / rapberry pi as ethercat master and want to control a el6851 DMX Master.
To do this i want to use the FB_EL6851Communication wich is in the TC2_DMX library.
When i try to compile this i get a lot of errors.
Can anyone help me?
Hi, now i think i figured out the problem.
For example the type PVOID is used.
It is from the CAA Technical Workgroup - CAA Types Extern.
I can install the library.
But when i declare a variable in my program i have to write
CAA.PVOID
if i just write PVOID i get a compiler error : unknown type PVOID
I don't know how to import a library that the type is known without any prefix.
In my library manager for example the library Standard works as it should.
I know namespaces are used to differneitate between different librarys with the same typename but in my case i want to set a standard lib.
Is anyone familiar with this?
Thanks
For existing libraries you have no choice but to use the full qualified namespace (or shortcut name).
Thank you for your response. But i don't know how to solve my problem. Do you have any suggestion?
Hi,
Did you find a solution to run this device ?
I implement the PVOID like this:
Code is okay but if i download the application i receive an error:
Last edit: alex 2020-12-19
If you post your project archive, we can try to help?
Hallo,
Habe es schnell auf die Dropbox hochgeladen:
https://www.dropbox.com/s/2l4bfjwwzwp0i6o/DMX.projectarchive?dl=0
GruΓ
Thank you for the quick upload!
I have a tip also:
You can directly add an attachment to every post you make via the "Add Attachments" directly above the Post Reply Button so using dropbox isn't actually necessary! π.
With kind regards!
Can you send me a project from your running EL6851 ?