I successfully created an external library from a C source for C166.
Basically it is running!
Currently I have the following problem. I was not able to use a constant array with initial values that is defined in the C source. It seems that CoDeSys is pointing to a different memory address?!
Hello,
I successfully created an external library from a C source for C166.
Basically it is running!
Currently I have the following problem. I was not able to use a constant array with initial values that is defined in the C source. It seems that CoDeSys is pointing to a different memory address?!
The following does not work:
If e.g. aiTemp[2] is read the result is not "22"!
A single global constant variable is working:
I use the following classes file:
Functable class contain the following:
Does anyone know what is needed to use arrays in CoDeSys V2.3 with inital values defined in C.
Best regards
Tobias Müller
Related
Talk.ru: 2