
8. USER PROGRAMS FOR SIDE CUTTING MENU
SAMPLE PROGRAM B-63423EN/02
-384-
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
/* Z-Cut Feed Rate */
error_item = 18
if[#[value 18] eq #0]goto 97
if[#[value 18] le 0]goto 98
/* Mach. Shape */
error_item = 20
if[#[value 20] eq #0]goto 97
if[#[value 20] lt 1 || #[value 20] gt 2]goto 98
/* Center Point X */
error_item =21
if[#[value 21] eq #0]goto 97
/* Center Point Y */
error_item =22
if[#[value 22] eq #0]goto 97
/* U-Length */
error_item = 23
if[#[value 23] eq #0]goto 97
if[#[value 23] le 0]goto 98
/* V-Length */
error_item = 24
if[#[value 24] eq #0]goto 97
if[#[value 24] le 0]goto 98
/* Cut Direction */
error_item = 25
if[#[value 25] eq #0]goto 97
if[#[value 25] lt 1 || #[value 25] gt 2]goto 98
/* Corner Type */
if[#[attribute 26] ne att_not_use]then
error_item = 26
if[#[value 26] eq #0]goto 97
if[#[value 26] lt 1 || #[value 26] gt 2]goto 98
endif
/* Corner R/C */
error_item = 27
if[#[value 27] lt 0]goto 98
/* Approach Gap */
if[#[attribute 29] ne att_not_use]then
error_item = 29
if[#[value 29] eq #0]goto 97
if[#[value 29] le 0]goto 98