##############################################################################
# Description
#     This is the definition file for mill3ax
#     This was created using postbuilder.
#
# Revisions
#
#   Date            Who        Reason
# 02-jul-1998   whb   Original
# 31-jul-1998   whb   load_tool_number now tool_number
# 01-feb-1999   mnb   Initial
# 02-jun-1999   mnb   V16 Code Integration
# 14-Jun-1999   mnb   Remove comments
# 29-Jun-1999   mnb   Added composite blocks
# 07-Sep-1999   mnb   Changed % to & format
# 21-Sep-1999   mnb   Changed Format Names
# 31-Mar-2000   mnb   Submitted for V1601 ip3
# 26-Apr-2000   mnb   Submitted for V17 ip8
# 12-May-2000   mnb   V17 Phase9
# 24-May-2000   mnb   V17 Phase10
# 19-Jul-2000   mnb   Hardcoded Inch/Metric Output
#
# $HISTORY$
#
###############################################################################
MACHINE mill3ax
 
INCLUDE
{
   $UGII_CAM_USER_DEF_EVENT_DIR/ude.cdl
}

FORMATTING
{
  WORD_SEPARATOR " "
  END_OF_LINE ""
  SEQUENCE sequence_number 10  10 1

################ FORMAT DECLARATIONS #################
  FORMAT AbsCoord "&__5.4_"
  FORMAT Coordinate "&__4.4_"
  FORMAT Digit_2 "&_02_00"
  FORMAT Digit_4 "&_04_00"
  FORMAT Digit_5 "&__5_00"
  FORMAT Dwell_sec "&__5.3_"
  FORMAT EventNum "&+03_00"
  FORMAT Feed "&__7.1_"
  FORMAT Feed_DPM "&__5.2_"
  FORMAT Feed_FRN "&__4.1_"
  FORMAT Feed_INV "&__5.1_"
  FORMAT Feed_IPM "&__4.1_"
  FORMAT Feed_IPR "&__5.1_"
  FORMAT Feed_MMPM "&__5.0_"
  FORMAT Feed_MMPR "&__5.2_"
  FORMAT Hcode "&_02_00"
  FORMAT Rev "&__4_00"
  FORMAT String "%s"
  FORMAT Tcode "&_02_00"
  FORMAT Zero "&_01.10"

################ ADDRESS DECLARATIONS ################
  ADDRESS G_cutcom 
  {
      FORMAT      Digit_2
      FORCE       off
      MAX         999999999.9999 Truncate
      MIN         -999999999.9999 Truncate
      LEADER      "G"
  }

  ADDRESS G_plane 
  {
      FORMAT      Digit_2
      FORCE       off
      LEADER      "G"
  }

  ADDRESS G_adjust 
  {
      FORMAT      Digit_2
      FORCE       off
      LEADER      "G"
  }

  ADDRESS G_feed 
  {
      FORMAT      Digit_2
      FORCE       off
      LEADER      "G"
  }

  ADDRESS G_spin 
  {
      FORMAT      Digit_2
      FORCE       off
      LEADER      "G"
  }

  ADDRESS G_return 
  {
      FORMAT      Digit_2
      FORCE       always
      LEADER      "G"
  }

  ADDRESS G_motion 
  {
      FORMAT      Digit_2
      FORCE       off
      MAX         9999 Truncate
      MIN         -9999 Truncate
      LEADER      "G"
  }

  ADDRESS G_mode 
  {
      FORMAT      Digit_2
      FORCE       off
      LEADER      "G"
  }

  ADDRESS G 
  {
      FORMAT      Digit_2
      FORCE       off
      MAX         99 Truncate
      MIN         0 Truncate
  }

  ADDRESS X 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      ZERO_FORMAT Zero
  }

  ADDRESS Y 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      ZERO_FORMAT Zero
  }

  ADDRESS Z 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      ZERO_FORMAT Zero
  }

  ADDRESS fourth_axis 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      LEADER      [$mom_sys_leader(fourth_axis)]
      ZERO_FORMAT Zero
  }

  ADDRESS fifth_axis 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      LEADER      [$mom_sys_leader(fifth_axis)]
      ZERO_FORMAT Zero
  }

  ADDRESS I 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      ZERO_FORMAT Zero
  }

  ADDRESS J 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      ZERO_FORMAT Zero
  }

  ADDRESS K 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      ZERO_FORMAT Zero
  }

  ADDRESS R 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      ZERO_FORMAT Zero
  }

  ADDRESS F 
  {
      FORMAT      Feed
      FORCE       off
      MAX         999999.9999 Truncate
      MIN         0.0001 Truncate
      ZERO_FORMAT Zero
  }

  ADDRESS S 
  {
      FORMAT      Digit_5
      FORCE       off
      MAX         99999 Truncate
      MIN         0 Truncate
  }

  ADDRESS T 
  {
      FORMAT      Tcode
      FORCE       off
      MAX         99 Truncate
      MIN         0 Truncate
  }

  ADDRESS D 
  {
      FORMAT      Digit_2
      FORCE       off
      MAX         99 Truncate
      MIN         0 Truncate
  }

  ADDRESS H 
  {
      FORMAT      Hcode
      FORCE       off
      MAX         99 Truncate
      MIN         0 Truncate
  }

  ADDRESS dwell 
  {
      FORMAT      Dwell_sec
      FORCE       off
      MAX         99999.999 Truncate
      MIN         0.001 Truncate
      LEADER      "P"
      ZERO_FORMAT Zero
  }

  ADDRESS cycle_dwell 
  {
      FORMAT      Dwell_sec
      FORCE       off
      MAX         99999.999 Truncate
      MIN         0.001 Truncate
      LEADER      "P"
      ZERO_FORMAT Zero
  }

  ADDRESS P_cutcom 
  {
      FORMAT      Dwell_sec
      FORCE       off
      MAX         99999.999 Truncate
      MIN         0.001 Truncate
      LEADER      "P"
      ZERO_FORMAT Zero
  }

  ADDRESS K_cycle 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      LEADER      "K"
      ZERO_FORMAT Zero
  }

  ADDRESS cycle_step1 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      LEADER      "I"
      ZERO_FORMAT Zero
  }

  ADDRESS cycle_step 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      LEADER      "Q"
      ZERO_FORMAT Zero
  }

  ADDRESS Q_cutcom 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      LEADER      "Q"
      ZERO_FORMAT Zero
  }

  ADDRESS E 
  {
      FORMAT      Coordinate
      FORCE       off
      MAX         9999.9999 Truncate
      MIN         -9999.9999 Truncate
      ZERO_FORMAT Zero
  }

  ADDRESS M_spindle 
  {
      FORMAT      Digit_2
      FORCE       off
      LEADER      "M"
  }

  ADDRESS M_coolant 
  {
      FORMAT      Digit_2
      FORCE       off
      MAX         99 Truncate
      MIN         0 Truncate
      LEADER      "M"
  }

  ADDRESS M 
  {
      FORMAT      Digit_2
      FORCE       off
  }

  ADDRESS N 
  {
      FORMAT      Digit_2
      FORCE       off
      LEADER      [$mom_sys_leader(N)]
  }

  ADDRESS Text 
  {
      FORMAT      String
      LEADER      ""
  }


