Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: cncfreakcncfrea on May 28, 2013, 01:41:49 AM

Title: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 28, 2013, 01:41:49 AM
OK below is  a link of my converted cnc lathe:

http://youtu.be/Ws-0u15YJxE

Got some tuning issues here, when I run Gcode from Visual turn, the movement is not 1:1, but when input let say G0X0Z100 @ MDI, the Z axis does move to 100mm.
The DC motor encoders' are 1000 lines.
For X axis: both gears are T22, which is 1:1, so step per = 1000 x 4 (1000 x 4 for quadrature) =4000/rev.
1 rev  = 5mm therefore 1mm = 800.
Currently the X step per = 33 not 800. If I use 800, the X axis would exceed travel limit...

help..
Title: Re: Getting small movements which not supposet to..
Post by: Hood on May 28, 2013, 06:10:09 AM
What drives are you using? Could there be electronic gearing in the drive so that one pulse sent from Mach could be seen by the drive as X amount?
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 28, 2013, 07:25:21 AM
Hi Hood,
             I'm using this drive:
http://www.leadshine.com/Product_Show.aspx?ID=79
Ok I thought this drive do not have electronic gear ratio, the stepper driver from Leadshine use dip switches for micro stepping so I thought the DC servo drive might have the same for electronic gear but not.

Title: Re: Getting small movements which not supposet to..
Post by: Hood on May 28, 2013, 07:47:42 AM
It does according to their specs on the page you linked to, see screenshot.
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 28, 2013, 08:52:56 AM
Thanks Hood, will do the tuning tomorrow.
Title: Re: Getting small movements which not supposet to..
Post by: Hood on May 28, 2013, 10:50:14 AM
I had a look and there is a setting in the software for the gearing, you will just be wanting 1:1 likely.
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 29, 2013, 01:15:58 AM
Sholdn't 1:1 be the default setting?
Installed Pro tuner, but can not connect between the DC servo drive and PC due to bad connection RS232, the PCIe RS232 card from Uptech.
Need to sort this out 1s.
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 29, 2013, 02:02:24 AM
I switch to another PC which has a RS232 on board, got connection between the drive and pc and here is what it looks like:

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/Pro-tuner_zps7e97667d.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/Pro-tuner_zps7e97667d.jpg.html)

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/Pro-tuner2_zps4dfe6547.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/Pro-tuner2_zps4dfe6547.jpg.html)

sorry for the 2 image screen shot, don't know how it happened..
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 29, 2013, 02:28:23 AM
(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/IMG_0416_zpsb1e174c8.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/IMG_0416_zpsb1e174c8.jpg.html)

I chaged the value of CAM_numerator: 1 to 8, CAM_denominator:1 to 3 then start....
I'm still suspecting the cause is Visual Turn not the tuning....
Title: Re: Getting small movements which not supposet to..
Post by: Hood on May 29, 2013, 03:56:47 AM
The setting should be 1 and 1 if wanting un-geared input. Easy way to tell if it is CAM or Drives is command a move via MDI. If you zero the X DRO then command a move such as G0X20 then the X axis should move to that point. I will assume you are set up in Diameter mode so with a X20 move commanded the X axis should move 10mm (I think you are using metric units?) If set in Radius mode then the axis would move 20mm.

Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 29, 2013, 05:09:33 AM
For the DC servo drive I didn't change the value so it still CAM_numerator = 1 , CAM_denominator = 1.

Mach3 Motor Tuning:
X: (http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/DSC05910_zps0a78fb01.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/DSC05910_zps0a78fb01.jpg.html)

Z: (http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/DSC05911_zps2229da54.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/DSC05911_zps2229da54.jpg.html)

In MDI I typed G00X-10Z0, then watching the X axis travel toward the stock direction by 10mm.
Video:
http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/M4V05916_zps171cd6de.mp4.html

