I am trying to read out the IO of my indradrive and use the values in my PLC program. With a virtual axis I can do this without any problem I can call the data from the datalayer into my PLC program. As soon as I try it with the IO coming from the IndraDrive into the datalayer, nothing happens. in the datalayer itself I get the actual values of the IO back so the communication is working, am i missing something?
The images should clarify what I am doing. Maybe it's something with the blue message "string constant" but i cant seem to find a problem there. Backslash infront of 'fieldbus' doesnt change anything.
Solved! Go to Solution.
The first thing I see is that your paths are different. The real data has a starting "/" and the virtual not.
What is the error message that your function block is showing?
For your real time data you can of course also use the Codesys standard ways:
Thanks for the reply i got what i needed with the codsys standard ways!
But ReadNode should work too, right?
As said in my first post the "/" doesn't change a thing and the function block has no error message the output value of readnode is just 0. While the value in the datalayer is not 0.