Hi, I am trying to read .txt file with stored data to use it in my program. When I run it on robotstudio, the path I use is:
Open "HOME:" \file:= "example.txt", file \Read;
data: = ReadNum(file\Delim:="\0A");
Close file;
Till this point it works perfectly, but when I am trying to read this file from real controller I have some problems with the path. Basically, I do not know how to define this path.
PC and Controller are communicating via FTP: 147.83.107.32. When I acces manualy and store the file on the FTP server and try to debug from Teach Pendant I have an error.
Also i tried to acces with C:\path from local PC connected to the controller cia Ethernet and have the error.
Can someone help me with this issue please?
Create an account or sign in to comment
You need to be a member in order to leave a comment