Hello Guest it is December 08, 2019, 06:37:20 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

761
VB and the development of wizards / Re: work break button
« on: March 26, 2018, 02:02:19 PM »
and what is about:

-doing a new refernce ?
-knowing where you have stopped your gcode file (power off)

what you are planning is not done with pushing a button and running a script.

762
General Mach Discussion / Re: How to Install an auto tool changer
« on: March 26, 2018, 01:58:57 PM »
I  know that there is a Start and stop Macro, I already have the "M6Start" file,

this is a Standard Start macro. you will need a machine specific one, like i have done here:
http://www.machsupport.com/forum/index.php/topic,36417.0.html

BTW the search function of the Forum is not so hard to understand ;)

Do i also need a stop Macro? or is it in my Start macro already?

the stop macro is only to return where the tool Change started.

also I think I need  to add some Tab pages to my Mach3, Do you have the links for them?

ok the only Thing, i think, is that you please read a Little bit more about basic's  of ATC

My Spindle should have the required Solenoid, I am planning to use CC (Chinese) or HSD (Italian)

that is a Point YOU have to figure out.


763
General Mach Discussion / Re: How to Install an auto tool changer
« on: March 26, 2018, 12:21:27 PM »
-some toolholdes
-a solinoid valve for the tool clamp
-a macro
-a couple of other things to get everything fixed
- some luck

764
VB and the development of wizards / Re: work break button
« on: March 26, 2018, 12:18:59 PM »
code for the button to get a filname where to write to:

Code: [Select]
'get the filename for digfile from user

Sub Main()
 If NOT Isloading() then
Dim  FNum, FName ' Declare variables.
'get Filename from user

Begin Dialog TextBoxSample 16,30,180,96,"enter digfilename"
OKButton 132,20,40,14
Text 8,8,132,8,"filename without extension:"
TextBox 8,20,100,12,.TextBox1
Text 8,44,132,8,"file will be in c:\Mach3\GCode"
End Dialog
Dim Dlg1 As TextBoxSample


Dialog Dlg1
SetUserLabel(255, Dlg1.TextBox1)

'open the to file errase all existing data
FNum = FreeFile ' Determine next file number.
FName = "C:\Mach3\GCode\" + GetUserLabel(255) + ".nc"
Open FName For Output As FNum ' Open file.
Close ' Close all files.
SetUserDro(1166,1)
   End If
End Sub



code for the button witch saves the actual coordinates:
Code: [Select]
Sub Main()
Dim  FNum, FName ' Declare variables.

'wait for axis standstill
WaitForMove

'open the file for output data data
FNum = FreeFile ' Determine next file number.
FName = "C:\Mach3\GCode\" + GetUserLabel(255) + ".nc"
Open FName For Append As FNum ' Open file.
Print #FNum, cStr(GetDro(0)) & "," & CStr(GetDro(1)) & "," & CStr(GetDro(2)) 
Close ' Close all files.

End Sub

'global Sub's
Sub WaitForMove ()
While IsMoving()
Sleep(5)
Wend
End Sub


what you realy looking for is digitizing.

digitizing wizard and search function is your friend.



765
You could program it to 40,000 ppr or 160,000 count per rev but why?

just to see, that it is also not working.

766
General Mach Discussion / Re: Only X-axis motor is working
« on: March 26, 2018, 12:06:46 PM »
this profile is completly empty.
I'm guessing that means the profile doesn't actually save til you exit the program? Or am I supposed to do something I didn't do to not have a blank profile?

The two profiles I've used were the standard Mill one that comes with the download and the New one that appears to be empty. The only thing I did with the new profile was set the motor outputs as that's all I need to focus on until I have them working.

thats was i your "new" Profile:

<?xml version="1.0"?>

-<profile>


-<Preferences>

<Syskey1>0</Syskey1>

<DefDir>C:\Mach3</DefDir>

<Profile>TheNew</Profile>

<NewPath>0</NewPath>

<BR>0.0</BR>

<BG>0.0</BG>

<BB>0.0</BB>

<FR>0.0</FR>

<FG>0.0</FG>

<FB>1.0</FB>

<RR>1.0</RR>

<RG>0.0</RG>

<RB>0.0</RB>

<AR>0.7</AR>

<AG>0.2</AG>

<AB>0.7</AB>

<ER>1.0</ER>

<EG>1.0</EG>

<EB>0.0</EB>

<MatRed>0.0</MatRed>

<MatGreen>0.1</MatGreen>

<MatBlue>0.1</MatBlue>

<Running>1</Running>

<FirstRun>1</FirstRun>

</Preferences>

</profile>

and as i said, there is nothing (what is witch mach related)

--->The only thing I did with the new profile was set the motor outputs as that's all I need to focus on until I have them working.

and set step' per vel and acc for every axis in motortunig

767
General Mach Discussion / Re: Low voltage on stepper port issues
« on: March 25, 2018, 04:55:19 AM »
not realy,

because for example pin 6/7 will stll be connected to the same optocouples of the board (physicaly).

to do this test you have to swap Pins at the 25pol. Sub D (LPT Card or board side does not matter).

768
General Mach Discussion / Re: Only X-axis motor is working
« on: March 25, 2018, 04:43:49 AM »
this profile is completly empty.

769
General Mach Discussion / Re: Scripter Compile Error bites again :(
« on: March 24, 2018, 11:58:58 AM »
ok Problem found.

M84 uses the Outputs for spindle controll witch are configured directly.
i am using them only virtualy and do the control in M3/M4/M5.

thank you

770
General Mach Discussion / Re: Low voltage on stepper port issues
« on: March 24, 2018, 10:57:37 AM »
you can check the direct signals from the parallel port (pin 6/7 from 25pole Sub D), with oszilloscope.