0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 function test_configurations
0018
0019
0020 global RT_tp1 RT_tp2 RT_tp3 RT_tp4 RT_tp5 RT_tp6 RT_tp7 RT_tp8 TD_tool0 robot
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 TD_tool0=[1,[[0,0,0],[1,0,0,0]],[0,[0,0,0],[1,0,0,0],0,0,0]];
0032
0033
0034
0035 RT_tp1=[[0.515,0.200,0.712],[0.7071,0,0.7071,0],[0,1,-2,1],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
0036 RT_tp2=[[0.515,0.200,0.712],[0.7071,0,0.7071,0],[0,-1,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
0037 RT_tp3=[[0.515,0.200,0.712],[0.7071,0,0.7071,0],[0,1,-2,3],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
0038 RT_tp4=[[0.515,0.200,0.712],[0.7071,0,0.7071,0],[0,-1,0,2],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
0039 RT_tp5=[[0.515,0.200,0.712],[0.7071,0,0.7071,0],[-2,-1,-2,5],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
0040 RT_tp6=[[0.515,0.200,0.712],[0.7071,0,0.7071,0],[-2,1,0,4],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
0041 RT_tp7=[[0.515,0.200,0.712],[0.7071,0,0.7071,0],[-2,-1,-2,7],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
0042 RT_tp8=[[0.515,0.200,0.712],[0.7071,0,0.7071,0],[-2,1,0,6],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
0043
0044 main
0045 end
0046
0047 function main
0048
0049 global RT_tp1 RT_tp2 RT_tp3 RT_tp4 RT_tp5 RT_tp6 RT_tp7 RT_tp8 TD_tool0 robot
0050
0051
0052 MoveJ(RT_tp1, 'vmax' , 'fine' , TD_tool0, 'wobj0');
0053 MoveJ(RT_tp2, 'vmax' , 'fine' , TD_tool0, 'wobj0');
0054 MoveJ(RT_tp3, 'vmax' , 'fine' , TD_tool0, 'wobj0');
0055 MoveJ(RT_tp4, 'vmax' , 'fine' , TD_tool0, 'wobj0');
0056 MoveJ(RT_tp5, 'vmax' , 'fine' , TD_tool0, 'wobj0');
0057 MoveJ(RT_tp6, 'vmax' , 'fine' , TD_tool0, 'wobj0');
0058 MoveJ(RT_tp7, 'vmax' , 'fine' , TD_tool0, 'wobj0');
0059 MoveJ(RT_tp8, 'vmax' , 'fine' , TD_tool0, 'wobj0');
0060
0061
0062 end