Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Troncatore on March 19, 2013, 05:33:52 PM
-
Please help me!!!
I’m trying to use Mach3 in all of his capability…so I’m learning a lot from this...but I’m on stall now because:
First issue
My 4th axes, homemade, works well using MPG MODE and it goes homing very well… but on the DRO I just read values from 0 (home position settled by switch) to 100 and not 0 to 360 degrees as expected. The number 100 are correct it is the numbers of rotations of the motor for turning one turn of the entire system due to his reduction ratio 1:100. If I revers the rotation sense, on the jog, I can read from 360 to 0 degrees!!! I inverted the rotation of the motor in “Homing” and the situation was inverted!!!!
Second issue
I would like to read the spindle speed and for that I’m using an Honeywell reflective sensor HOA0708/0709 who is recognized by Mch3, I puttied it in front of a 6mm square reflecting strip Mach3 on ” Automated setup of inputs”, on the right pin number of my second parallel port but…I can’t read any value on the RPM window screen just I see the value on the spindle CWF5 running continuously and very fast!
NOW the question is: WHERE I’M WRONG?
-
I am not really understanding what your problems are I am afraid.
Can you try and explain them again, also attaching your xml may help understand what you are meaning.
Hood
-
Hi Hood
I don't know how to find the HML...At moment it is in anothercomputer...I have a vague idea it is in a folder program don't you? So..I would like to read in a proper windows
1. Degrees when the 4Th Axe move
2. RPM when spindle run...
It seams all the pins are corretly setled becouse:
1. The motor of the 4tH axe move and go to home position.
2 Mach3 know the signal arriving from the reflective sensor...
-
Maybe the file is this?
-
I didnt download and check what you posted but Hood is needing your XML file. It will be in your Mach 3 root folder (C:/Mach3) and will have the .xml extension and share the name as the profile you use. Mach3mill.xml for example. Make sure it has a unique name because the forum will not allow 2 files uploaded with the same name.
Brett
-
That is a backup xml that you attached and doesnt have the A Axis enabled in it.
If I am understanding what you are meaning then it sounds like your steps per unit may be set wrong for the A Axis.
Regarding the spindle speed readout, are you telling Mach the spindle has started, either by pressing spindle button or having M3 or M4 in code or MDI line? If not then Mach will not output a spindle speed reading as it doesnt know the spindle has been started.
Hood
-
Thanks Chaoticone....I'll do it as I can...Because now I'm in my country house and my shop is in my town...! Anyway Dear Hood My A axis is enabled correctly. It works well using the pendant but. I read on the DRO just value from 0 to 100 corresponding exactly to the reduction between the motor and the chuck! I'm expecting to read 0 to 360 degree as I can read only when the system turn inverse of the calibration sense!!! Per ex I place CW...I read on the DRO from 0 to 100...if I invert the rotation sense, CCW, by pendant I can read on the DRO value from 359° to 0°.
I have just positioned the Honeywell reflective sensor in front of a reflecting strip and when the spindle started his rotation I made an Automated setup of inputs and the input in the correct pin where recognized by Mach3...but no RPM value appeared..! I read 0. If I understand well is impossible to use the RPM window on Mach3 as a RPM indicator as it is...!
Thanks for Your helping....and a BIG patience with Me....
-
Ok not sure what is happening with your A Axis, if you attach your xml I will be able to see what you have set and hopefully can see a problem.
The RPM will, or should work but you have to tell Mach the spindle is running for Mach to start looking at the index signal. Simply calling a M3 in your code will do it or pressing the Spindle button on screen will also do it.
Hood
-
WE GOT!!!!
-
Try with 555.5555 in the motor tuning for the A axis and see if that helps.
That is going on your figures of 100:1 reduction and an assumption that you are using a 1.8 degree stepper with 10 microstepping drive.
ie 200 x 10 x 100 =200,0000 steps per rotation, as a rotation is 360 degrees then steps per unit(degree) is 200,000/360 = 555.55555555
Hood
-
Dear Hood
Yes it is what I did...and , as I said before, all its ok...! But the busillis is that, I can't read degrees on the DRO while the axes runs! I can read values from 0 to 100 according the reduction ration !!! I read values 0° to 360° if I invert , by pendant, the rotation sense starting from the "0 home" position .
Best regards
-
Sorry I do not understand what you are meaning.
Hood
-
dear Hood..
premise that...all works....just an indication problem on the DRO....
when the axe run using the pendant....what You are expecting to read on the A DRO?
-
I do not really understand what you are meaning by the axis running from the pendant.
Hood
-
Dear Hood
I have a jog control and when I like to use the Mill on manual I use it...! So if I use it, or the jog controls, pushing the buttons 4+ or 4- the axe move...! Ok?
-
If you press the tab key on your keyboard then use the 4+ and 4- buttons there can you jog fine?
I loaded your xml and I can jog the 4th axis fully from 0 to 360 and back again no issues.
Only thing I can think of is you have rotational softlimits enabled so that may be affecting things but why I have no idea as it doesnt affect things here.
Hood
-
Dear Hood
Yes it is Hood. Please what you read on the DRO? I mean values from 0 to 360 or from 0 to 100...!
-
0-360 but I have the standard screenset loaded as you were using one I dont have so maybe try loading the standard screenset.
Hood
-
So I read from 0 to 100....! I can read 0 to 360 REVERSING the rotation sense...! I have the standard one plus the macro made by Hoss for zeroing the Z axes...!
-
I can go from 0-360 or 360-0 by jogging in your xml so either your screenset, a brain or macropump or similar that must be screwing it up for you.
Hood
-
Dear Hood
Please found as attached file a little clip. I sarted from "Home" (Zero Machine) position until the microswitch was excited after one revolution.
Best regards