
B-63423EN/02 SAMPLE PROGRAM
11. USER PROGRAMS FOR MEASURING CYCLE MENU
-495-
/* Hole Nominal Dia. */
#[address 2] = add_D
#[attribute 2] = att_decimal
#[value 2] = #0
/* 1st Hole Point X */
#[address 3] = add_A
#[attribute 3] = att_decimal
#[value 3] = #0
/* 1st Hole Point Y */
#[address 4] = add_B
#[attribute 4] = att_decimal
#[value 4] = #0
/* 2nd Hole Point X */
#[address 5] = add_C
#[attribute 5] = att_decimal
#[value 5] = #0
/* 2nd Hole Point Y */
#[address 6] = add_E
#[attribute 6] = att_decimal
#[value 6] = #0
/* 3rd Hole Point X */
#[address 7] = add_H
#[attribute 7] = att_decimal
#[value 7] = #0
/* 3rd Hole Point Y */
#[address 8] = add_I
#[attribute 8] = att_decimal
#[value 8] = #0
/* 4th Hole Point X */
#[address 9] = add_J
#[attribute 9] = att_decimal
#[value 9] = #0
/* 4th Hole Point Y */
#[address 10] = add_K
#[attribute 10] = att_decimal
#[value 10] = #0
/* Feedrate for Move */
#[address 11] = add_F
#[attribute 11] = att_decimal
#[value 11] = #0
/* Work co-ord. System */
#[address 12] = add_W
#[attribute 12] = att_character
#[value 12] = #0 /* 1:G54,2:G55,3:G56,4:G57,5:G58,6:G59
/* Work co-ord. System */
#[address 13] = add_W
#[attribute 13] = att_not_use
#[value 13] = #0
/* End */
#[address 14] = add_end
previous_cursor = 1 /* Previous cursor position clear
guidance_write_flag = flag_on /* Guidance Write
m99
O6532 ;############################################### Measurement of Work Piece Angle (G191)
/* Cycle G Code */
#[address 0] = 191
/* 1st Measure Point X */
#[address 1] = add_A
#[attribute 1] = att_decimal
#[value 1] = #0
/* 1st Measure Point Y */
#[address 2] = add_B
#[attribute 2] = att_decimal
#[value 2] = #0
/* 2nd Measure Point X */
#[address 3] = add_C