
8. USER PROGRAMS FOR SIDE CUTTING MENU
SAMPLE PROGRAM B-63423EN/02
-392-
if[#[attribute 18] ne att_not_use]then
error_item = 18
if[#[value 18] eq #0]goto 97
if[#[value 18] le 0]goto 98
endif
/* Z-Cut Feed Rate */
error_item = 19
if[#[value 19] eq #0]goto 97
if[#[value 19] le 0]goto 98
/* Cut Direction */
error_item = 20
if[#[value 20] eq #0]goto 97
if[#[value 20] lt 1 || #[value 20] gt 2]goto 98
/* Approach Type */
error_item = 21
if[#[value 21] eq #0]goto 97
if[#[value 21] lt 1 || #[value 21] gt 3]goto 98
/* Approach Radius */
if[#[attribute 22] ne att_not_use]then
error_item = 22
if[#[value 22] eq #0]goto 97
if[#[value 22] le 0]goto 98
endif
/* Approach Angle */
if[#[attribute 23] ne att_not_use]then
error_item = 23
if[#[value 23] eq #0]goto 97
if[#[value 23] le 0]goto 98
endif
/* Approach Distance */
if[#[attribute 24] ne att_not_use]then
error_item = 24
if[#[value 24] eq #0]goto 97
if[#[value 24] le 0]goto 98
endif
/* Escape Type */
error_item = 25
if[#[value 25] eq #0]goto 97
if[#[value 25] lt 1 || #[value 25] gt 3]goto 98
/* Escape Radius */
if[#[attribute 26] ne att_not_use]then
error_item = 26
if[#[value 26] eq #0]goto 97
if[#[value 26] le 0]goto 98
endif
/* Escape Angle */
if[#[attribute 27] ne att_not_use]then
error_item = 27
if[#[value 27] eq #0]goto 97
if[#[value 27] le 0]goto 98
endif
/* Escape Distance */
if[#[attribute 28] ne att_not_use]then
error_item = 28
if[#[value 28] eq #0]goto 97
if[#[value 28] le 0]goto 98
endif
/* Comp. Direction */
error_item = 29
if[#[value 29] eq #0]goto 97
if[#[value 29] lt 1 || #[value 29] gt 2]goto 98
goto 99
/* Data is lacking. */
n97 input_error_flag = error_on
call fig_language
color red C white L0
G243X1Y24 P[#1+900]