LLC  
  Machine tool spindle CNC vertical
        x      The Ultimate online resource for CNC machinery
Unbiased Help and advice



Fanuc Macro variable arithmetic commands chart

Fanuc Macro arithmatic variables for NC programming

Macro Variable Arithmetic Commands Subtraction #i=#jOR#k Logical sum (at every bit of 32 bits) #i=#jXOR#k Exclusive OR (at every bit of 32 bits) "Multiplication arithmetic" Purpose Expression Contents #i=#j - #k #i=#j*#k Product #i=#j/#k Quotient #i=#jAND#k"Definition and substitution of variables" #i=#j Definition, substitution"Logical product (at every bit of 32 bits)"Cosine (degree unit) #i=ACOS [#j] Arccosine (degree unit) #i=TAN [#j] Tangent (degree unit) #i=ATAN [#j]/[#k] Arctangent (degree unit) #i=SQRT [#j] Square root Functions #i=SIN [#j] Sine (degree unit) #i=ASIN [#j]Addition arithmetic #i=#j+#k Sum Arcsine (degree unit) #i=COS [#j]#i=ABS [#j] Conversion from BIN to BCD #i=ROUND [#j] Rounding off #i=FIX [#j]Discard fractions less than 1 #i=FUP [#j] Add 1 Absolute value #i=BIN [#j] Conversion from BCD to BIN #i=BCD

GENERAL DISCLAIMER:

All data on this website is provided without charge or obligation by myself or anyone else who contributes to this site. It is the responsibility of the reader to perform any action outlined here in a safe and responsible manner. The reader assumes all responsibility for service or actions taken as a result of the information contained here. We assume no responsibility for personal or property damage, any type of monetary losses or losses caused directly or indirectly from the material provided in this Web page or any pages contained within the Website. If this site has been translated into another language, we are also not liable for how the site content has been translated.

 

Click here for full disclaimer and terms

HELP US IMPROVE THIS  WEBSITE..!!

Earn $20 by creating a
CNC procedure! 
Click here for more details.

doteasy.com - free web hosting. Free hosting with no banners.

Suggestions or comments?

Share with everyone?
...Procedures
...Macro programs
...Experience
...Stories
...Articles
...Recommendations
...Anything related

Please Email Me:
admin@machinetoolhelp.com

Thank you for all your contributions and support.

x