Unicornai Posted July 29 Share Posted July 29 I need to disable the B-axis when running the program, and then when I need the B-axis rotation angle, I want to enable it and move it to the B-axis position, but I added these words in the M code but it doesn't work. Can you help me Quote Link to comment Share on other sites More sharing options...
leandro.martins Posted July 29 Share Posted July 29 (edited) Are there any other motor assigned to &1? If there isn't a motor defined in the Coord after the "&1#4->0", then it won't be allowed to define a lookahead. It would help if you give more details about what you mean with "it doesn't work". Edited July 29 by leandro.martins Quote Link to comment Share on other sites More sharing options...
Unicornai Posted July 30 Author Share Posted July 30 10 hours ago, leandro.martins said: 是否有任何其他电机分配给 &1? 如果 Coord 中的“&1#4->0”之后没有定义电机,则不允许定义前瞻。 如果您提供有关“它不起作用”的含义的更多详细信息,那将会有所帮助。 X,Z axis means motor[1],motor[2],B axis means motor[4],X,Z belong &1 Quote Link to comment Share on other sites More sharing options...
Unicornai Posted July 30 Author Share Posted July 30 11 hours ago, leandro.martins said: Are there any other motor assigned to &1? If there isn't a motor defined in the Coord after the "&1#4->0", then it won't be allowed to define a lookahead. It would help if you give more details about what you mean with "it doesn't work". I run program in &1,and then i push B-axis out by M41.1,But in pmacide-watch,i see the #4 stutes is &1#4->b Quote Link to comment Share on other sites More sharing options...
MoMo Posted July 30 Share Posted July 30 12 hours ago, Unicornai said: I run program in &1,and then i push B-axis out by M41.1,But in pmacide-watch,i see the #4 stutes is &1#4->b Please refer to the above code Quote Link to comment Share on other sites More sharing options...
Unicornai Posted July 31 Author Share Posted July 31 17 hours ago, MoMo said: Please refer to the above code thanks, i used this code successed,but the coord error with Runtime error at twice? this is my prog G90 G53 X1Z1F10 M40.1 B20F200 G04P2.0 M41.1 G04 P3.0 X0Z0F10 M40.1 B0F200 G04P2.0 M41.1 G04 P3.0 X1Z1F10 M40.1 B20F200 G04P2.0 M41.1 G04 P3.0 X0Z0F10 M40.1 B0F200 G04P2.0 M41.1 G04 P3.0 X1Z1F10 M40.1 B5F200 G04P2.0 M41.1 G04 P3.0 X0Z0F10 M40.1 B0F200 G04P2.0 M41.1 G04 P3.0 X1Z1F10 M40.1 B5F200 G04P2.0 M41.1 G04 P3.0 X0Z0F10 M40.1 B0F200 G04P2.0 M41.1 G04 P3.0 Coord[1].SegMoveTime=1 Coord[1].LHDistance=400 &1 define lookahead2000 in line 39 or other m40.1 the error appear,waht should i do? Quote Link to comment Share on other sites More sharing options...
leandro.martins Posted August 1 Share Posted August 1 You can try to increase the Sys.PreCalc. If that doesn't help, probably you will need to tweak the SegMoveTime, LHDistance and RtIntPeriod. Quote Link to comment Share on other sites More sharing options...
MoMo Posted August 2 Share Posted August 2 Runtime error is usually caused by insufficient CPU computing power. You can try to reduce the speed, optimize the kinematic algorithm, increase SegMoveTime or replace the CK5M Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.