MechMate CNC Router Forum

Go Back   MechMate CNC Router Forum > Personal Build Histories > Construction started, but not cutting yet
Register Options Profile Last 1 | 3 | 7 Days Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #91  
Old Thu 17 December 2009, 14:54
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Wiring the machine

I devised a sequence for cabling the machine. I made a lot of mistakes on the other machine and this procedure is the result of that experience. It is only a methodology which you can devise and adapt one for your MechMate. It is done in two stages and a number of steps:

Stage one: easy part
1-the 6mm yellow/green ground wire. It is the easiest but gives a measure of length for some other cables.
2-The Spindle cable. The length of this cable is more or less identical to Z and Y motors. The cables that I bought are marked with their length every meter. I cut a cable adjacent to its length mark to keep a record of the length used. Just at this stage I realized that the arrangement of the control panel is crucial for continuation of the wiring. Now that the control panel is ready, other wirings will be easy.
3-The 12x20AWG cable to the button box is the next. This cable is almost equal to the X1 motor length.
4-Routing the X2 motor cable is the next easy task.

Stage two: hard part
1-This stage is a bit hard since the limit switches and the estops should be connected together in series and for this purpose, suitable junction locations should be devised, also consideration for their shield should be regarded. The result would be 2 pairs of wires. One pair will carry the 12VAC, which is a separate cable, which upon activation will de-activate the main contactor. The other pair will go into the button box and joins the 12x20AWG wire to signal pin 10. this pair is only attached to the Estop buttons. A note: I personally prefered not to include the 12VAC cable in the control signal cable, although there was enough wire to do this. I thought AC voltage might noise the control signals.
2-A 2x24AWG cable will be allocated for the X2 home which will also end up in the button box.
3-A series connection for X1, Y and Z home switches with the same considerations as stated for limit switches, which again will lead to the button box. Or as described below, they can enter independently.

The 12x20AWG can be used in two configurations. A 10 wire configuration which has independent home switches, therefore enabling the use of “REF ALL” in Mach. The pins and port will consist of:
Estop signal , port #1 pin 10
X1 Home , port #1 pin 11
Y Home , port #1 pin 12
Z Home , port #1 pin 13
X2 Home , port #1 pin 15
B Home , port #2 pin 11
Z setter , port #2 pin 12
Pause , port #2 pin 13
Resume , port#2 pin 15
GND

An 8 wire configuration which uses X1,Y and Z home switches as one entry (the normal MechMate preference).
Estop signal , port #1 pin 10
X1,Y,Z Home , port #1 pin 11
X2 Home , port #1 pin 12
B Home , port #1 pin 13
Z setter , port #1 pin 15
Pause , port #2 pin 11
Resume , port#2 pin 12
GND

I decided to wire the 12x20AWG cable, from the button box up to its connector, as with the 10 wire configuration, but to connect the wires on the other half of the connector (i.e. the side that is connected to the control panel) as 8 wire configuration, therefore reserving the possibility of changing the configuration only by changing the wiring inside the panel. 12x20AWG was the only cable available in the market which would suit the purpose.

In addition to these stages there will be one motor and one home switch cable for the 4th axis which will be routed separately.

Routing the ground, the spindle and the Z home and limit switches:
cabling01.jpg

cabling02.jpg

Although it would be very neat to change the wires from the inside of the motor, I am not practicing it, mainly because I read somewhere that opening a stepper motor will ruin it.
I use in between connectors. In my opinion its advantage is that one can change the serial/parallel bipolar wiring only by cutting the motor side connector and rewiring it in a new connector, without changing the motor cabling. The shown connectors are 6 pin.
cabling03.jpg

cabling04.jpg

A plastic cable duct is attached to the inside of the gantry beams to transfer home side cables to the echain side of the machine.
cabling05.jpg

Details of series connection for limits and home switches:
cabling06.jpg
Reply With Quote
  #92  
Old Thu 17 December 2009, 20:06
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
Second picture: I don't see a connection between the ground wire and the gantry?
Reply With Quote
  #93  
Old Fri 18 December 2009, 04:11
Robert M
Just call me: Robert
 
Lac-Brome, Qc
Canada
Send a message via Yahoo to Robert M Send a message via Skype™ to Robert M
I'd say at the 4th pictur, it's there
Reply With Quote
  #94  
Old Fri 18 December 2009, 05:53
Claudiu
Just call me: Claus #43
 
Arad
Romania
Rob, I guess its the Y Car but not Gantry!
It should have been visible in pic 2 where it comes out of the cable chain meeting gantry.
Reply With Quote
  #95  
Old Fri 18 December 2009, 05:55
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
4th picture is connection to y-car (see idler roller and spring below)

