Hello Guest it is April 20, 2024, 04:20:29 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.


Messages - Steve Stallings

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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »
401
Mach4 General Discussion / Re: Version 2803 Problems
« on: December 28, 2015, 01:56:16 PM »
The concept of "charge pump" signals has changed with build 2803.

Mach4's core never generated the actual charge pump pulsing signal,
it simply controlled the static logic state of the signal with that name,
sort of acting like and on/off switch for the charge pump.

When 2803 was released any newly created profile will list these
signals as Reserved and they still have the same index into the array
of signals available. If an existing profile is used, Mach4 will not rename
the signals and they will appear as Charge Pump, but plug-ins will still
find them at the same index into the array of signals.

This change was supposed to make things easier to understand.  8-)



402
A workaround for this issue might be to re-configure the keyboard plug-in
so that all the jog functions require Shift, Alt, or Ctrl to be held down.
My choice would be to change the defaults so that Incremental jogs
require Alt and normal continuous jogs require the Ctrl which is just to
the left of the arrow keys on most keyboards. Rapid jog would still use
the Shift key.

You can access the keycode settings by using CONFIG > PLUG-INS and select
the keyboard plug-in.

403
Mach4 General Discussion / Re: Add a laser to my CNC
« on: December 21, 2015, 03:02:31 AM »
OK, settle in for a long post. Taking this from the top.....

For a typical CNC machine there may be many different "grounds".

The first is the safety ground. It starts as the ground wire that comes
to the machine through the mains power cord and should be connected to
the frame and cabinetry of the machine. When other considerations tempt
you to not ground the frame to the mains safety ground, think again.
Safety is the most important thing. Your computer, unless it is a laptop
or tablet, will also connect to this safety ground.

The next ground is the signal ground used by signals coming out of the
USB and parallel ports of the host computer. This ground is necessary
for the interface to "look" at the signals.

Desktop computers internally connect the safety ground to the signal ground
of USB ports and parallel ports. This is where problems can arise from ground
loops when the safety ground of the machine and the safety ground of the host
compute are not at the same voltage potential. This can happen when other
devices on the mains circuit are causing current to flow in the safety ground
wires of their mains connection. In industrial settings this can be tens of
volts sometimes. When the USB or parallel port cable is connected to the host
computer, and the signal ground at the machine is also connected to the
safety ground, then the ground wire in the USB or parallel port cable will
try to short these two grounds together and current will flow through
the ground of the cable. This is called a ground loop and it is not a good
thing.

The first step in avoiding ground loops is to power the host computer
from the same outlet or power strip as the machine. This will minimize the
magnitude of any voltage offset between the grounds. The next step is
to use an interface design that electrically isolates the signal ground of
the host computer from the safety ground of the machine. Low cost
interfaces such as the SmartBOB USB do NOT provide this isolation so
the quality of the safety ground wiring becomes more important.

Ground loops can also be avoided by using interfaces with isolation. This
can take the form of isolation on the host port side, or isolation on the
machine signal side. Sometimes both are utilized.

Isolation on the host port side can be implemented via Ethernet connections
which are, by design, isolated by a signal transformer. Isolation can also be
provided by special versions of the USB port on the controller or by an
isolation device in the cable between the controller and the host computer.

Isolation on the machine side can be provided by devices such as opto-isolators
and/or by simply avoiding connections between the machine interface signal
ground and the safety ground of the machine. It is common for axis motor
drivers to internally provide opto-isolation of their Step and Direction
signals. Geckodrive, Leadshine, and most packaged stepper and servo drives
do this. For low cost interfaces that do not have isolation circuits for the
machine control and status signals typically extend this concept by not making
connections between the control signals and the machine frame. This can be as
simple as not grounding limit switches and sensors to the frame of the machine,
and by using mechanical or solid state relays on output signals. When doing
this it becomes important that power sources for the sensors or relays are
also not grounded to the machine frame.

You mentioned that you are using a PMDX-132, and it provides opto-isolated
inputs for limit switches and sensors. This will allow you to connect the
ground side of these sensor inputs to the machine frame if necessary, but
without any special reason to do so, I would not.

When using axis motor drivers with isolated Step and Direction signals the
negative side of the power to the drivers can usually be connected to the
frame of the machine as long as that power supply is not powering anything
else such as sensors that connect to non-isolated inputs on the controller.
It is common to connect the negative side of this power supply to the frame
ground as it will often reduce the level of electrical noise radiated from
the motor wiring. Do not do this if your axis motor drivers do not have
isolated Step and Direction inputs.

