
B-63423EN/02 SAMPLE PROGRAM
9. USER PROGRAMS FOR POCKETING MENU
-457-
/* Bottom Finish */
if[#[attribute 6] ne att_not_use]then
error_item = 6
if[#[value 6] lt 0]goto 98
endif
/* Side Finish */
if[#[attribute 7] ne att_not_use]then
error_item = 7
if[#[value 7] lt 0]goto 98
endif
/* Feed Rate */
error_item = 10
if[#[value 10] eq #0]goto 97
if[#[value 10] le 0]goto 98
/* Cutting Width% */
if[#[attribute 11] ne att_not_use]then
error_item = 11
if[#[value 11] eq #0]goto 97
if[#[value 11] le 0]goto 98
endif
/* Z-Cut Feed Rate */
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
/* Cut Direction */
error_item = 13
if[#[value 13] eq #0]goto 97
if[#[value 13] lt 1 || #[value 13] gt 2]goto 98
/* Groove Width */
error_item = 14
if[#[value 14] eq #0]goto 97
if[#[value 14] le 0]goto 98
/* Rough mach. D-Code */
if[#[attribute 19] ne att_not_use]then
error_item = 19
if[#[value 19] eq #0]goto 97
if[#[value 19] le 0]goto 98
endif
/* Cycle Selection */
if[#[attribute 20] ne att_not_use]then
error_item = 20
if[#[value 20] eq #0]goto 97
if[#[value 20] lt 1 || #[value 20] gt 2]goto 98
endif
/* Pitch Depth */
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 Type */
if[#[attribute 25] ne att_not_use]then
error_item = 25
if[#[value 25] eq #0]goto 97
if[#[value 25] lt 1 || #[value 25] gt 3]goto 98
endif
/* Approach 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
/* Approach Angle */
if[#[attribute 27] ne att_not_use]then
error_item = 27