Hello,
Need some help for fanuc karel error handling. I have this code for reading from txt file.
WRITE TPDISPLAY('Trying to read',CR)
--Read first line
READ FTP_FILE (TempStr)
ResultStr = TempStr -- SUB_STR(TempStr, 4, STR_LEN(TempStr)-3)
WRITE TPDISPLAY(TempStr)
But then file does not exist of cant be opened for reading program throws error and stop. I need solution for ignoring that. I it'cant read just skip these lines .