DIO won´t work in codesys
Posted: 08 Mar 2021, 11:39
Hello,
we tried to include a DIO module on a core3 into codesys 3.5.16. For this we used the beta test library for codesys 3.5.16 and followed the blink example in the help file.
The first problem is, that die Inputs don´t show the actual value. Every input is false, even if we apply a 24V signal on the connector.
Codesys shows no error and the state of the DIO-module is "running".
We tried the module on the left and on the right, with same behaviour.
If we disconnect the module, there is a error in codesys.
How can we find out, where the problem is?
Another problem is the naming of the modules.
The names "Left" and "Right" are used for the connected modules.
We also use the string functions "Left" and "Right" in our program.
We have to change the name of the "left" device while including, because if we include it with the name "left", we get errors by using the string functions.
The same with the "right" function.
Is this a problem, if we rename it?
We have also tried a new program for the DIO module without using the string functions, following the blink example, without success.
Thank you for your help!
we tried to include a DIO module on a core3 into codesys 3.5.16. For this we used the beta test library for codesys 3.5.16 and followed the blink example in the help file.
The first problem is, that die Inputs don´t show the actual value. Every input is false, even if we apply a 24V signal on the connector.
Codesys shows no error and the state of the DIO-module is "running".
We tried the module on the left and on the right, with same behaviour.
If we disconnect the module, there is a error in codesys.
How can we find out, where the problem is?
Another problem is the naming of the modules.
The names "Left" and "Right" are used for the connected modules.
We also use the string functions "Left" and "Right" in our program.
We have to change the name of the "left" device while including, because if we include it with the name "left", we get errors by using the string functions.
The same with the "right" function.
Is this a problem, if we rename it?
We have also tried a new program for the DIO module without using the string functions, following the blink example, without success.
Thank you for your help!