I also included a gcode output from Visual turn.
Title: Re: Getting small movements which not supposed to..
Post by: cncfreakcncfrea on May 29, 2013, 12:24:27 PM
Remember I said the Step per was 33 at the beginning of this post, I realized Mach is causing it, so I re-installed Mach3 just before I uploaded the pictures in the last post.
The Dc servo drives are ok, I think is the software that is causing the problem, could it be the Mach3 post processor in VT?
I will try this tomorrow, open a example file in VT (Visual Turn), the file is in inch, change unit to metric, then scale it up the diameter of the part from 7mm to 50mm:
http://youtu.be/WF1sAixhQMY


Title: Re: Getting small movements which not supposet to..
Post by: Hood on May 29, 2013, 03:55:00 PM
Ok if your X axis is moving 10mm with a 10mm command then you have Mach in Radius mode so you will need to make sure your CAM is set to radius mode. Personally I prefer Diameter mode.

Your code attached above is in inches, I think you said your machine was set up in metric. If so you would be better trying to get the CAM to use metric.
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 29, 2013, 07:47:59 PM
Ok if your X axis is moving 10mm with a 10mm command then you have Mach in Radius mode so you will need to make sure your CAM is set to radius mode. Personally I prefer Diameter mode.

Your code attached above is in inches, I think you said your machine was set up in metric. If so you would be better trying to get the CAM to use metric.
Hood

"will need to make sure your CAM is set to radius mode"
mm..ok, will look into that.
Yes I use metric only. I have attached a new Gcode file, would you mind have a look at it see if it is in inch or mm?

thanks,
Title: Re: Getting small movements which not supposet to..
Post by: Hood on May 30, 2013, 02:44:17 AM
That one is metric, you can see that by the G21 at the start, the previous one had G20.


Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 30, 2013, 06:11:23 AM
Ok, I got an reply from Mecsoft:

1. Make sure the scale factor for X coordinate under the Motion tab in your post processor is set =1 to output in radius mode.
2. G20 represents output in inches and G21 for MM. You can change this under the General tab in your post processor.

To edit the Mach3 post processor, select Post Process from the menu bar in VisualTurn and click Post Processor Generator. Select the post from the list and click edit.
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 31, 2013, 12:00:22 AM
Is all tuned and running!!

X axis:
(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/Xmotortuning_zps07eaaf76.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/Xmotortuning_zps07eaaf76.jpg.html)

Z axis:
(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/Zmotortuning_zps16deff4e.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/Zmotortuning_zps16deff4e.jpg.html)



Something else bothers me is that extra bit, funnel shape circled in RED:

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/Extrabits_zps7c40192e.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/Extrabits_zps7c40192e.jpg.html)
Video @ 8:11

video link:
http://youtu.be/RS-47_u-DQ0


Title: Re: Getting small movements which not supposet to..
Post by: Hood on May 31, 2013, 02:46:41 AM
Couple of things, first regards the shape circled in red. Dont worry about that it is just the way Mach Turn displays the part, it looks at all feed moves and thinks they are within the part. Normally Cam would have  rapids close to the end of the stock (to your designated start point) but looks like yours may be using G1's.

Ok the second thing, yes your spindle does seem a bit slow.

Third, I suggest you programme in feed per rev (G95) rather than feed per minute (G94) It is the normal way to do things on a lathe and it means you will always be feeding at a suitable rate even if you call a slower/faster spindle speed. Normally on my big lathe I will rough at 0.3 to 0.35mm/rev and finish at 0.15 to 0.2mm/rev (depends on nose rad of the tool) My lathe is quite solid and has a hydraulic chuck so the roughing is no problem. On the wee lathe I would likely be roughing at 0.2 to 0.25mm/rev.

Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 31, 2013, 11:18:59 AM
About the G94 G95:

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/G94G95-2_zps61ca08cd.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/G94G95-2_zps61ca08cd.jpg.html)

My current setting is as above.
Title: Re: Getting small movements which not supposet to..
Post by: Hood on May 31, 2013, 01:09:45 PM
Thats scary stuff there ;D

Thankfully it seems like your post processor is not putting in the G95 (It should) as if it did you lathe would take off at max rapid and try and do its cutting. What you have above is for every revolution of the spindle the axis will travel 800mm.
 When doing feed per rev it will be a fraction of a mm you want your feed set too,  as I mentioned in my previous post.
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on May 31, 2013, 07:24:14 PM
How do I tell if G95 has been output? will it show in the first line of the Gcode?