In principle, there must be a ground connection between the 2 cable chains.
Reply With Quote
  #96  
Old Fri 18 December 2009, 06:46
Robert M
Just call me: Robert
 
Lac-Brome, Qc
Canada
Send a message via Yahoo to Robert M Send a message via Skype™ to Robert M
Like this one , looking at the 3rd picture top t bottom (“ from the table to the gantry….” )
Reply With Quote
  #97  
Old Fri 18 December 2009, 12:49
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Gerald, thanks for your keen eyes. It is apparent that I have forgotten it. It will be fixed by tomorrow.
Reply With Quote
  #98  
Old Sat 19 December 2009, 13:05
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Mounting the Z axis motor. I changed the spring to 2.5 mm wire. The 2.2 and 2 mm wire went into plastic deformation and the spring did not return to its original length.
cabling07.jpg

Correcting the missed gantry ground terminal and the arrangement of the cables for the gantry and the carriage:
cabling08.jpg

cabling09.jpg

cabling10.jpg

Mounting the Y axiz motor and spring:
cabling11.jpg

Mounting the X2 axis motor. The X1 axis motor will be installed after doing the button box.
cabling12.jpg

The Echain and the duct (open):
cabling13.jpg

End distributor of the cables equipped with flexible hose type cable glands. These will lead into the control panel.
cabling14.jpg

cabling15.jpg

Covering the duct and isolating its sharp edge against the cables:
cabling17.jpg

cabling18.jpg

Cables for the 4th axis:
cabling16.jpg


So far the easy part (stage one) is complete. Now to the hard part:

Before starting, I made this correction. The ground wire was removed from the secondary of the transformer and attached to the negative of main power supply.
cabling22.jpg

All the dangling wires are guided through a flexible hose. Well almost all.
cabling19.jpg

cabling20.jpg

The 12VAC (live) wires of the combined limitswitches and the Estop (in series):
cabling21.jpg

The cable was then checked for circuit continuity with a multimeter, each time activating one switch and of course checking it for a possible short with the shield. The two cable shoes will go into the Estop button of the box.
Reply With Quote
  #99  
Old Sat 19 December 2009, 20:21
jehayes
Just call me: Joe #53
 
Whidbey Island, Washington
United States of America
Nader: This information and the photos of the wiring are extremely helpful. Thanks for your hard work in making them available. This is just where I am in building so the timing couldn't be better. Thanks again, Joe
Reply With Quote
  #100  
Old Sun 20 December 2009, 11:53
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Joe,
Glad they are helpful. If you need any details for the photos I can post it in here.
Reply With Quote
  #101  
Old Mon 21 December 2009, 16:09
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Finishing the button box

The 12VAC circuit of the Estop is shown in the upper picture, connected in series, cableshoe attached to end in two of the NC terminals of the Estop.
It might be worth noting that the gray cable is a 2x2x24AWG cable that brings both the home and limit switch of the Z axis. The home switches are tagged inside the box.
In the lower part the wires are identified; some will connect to the buttons, others connected to the 12x20AWG cable.
cabling23.jpg

A common ground is bound to the switches and the shield wires connected together and isolated.
Two wires were redundant, but I kept them just in case.
cabling24.jpg

The button box installed:
cabling25.jpg

Each and every button and microswitch checked by a multimeter against possible wrong signals, shorts with each other, or with the common or with the shield.

The X1 axis motor mounted:
cabling26.jpg
Reply With Quote
  #102  
Old Wed 23 December 2009, 13:37
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
The motor cables through the connectors. They are tagged on the cable and on the panel for ease of tracing.
cabling27.jpg

Motor cables inside the flexible cable hoses bundled and passed through the glands, off the top of the panel, to provide a clear path of air flow through the fan.
The 12VAC limits/Estop cable and the 12x20AWG cable run through the cable duct to the other side of the panel.
cabling28.jpg

Motors tagged too:
cabling29.jpg

The next step which is very important is to:
1- check the continuity of the motor wires.
2- check for short of each wire with the shield (it appeared that I had one case short, which was corrected).
3- read one by one the resistanse of the coils from the motor to the drivers, while checking any possible short between the two coils. If you are wiring unipolar, this step is very crucial. On the other machine I had one wire mix up which was corrected before starting it up.

The exit side of the cable duct for the 12VAC limits/Estop cable and the 12x20AWG cable:
cabling30.jpg

Again each wire was checked with the related button and microswitch. This is also very important. One might easily mix up the left and right hand glove nature of these connectors and the colours of the wires. I did in one instance.
cabling31.jpg

The general view of the control panel, finished.
cabling32.jpg


