Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

ABB Controller 40700 Syntax error

#1
Hello,

We uploaded a .prg file on an ABB robot and the teachpendant gives the following error when trying to run it. 

40700 syntax error: E, line = 6,  column =8:
Identifier MOD_flagstationtest too long. 


This is the test code we are running: 


Code:
%%%
  VERSION:1
  LANGUAGE:ENGLISH
%%%

MODULE MOD_flagstationtest

PERS tooldata rdkTool := [TRUE,[[0,0,0],[1,0,0,0]],[20,[0,0,200],[1,0,0,0],0,0,0.005]];
PROC flagstationtest()
!Program generated by RoboDK v3.5.4 for ABB IRB 6400R 2.8 200 on 21/04/2019 10:46:15
!Using nominal kinematics.
MoveJ [[1631.370,157.485,2844.633],[0.85716730,0.00000000,0.51503807,0.00000000],[0,0,-1,1],[9E9,9E9,9E9,9E9,9E9,9E9]], v1, fine, rdkTool;
MoveJ [[1708.946,690.459,2512.502],[0.77877720,-0.11615716,0.59757677,0.15137895],[0,0,-1,0],[9E9,9E9,9E9,9E9,9E9,9E9]], v1, fine, rdkTool;
WaitTime 1.000;
ENDPROC

ENDMODULE


Doese anybody know what might be the issue
#2
As the error says:
The program or module name is too long. 

Older ABB controllers such as S4 do not accept such long module or program names.

I recommend you to shorten the program name (flagstationtest) to 8 characters or less. 

Do you know the exact limit in terms of characters?
We'll make sure we prevent creating such long names with the post processor.
#3
(04-21-2019, 02:35 PM)Albert Wrote: As the error says:
The program or module name is too long. 

Older ABB controllers such as S4 do not accept such long module or program names.

I recommend you to shorten the program name (flagstationtest) to 8 characters or less. 

Do you know the exact limit in terms of characters?
We'll make sure we prevent creating such long names with the post processor.

Well we solved it by just changing the name. It doesn't need to be that long for us. Thanks for the help. We made the mistake to think that the program name length wouldn't be a problem.
  




Users browsing this thread:
1 Guest(s)