"What you have above is for every revolution of the spindle the axis will travel 800mm.
 When doing feed per rev it will be a fraction of a mm you want your feed set too,  as I mentioned in my previous post."


so are you suggesting to change all 800mm/rev to 0.35mm/rev?, like this:

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/035mmperrev_zps36c6cb1a.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/035mmperrev_zps36c6cb1a.jpg.html)

Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 01, 2013, 02:44:54 AM
That programme has a very unusual strategy for calling feeds. Normally you would just have a feed to call and the programme would do all non-cutting and non-approach moves automatically as rapids. You don not seem to have that choice as such, you have the choice of rapids for Tf but not the others. You can obviously put a high value in them and Mach will treat them as rapids though.

Anyway I would suggest you try 0.3 Af, Ef, Cf, and Rf and possibly have large numbers entered for Pf and Df and leave Tf as Rapid.
Make sure you cut air for the first time to make sure it is working as expected.

Also the code needs to have a G95 near the beginning and it will also be a good idea to change Mach to default to G95, that is done by adding G95 to the Initialisation string on the General Config page of Mach. If your post processor does not put out G95 then it would be a good idea to get it to do so, that could possibly be done by you or if you dont know how to edit the post processor in your CAM then ask the vendors to do it for you.

Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 03, 2013, 05:54:51 PM
Sorry for the late reply.
As I was testing the code, the Z axis belt came off, still fixing it, will probably re-design the Z a xis motor mount.
I tried 0.35 mm/rev, but it was a bt too slow, then changed it to 100mm/rev which seemed to be ok.
Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 03, 2013, 06:00:24 PM
You were obviously not in Feed per Rev mode (G95) or 100mm/rev would not be slow ;)
If that was the case then the axis would travel 100mm for each revolution of the spindle.

One thing I should ask, do you have an index pulse set in Mach so you can read the spndle speed?
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 03, 2013, 10:04:09 PM
One thing I should ask, do you have an index pulse set in Mach so you can read the spndle speed?
Hood

I don't think so, is the Index Pulse set in General config?

Another thing, when you said : If that was the case then the axis would travel 100mm for each revolution of the spindle.

100mm for each revolution of the spindle, it sounds like the spindle is synchronise with the X and Z axis, is it?, cos currently the AC servo spindle is in speed mode. I'm thinking to add it to A axis for threading when all systen is stable.
Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 04, 2013, 02:55:33 AM
The index pulse would be input to Mach on an input pin then you would tell Mach which pin by setting that up in Ports and Pins, Inputs.
If you do not have an index connected then that may well be your issue with the very slow feedrate, if you have "Use Spindle Feedback in Sync mode " chosen then Mach will not see the index so will not feed very fast. If you go to Config menu, Ports and Pins, then Spindle Setup you will see that option top right.

If you do have an Index input and you tell Mach to use it in sync mode then the axis will not be truely synchronised with Spindle. What will happen is each time a feedrate is called Mach will look at the true RPM and feed accordingly. If however the spindle speed drops/increases (spindle override or due to load) then the axis will not change its rate until a new feed is called, only then will it look again at the true spindle speed and adjust the feed accordingly.
Hood

Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 04, 2013, 12:41:53 PM
Ah! I get it. So this is what Index about:
http://tetralite.com/lathe/spinsensor.html
Basically add an encoder to the spindle, but since my spindle is driven by an AC Servo Motor can't I use the signal from the AC servo encoder as feedback or do I still need to add those sensors at the back of the spindle?
Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 04, 2013, 01:22:38 PM
If you are using the parallel port then the encoders index will be too short, you would either have to electronically stretch it or use similar to your link. If you are using an external controller then likely it will be fine with the Index from the encoder.
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 05, 2013, 10:53:40 PM
I decided to use an encoder for Index pulse and input to MAch3.
I have some spare Rotary encoders dunno if this is suitable for this application, encoder brand = Omron E6B2-CWZ6C
(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/DSC05939_zpsf3f4b5e7.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/DSC05939_zpsf3f4b5e7.jpg.html)

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/DSC05940_zpsf3654696.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/DSC05940_zpsf3654696.jpg.html)

