Hello Guest it is March 28, 2024, 10:34:41 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 - iv-cnc

Pages: 1 2 »
1
VB and the development of wizards / Re: Start a .PDF from a button?
« on: February 17, 2012, 04:36:08 PM »
I would prefer that you will solve the problem from the MSM buttons.

Allthough, to work with the idea of a .bat file,
the black screen that disappears is the executable and its not a problem that goes away.

Check your paths! and give permitions to the bat file. (right click > properties)
Open you pdf file by making default to open with a pdf reader software.

John

2
VB and the development of wizards / Re: Start a .PDF from a button?
« on: February 17, 2012, 12:02:24 PM »
You are talking about MSM button or you used the .bat method and you see the black screen?

3
General Mach Discussion / Re: without precision
« on: February 17, 2012, 11:56:14 AM »

You probably have backlash.

Disable backlash and travel to one direction for a few centimeters.
Make zero this axis.
Go to the same direction for 1 meter (lets say) and measure it.
If it is 1 meter exactly, then go back to zero.
Measure it. If you have difference this is the backlash value.

If the measurements are crazy, then your machine might slide somewhere.

John

4
VB and the development of wizards / Re: Start a .PDF from a button?
« on: February 16, 2012, 03:44:59 PM »
I didn't know that!

Very nice work you have done for MSM!

5
VB and the development of wizards / Re: Start a .PDF from a button?
« on: February 16, 2012, 01:29:43 PM »
You can do the following (i don't know whether there is an easier way...)

create with notepad a file with extension .bat (executable with the name you want) eg. test.bat
write inside c:\test.pdf (your exact path!)

On your button write:
Shell ("c:\test.bat")


Hope it helps,
John

6

I have made one similar in the past with success.
You will need to do some settings to mach3
and to create a special electronic board to transform pulses to analog voltage (find attached).

You have to select 2 outputs (1 for CW start and 1 for CCW start)
Go to "Config" -> "Ports and Pins" -> "Spindle setup"
and UNcheck the "disable spindle relays". Select which output you want for CW and CCW.
At "Motor Control" check "Use spindle motor output" & PWM control, and select 5KHz pulse frequency.
At "General parameters" select how many seconds you need for start & stop ramp. (The system will wait after M3 for your spindle to reach high speed.)

At "config" -> "ports and pins" -> "Motor outputs",
select which output you want for the "step pin" (this is the pulse output).

This pulse output from your pc will be connected to the input of the electronic circuit (J3)
and J4 to the inverter (note the polarity).
(The IC J2 can be any buffer like 74HC244)
The circuit needs 18-20VAC for power supply.

Also go to "config" -> "spindle pulley" and set the maximum rpm you want.

Control the speed by code like: S2000 (this is 2000rpm)
or by using the control in mach screen.

The trimmer on the board is the gain. (Here means to make equal the DRO of rpm with the true speed of the spindle.)
To adjust it, start the inverter from mach and give some speed (eg. 2000rpm), now measure (or watch on the inverter) the true rpm,
and adjust the trimmer to make it equal.

If something is not so clear or not mentioned here, ask for it, we may can help.

John


7
General Mach Discussion / Re: Mach 3 slave tweaking question
« on: February 16, 2012, 08:17:39 AM »
No, you can't have different settings for slave axis.
You have to touch the parameters of your servo drive.
(Usually they have 2 paramterers like: "electric gear numerator" & "electric gear denominator")

John

8
What do you mean Hood?

9
Try the following:
Go to "Config" --> "Port and Pins" --> check the box "Sherline 1/2 pulse mode".

Restart the program!

Then check each axis under the "Ports and Pins" --> "Motor outputs"
to see if the configuration is ok.

Hope that helps,
John

10
You can change the JOG feedrate with an external potentiometer.
I use "pokeys" to do that (have a search you will find enough information).
But, there is still the problem that you cannot change speed while moving.
You preselect the speed and then you move. If you change the feedrate while moving,
nothing will happen. You need to release the jog button and press again.

Hope that help.
John

Pages: 1 2 »