Hello Guest it is May 30, 2024, 05:44:25 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 - MN300

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
291
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 11, 2019, 03:26:23 PM »
You need to use Lua script. In this example the first move is absolute, the second is incremental. The \n starts a new line so the G code blocks are processed separately.

--Spindle Offset
local inst = mc.mcGetInstance()
mc.mcCntlMdiExecute(inst, "G90 G00 Z0.1 \n G91 G00 X1.5 Y.8")

292
Limit switches mark the ends of the safe range of travel, in other words, the two limits. You setup is doing exactly what you have asked of it, allowing travel between the turn on and turn off points of the switch. If you only have one switch make it the home switch and use soft limits. Having a limit switch at each end is safer but many people successfully run with only soft limits.

293
General Mach Discussion / Re: C-83 Opto Isolator Board
« on: January 30, 2019, 09:57:43 PM »
http://cncdrive.com/UC100.html
http://cncdrive.com/MC/UC100%20datasheet/UC100%20users%20guide.pdf

The DB25 pinout does not have 5 volts so you will need a supply for the computer side of the C-83. A common inexpensive 5V charger will supply more than the required 250mA. One with a cord would be the easiest to adapt. Be sure to check the polarity, reverse power will damage the C-83. Make sure the output is regulated 5 volts. An unregulated supply will put out higher voltage if not fully loaded.
Here is an example of a 5V charger. You may have one lying around.
https://www.digikey.com/product-detail/en/phihong-usa/PSM03A-050-R/993-1236-ND/4031882

294
General Mach Discussion / Re: C-83 Opto Isolator Board
« on: January 30, 2019, 08:18:39 PM »
https://cnc4pc.com/c83b-optoisolator-board.html
http://cnc4pc.com/Tech_Docs/C83R2_USER%20MANUAL_VER1.pdf

The manual says "It requires two +5VDC@250mA power supply to operate". That makes sense since the computer port  and user port are opto-isolated. Using one supply would defeat the purpose of this board by tying the grounds together.

I see no mention of a 5V connection to the port connectors. You could test for this by using an ohmmeter to see if there is a 0 ohm connection from the port's 5V terminal to any of the IDC26 pins. Another way to test this would be to plug in the port cable and see if the POWER LED lights or if there is 5V at the terminal.

There seems to be a lack of important details in the manual, typical of much hobby grade equipment.

295
General Mach Discussion / Re: Lathe tool table
« on: January 23, 2019, 11:25:49 AM »
I don't know the details of how a tool table works so forgive me if this idea isn't practical.
Assign a new tool number to the new position you want for tool 1. Then use the new number instead of tool 1. Tool 1 remains only as the reference for other tools.

296
General Mach Discussion / Re: Spindle Frequency?
« on: January 11, 2019, 09:51:09 AM »
Test to see if the noise pickup is in the switch wiring by disconnecting the limit switch wiring and shorting at the breakout board inputs. You should be using normally closed switches. If this enables the spindle to run you need to improve your wiring. More separation between the spindle motor cable and other wiring may be needed.

Noise in the DC power supply coupled through the AC mains is another possibility.

297
Mach4 General Discussion / Re: Variable offset in Mach4
« on: December 27, 2018, 07:59:25 AM »
Hi Frank,

If there is too much backlash on the cross slide leadscrew and nut it may not be possible to compensate for that error.
Also, typically a leadscrew is more worn in the middle so the amount of backlash changes with position.

John

298
Mach4 General Discussion / Problem with an MPG
« on: December 17, 2018, 02:24:54 PM »
The manual pulse generator mentioned in this website was installed according to the instructions provided.
https://shane.engineer/blog/making-a-generic-pendant-work-with-mach-4

When an axis was selected the carriage immediately moved at whatever jog speed was set. Turning the MPG encoder would add to the speed. The solution was to filter the A and B encoder inputs with a filter value of 1.
The system has an ESS board with a MX4660 on ports 1 and 2, and a C10R10 BOB on port 3 for the MPG

It’s a mystery why those two functions interact. I am adding this post to help anyone who has the same problem and in hopes someone from Artsoft will address it.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30