http://www.ia.omron.com/data_pdf/data_sheet/e6b2-c_ds_csm491.pdf

Other Rotary Encoder brands like US digital single ended have 5 pins, A,B, +V, -V and 1 index pin. For Omron I'm not quite sure if "out Z" is the same as Index in US Digital's encoder, any idea?



Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 06, 2013, 01:27:15 AM
Ok I think I found the answer for Z in cnczone. It is index pulse.
Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 06, 2013, 02:45:48 AM
Are you using the parallel port or an external controller such as the SmoothStepper?
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 06, 2013, 02:56:22 AM
I'm using SS, USB.
Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 06, 2013, 02:58:02 AM
Ok encoder index will work great. I would suggest you connect it to Port3  as they are likely a bit faster seeing as they are intended for encoder input.
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 06, 2013, 03:55:54 AM
(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/DSC05942_zpse7d82fb8.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/DSC05942_zpse7d82fb8.jpg.html)

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/Mach3-Encoderinput_zps16461f66.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/Mach3-Encoderinput_zps16461f66.jpg.html)

Assigning Pins:
A-Port # = 3
A-Pin #= 1

B-port # =3
B-pin # = 2

As for Index....
Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 06, 2013, 04:29:37 AM
As far as I know the SS does not support full encoder input for syncing Z to spindle so there is no real benefit of connecting the A and B channels.
You do however want to connect the Z signals, if it is a differential encoder then connect Z+ and Z- to the differential pins on port 3. You then go to Ports and Pins, Inputs and scroll down to Index and enter Port3 and whatever pin you have the index connected to.
In Config, Spindle Pulleys you make sure you have your Max and Min speed  set and also set the ratio to 1 (assuming encoder is direct connection to spindle)
You should now have spindle speed readout when you command a spindle rotation (M3 or M4) The Index will also be used for lathe threading.
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 06, 2013, 04:48:08 AM
Thanks Hood!!

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/ForIndexpin-correction_zps91dd803d.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/ForIndexpin-correction_zps91dd803d.jpg.html)

By the way I swapped the encoder to Shimpo RE2-60-C.

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/DSC05944_zps7bf57bf4.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/DSC05944_zps7bf57bf4.jpg.html)

http://www.google.com.tw/imgres?q=shimpo+encoder,+RE2-60&um=1&sa=N&hl=en&tbm=isch&tbnid=cceWuiystzB94M:&imgrefurl=http://www.plazathai.com/show-246265.html&docid=m3UK9OMP2sKpTM&imgurl=http://www.plazathai.com/uppic/59/3ab3798a16927a44a3a5bd1ed334d559.jpg&w=800&h=600&ei=2ESwUfrNMc28kQXW8oH4Ag&zoom=1&ved=1t:3588,r:1,s:0,i:83&iact=rc&dur=488&page=1&tbnh=183&tbnw=231&start=0&ndsp=61&tx=161&ty=73&biw=1920&bih=974

Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 06, 2013, 10:33:02 PM
This came to my mind, If M03/M04  is called it won't start the spindle Automatically because it is using a Variable speed controller connected to CN1B, If I take the CN1A step and Dir wires to SS port 1 Pin 8 & 9, what else do I need to configure in order to make it spin when M03 command is called?



Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 07, 2013, 02:46:08 AM
What is CN1A and CN1B?
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 07, 2013, 03:58:10 AM
(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/MRJ2S-CN1ACN1B_zps158a4bd9.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/MRJ2S-CN1ACN1B_zps158a4bd9.jpg.html)

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/MRJ2S-350A-1_zps647d2627.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/MRJ2S-350A-1_zps647d2627.jpg.html)

