Failed to load

  • Hello,


    I'm having a problem in loading a backup. It says that it failed to load and gives me a line and a column. In that line, there is a macro witch i have to comment so I can load it.


    What is strange is that i can't even load the same file that is in the robot.


    Thank you for you input!

  • AD
  • Hi Sergio

    Welcome to the robot forum


    Maybe your robot software does not have the conditions to run check the macro


    What do you mean when you ask ?

    What is strange is that i can't even load the same file that is in the robot.


    You mean, you can backup it up and not restore ?

    somar

  • Yes, If I do a backup of the ASCII files, I can't load the same file ls (tp works fine) file. To do it, I have to comment all the macros, load it, and after add the macros again. Can't understand why.


    For exemple:

    /PROG S02PROC1

    /ATTR

    OWNER = *;

    COMMENT = "*";

    PROG_SIZE = 7106;

    CREATE = DATE 21-08-19 TIME 09:49:02;

    MODIFIED = DATE 21-08-19 TIME 09:49:02;

    FILE_NAME = S01PROC1;

    VERSION = 0;

    LINE_COUNT = 138;

    MEMORY_SIZE = 7446;

    PROTECT = READ_WRITE;

    TCD: STACK_SIZE = 0,

    TASK_PRIORITY = 50,

    TIME_SLICE = 0,

    BUSY_LAMP_OFF = 0,

    ABORT_REQUEST = 0,

    PAUSE_REQUEST = 0;

    DEFAULT_GROUP = 1,1,*,*,*;

    CONTROL_CODE = 00000000 00000000;

    /APPL

    SPOT : TRUE ;

    SPOT Welding Equipment Number : 1 ;

    /MN

    1: !******************************** ;

    2: !* ProgramName: * * ;

    3: !* PlantName: * * ;

    4: !* Robot: * * ;

    5: !* Application: SPOT WELD * ;

    6: !* Path: SPOT WELD * * ;

    7: !******************************** ;

    8: ;

    9: !* Start Cycle Time * ;

    10: TIMER[4]=RESET ;

    11: TIMER[4]=START ;

    12: ;

    13: !* DECISION CODE = 1 * ;

    14: GO[3:0:DecisionCode]=1 ;

    15: ;

    16: !* ACK CODE FROM PLC * ;

    17: WAIT DI[39:OFF:AckDecCode]=ON ;

    18: ;

    19: !* PATH SEGMENT TO WELD * ;

    20: Set Segment(10) ;

    21: ;

    22: !* Enter Tool Zone 1 UBA155FX01 * ;

    23: Enter Tool Zone(1) ;

    24: ;

    25: MESSAGE[MOVING TO WELD 155FX01] ;

    26: ;

    27: !* SET UFRAME NUMBRE * ;

    28: UFRAME_NUM=0 ;

    29: ;

    30: !* SET UTOOL NUMBER * ;

    31: UTOOL_NUM=1 ;

    32: ;

    33: !* Welding in Process * ;

    34: DO[183:OFF:WeldingInProgress]=ON ; .........



    I have to change to:


    /PROG S02PROC1

    /ATTR

    OWNER = *;

    COMMENT = "*";

    PROG_SIZE = 7106;

    CREATE = DATE 21-08-19 TIME 09:49:02;

    MODIFIED = DATE 21-08-19 TIME 09:49:02;

    FILE_NAME = S01PROC1;

    VERSION = 0;

    LINE_COUNT = 138;

    MEMORY_SIZE = 7446;

    PROTECT = READ_WRITE;

    TCD: STACK_SIZE = 0,

    TASK_PRIORITY = 50,

    TIME_SLICE = 0,

    BUSY_LAMP_OFF = 0,

    ABORT_REQUEST = 0,

    PAUSE_REQUEST = 0;

    DEFAULT_GROUP = 1,1,*,*,*;

    CONTROL_CODE = 00000000 00000000;

    /APPL

    SPOT : TRUE ;

    SPOT Welding Equipment Number : 1 ;

    /MN

    1: !******************************** ;

    2: !* ProgramName:* * ;

    3: !* PlantName: * * ;

    4: !* Robot: * * ;

    5: !* Application: SPOT WELD * ;

    6: !* Path: SPOT WELD* * ;

    7: !******************************** ;

    8: ;

    9: !* Start Cycle Time * ;

    10: TIMER[4]=RESET ;

    11: TIMER[4]=START ;

    12: ;

    13: !* DECISION CODE = 1 * ;

    14: GO[3:0:DecisionCode]=1 ;

    15: ;

    16: !* ACK CODE FROM PLC * ;

    17: WAIT DI[39:OFF:AckDecCode]=ON ;

    18: ;

    19: !* PATH SEGMENT TO WELD * ;

    20: ! Set Segment(10) ;

    21: ;

    22: !* Enter Tool Zone 1 UBA155FX01 * ;

    23: ! Enter Tool Zone(1) ;

    24: ;

    25: MESSAGE[MOVING TO WELD 155FX01] ;

    26: ;

    27: !* SET UFRAME NUMBRE * ;

    28: UFRAME_NUM=0 ;

    29: ;

    30: !* SET UTOOL NUMBER * ;

    31: UTOOL_NUM=1 ;

    32: ;

    33: !* Welding in Process * ;

    34: DO[183:OFF:WeldingInProgress]=ON ;

    ...



    Thank you

    Edited once, last by Sergio Guerreiro: wrote the wrong program extension ().

  • Shouldn't they be called different ? With the underscore




    18: ;

    19: !* PATH SEGMENT TO WELD * ;

    20: Set Segment(10) ; .......................Set_Segment(10)

    21: ;

    22: !* Enter Tool Zone 1 UBA155FX01 * ;

    23: Enter Tool Zone(1) ; ...................Enter_Tool_ Zone(1) ;

    24: ;

    25: MESSAGE[MOVING TO WELD 155FX01] ;

    somar

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now