################ ADDRESS DECLARATIONS ################
  ADDRESS LF_AAXIS 
  {
      FORMAT      AbsCoord
      FORCE       always
      LEADER      ""
      ZERO_FORMAT Zero
  }

  ADDRESS LF_ENUM 
  {
      FORMAT      Digit_5
      FORCE       always
      LEADER      ""
      ZERO_FORMAT Zero
  }

  ADDRESS LF_BAXIS 
  {
      FORMAT      AbsCoord
      FORCE       always
      LEADER      ""
      ZERO_FORMAT Zero
  }

  ADDRESS LF_XABS 
  {
      FORMAT      AbsCoord
      FORCE       always
      LEADER      ""
      ZERO_FORMAT Zero
  }

  ADDRESS LF_FEED 
  {
      FORMAT      Feed
      FORCE       always
      LEADER      ""
      ZERO_FORMAT Zero
  }

  ADDRESS LF_YABS 
  {
      FORMAT      AbsCoord
      FORCE       always
      LEADER      ""
      ZERO_FORMAT Zero
  }

  ADDRESS LF_SPEED 
  {
      FORMAT      Rev
      FORCE       always
      LEADER      ""
  }

  ADDRESS LF_ZABS 
  {
      FORMAT      AbsCoord
      FORCE       always
      LEADER      ""
      ZERO_FORMAT Zero
  }


