Hello Guest it is April 25, 2024, 09:18:22 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - dytoven

Pages: 1
1
Leave here this macro or script for the boards that the code G31 does not work properly.

Z Auto zero tool - This is when you have a dro to adjust the height of the touchplate if not eliminate the necessary lines and set up the height in the code.
------------------------------------------
PT = GetOEMDro(1009)
If GetOemLed(825)=0 Then
Code "G91 G1 F20 Z-100"
While GetOemLed(825)=0
Wend
DoOEMButton (1003)
Sleep 500
SetDro (2,PT)
Sleep 1000
Code "G90 G1 F600 Z50"
While IsMoving()
Wend
Message( "Z axis is now zeroed" )
Else
Message( "Check if plate is grounded and try again" )
End If
End
------------------------------------------
This is to find the center of a circle or rectangle. I have not tried yet but it's something, take caution.
------------------------------------------
If GetOemLed(825)=0 Then
XN=GetOemDro(800)
Sleep 1000
Code "G91 G1 F30 X100"
While GetOemLed(825)=0
Wend
DoOEMButton (1003)
Sleep 1000
X1=GetOemDro(800)
Sleep 1000
Code "G90 G1 F300 X" &XN
While IsMoving()
Wend
Sleep 500
Code "G91 G1 F30 X-100"
While GetOemLed(825)=0
Wend
DoOEMButton (1003)
Sleep 1000
X2=GetOemDro(800)
XC=(X1+X2)/2
Sleep 1000
Code "G90 G1 F300 X" &XC
While IsMoving()
Wend
Sleep 500
YN=GetOemDro(801)
Sleep 1000
Code "G91 G1 F30 Y100"
While GetOemLed(825)=0
Wend
DoOEMButton (1003)
Sleep 1000
Y1=GetOemDro(801)
Sleep 1000
Code "G90 G1 F300 Y" &YN
While IsMoving()
Wend
Sleep 500
Code "G91 G1 F30 Y-100"
While GetOemLed(825)=0
Wend
DoOEMButton (1003)
Sleep 1000
Y2=GetOemDro(801)
YC=(Y1+Y2)/2
Sleep 1000
Code "G90 G1 F300 Y" &YC
While IsMoving()
Wend
Message( "Axis is now centered" )
Else
Message( "Check if plate is grounded and try again" )
End If
End

2
Show"N"Tell ( Your Machines) / Perpetual Motor Magnets
« on: February 27, 2016, 11:45:24 AM »
Hello there again, I'm working on a project for a motor that rotates only with the force of magnets. I've reached the point where I need such precision, magnets and bearings tailored to achieve the maximum performance that can not go on to build it for lack of funds. Because what little I do not want to waste it on a model inefficiently. What you see in the picture is a basic model to show its operation, is based on the radial aircraft engine consists of a magnet on the piston and the other in the cylinder head, which repel to cause a 180 degree turn. After a semi-circular iron ring returns the piston to the top spot. It seems perfect but there is a slight complication. When the ring tries to leave the magnetic field of the piston and the cylinder head such force him to stop, it is where we must work to minimize this problem. I have several solutions that would have to try to see which is more effective.

for a video see the link https://www.youtube.com/watch?v=j0ro48ZnwAA

3
Hello, I have a problem when running a script to Z Auto Zero Tool, although I put a lower value the minimum speed is always 130U/min (milimeters).
Another problem is GetVar seems to not work with my motion board properly, take the measure of the previous run if it really works.
GetVar is not too important if I get it to work at a slower speed.

Board - DDSM3V5 (purchased in China with a technical support bad or nonexistent)

This is the code, I tried some modifications without result.
-------------------------------
Sleep 2000
ZT=GetVar(2002)
Code "G90 G1 F50 G31Z-250"
While IsMoving()
Wend
Sleep 500
Code "G1 Z" &ZT
While IsMoving()
Wend
SetDRO(2,10)
Sleep 500
Code "G0 Z50"
While IsMoving()
Wend
Code "G90 G1"
Message( "Z Axis is now zeroed" )
End
-------------------------

4
Works in progress / Krang screen
« on: November 17, 2015, 07:09:25 AM »
Hello first to greet everyone and say this is my first post, I hope my english is not too bad.
I am working on a screen for mach3 and almost ready, I've made thinking of laptop with 1366x768 resolution and taskbar at the bottom, so have taken all the space. I have a router and wanted the basic functions on a single screen so this is what I designed.
There are some free space, if someone wants to suggest something, okay.


Pages: 1