Catalogue G-Code programming manual
www.delectron.it
print switch display
Page / 149
Contact the
Manufacturer
Where to buy
this product ?
Request
a Quote
D.Electron - 81842
/ 149
See other catalogues for D.Electron
Text version of the page
CNC Z32 - Programming guide (Milling machines manufacturer) The --IF instruction indicates the first checked condition. If {condition 1} is verified, the blocks from N10 and N20 are executed, then the execution passes to N70. If {condition 1} is not verified, the condition --ELSE IF is checked. If {condition 2} is verified, the blocks from N30 and N40 are executed, then the execution passes to N70. If neither {condition 1} nor {condition 2} are verified, the execution passes to the --ELSE block, and the blocks from N50 to N60 are executed, then the execution passes to N70. In lines containing --IF, --ELSE IF, --ELSE and --END IF it is possible to insert a comment after the character “;”. In synthesis: The --IF instruction is the first checked condition. The blocks --ELSE IF specify the conditions checked if the preceding conditions are not true. It is possible to have more than one block --ELSE IF. In this case the conditions are checked in sequence. --IF {condition 1} … (executed if condition 1 is true) --ELSE IF {condition 2} … (executed if condition 1 is false and condition 2 is true) --ELSE IF {condition 3} … (executed if condition 1 is false, condition 1 is false and condition 3 is true) --ELSE… (executed if condition 1 is false, condition 1 is false and condition 3 is false) --END IF N70 The instruction --ELSE identifies the block of instructions executed if all other conditions are not true. The --END IF instruction identifies the end of an IF block. It is possible to nest IF instructions up to 31 levels. Example: --IF {condition 1} --IF {condition 2} --IF {condition 3} N30 … (executed if condition 1 is true, condition 1 is true and condition 3 is true) N40 --END IF --END IF --END IF

61

DirectIndustry's Virtual Technical Library: PDF Catalogue | Technical Documentation | Brochure | Manual | Industrial directory | Specifications | Characteristics
Search Go
page 51 p.51
page 52 p.52
page 53 p.53
page 54 p.54
page 55 p.55
page 56 p.56
page 57 p.57
page 58 p.58
page 59 p.59
page 60 p.60
page 61 p.61
page 62 p.62
page 63 p.63
page 64 p.64
page 65 p.65
page 66 p.66
page 67 p.67
page 68 p.68
page 69 p.69
page 70 p.70
page 71 p.71
page 72 p.72
page 73 p.73
page 74 p.74
page 75 p.75
page 76 p.76
page 77 p.77
page 78 p.78
page 79 p.79
page 80 p.80
page 81 p.81
page 82 p.82
page 83 p.83
page 84 p.84
page 85 p.85
page 86 p.86
page 87 p.87
page 88 p.88
page 89 p.89
page 90 p.90
page 91 p.91
page 92 p.92
page 93 p.93
page 94 p.94
page 95 p.95
page 96 p.96
page 97 p.97
page 98 p.98
page 99 p.99
page 100 p.100
Pages:
1-50
51-100
101-149
pdf-page pdf di En 2008-12-49-04