Archives for September 2017

Note that the actual order of the plus and minus symbols within a calculation

3 + (+5) = 3 + 5 = 8 Positive + Negative Negative a + (-b) = a – b 3 + (-5) = 3 – 5 = -2 Negative – Positive Negative a – (+b) = a – b 3 – (+5) = 3 – 5 = -2 Negative – Negative Positive a – […]

Overflow or underflow situation

ble cannot replace another variable directly – #[#7] is allowed example 3 – correct Overflow or underflow situation SIN[0] = negative underflow when 0 and 90 degrees are used in COS[90] = positive underflow trigonometric calculation TAN[0] = negative underflow TAN[90] = positive overflow If variables #7 and #9 have been previously Nesting in calculations […]

this is a negative value variable definition

sh di men sion of 123456 will be come 123456 in met ric units – def i nitely not cor rect Pro vid ing the G20 or G21 units se lec tion com mand into the pro gram is al ways highly rec om mended What is def i nitely never rec om mended is […]

what is al lowed and what is not, what is le git i mate en try and what

es as to what is al lowed and what is not, what is le git i mate en try and what is not – with explanations Restrictions Pro gramming in any lan guage has to ad here to a num ber of very strict rules and re stric tions im – posed by the lan […]

In the general in troduction to variables earlier, four groups of variables were iden tified

Copyright 2005, Industrial Press Inc, New York, NY – FANUC CNC Custom Macros ASSIGNING VARIABLES 8 In the general in troduction to variables earlier, four groups of variables were iden tified that are used in macro pro grams: u Local variables u Common variables u System variables u Null variables (same as empty or vacant […]