Next, I will be configuring the computer.

Today I had an alarming suggestion. I was told that with a PCI parallel board, it is likely that the two ports (on-board port and the PCI port) do not send signal simultaneously. I don’t know whether it is right or wrong, but I hope he is wrong.
Reply With Quote
  #103  
Old Tue 05 January 2010, 12:30
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Making the table

First of all, I wish you all a very happy and prosperous year ahead.
There has been some mixed activities within the last weeks which I will organize and post.

The main (under) board is placed on the machine and set for its position. With a centerfinder, the two outer sets of the holes are marked.
Tableboard01.jpg

The markings are indented with a center punch and drilled 6.5mm. the previously mentioned template that was used for marking the holes on the table beams is used to determine the respective matching holes on the board. A 6mm spring pin will fit inside the hole and through the holes on the board, fixing it tightly in place.
Tableboard02.jpg

Tableboard03.jpg

By using a piece of carbon copy paper, the indent marks of the centerfinder will be more visible.
Tableboard04.jpg

Tableboard05.jpg

The indents of the centerfinder are not deep enough for a reliable drilling, therefore a center punch is necessary to provide deeper indents for a better drilling. The 3 rows in the middle of the board were drilled 6mm.
Tableboard06.jpg

Tableboard07.jpg

A countersink tool with 6mm drill is used to provide the countersinks for the M8 screws.
Tableboard08.jpg

Since this machine will be used for jobs other than cutting, I need some work holding facilities.
The space between the table beams will be marked for holes which will be later used for different kind of clamps. These holes were marked with pencil and drilled 5.3 mm.
Tableboard09.jpg

Next they are drilled with a stepped drill for making countersinks for socket head screws. The depth, enough to hold M8 nut.
Tableboard10.jpg

The next step will be to drill the through holes to 9mm so that the M8 thread could pass through it.
The nuts,along with a washer are coated with epoxy resin and inserted inside the holes. Additional resin is applied to the exposed part of the nut.
While it is setting, a screw should be fastened from the other side so that the nut stands vertical in position. This is very imporatant.
Tableboard11.jpg

Tableboard12.jpg

The main board in place:
Tableboard13.jpg

The second board in place. Again screws must be fastened from below to keep the nuts in their vertical position. They should remain until the resin is completely set.
Tableboard14.jpg
Reply With Quote
  #104  
Old Tue 05 January 2010, 13:49
Robert M
Just call me: Robert
 
Lac-Brome, Qc
Canada
Send a message via Yahoo to Robert M Send a message via Skype™ to Robert M
Darn Nader,
this simplistic but soooo effective approach is indeed nice & fresh to see. I like very much the way you approach you work & methods to execute !
To each it’s own, but for me,….yep …I like what I see…..
Thanks for sharing, it’s keeps my inspiration up !
Amicalement, Robert
Reply With Quote
  #105  
Old Wed 06 January 2010, 10:40
jehayes
Just call me: Joe #53
 
Whidbey Island, Washington
United States of America
Nader: As always, very nice work. I will use your technique when I do mine. Joe
Reply With Quote
  #106  
Old Wed 06 January 2010, 11:14
normand blais
Just call me: Normand
 
montreal
Canada
Hi Nader really proffessional build. To bad your MM is not working it would have zip trough those holes in no time.
Reply With Quote
  #107  
Old Wed 06 January 2010, 14:01
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Thanks Robert and Joe.
Thanks Normand for reminding me of the problem. I have to find a solution for it.
Reply With Quote
  #108  
Old Wed 06 January 2010, 15:37
normand blais
Just call me: Normand
 
montreal
Canada
Looking at your build I cant wait to see what you will be making with the machine.
Reply With Quote
  #109  
Old Thu 07 January 2010, 15:47
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
I made a few clamps. Some from the tailings of the rails and some from 50x50x5 angle iron. Pieces cut, deburred, phosphatized and drilled a 8.5mm hole in the middle and 2 or 3 holes drilled and tapped for M5 screws. These screws are necessary to bite into the wood they are to hold in order to secure them on the table.
Tableboard15.jpg

Tableboard16.jpg

M8 Grip knobs are not available for longer than 60 mm. I bought some grips with internal M8 thread and thread rolled screws which are available in 1 meter lengths. The screw is cut to 120 mm and was fixed inside the knob with Loctite
Tableboard17.jpg

Tableboard18.jpg