In your case, you mention that have a PMDX-132 for mounting your axis motor
drivers. The DC power connections to it go only to the Gecko motor drivers which
have opto-isolators for the Step and Direction signals. The power supply going
to the PMDX-132s motor power connector can safely have its negative side tied
to frame ground of the machine as long as nothing else powered by it has a
grounding conflict.

Again, in your case, you mentioned a scavenged PC power supply being used for
accessory power. This power supply will, by design, have its safety ground
and the negative side of its outputs internally connected together.

Your proposed ElCheapo laser vendor does not document how the PWM interface
is implemented, but it is likely that the PWM signal uses the same ground
reference as the power input. This in combination with the scavenged power
supply having its negative side tied to safety ground means that whatever
drives the PWM input of the laser will also get its signal ground tied to
safety ground through the lasers power supply. In the specific case of the
PMDX-132, the logic level control outputs are opto-isolated from the host
computer port, but share a ground with the limit and home signal inputs.
This means that you should be able to safely connect the negative side of your
scavenged power supply to the ground of the J9 output signal connector of the
PMDX-132. This analysis applies ONLY to the PMDX-132 and is not valid for
other boards or to the PMDX-410's direct outputs. You must use the J9
connector on the PMDX-132.

I know this was a long description, but I hate giving a simple answer without
explaining the reasons for it.

404
Mach4 General Discussion / Re: Add a laser to my CNC
« on: December 20, 2015, 11:21:09 AM »
Sorry, I missed the optional PWM connector.

If you have a PWM input, you do not need a PMDX-407, just configure
the spindle output in our plug-in to output on pin 14 or pin 16 and
feed that to the PWM input of the laser.

You will still need a 12 VDC power source for the laser and the negative
side of that power source must also connect to the GND on the
PMDX-410 so that the PMDX-410 and the laser share a ground
reference.




405
Mach4 General Discussion / Re: Add a laser to my CNC
« on: December 19, 2015, 10:13:32 PM »
Their newer units seem to simply offer higher power, but still require
the input power to be switched. Other than lacking a power level
adjustment, this will still work fine for simple vector cutting.

406
Mach4 General Discussion / Re: Add a laser to my CNC
« on: December 19, 2015, 09:33:49 PM »
OK, this guy does NOT have a logic level ON/OFF signal, so you will
need to use a relay or an electronic switch that can handle the 1.77
amperes that it is designed to draw.

With a relay you will not be able to modulate the power level, nor
switch it fast enough to do raster style engraving. You can adapt
to the power level by controlling your motion speed.

407
Mach4 General Discussion / Re: Add a laser to my CNC
« on: December 19, 2015, 11:18:28 AM »
Most small diode lasers have an input that is designed to take a PWM signal to turn
the laser on and also to control its power level. This input will take a logic level
signal and the main power input is left on continuously. Your breakout board most
likely has some outputs that are logic level that you can use to control the laser
in this way.

I don't know about configuring Vectric, but the most sensible way to configure
Mach4 is to use the spindle controls for the laser. M3 and M5 would turn the laser
on and off while the S word would control the PWM to set the power level.

The above will result in "exact stop" operation with the motion being planned
to come to a complete stop before the M3 or M5 turns the laser on or off.

Mach4 does have provision for some special M codes to turn a signal on or off
without stopping but you may not be able to use these because, first they
do not allow for PWM to control power level, and second, most controllers
do not yet support these codes. This is true for the PMDX SmartBOBs.

408
Not going to happen on an iPad because there is no way to run Mach4.

There are reports that some people have run Mach4 on a Surface Pro.

409
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: December 14, 2015, 04:56:39 PM »
This sounds like a classic setup issue with the direction signal driving the step input and vice versa.

Every other time the direction changes the motor will take one step.

Check your wiring and/or Mach4 setup.

Steve Stallings
PMDX

410
Mach4 General Discussion / Re: Mach4 Install on XP
« on: December 14, 2015, 11:06:01 AM »
Thanks, but since installing .NET cures the problem, this is mostly an academic question.

I want to know so I can avoid possible issues in the future with non-Windows systems.

The guy writing the core code assures me that there are no .NET dependencies in
the code, but something could have crept into the installer along with all the non-core
stuff that gets into the package.

My regular test XP machine has been running Mach4 for well more than a year and it may
have something successfully installed that cannot now be installed without .NET present.

Steve Stallings
PMDX

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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 »