Hello
Guest
it is
May 10, 2025, 08:21:34 AM
Guest
Login
Register
Menu
Home
Help
Search
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
VB and the development of wizards
/
Round Double and ACos, ASin
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: Round Double and ACos, ASin (Read 5729 times)
0 Members and 1 Guest are viewing this topic.
RenatoMasias
9
Round Double and ACos, ASin
«
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
Logged
Graham Waterworth
2,782
Yorkshire Dales, England
Re: Round Double and ACos, ASin
«
Reply #1 on:
October 30, 2021, 09:28:47 PM »
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
Logged
Without engineers the world stops
RenatoMasias
9
Re: Round Double and ACos, ASin
«
Reply #2 on:
November 05, 2021, 10:26:37 AM »
thanks
Logged
Print
Pages:
1
Go Up
« previous
next »