When connecting to BOB CN1A is used, if using varialble speed control mode CN1B is used:
(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/DSC05945_zps6f3a6fd6.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/DSC05945_zps6f3a6fd6.jpg.html)

Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 07, 2013, 04:20:14 AM
Yes, definitely set it up as Step/Dir spindle, it will work much better with one exception. Spindle override with the SS/ESS and Step/Dir spindles is not perfect, unless it has been sorted recently, I waited for  3 years but it never got done and I have now moved on. With a light spindle you may not notice the problem as it is not nearly so noticeable on my mill as it was on the big lathe. Other than that however it works very well.

Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 08, 2013, 05:01:50 AM
What is SS/ESS?, what do they stand for?

Found this:
http://www.machsupport.com/forum/index.php?topic=21036.50;wap2
Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 08, 2013, 06:48:24 AM
SS means SmoothStepper and is usually said when referring to the original USB SmoothStepper.
ESS means Ethernet SmoothStepper.

Regarding the quadrature spindle output, it made no difference on my machines so I just dont use the spindle override on the two machines I still have the SS and ESS on. I have a further two machines that have CSMIO/IP-S and IP-A controllers on and I can use the spindle override pot on these machines with no problems.

Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 10, 2013, 12:26:22 PM
I wired the cw & ccw of MRJ2S-350A's CN1A to SS today, it is now in step/dir mode. Will set the Pr tomorrow.
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 11, 2013, 03:23:59 AM
Ok, there was a slight problem with my homemade board;
(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/DSC05949_zpsd87c1171.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/DSC05949_zpsd87c1171.jpg.html)

when MRJ2S CN1 connected to this board it does not correspond, but it does on another system, so I'm sure something is not right with the board, will re-build a new board with my Direct PCB printing epson T22:
http://diydrones.com/profiles/blogs/direct-pcb-printer.

Here is the MRJ2S-350A in step/Dir mode:
http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/M4V05950_zps587ff3dd.mp4.html
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 13, 2013, 05:16:17 AM
This is the new board I made:

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/DSC05963_zps98162aa6.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/DSC05963_zps98162aa6.jpg.html)

and still can not get the AC servo turning, on another Mach3 controller the BOB is a C10 board form CNC4PC and it worked perfectly with SSD (blue squary shape in the middle of the board).
Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 13, 2013, 06:51:13 AM
What are the blue things?
Is everything else working?

Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 13, 2013, 10:16:20 AM
Sorry, is SSR (Solid State Relays) I thought with the new board I would be able to run the AC servo but not.
The board is not the problem, stepper driver wired to this board works, but not the signal out from CN1A(MRJ2S).
Also I get an error from SS when AC servo is powered on and then SS crashed.
Is SS's output signal the same as C10?          
Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 13, 2013, 10:59:15 AM
Are you trying to send the step/dir signals via the relays?

When you say it worked via the C10 are you meaning you had it connected via the parallel port or via the SS to c10?

Is the CN1A not the inputs for Step/Dir or are you talking about some other output from that connector?

Have you set the SS config up for Step/Dir spindle?


Hood

Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on June 13, 2013, 01:11:55 PM
I checked some of my previous controller wiring, this one:

(http://i1220.photobucket.com/albums/dd459/happytriger2000/Motion%20Controller/DSC02643.jpg) (http://s1220.photobucket.com/user/happytriger2000/media/Motion%20Controller/DSC02643.jpg.html)

The SS had a C25 Terminal Board, MRJ2S's Amps worked.

Are you trying to send the step/dir signals via the relays?
Yes, the C10 board is wired this way and worked pretty well for MRJ2S so I used the same method for SS, but didn't work.

When you say it worked via the C10 are you meaning you had it connected via the parallel port or via the SS to c10?

http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/M4V05950_zps587ff3dd.mp4.html
PC connected to C10 via pararell cable, then from C10 pins 2&3 to MRJ2S CN1A's CW & CCw result = link above.



Is the CN1A not the inputs for Step/Dir or are you talking about some other output from that connector?
Yes this is the input for Step/Dir coming from SS.

Have you set the SS config up for Step/Dir spindle?
I haven't done any changes in config. I disconnected one of the stepper driver's step/dir wires off SS terminals and wired CN1A's cw wire & ccw wire to the terminals and test if it spins, but it doesn't.








Title: Re: Getting small movements which not supposet to..
Post by: Hood on June 13, 2013, 03:56:42 PM
I certainly wouldnt think it a good idea to send step/Dir signals via any sort of relay, wouldnt even be using any opto isolation if possible as the drives side of things will almost certainly be isolated.

Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on July 05, 2013, 05:01:01 PM
Hello Hood,
                I took some photos and videos of my gantry mill, the controller has 1 x C10 board + 6 SSR:

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/IMG_0844-rotated_zps01538f7c.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/IMG_0844-rotated_zps01538f7c.jpg.html)

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/IMG_0845-rotated_zpsbb3973b5.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/IMG_0845-rotated_zpsbb3973b5.jpg.html)


