RobotStudio event

S4backup urgent [WebWare SDK]

I have a problem.

What shoul I do to have this backup done in my pc ?

I wonder if someone could help me with the backup method.

When I use something like this :

dia = Format(Date, "ddmmyy")
   
    NombreFichero = dia
    status = FrmBG.robotHelper.S4Backup(NombreFichero, 3, resultid)
   
    If status <> 0 Then    ' did the function work?
        Error_msg status, ""
        Exit Sub
    End If

then I get the error -5108 General error for log

Configure:

1.Which WebWare SDK build version, for instance 3.02.0317, is in use?

Webware SDK Release 3.2


2. Are you using long file names on the robot (longer than 8+3 characters) ?

  file name=140905


3. What are your settings for the following Interlink Configuration properties:
   a. Alias name = R_1994


   b. TCP/IP node and IP address =localhost
   c. Profile name =R_1994


4. Describe the configuration of robot, i.e. BaseWare version, software options, robot type, etc.
 BaseWare 512

Robot type= IRB 4400

FactoryWare, Ethernet FTP, English, Multitasking, Advanced Function, Profibus DP Master/Slave

I want to use s4backup method only works on the local memory device and then to be copied in PC with S4FileCopy.But not work. What happen?

 

 

Comments

  • Are you trying to back up a physical controller or the Virtual Controller?

    What major and minor version of RobotWare does your system have? You need to supply information that looks like 4.0.117 or 3.2.53, I have no idea what "512" means.

    Also, with regards to non 8.3 file names, they were not asking you about the directory name you are creating (140905), but rather the file content that you are trying to back up.

    Your backup will fail if there are long file names on the flash drive amongst the files that are included in a backup.

    RussD38610,0988425926
    Russell Drown
  • Hi!

     

    It Seems like you are using a old version of the InterLINK. (although i use 3.02.309 and it works perfect for my purpose) The newer Version 4.5 or so are more stable and able to use irc5 too (and in my opinion they are compatible with the "old" code).

    Now to your problem:

    1) is the robot connected? To verify check helper1.InterfaceState = cAbb_Connected

    Public Enum ABBConnectionState
     cABB_Disconnected = 0
     cAbb_Connected = 1
     cABB_Simulated = 2
     cABB_NoAliasInList = 3
     cABB_Halted = 4
    End Enum

    2) Verify the directory you are using

    a) if you specify directories on s4 you must use "/" as path-separators

    i.e.: "ramdisk1:/home"

    you can check the dir with the s4dir function

    Maybe you should try another date / check the capacity of the drive you are backuping to.

    Also you may use the ftp-service of the s4c+ (if the robot has the option)

     

    greets

    m

    --------
    01000111