EasyManua.ls Logo

Anilam 4200T - System Variables

Anilam 4200T
355 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4200T CNC Programming and Operations Manual
P/N 70000412F - Advanced Programming Features
All rights reserved. Subject to change without notice. 16-3
31-July-05
Table 16-2, Operators and Functions (Continued)
Operator Function Format Description
tan tangent
trigonometric
function
Tan (n) Tan (n) will give the tangent of (n).
asin
arc sine asin(n) Will give the inverse of sine or 1/sin
acos
arc cosine acos(n) Will give the inverse of cosine or 1/cos.
atan
arc tangent atan(n) Will give the inverse of tangent or 1/tan.
abs
absolute value abs(-n)= n. Will give the absolute value of (n).
sqrt
square root Sqrt(9) = 3 Gives the square root of (n).
ln
natural logarithm Ln (n) Gives the natural logarithm of (n)
log
logarithm base 10 Log (n) Gives the logarithm of (n).
exp
exponential EXP (n) Gives the exponent of (n).
trun
truncate TRUN (n) Truncates the value of (n).
!
unary logical not (! = (#100)) Not equal to value in #100.
+ unary logical
positive
(+(#101))
Means positive whatever value is in
#101.
- unary logical
negative
(-(#100))
Means negative whatever value is in
#100
#
indirection ##102 One level of indirection
System Variables
System variables are variables that are set aside for the CNC system to
use. Some of these variables may be useful for the user to know when
programming macros. System variables range from #1000 to #1099.
Refer to Table 16-3.
Most of these variables are read only and cannot be changed (written to).
There are a few exceptions to this rule (block skip variables).
Table 16-3, System Variables
Variable Address Description
#1000 to #1009
Block skip variables (Read/write allowed).
#1010 and #1012
Commanded ABS tool position
#1010 = X
#1012 = Z
#1016
Current G motion code:
0=rapid, 1=feed, 2=cw arc, 3=ccw arc,
5=elipse
#1019
Current X tool length offset.
#1020
Current tool radius times 2. (diameter)
(Continued…)

Table of Contents

Other manuals for Anilam 4200T

Related product manuals