Hi everybody,
I a new user of this forum
I custom an ABB post-processor for Delmia V5/V6
I’v got two robot IRB1400 and IRB2400
I’ve a problem of syntax into the program
Can you help me please ?
Thanks
Julien
Here is an example of program
error message controler : 40705(syntax error)
error main error syntax
expected ‘trap’ found “-”
line 5 column 15
%%%
VERSION:1
LANGUAGE:ENGLISH
%%%
MODULE IRB2400-JZ1
ViaPoint1:=[[1480.15,-6.276,1526.357],[0.497619,-0.502369,0.497641,-0.502348],[0,-2,1,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E09]];
ViaPoint2:=[[1429.881,-571.484,1526.742],[0.208171,-0.212251,0.67248,-0.677779],[-1,-3,2,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E09]];
ViaPoint3:=[[1260.973,-687.297,1627.984],[0.208171,-0.212251,0.672481,-0.677779],[-1,-3,2,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E09]];
ViaPoint4:=[[1291.407,-731.429,1628.275],[0.208171,-0.212251,0.672481,-0.677779],[-1,-3,2,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E09]];
ViaPoint5:=[[1289.521,-736.526,1053.619],[0.208171,-0.212251,0.672481,-0.677779],[-1,-4,3,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E09]];
ViaPoint6:=[[886.152,-1014.669,1057.408],[0.208172,-0.21225,0.672481,-0.677778],[-1,-4,3,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E09]];
ViaPoint7:=[[1214.444,-784.8,1584.717],[0.53199,0.170927,0.68416,-0.468717],[-1,-3,7,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E09]];
Prehenseur IRB2400_4_Tool1:=[TRUE,[[58.622,-6.275,225.211],[0.703756,0,0,-0.710442]],[0,[0,0,0],[1,0,0,0],0,0,0]];
PROC IRB2400-JZ1()
MoveJ ViaPoint1,v1000,z50,Prehenseur IRB2400_4_Tool1;
MoveJ ViaPoint2,vmax,z50,Prehenseur IRB2400_4_Tool1;
MoveJ ViaPoint3,v1000,z1,Prehenseur IRB2400_4_Tool1;
SetDO 1,on;
MoveL ViaPoint4,v1000,z50,Prehenseur IRB2400_4_Tool1;
MoveJ ViaPoint5,v1000,z50,Prehenseur IRB2400_4_Tool1;
MoveJ ViaPoint6,v10,z50,Prehenseur IRB2400_4_Tool1;
SetDO 1,off;
MoveL ViaPoint7,vmax,z50,Prehenseur IRB2400_4_Tool1;
ENDPROC
ENDMODULE