Showing results for 
Search instead for 
Do you mean 
Reply

why does post builder give me an extra line after my first move section

I have a first move with markers at beginning and end as shown.
 my Tk debug listing shows this as MOM_first move 39.

 N104( first move start )
 N105G54.1P1
 N106G00X6.8125Y-10.7775
 N107G43Z18.31H01
 N108( first move end )

 however when I pick this event it also includes my 4th & 5th axis move as part of the first move 39 debug line?
 N109B0.0C270.

 my next event is MOM_rapid_move 40, which is,
 N110Z18.082

 this is my first move proc from post.

 proc MOM_first_move { } {
 #=============================================================
 global mom_feed_rate mom_feed_rate_per_rev mom_motion_type
 global mom_kin_max_fpm mom_motion_event
 COOLANT_SET ; CUTCOM_SET ; SPINDLE_SET ; RAPID_SET
 PB_CMD_first_move_start
 PB_CMD_work_offset
 PB_CMD_first_move_G
 MOM_force Once G_adjust Z H
 MOM_do_template tool_length_adjust
 PB_CMD_first_move_end
 catch {MOM_$mom_motion_event}
 }

 this is the first move end proc

 #=============================================================
 proc PB_CMD_first_move_end { } {
 #=============================================================
 ## test message

 MOM_output_literal "( first move end )"
 }

 

Thanks for any help.

Al

 

Learn online





Solution Information