Hello Guest it is September 23, 2023, 07:33:15 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 - mrprecise44

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 »
PoKeys / Re: pokeys 56u and postep 25-32 setup for cnc 6040
« on: October 04, 2014, 03:37:59 PM »
I misquoted the frequency.
The CNC4PC charge pump is the "C4" board, and the frequency put out by Mach3 is 12.5Khz, not 5khz.


PoKeys / Re: pokeys 56u and postep 25-32 setup for cnc 6040
« on: October 04, 2014, 02:46:42 PM »
Hi Dave:

The pin1, Enable signal does not specifically connect to the Pokeys board. It is activated by a "High", +5v, or a "Low", 0v. The Enable signal tells the amp to turn on, or off.
In most systems, the amps cannot turn on until Mach3 is in control. This is is accomplished by the "Charge Pump" output signal, which is a 5kz signal that can cause a "Safety Charge pump" to activate a relay, which turns on the "Enable" circuit of the amplifier.

CNC4PC sells a little board which measures about 2" square, which can read this 5kz output signal. it has a relay with a N/O, Com, N/C terminals, and a red LED which turns on when the 5kz signal is output by Mach3. The Pokeys board will output the Charge Pump signal. The Pokeys specs will tell you how to connect to the correct pin for the Charge Pump output signal.

In the case of the PoStep 25-32, the Enable pin must see 0 volts, logic "0"; this is backwards from most other amps, which need a +5v signal, logic "1"  The earlier
PoStep 25 amp was +5v "Enable," 0v "Disable." I am sure the Engineers at Pokeys had reasons to change the polarity, however it makes it difficult to mix the older Amp with the newer model.

When the Enable signal is working properly, the Amp will light up a green led, showing it is Active.  If you use a CNC4PC charge pump, wire the Enable pins of the amps to the NC terminal of the relay, and a +5v to the Com. When the system is first turned on, the +5v goes direct to the Enable pins, and the Amps will be in the "Disable" state. When Mach3 is in control, the 5kz signal will pull in the relay, and the +5v will be directed to the N/O pin, which has nothing connected to it, and the N/C pin will go "Low", or 0v, and the Amps will turn on, "Enable."

This Enable/Disable is necessary because you don't want the amps to turn on until Mach3 is running, and the system is in control.

The 2,4,6,8,10 pins can be all tied together, and a single wire from that goes to GND.


PoKeys / Re: pokeys 56u and postep 25-32 setup for cnc 6040
« on: October 03, 2014, 10:04:44 PM »
Hello dieseldave:

The Postep driver has a schematic available on the Pokeys website, or at CNC4PC.  A picture is better, but here is the pinouts.

Looking down on the connector, with the notch at the top, are (2) rows of 5 pins.
Top row, numbers from 1 on the right end, are ODD numbers; 
Bottom row, numbers from right end are EVEN numbers;

______ [      ]_______
9     7      5     3      1
10   8      6     4      2

Pin 1 Enable, ( 0 = enable, 1 = disable)
Pin 3 Direction
Pin 5 Step
Pin 7 Error (from PoStep to controller) O.C.
Pin 2,4,6,8,10 GND
Pin 9 Not connected

You can get a ribbon cable and connector, and split the cable wires to make up to the pokeys.  Tin solder the wire ends after stripping, to keep the
wires neat. If you make up your own cables, make sure the red wire in pin 1.

Drawing is in the PoStep manual.

Make sure to have a motor connected to the PoStep driver before applying power. !!!


dspMC/IP Motion Controller / Re: Dspmc Encoders not in sync with mach 3
« on: October 03, 2014, 09:38:57 PM »
Hello GfactShop:

I have a 7761 Vital Systems controller, and am running Mach3 ver. 066 with no problems. However, when I first setup the machine some years ago, I used the original encoders. My system is powered by WestAmp drivers, +/- 10v, and the original encoders were BEI, 2000 ppr. When testing, the machine would not repeat to the same position. it was off a small amount, maybe .06" in 10" or 12" travel from a given start position. This error was not noticeable unless you moved to a point about 10" travel from start, and stop with a dial indicator to indicate accuracy. Everything seemed in order, and the motors ran smoothly per setup with the graphics in the software.

My problem was the encoders shared the A-, B-, Z- ground wires, with a single wire. The Vital Systems I/O has connections for A+, A-, B+, B-, Z+, Z-, and 5v.
I changed the encoders to the AMT-102 and the Differential line driver, which has all the proper +/- encoder connections, and the machine holds repeatably to .0001.

My machine was a retrofit after the original controller failed after many years. The Amps, motors, limits, etc were all working fine, but my machine was "brain dead."
The machine sat for several years until I got the Vital Systems controller, which could run the analog servos.

The mill now runs smoother, faster than the original. The AMT encoders are small enough to put inside the rear motor case, and are connected to the wire loom with an RJ45 connector, wired into the original encoder loom, which did have all the wires for A+, A- etc, but was not required by the old system. The encoder connects to the differential line driver with a 5 wire connector, and the RJ45 connector, which has 8 wires,  plugs into the other end.

