RobotStudio event

40304 File access error

Options
When attempting to backup to the controller or through Robotstudio we are getting the below errors. Any ideas what causes this?

Robot: IRB 1600 Flexarc
Robotware: 6.06.00

165131    I        Operational          10230    Backup step ready                        2022-04-06 08:46:50 The backup step Prepare is ready.
165132    I        Operational          10231    Backup step ready                        2022-04-06 08:46:50 The backup step Configuration is ready.
165133    E        Program              40304    File access error                        2022-04-06 08:46:50 Task T_ROB1 is trying to access file /hd0a/1600-105743_FlexArc/INTERNAL/RAPID, but failing.
165134    E        Operational          11236    Backup error                            2022-04-06 08:46:50 Error during the backup of Task.  Write error.
165135    E        Operational          11261    Backup removed                          2022-04-06 08:46:50 Error while creating a backup at path: /hd0a/TEMP/backup.073343
Tagged:

Answers

  • lemster68
    lemster68 ✭✭✭
    Options
    Are you running short of storage space of SD card?  (the controller's)
    Lee Justice
  • TOBOR
    Options
    Hi Lemster, not running short on space. We found this issue on more than one robot controller, so we are now investigating recent code added to these particular machines. 
  • lemster68
    lemster68 ✭✭✭
    Options
    This is a really off chance here, but did you modify the system parameters to include files or folders not normally included in a backup?  I tried that a few years back, and found that it did not work.  May have even been the same error, if not, similar.
    Lee Justice
  • TOBOR
    Options
    Thanks! Actually, that is exactly what we did. We created .txt file to write 3 lines of text every time a tool check was completed. This is simply to time stamp the process so we can quickly check when it was last done. 
    Upon digging a little deeper into this it looks like there is another event message 41679 being triggered, buried in other alarms... See below snippets and the code in bold we will try and add.  

    Open "HOME:"\File:="R1_BE_ToolCheck.txt",R1_BE_ToolCheck\Write;
    Waittime 0.5;
    Write R1_BE_ToolCheck,"R1 Bullseye last checked:";
    Write R1_BE_ToolCheck,R1_BE_ToolCheck_date;
    Write R1_BE_ToolCheck,R1_BE_ToolCheck_time;
    close R1_BE_ToolCheck;
    Waittime 0.5;





  • lemster68
    lemster68 ✭✭✭
    Options
    It is recommended to use the Close instruction before the Open.
    Lee Justice
  • lemster68
    lemster68 ✭✭✭
    Options
    But if you write it to the HOME directory it ought to be included in the backup.  As such, it would not be necessary to add the parameter to include that file.
    Lee Justice
  • TOBOR
    Options
    Thanks, so close before and after like the below?

    close R1_BE_ToolCheck;
    Waittime 0.5;
    Open "HOME:"\File:="R1_BE_ToolCheck.txt",R1_BE_ToolCheck\Write;
    Waittime 0.5;
    Write R1_BE_ToolCheck,"R1 Bullseye last checked:";
    Write R1_BE_ToolCheck,R1_BE_ToolCheck_date;
    Write R1_BE_ToolCheck,R1_BE_ToolCheck_time;
    close R1_BE_ToolCheck;
    Waittime 0.5;
  • TOBOR
    Options
    lemster68 said:
    But if you write it to the HOME directory it ought to be included in the backup.  As such, it would not be necessary to add the parameter to include that file.
    It is in the HOME directory so maybe it is the Close issue.
  • lemster68
    lemster68 ✭✭✭
    Options
    Uh, maybe if there is still an open com device active to that file.  But yes, Make sure it is closed before opening and close when you are finished writing.  We will see, won't we?
    Lee Justice