Skip to content

Configure jobs for FANUC robots

FANUC robots store different types of data in separate directories, and the FTP job configuration should match the type of data you want to back up:

  • Use an FTP job targeting the /md:/ or /mdb:/ directory to back up internal controller memory and system-related files.
  • Use an FTP job targeting the \mc: directory to back up user programs and data stored on the flash card.

These directories are not interchangeable. Make sure you select the correct one based on the data you intend to back up.

Info

The \mc: directory is accessible only if the corresponding flash card is inserted.

If the flash card is missing and access is attempted, this error message appears:

Error when calling an FTP function

[Name: IwcdFtpDLXComPtr::GetFile][Error text: Requested action not taken. File unavailable (e.g., file not found, no access).][Details: /mc:/from00.img][40550]

  1. Create a job with the FTP upload type.
  2. In the FTP server field under FTP settings, enter the IP address of the FTP server to establish a connection.
  3. From the Connection type dropdown menu, select the connection type to be used for communication.
  4. WodFtp is set as the FTP client library by default.
  5. In the Port field, enter the port to be used for communication. Port 21 is set by default. You may need to enable the port in your firewall.
  6. If you want to use passive FTP, select the checkbox.
  7. Select the Follow Symlinks checkbox to back up files in directories that can be reached via symlinks (symbolic links).

  8. In the Username and Password fields, enter the credentials of the user whose account will be used to access the server. Depending on your FTP server configuration, this step may be optional.

  9. Alternatively, an upload can be carried out without a username or password by using Public-Key-Authentication.

    Prerequisite: The connection type SFTP (SSH) and the FTP client library libcurl must be configured.

    In this case, the Using Private key checkbox and a Private key field are displayed.

    1. Select Using Private key.
    2. In the Private key field, enter the path to your private key file.
    3. If a passphrase was used when generating the public and private keys, enter the username and password in the corresponding fields.
  10. If the data is stored in a subdirectory of the FTP server, enter the path of the subdirectory in the Subdirectory field.

    Info

    Access to the subdirectory must be possible with the specified credentials. octoplant supports up to 10 subdirectories per job.

    If only one subdirectory is specified, the entire path on the FTP server is not displayed in the backup, but only the last directory in the path:

    Example: Path on the FTP server: /Folder1/Subdirectory1/* Structure of the backup: Archive.zip/* If several subdirectories are specified, the entire directory structure is included in the backup.

    Example:
    Path on the FTP server: /Folder1/Subdirectory1/Subdirectory2 and /Folder1/Subdirectory1/1234
    Structure of the backup: Archive.zip/Folder1/Subdirectory1/Subdirectory2 and Archive.zip/Folder1/Subdirectory1/1234

  11. To ensure that the the login to the FTP server is possible with the specified credentials, select the Check button. If the check is not successful, the job will also fail.

  12. Under Advanced, you can reduce the network load caused by the job by increasing the value of the Sleep interval between data packets field and reducing the value for Maximum size of data packets.

    Higher values for the waiting time and lower values for the maximum packet size mean that the job execution takes more time.

  13. Select the Upload only when timestamp is different (reduces network load) checkbox to ensure that the timestamp instead of the content of the files is checked during the upload. This means that only new and edited files are uploaded for a backup. Files without changes are transferred from the previous backup, which further limits the network load.

FAQ

Problems when saving the program directory of FANUC robots

When creating a job to save FANUC robot programs via FTP, enter the directory name \mc: in the Subdirectory field within the FTP Settings area.

Explanation

FANUC robots require directory names to end with a colon (:), which contradicts standard FTP command syntax. FTP commands may include colons but should not end with one.

FANUC robot backups use FTP (upload type). When setting up a backup job in the AdminClient, define each robot by its IP address or hostname in the FTP Settings. This section also includes the Subdirectory field.

If no other path is specified, the default \mc: directory is used. This represents the robot's hard disk, though it actually refers to a flash disk mounted during startup.

The goal is to back up robot programs, not the operating system. These robot programs reside in the \mc: directory.


Related topics