The AMT encoders are DIP switch settable with 16 resolutions from 48 to 2048 ppr.

The encoders are available from CNC4PC.


General Mach Discussion / Re: Arduino Charge Pump Code/Sketch?
« on: September 18, 2014, 12:02:33 AM »
I am curious as to why it doesn't "fit the bill" as you say.

For what it is worth, I am also a big fan of the Arduino, and have made lots of things with them, including a Modbus/Mach3 bench setup with an Arduino, and a PP board C10 by CNC4PC,  for Feed rate and Rapid rate and some pushbutton control of basic functions.


General Mach Discussion / Re: Arduino Charge Pump Code/Sketch?
« on: September 17, 2014, 09:51:08 PM »
If you get a "Charge Pump board" from CNC4PC, and connect the CP input terminal to the Charge Pump output in "Ports and  Pins", the Charge pump relay will open and close, as well as light up an LED showing the Charge Pump output 12.5 khz signal is on or off. The charge pump is a little circuit board about 2" square, with screw terminals for all I/O, and is 5v. The relay has N/C, N/O, and Com terminals.

However, no programming is required, so it may not suit your requirements.


General Mach Discussion / Re: Need help smoothing out 4th axis..
« on: August 21, 2014, 03:20:39 AM »

If you just jog the rotary axis by itself, does it run smoothly, and go fast and slow according to your feedrate settings?

Set the X axis to 0.00; set the A axis to 0.0 degrees. Do an MDI like G01 X300 A180 F1000.

The two axis should run smoothly in sync, and take about 15 seconds.   

General Mach Discussion / Re: Need help smoothing out 4th axis..
« on: August 20, 2014, 12:14:03 PM »
It sounds like you have the Motion Mode in General Config set to Exact Stop. Also, try setting the Rot mode to Ang short Rot on GO.

No, this is not how 4th. axis should work.

Also, have you set the 4th. axis settings in Toolpath Configuration? The rotary axis will not work correctly without the right parameters.

Config Menu; open Toolpath;

Set the Axis of rotation;  check the box "A-Rotations Enabled; set the radius value for the feedrate.



G-Code, CAD, and CAM discussions / G18 display vs G19 tool path display
« on: August 08, 2014, 06:16:50 PM »
This is probably one of the gremlins that "is", but does anyone know if an earlier
version of Mach3 displays G18 properly.

This G-code is running in the latest version of Mach3, ver R3.043.067.

For those who have not used it, G17 is the X-Y plane, G18 is the X-Z plane, and G19
is the Y-Z plane.

If you want o cut a half round pocket, moving in the X or Y direction, with a ball mill,
these are the G-codes you would use.

The displays is fine for G19, but the G18 tool path is totally out of whack, but it
cuts correctly.

I spent quite some time trying to correct the G-code, but finally realized it is a
Mach3 problem.

This example works properly.

( G19 G-code example program )
G00 X0 Y0
M6 T3
G43 H3
G0 X0 Y0 Z.1
G01 Z0.0 F20

M98 p1000 L5
G00 Z.1
G4 P2
G00 Z.5 M5

( G19 subroutine )
G19 Y-1 X#11 F40
G3 Y1 J0 K0
G01 X#11
G2 Y-1 J0 K0

If you load the above G-code, the image in the tool path display is a half-round pocket,
1" radius, cut by alternate cw, ccw cutting arcs in the Y-Z plane, advancing .1 with each
arc in the positive X direction. #11 is the parameter used for incrementing the X travel
after each cutting arc.


( G18 G-code example program )
G00 X0 Y0
M6 T3
G43 H3
G0 X0 Y0 Z.5
G1 Z0 F10

M98 p1000 L5
G0 Z.5

(G18 subroutine)
G18 X1 F40
G3 X-1 I0 K0
G1 Y#11
G2 X1 I0 K0
G1 Y#11

The above G18 G-code is the same basic routine, but the half round pocket is in the X-Z plane,
advancing after each G3, G2 arc in the Positive Y direction. If you loaded the code, the tool
path display shows a complete circle, half above the stock Z0 surface, which is NOT where the
tool ever goes. Running the code shows the machine working correctly, and all the G3 arcs are
cut, but the tool path is not where the G3 arc display shows. The G2 arcs are correct, and
follow the tool path lines.

When I first wrote the code, I thought the coding order was wrong, and kept trying to fix it.
I finally ran the program, and then saw it was the display problem, not incorrect G-code


Thanks TP:
I have just subscribed to the CandCNC forum, and read quite a lot of their PDF files on the THC systems. Have not logged into the forum yet, as my application was just approved about an hour ago.
Personally, asking a question on the forum is not my cup of tea, but I do scan for commentary of interest.

Appreciate the feedback.


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 »