If you intend to use your machine for mostly cutting jobs, then Normand’s note is quite valid, but if pocketing and 3D carving is what you mostly do, then the arrangement that I chose would be practical. But since profiling and cut-out is almost inevitable in most jobs, I devised another spoil board. It is cut from the scrap boards laying around the workshop, in different sizes, and drilled with a template, again made from scrap boards. It will sit on the main spoilboard and will be scratched, leaving the main spoilboard intact (I’m really spoiling the spoilboard!).
Tableboard19.jpg

Below pictures show the configuration of the clamps in action. Please note that the knobs are not fully tightened to show the arrangement.
Tableboard20.jpg

Tableboard21.jpg
Reply With Quote
  #110  
Old Fri 08 January 2010, 01:51
m_leblanc
Just call me: MARS
 
SHAWINIGAN
Canada
Quote:
Originally Posted by normand blais View Post
Looking at your build I cant wait to see what you will be making with the machine.
I wouldn't do anything with it, I would rent a showroom and have body guards to watch it while I would do the entertaining and answering questions.

It's almost a shame to make dust with that kind of tool
Reply With Quote
  #111  
Old Fri 08 January 2010, 02:07
Claudiu
Just call me: Claus #43
 
Arad
Romania
Absolutely True, Mars
Reply With Quote
  #112  
Old Mon 25 January 2010, 09:08
javeria
Just call me: Irfan #33
 
Bangalore
India
hello atif - miss you - why did you stop posting?
Reply With Quote
  #113  
Old Tue 26 January 2010, 13:29
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Hello all,

Sorry for the delay. The machine is running but I have been through some adjustments, fine tunings, last minute works and also a lot of work on Artcam, DeskProto and PowerMill, CNCToolkit, and finding software for 4th axis. As before, all works are documented and I will tidy them up and post them in a short period.
Reply With Quote
  #114  
Old Fri 29 January 2010, 13:46
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
A note worth reminding:

In one of his posts, Gerald suggested to isolate the motor’s shaft end opening, to be sealed with some adhesive tape.

minor01.jpg

Some other modifications were done prior to starting. I replaced the springs that hold the motors to the racks with the same number of turns, but with 2.2 mm wire. Now the gantry is really hard to sway. The reducers that I made are quite heavy and the current calculations for the spring tension don’t apply.

I also relocated the spring anchor as was shown in picture “Zgearbox05”, a little further up in order to provide more leverage.

The grub screws were another problem. Using Loctite would solve the problem forever, and I mean forever. That would include no possibility for the replacement of the pinions in the future. I tightened them, injected a couple of drops of aceton into the hole to reduce the surface tension and then some nail varnish around the screws. Later, I can loosen them by using some aceton.
Reply With Quote
  #115  
Old Fri 29 January 2010, 13:50
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Some notes about attaching parallel port boards:

Installation is quite easy. You open up the case, put it in place, start the computer and install the provided software. Mine is a Wipro (around $11) which works fine. You then open the device manager and note the port number from its properties which you will need later to enter in Mach.

I see a delicate problem though, which might be nothing more than an obssesion, but I appreciate any comment on it.
The parallel port inlets on my control panel are isolated from the common ground and the earthing (which are virtually the same).
I ran a ground wire from the computer case to the “earth hub” inside the control panel. From which a single 6 mm ground wire leaves for the earth well.

Now the tricky part:
The PCI parallel board is screwed to the case itself, so this one is actually attached to the common ground.

What is happening:
When the panel is off and the computer is on --- I see the LED’s on the breakout board having a dim glow.
More strangely: the LED’s on the 12/5 VDC power suppy also have a dim glow.

Now:
When I disconnect the power supply wires from the breakout board, the glow on all LED’s are gone, which indicates that there is a current flow from the computer to the breakout and to the power supply and back.

I wonder why is this happening? What is astonishing is the fact that all LED’s glow, disregarding the fact that some pins source current, and some sink.

So far there has been no problem regarding its operation, but this phenomenon annoys me. I hope someone could help me to figure this out.
Reply With Quote
  #116  
Old Fri 29 January 2010, 13:56
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Setting up the Mach

I do not have the Mach3, but I have an old version of Mach2 which served me fine through years. I suspect I could activate the Z setting function with Mach2.

Posting the xml files will do no good since you all work with Mach3 and I suppose the xml configurations should be different. But I have provided the parameters for my tuning which might prove to be a useful guideline to set the machines.

Three configs were devised:
1- XYZ config
The B axis was used to slave the X2 axis for X axis.

2- XYZ-A config
The B axis was used to slave the X2 axis for X axis.
The A axis was used for rotary motion.

3- XYZ-B config
This config could be used with RhinoCAM, since you can define 4 axis milling strategies both in XYZA and XYZB.
The B axis was used to slave the X2 axis for X axis.
The A axis was used for rotary motion.