Video:
http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/GantryMillMach3_zpsa9b556be.mp4.html
Title: Re: Getting small movements which not supposet to..
Post by: Hood on July 05, 2013, 05:21:24 PM
Looks like a big solid machine :)
One thing I would check up on is that you can mount that servo drive horizontally, most I have seen said they must be mounted vertically to get proper airflow.
Hood
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on July 05, 2013, 10:51:35 PM
The gantry was purchased as used about 2 years ago, is a 2.8m length, 1.8m wide, small machine compare to my neighbour's 5m long gantry. This machine only for facing, it is not suitable for positioning error is too large (lead screw).
Ill add a fan at the top of that amp some day.
I'm waiting for my new machine cover from Defender for the lathe:

http://www.machine-cover.com/products.htm

then will proceed encoder installation.



Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on August 12, 2013, 02:25:20 AM
Hello I'm back, just had the X saddle drilled 6 threaded holes 3 each side for securing the cover.
(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/DSC06183_zps4edd4a07.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/DSC06183_zps4edd4a07.jpg.html)
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on August 14, 2013, 11:03:40 AM
Had the Index Pulse Interrupter Disc made:

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/IMG_2382_zps7f7a85e2.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/IMG_2382_zps7f7a85e2.jpg.html)

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/IMG_2386_zpsa7e50e31.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/IMG_2386_zpsa7e50e31.jpg.html)

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/IMG_2389_zpse4eef9c6.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/IMG_2389_zpse4eef9c6.jpg.html)

will continue with the sensor holder after I come back from holidays!
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on September 08, 2013, 11:30:44 PM
Add a sensor holder:

(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/DSC06227_zpsb1ff5253.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/DSC06227_zpsb1ff5253.jpg.html)
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on September 17, 2013, 04:00:48 AM
Ok, Sensor installed, EE-SPX406: http://www.ia.omron.com/data_pdf/data_sheet/ee-spx-w_dsheet_csm474.pdf (http://www.ia.omron.com/data_pdf/data_sheet/ee-spx-w_dsheet_csm474.pdf)
Wire: brown = 24V, Black = Index signal, Blue = 0V
I set the Index Input to pin 10 port 1, how do I determine if there's signal coming in to Pin10? Mach 3 turn no Diagnosis tab?
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on September 17, 2013, 05:33:31 AM
Check the wire connection, the Index terminal was connected wrong and has been corrected and previously the 0v wire is not wired to BOB's com (gnd), Index pin is flashin in Diagnosis.
http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/IMG_3953_zps859e6a27.mp4.html
Title: Re: Getting small movements which not supposet to..
Post by: cncfreakcncfrea on October 04, 2013, 12:18:50 PM
Ok, I have been thinking a lot whether to use my servo drive in speed control mode or position control mode for spindle?
If I use speed control mode then I can use my spare C6 from cnc4pc to feed 0-10VDC to MRJ2S drive like this:
(http://i1204.photobucket.com/albums/bb407/cncfreakcncfreak/BVB25L%20cnc%20conversion/BOBSSMRJ2S_zpsc7c73bdf.jpg) (http://s1204.photobucket.com/user/cncfreakcncfreak/media/BVB25L%20cnc%20conversion/BOBSSMRJ2S_zpsc7c73bdf.jpg.html)