Hello
Guest
it is
April 26, 2024, 10:13:15 PM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
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 1450 times)
0 Members and 1 Guest are viewing this topic.
RenatoMasias
8
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,673
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
8
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 »