
8. USER PROGRAMS FOR SIDE CUTTING MENU
SAMPLE PROGRAM B-63423EN/02
-390-
error_item = 5
if[#[value 5] lt 0]goto 98
endif
/* Side Finish */
if[#[attribute 6] ne att_not_use]then
error_item = 6
if[#[value 6] lt 0]goto 98
endif
/* Bottom Removal */
error_item = 7
if[#[value 7] eq #0]goto 97
if[#[value 7] le 0]goto 98
/* Bottom Pitch */
if[#[attribute 8] ne att_not_use]then
error_item = 8
if[#[value 8] lt 0]goto 98
endif
/* Bottom Finish */
if[#[attribute 9] ne att_not_use]then
error_item = 9
if[#[value 9] lt 0]goto 98
endif
/* Taper Angle */
error_item = 11
if[#[value 11] lt 0]goto 98
/* Chamfer Removal */
if[#[attribute 12] ne att_not_use]then
error_item = 12
if[#[value 12] eq #0]goto 97
if[#[value 12] le 0]goto 98
endif
/* Tool Small Dia.*/
if[#[attribute 13] ne att_not_use]then
error_item = 13
if[#[value 13] lt 0]goto 98
endif
/* Chamfer Angle */
if[#[attribute 14] ne att_not_use]then
error_item = 14
if[#[value 14] eq 0]goto 98
if[#[value 14] lt 0]goto 98
endif
/* Tool Out Depth */
if[#[attribute 15] ne att_not_use]then
error_item = 15
if[#[value 15] lt 0]goto 98
endif
/* Tool Corner-R */
if[#[attribute 16] ne att_not_use]then
error_item = 16
if[#[value 16] lt 0]goto 98
endif
/* Feed Rate */
error_item = 17
if[#[value 17] eq #0]goto 97
if[#[value 17] le 0]goto 98
/* Center Point X */
error_item =20
if[#[value 20] eq #0]goto 97
/* Center Point Y */
error_item =21
if[#[value 21] eq #0]goto 97
/* U-Length */
error_item = 22
if[#[value 22] eq #0]goto 97
if[#[value 22] le 0]goto 98
/* Cut Direction */