Hello Guest it is March 01, 2021, 03:16:08 PM

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.

Messages - TPS

Works in progress / Re: estop
« on: March 01, 2021, 11:40:06 AM »
just some more Information about Setup and bob would be helpful.

is it possible that you post a small Video?

- I keep getting M07 for a code in my Gcode and spindle wont initiate when Gcode begins, I have to manually engage the spindle through Mach 4.
M03 is normaly used to turn the Spindle on. is there any M03 command at the beginning of yout g-code?

- I ran Avid's squaring and tramming design on their site and when running 1/4" collet and end mill for the pins to be cut out and measured its right on at 21-1/2" diagonally yet measurements are off by 1/4" along the x and y axis, then when running the tram with a 1/2" collet and 2 fluted straight bit, it runs to the true dimensions of the piece in aspire, not the pins that were drilled.
- My dimension cuts are off by 1/4" an have checked all offsets and there aren't any.
thaz Sound like you have selected the wrong tool Diameter in aspire for Generation g-code.

VB and the development of wizards / Re: autotoolzero
« on: March 01, 2021, 01:52:26 AM »
- open Main Menue -> Operator -> VB Script Editor
- copy/paste into the Editor
- use  >|| button to excecute code line by line
- see what code is doing

as sayed code was working here

General Mach Discussion / Re: Where I can find the --- afxcmn.h ---
« on: March 01, 2021, 01:48:51 AM »
RnRMotion.h sounds like a source file for a Motion Controller plugin. i do not think that this source is avaliable,
only plugin dll i think. you will have to contact supplier directly.

General Mach Discussion / Re: Where I can find the --- afxcmn.h ---
« on: February 28, 2021, 10:24:40 AM »
it is normaly part of Microsoft Foundation Classes for C++

1. Go to Windows' Control Panel -> Add/Remove Programs.
2. Located Visual Studio's entry and highlight it.
3. Click "Change".
4. Once the VS setup opens, choose "Modify".
5. Check-mark "Microsoft Foundation Classes for C++", and/or whichever other features you'd like to add or
6. Click "Update" and follow the prompts to complete the setup wizard.

VB and the development of wizards / Re: autotoolzero
« on: February 28, 2021, 10:07:40 AM »
this code is running here:

Code: [Select]
Sub Main()
CurrentFeed = GetOemDRO(818) 'Get the current feedrate to return to later
CurrentAbsInc = GetOemLED(48) 'Get the current G90/G91 state
CurrentGmode = GetOemDRO(819) 'Get the current G0/G1 state

If GetOemLed (825)=0 Then 'Check to see if the probe is already grounded or faulty
DoOEMButton (1010) 'zero the Z axis so the probe move will start from here

Sleep(3000) ' this delay gives me time to get from computer to hold probe in place
Code "G31 Z-4. F4" ' probing move, can set the feed rate here as well as how far to move
While IsMoving() ' wait while it happens

ZProbePos = GetVar(2002) 'get the exact point the probe was hit
Code "G0 Z" &ZProbePos   'go back to that point, always a very small amount of overrun
While IsMoving ()

Call SetDro (2, .250) ' change .060 to your plate thickness and then adjust for final accuracy
Sleep 200 ' Pause for Dro to update.
Code "G1 Z1. F50" ' put the Z retract height you want here, must be greater than the touch plate thickness
While IsMoving ()

Code "(Z axis is now zeroed)" 'puts this message in the status bar
Code "F" &CurrentFeed 'Returns to prior feed rate
Message "Z-Plate is grounded, check connection and try again" 'this goes in the status bar if applicable
End If

If CurrentAbsInc = 0 Then 'if G91 was in effect before then return to it
Code "G91"
End If
If CurrentGMode = 0 Then 'if G0 was in effect before then return to it
Code "G0"
End If   
End Sub

and z-axis is going down.

VB and the development of wizards / Re: autotoolzero
« on: February 28, 2021, 03:26:14 AM »
pls post your complete code.

VB and the development of wizards / Re: autotoolzero
« on: February 27, 2021, 11:45:03 AM »
pls put this code at the beginning of your macro:

Code: [Select]
'probe already active ?
If GetOEMLed(825) Then
MsgBox "probe input activ",vbOK + vbCritical ,"error !"
End If

if a box with "probe input activ" is comming up you have to check your probe Input/wiring

General Mach Discussion / Re: zero setting changes after running program
« on: February 27, 2021, 11:25:10 AM »
.066 is known to be faulty