IF [#200==2] M88 P5 L#404 Q#401
IF [#200==3] M88 P6 L#404 Q#401
IF [#200==4] M88 P7 L#404 Q#401
•
IF [#200==5] M88 P8 L#404 Q#401
IF [#200==6] M88 P9 L#404 Q#401
IF [#200==7] M88 P10 L#404 Q#401
IF [#200==8] M88 P11 L#404 Q#401
M89 P2 L0 (THE CW SIGNAL IS INACTIVE)
G04 P#403
M89 P3 L1
G04 P#402
M89 P3 L0
M30
%
F program Description
O0001
IF[#400==0] M30
If the sys tool NO. setting is 0 ,the program end
IF [[#400 <= 0] || [#400>8]]
If the sys sys tool NO. setting is less than 0 or more than 8,the controller
show alarm
THEN #3000=1(the setting of max tool is error )