Since I had extra input pins, I assigned home switches separately to each pin, therefore accidental clicking on the “ref all home” will do no harm.

The following pdf files are the first two configs. Also a blank sheets which you might find useful.

MachConfig.pdf

MachConfig XYZ.pdf

MachConfig XYZA.pdf
Reply With Quote
  #117  
Old Fri 29 January 2010, 14:01
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Something strange:

During setting up the Mach, I had the VFD switched off. As you have noticed, an automatic fuse is installed inside the panel which isolates the VFD, monitored by the “VFD Online” signal lamp. This has been implemented to protect the VFD, while going down its shut down sequence (which is quite long when you are testing the integrity of the panel). When I first switched on the VFD, and started the machine, the motors started vibrating and moving back and forth in an uncontrollable manner, when I turned the knob to increase the rpm. I shut down the system and tried to figure out what was the problem. Certainly it should be a noise, but where? To bring a long story short, the problem was in the DELTA’s “original part”, EMI filtered, and shielded cable that connected the mini keypad to the VFD.

You could see the initial arrangement of that cable in picture “panelwiring28”. It exerted a profound noise on the ribbon cables that connected the breakout board to the DB25’s mounted on the panel. By relocating it according to the below picture, keeping it out of the ribbon cables, all troubles were gone.
minor02.jpg

Lessons learned:
1- When installing the VFD inside a panel, take extra care in isolate the wiring.
2- Never trust that decorative glands named noise filters on any connecting cable, disregarding of who is the manufacturer (period). It is an aesthetic something, only to cost me $25, which I could do it myself with a tenth of that price and wasting a whole afternoon to track a defect.
Reply With Quote
  #118  
Old Fri 29 January 2010, 21:09
Gerald D
Just call me: Gerald (retired)
 
Cape Town
South Africa
Quote:
Originally Posted by Atifeh View Post
The grub screws were another problem. Using Loctite would solve the problem forever, and I mean forever. That would include no possibility for the replacement of the pinions in the future.
The big enemy of LocTite is heat. To loosen a LocTite joint, just apply the tip of a blue flame for a short period.

Quote:
Originally Posted by Atifeh View Post
I see a delicate problem though, which might be nothing more than an obssesion, but I appreciate any comment on it.
The parallel port inlets on my control panel are isolated from the common ground and the earthing (which are virtually the same).
See this post.

Quote:
Originally Posted by Atifeh View Post
I do not have the Mach3, but I have an old version of Mach2 which served me fine through years. . . . Posting the xml files will do no good since you all work with Mach3 and I suppose the xml configurations should be different.
We changed from Mach2 to Mach3 some years ago. There wasn't a big change between XML's. But I do remember that the step and direction pins became reversed with each other.

Quote:
Originally Posted by Atifeh View Post
Lessons learned:
1- When installing the VFD inside a panel, take extra care in isolate the wiring.
2- Never trust that decorative glands named noise filters on any connecting cable. . . . .
When we built our machines, we were concerned about the type of issues you faced, so we adopted the following:
- no connectors at the control panel. Run cables through glands (cord grippers) or just holes directly to BOB and drives
- mount the spindle VFD in its own enclosure away from the control panel
Reply With Quote
  #119  
Old Sat 30 January 2010, 05:51
Atifeh
Just call me: Nader
 
Tehran
Iran
Send a message via Yahoo to Atifeh
Gerald, thanks for all your helpful notes.

Actually I made the parallel port connections from Alan's thread. The metal part on the DB25 does not touch the control panel. So even if the parallel port cables should be internally shielded to those metal parts, there will be a discontinuity. It seems that there must be a problem with this isolation. I will check that out and post.

From what you mentioned about mounting the VFD inside the control panel, I assume the whole control panel has been turned into a noise trap due to VFD's function. Is that right?

I will also try some arrangements for future to route the cables directly to the drivers.
Reply With Quote
  #120  
Old Sat 20 February 2010, 17:59
kostas5
Just call me: KOSTAS5
 
WARSAW
Poland
nader
very good joop ..bravo and good luck
kostas
Reply With Quote
Reply

Register Options Profile Last 1 | 3 | 7 Days Search Today's Posts Mark Forums Read

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
#11 Has died a fiery death– Cape Town (S. Africa) Alan_c MechMates already cutting 556 Tue 10 August 2021 21:54
Now has AC SERVOs #111 – Georgetown, TX 711man MechMates already cutting 95 Tue 10 July 2018 12:24
New MechMate painted, with experimental control box - Atibaia, Brazil zetacnc MechMates already cutting 48 Tue 13 July 2010 00:37


All times are GMT -6. The time now is 05:00.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.