RoboDK Forum
ABB Controller 40700 Syntax error- Printable Version

+- RoboDK Forum (//www.sinclairbody.com/forum)
+-- Forum: RoboDK (EN) (//www.sinclairbody.com/forum/Forum-RoboDK-EN)
+ - - -论坛:通用RoboDK问题(//www.sinclairbody.com/forum/Forum-General-questions-about-RoboDK)
+--- Thread: ABB Controller 40700 Syntax error (/Thread-ABB-Controller-40700-Syntax-error)



ABB Controller 40700 Syntax error-quinten-04-21-2019

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



RE: 40700 Syntax error-Albert-04-21-2019

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.


RE: ABB Controller 40700 Syntax error-quinten-04-23-2019

(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.