Hello
Guest
it is
April 23, 2024, 11:28:22 AM
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
/
macro for homing
« previous
next »
Print
Pages:
«
1
2
3
4
Go Down
Author
Topic: macro for homing (Read 19784 times)
0 Members and 1 Guest are viewing this topic.
riporeno
48
Re: macro for homing
«
Reply #30 on:
February 21, 2015, 02:19:58 AM »
h iTthomas
I tried to enter the values it says syntax error
you can give me an example how to insert the number? example 166 ...
Get/SetParam()
"VelocitiesX" = X MaxVel from motor tuning page
thanks regards
Logged
TPS
2,505
Re: macro for homing
«
Reply #31 on:
February 21, 2015, 03:00:42 AM »
Hi,
for Example
Sub main()
SetParam("VelocitiesX",66.66) 'Value in units/sec
msgbox GetParam("VelocitiesX")
End Sub
Thomas
Logged
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
riporeno
48
Re: macro for homing
«
Reply #32 on:
February 21, 2015, 01:57:27 PM »
hi Thomas
everything works perfectly.
I thank you very much for helping me.
congratulations, you are very smart.
Now I write all the code for the three axes.
regards
moreno
Logged
riporeno
48
Re: macro for homing
«
Reply #33 on:
March 03, 2015, 03:06:58 PM »
hi
I implemented the macro cycle reset.
It works very well.
I put a relay 'which disables the signal of the limits and diverts the signal on another input so that when you open the swith, the axis back and look for the zero index.
To avoid putting the relay could compile a command to disable the limits?
then I enable them to macro
in this way would avoid using an output.
thank you
regards
moreno
https://www.youtube.com/watch?v=J_UZcuZjX68
Logged
Print
Pages:
«
1
2
3
4
Go Up
« previous
next »