Location... location... location...

More
09 Apr 2012 22:05 #19067 by BigJohnT
Yea, I just described how to touch off in the previous post... unless I completely have no clue what your asking.

John

Please Log in or Create an account to join the conversation.

More
09 Apr 2012 23:12 - 09 Apr 2012 23:13 #19071 by alexr
I just reset my terminal... and for some reason JOG and everything is now in reverse.

All values of movement are negative and are outside red bounding box, same goes for physical movement of my mill that is any movement will put me on hard stops and to go the other direction emc2 says JOINT area out of bounds!!!!!!!!!!!!!!

damn it what setting would be kept in memory and then reverse on a reset?

tried changing same and opposite settings in stepconf with no change, reversing table settings + - and even using the original *.INI after all that is everything I have changed and yet here I am stuck in the land of mirrors cnc style.

any ideas what the hell is going on?

[EMC]
MACHINE = V90
DEBUG = 0

[DISPLAY]
DISPLAY = axis
EDITOR = gedit
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 1.2
INTRO_GRAPHIC = emc2.gif
INTRO_TIME = 5
PROGRAM_PREFIX = /home/alex/emc2/nc_files
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
PYVCP = custompanel.xml

[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Greyscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python

[TASK]
TASK = milltask
CYCLE_TIME = 0.010

[RS274NGC]
PARAMETER_FILE = emc.var

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 38000
SERVO_PERIOD = 1000000

[HAL]
HALFILE = V90.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal

[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.42
MAX_LINEAR_VELOCITY = 4.20

[EMCIO]
EMCIO = io
CYCLE_TIME = 0.100
TOOL_TABLE = tool.tbl

[AXIS_0]
TYPE = LINEAR
HOME = 0
MAX_VELOCITY = 2.5
MAX_ACCELERATION = 24.0
STEPGEN_MAXACCEL = 30.0
SCALE = 10000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -0.5
MAX_LIMIT = 35.5
HOME_OFFSET = 0.125000
HOME_SEARCH_VEL = 0.250000
HOME_LATCH_VEL = 0.050000
HOME_FINAL_VEL = 0.125000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0

[AXIS_1]
TYPE = LINEAR
HOME = 0
MAX_VELOCITY = 2.5
MAX_ACCELERATION = 24.0
STEPGEN_MAXACCEL = 30.0
SCALE = 10000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -0.5
MAX_LIMIT = 25.5
HOME_OFFSET = 0.125000
HOME_SEARCH_VEL = 0.250000
HOME_LATCH_VEL = 0.050000
HOME_FINAL_VEL = 0.125000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0

[AXIS_2]
TYPE = LINEAR
HOME = 0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 24.0
STEPGEN_MAXACCEL = 30.0
SCALE = 24000.0
FERROR = 0.05
MIN_FERROR = 0.01
MIN_LIMIT = -0.5
MAX_LIMIT = 4.5
HOME_OFFSET = 0.125000
HOME_SEARCH_VEL = 0.250000
HOME_LATCH_VEL = 0.050000
HOME_FINAL_VEL = 0.125000
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
Last edit: 09 Apr 2012 23:13 by alexr. Reason: added INI

Please Log in or Create an account to join the conversation.

More
09 Apr 2012 23:52 #19073 by BigJohnT
If you left an offset that could explain why your box has shifted.

Jogging all axes in both directions makes them go the wrong direction now?

John

Please Log in or Create an account to join the conversation.

More
09 Apr 2012 23:53 #19074 by cmorley
I can see nothing obvious that would change the directions of the motors.
Unless something changed in the HAL file.

Please Log in or Create an account to join the conversation.

More
10 Apr 2012 11:02 #19086 by Rick G
You might look here...
wiki.linuxcnc.org/cgi-bin/wiki.pl?Coordi...t_what_should_you_do
and
wiki.linuxcnc.org/cgi-bin/wiki.pl?CoordinateSystems

As to the first question...

If I understand you what you are looking to do is set the coordinates for your work piece, just as John stated.
So in that case home your machine then jog to the start position of your work and "touch off" your x y z axis there.
All your g code will consider that location to be x0y0z0 as will your screen.
You could then jog to a new location and touch off there.

If your machine home position was originally x0 y0 before you touched off
G53 G0 X0Y0 will still bring you back to that original location.

Rick G

Please Log in or Create an account to join the conversation.

More
10 Apr 2012 21:48 #19110 by alexr
I havent placed any offsets that i know of..... where would i look? how would i remove them? bigjohn?

thanks for the INI feedback guys ! i had a feeling that is wasnt something i had done in there.

To give you some idea i am stuck in the top left hand corner of my milling table. I can phsyically move 2.5inch x,y in that corner with ALL IN NEGITIVE values before software stop is applied (red bounding box); if i go the other direction i hit my limit switches with POSITIVE values and is outside the red bounding box. this should be the other way around!!

for instance if i change the INI table values to exact middle of my table on all of my axes, the above is still true! only I have room to move before hitting soft limits (red bounding box).

In stepconf same and opposite arent bringing the gantry to the other corners either; for some reason they arent working. other wise it would be a simple solution of going opposite opposite same and using the inverse corner.

nothing comes easy... it was all working fine sunday until i restarted my computer.

if only i could find that setting that flipped for some god unknown reason

Please Log in or Create an account to join the conversation.

More
10 Apr 2012 22:18 - 10 Apr 2012 22:19 #19112 by BigJohnT
Did you follow the first link that Rick gave you?

Restarting your computer should not have any effect on your configuration.

John
Last edit: 10 Apr 2012 22:19 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
11 Apr 2012 02:35 #19116 by alexr
yep tried the what to do if stuck section. nothing happened.

my movements are still in reverse that is negitive.

im currently trying something in stepconf and i will let you know if it works.

if not im still open to all your suggestions.

Please Log in or Create an account to join the conversation.

More
11 Apr 2012 03:44 #19118 by alexr
ok well i have solved half of the problem.

I have clicked the invert boxes in stepconf pinout and now have all three axis heading in the right direction with the correct values via jog.

HOWEVER

now it seems that same and opposite latch directions seem to do nothing! in the stepconf file latch direction value is (0)

I have changed the stepconf configuration file both in program and manually to (1) and emc2 still does the same thing.

Modal Gcodes have been tired and disabled.

oh and thanks for the wiki links I am ashamed i didnt look there before begging for help here; my humble appoligies. should have known this wouldnt have been in any one of the three manuals.

well atleast i know how to use the gcode offsets and touch offs work now! :-D wasnt a complete waste of time.

now just to get those limit switch latch directions sorted...

just name the files and you will have a print out. im all ears (and seemingly no brains)

Please Log in or Create an account to join the conversation.

More
11 Apr 2012 04:41 #19119 by alexr
ok.... i think i have to rethink some things...

i just found out why latch settings arent working.... they are! they are just that small i didnt notice.

the diagrams in the intergrators manual are determined by the same and opposite settings in step config! not imediately obvious for me.

here i was thinking they determine corner location for homing < ^ >

i gather homing offset does this?

Please Log in or Create an account to join the conversation.

Time to create page: 0.167 seconds
Powered by Kunena Forum