Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: RenatoMasias on October 30, 2021, 08:57:39 PM
-
Hello good day, i generate my code con Gcode:
Code "G1 Z" & z(i) & " Y" & y(i) & " F" & Fm(i)
but my result are several point decimal, then this exist function as round(z(i),3) for round a three point decimal or as i can make this?
I no find the function Acos and Asin, only Atn or this two function no available?
thanks
Renato
-
Mach3 uses a Cypress version of VB and has a reduced instruction set so the best you have is the trig commands are :-
Exp, Log, Sqr, Rnd, Abs, Sgn, Atn, Cos, Sin, Tan, Int, Fix
The manual is on the forum if you search for it :- VBScript_Commands.pdf
-
thanks