i am trying to read the data from the python created csv file using CSVReaderInit and CSVNextElemet function blocks. The PLC program runs well in simulation mode. It read data which in the csv file. But it has a problem while read on login mode. I think, the problem would be in runtime file directory.
After searched in the Forge, i have seen that, the file must be save under the directory /var/opt/codesys/PlcLogic for runtime version 3.5.15.4. Then i have looked for that directory in runtime folder but there is only /PlcLogic path as given in the figure.
The problem is, i could not find the correct path where the runtime model read csv data.
Does anyone had overcome this problem? Please give some hints to solve this one.
Hallo to all
i am trying to read the data from the python created csv file using CSVReaderInit and CSVNextElemet function blocks. The PLC program runs well in simulation mode. It read data which in the csv file. But it has a problem while read on login mode. I think, the problem would be in runtime file directory.
After searched in the Forge, i have seen that, the file must be save under the directory /var/opt/codesys/PlcLogic for runtime version 3.5.15.4. Then i have looked for that directory in runtime folder but there is only /PlcLogic path as given in the figure.
The problem is, i could not find the correct path where the runtime model read csv data.
Does anyone had overcome this problem? Please give some hints to solve this one.
Thank you