############ BLOCK TEMPLATE DECLARATIONS #############
  BLOCK_TEMPLATE absolute_mode 
  {
       G_cutcom[$mom_sys_cutcom_code(OFF)]
       G_plane[$mom_sys_cutcom_plane_code(XY)]
       G_feed[$mom_sys_feed_rate_mode_code($feed_mode)]\opt
       G_mode[$mom_sys_output_code(ABSOLUTE)]
       G[$mom_sys_unit_code(IN)]
  }

  BLOCK_TEMPLATE auxfun 
  {
       M[$mom_auxfun]
  }

  BLOCK_TEMPLATE circular_move_1 
  {
       G_cutcom[$mom_sys_cutcom_code($mom_cutcom_status)]\opt
       G_motion[$mom_sys_circle_code($mom_arc_direction)]\opt
       G_mode[$mom_sys_output_code(ABSOLUTE)]
       X[$mom_pos(0)]
       Y[$mom_pos(1)]
       Z[$mom_pos(2)]
       I[$mom_pos_arc_center(0)-$mom_prev_pos(0)]
       J[$mom_pos_arc_center(1)-$mom_prev_pos(1)]
       K[$mom_pos_arc_center(2)-$mom_prev_pos(2)]
       F[$feed]
       S[$mom_spindle_speed]
  }

  BLOCK_TEMPLATE coolant_off 
  {
       M_coolant[$mom_sys_coolant_code(OFF)]
  }

  BLOCK_TEMPLATE coordinate_system 
  {
       G[$mom_sys_reset_code]
  }

  BLOCK_TEMPLATE cutcom_off 
  {
       G_cutcom[$mom_sys_cutcom_code(OFF)]
  }

  BLOCK_TEMPLATE cycle_bore 
  {
       G_motion[$mom_sys_cycle_bore_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
  }

  BLOCK_TEMPLATE cycle_bore_back 
  {
       G_motion[$mom_sys_cycle_bore_back_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
  }

  BLOCK_TEMPLATE cycle_bore_drag 
  {
       G_motion[$mom_sys_cycle_bore_drag_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
  }

  BLOCK_TEMPLATE cycle_bore_dwell 
  {
       G_motion[$mom_sys_cycle_bore_dwell_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
       cycle_dwell[$mom_cycle_delay]\opt
  }

  BLOCK_TEMPLATE cycle_bore_m_dwell 
  {
       G_motion[$mom_sys_cycle_bore_manual_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
       cycle_dwell[$mom_cycle_delay]\opt
  }

  BLOCK_TEMPLATE cycle_bore_manual 
  {
       G_motion[$mom_sys_cycle_bore_manual_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
  }

  BLOCK_TEMPLATE cycle_bore_no_drag 
  {
       G_motion[$mom_sys_cycle_bore_no_drag_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
  }

  BLOCK_TEMPLATE cycle_breakchip 
  {
       G_motion[$mom_sys_cycle_breakchip_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
       cycle_step[$mom_cycle_step1]
  }

  BLOCK_TEMPLATE cycle_drill 
  {
       G_motion[$mom_sys_cycle_drill_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
  }

  BLOCK_TEMPLATE cycle_drill_deep 
  {
       G_motion[$mom_sys_cycle_drill_deep_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
       cycle_step[$mom_cycle_step1]
  }

  BLOCK_TEMPLATE cycle_drill_dwell 
  {
       G_motion[$mom_sys_cycle_drill_dwell_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
       cycle_dwell[$mom_cycle_delay]\opt
  }

  BLOCK_TEMPLATE cycle_off 
  {
       G_motion[$mom_sys_cycle_off]
  }

  BLOCK_TEMPLATE cycle_tap 
  {
       G_motion[$mom_sys_cycle_tap_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
  }

  BLOCK_TEMPLATE delay 
  {
       G[$mom_sys_delay_code($mom_delay_mode)]
       dwell[$mom_delay_value]
  }

  BLOCK_TEMPLATE end_of_path 
  {
       M_spindle[$mom_sys_spindle_direction_code(OFF)]
       M_coolant[$mom_sys_coolant_code(OFF)]
  }

  BLOCK_TEMPLATE end_of_program 
  {
       M[$mom_sys_end_of_program_code]
  }

  BLOCK_TEMPLATE from 
  {
       G_motion[$mom_sys_rapid_code]
       X[$mom_from_pos(0)]
       Y[$mom_from_pos(1)]
       Z[$mom_from_pos(2)]
  }

  BLOCK_TEMPLATE inch_metric_mode 
  {
       G[$mom_sys_unit_code(IN)]
  }

  BLOCK_TEMPLATE incremental_mode 
  {
       G_mode[$mom_sys_output_code(INCREMENTAL)]
  }

  BLOCK_TEMPLATE linear_move_1 
  {
       G_cutcom[$mom_sys_cutcom_code($mom_cutcom_status)]\opt
       G_plane[$mom_sys_cutcom_plane_code($mom_cutcom_plane)]\opt
       G_motion[$mom_sys_linear_code]
       G_mode[$mom_sys_output_code(ABSOLUTE)]
       X[$mom_pos(0)]
       Y[$mom_pos(1)]
       Z[$mom_pos(2)]
       F[$feed]
       S[$mom_spindle_speed]
       D[$mom_cutcom_adjust_register]\opt
       M_spindle[$mom_sys_spindle_direction_code($mom_spindle_direction)]\opt
       M_coolant[$mom_sys_coolant_code(ON)]\opt
  }

  BLOCK_TEMPLATE manual_tool_change 
  {
       M[$mom_sys_program_stop_code]
  }

  BLOCK_TEMPLATE opstop 
  {
       M[$mom_sys_optional_stop_code]\opt\nows
  }

  BLOCK_TEMPLATE output_unit 
  {
       G[$mom_sys_unit_code(IN)]
  }

  BLOCK_TEMPLATE prefun 
  {
       G[$mom_prefun]
  }

  BLOCK_TEMPLATE rapid_spindle 
  {
       G_adjust[$mom_sys_adjust_code]
       G_motion[$mom_sys_rapid_code]
       G_mode[$mom_sys_output_code(ABSOLUTE)]
       X[$mom_pos(0)]
       Y[$mom_pos(1)]
       Z[$mom_pos(2)]
       H[$mom_tool_adjust_register]\opt
  }

  BLOCK_TEMPLATE rapid_traverse 
  {
       G_motion[$mom_sys_rapid_code]
       G_mode[$mom_sys_output_code($mom_output_mode)]\opt
       X[$mom_pos(0)]
       Y[$mom_pos(1)]
       Z[$mom_pos(2)]
       S[$mom_spindle_speed]\opt
       M_spindle[$mom_sys_spindle_direction_code($mom_spindle_direction)]\opt
  }

  BLOCK_TEMPLATE return_home 
  {
       G_return[$mom_sys_return_code]
       G_mode[91]
       Z[$mom_sys_home_pos(2)]
  }

  BLOCK_TEMPLATE return_motion 
  {
       M_spindle[$mom_sys_spindle_direction_code(OFF)]
       M_coolant[$mom_sys_coolant_code(OFF)]
  }

  BLOCK_TEMPLATE return_motion_1 
  {
       G_return[$mom_sys_return_code]
       G_mode[91]
       Z[0]
       T[$mom_tool_number]
       H[$mom_sys_zero]
  }

  BLOCK_TEMPLATE return_motion_2 
  {
       M_spindle[$mom_sys_spindle_direction_code(OFF)]
       M_coolant[$mom_sys_coolant_code(OFF)]
  }

  BLOCK_TEMPLATE return_motion_5 
  {
       G_return[$mom_sys_return_code]
       G_mode[91]
       Z[0]
       H[$mom_sys_zero]
  }

  BLOCK_TEMPLATE rewind_stop_code 
  {
       Text[#]
  }

  BLOCK_TEMPLATE sequence_number 
  {
       N[$mom_seqnum]
  }

  BLOCK_TEMPLATE spindle_off 
  {
       M_spindle[$mom_sys_spindle_direction_code(OFF)]
  }

  BLOCK_TEMPLATE spindle_rpm 
  {
       S[$mom_spindle_speed]
       M_spindle[$mom_sys_spindle_direction_code($mom_spindle_direction)]\opt
  }

  BLOCK_TEMPLATE spindle_rpm_1 
  {
       M_spindle[$mom_sys_spindle_range_code($mom_spindle_range)]\opt
  }

  BLOCK_TEMPLATE stop 
  {
       M[$mom_sys_program_stop_code]
  }

  BLOCK_TEMPLATE tool_change 
  {
       G_mode[$mom_sys_output_code(INCREMENTAL)]
       G[$mom_sys_return_code]
       Z[$mom_sys_home_pos(2)]
  }

  BLOCK_TEMPLATE tool_change_1 
  {
       T[$mom_tool_number]
       M[$mom_sys_tool_change_code]
  }

  BLOCK_TEMPLATE tool_change_2 
  {
       T[$mom_next_tool_number]
  }

  BLOCK_TEMPLATE tool_len_adj_off 
  {
       H[$mom_sys_zero]
  }

  BLOCK_TEMPLATE tool_length_adjust 
  {
       G_adjust[$mom_sys_adjust_code]
       H[$mom_tool_adjust_register]
  }

  BLOCK_TEMPLATE tool_preselect 
  {
       T[$mom_next_tool_number]
  }

############ BLOCK TEMPLATE DECLARATIONS #############
  BLOCK_TEMPLATE post_cycle_set 
  {
       G_motion[$mom_sys_cycle_reps_code]
       X[$mom_cycle_feed_to_pos(0)]
       Y[$mom_cycle_feed_to_pos(1)]
       Z[$mom_cycle_feed_to_pos(2)]
       R[$mom_cycle_rapid_to_pos($mom_cycle_spindle_axis)]
       F[$feed]
  }

############ BLOCK TEMPLATE DECLARATIONS #############
  BLOCK_TEMPLATE comment_data 
  {
       LF_XABS[$mom_pos(0)]
       LF_YABS[$mom_pos(1)]
       LF_ZABS[$mom_pos(2)]
       LF_AAXIS[$mom_pos(3)]
       LF_BAXIS[$mom_pos(4)]
       LF_FEED[$mom_feed_rate]
       LF_SPEED[$mom_spindle_speed]
  }

}


TURRET 1
{

POCKET 1
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 2
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 3
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 4
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 5
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 6
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 7
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 8
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 9
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 10
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 11
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 12
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 13
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 14
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 15
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 16
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 17
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 18
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 19
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 20
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 21
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 22
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 23
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 24
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 25
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 26
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 27
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 28
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 29
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

   POCKET 30
   {
      HOLDING_SYSTEM "300", "310", "320", "330"
      TOOL_CONSTRAINTS
      {
         ANGLES 0.0
         XFORM_ANGLES X 0.0 Y 0.0 Z 0.0
         QUERY " "
      }
   }

}

