Global Parameters XYZ are "non existent" ?
17 Aug 2014 06:20 #49954
by GaryLa
Global Parameters XYZ are "non existent" ? was created by GaryLa
Section 7.3 states: "Printing the value of a non-existent named parameter with a DEBUG statement - like (DEBUG, #<no_such_parameter>) will display the string ######."
I'm using the statement: (debug,X=#<_x> Y=#<_y> Z=#<_z>)
and getting the display:
X=###### Y=###### Z=######
Shouldn't this at least show zeroes?
I'm using the statement: (debug,X=#<_x> Y=#<_y> Z=#<_z>)
and getting the display:
X=###### Y=###### Z=######
Shouldn't this at least show zeroes?
Please Log in or Create an account to join the conversation.
17 Aug 2014 06:44 #49957
by GaryLa
Replied by GaryLa on topic Global Parameters XYZ are "non existent" ?
I think I can answer my own question with "They haven't been homed".
However, what's not clear is how I home them without moving them. I have no limit switches and I'm moving from manual to CNC...
Therefore, I simply set XYZ into a known position and wish to program gcode from there. I used:
#<_x> = 0
#<_y> = 0
#<_z> = 0
which works, but I feel this is probably not the right way to do this.
However, what's not clear is how I home them without moving them. I have no limit switches and I'm moving from manual to CNC...
Therefore, I simply set XYZ into a known position and wish to program gcode from there. I used:
#<_x> = 0
#<_y> = 0
#<_z> = 0
which works, but I feel this is probably not the right way to do this.
Please Log in or Create an account to join the conversation.
17 Aug 2014 13:28 - 17 Aug 2014 15:59 #49961
by ArcEye
Replied by ArcEye on topic Global Parameters XYZ are "non existent" ?
Hi
If you don't have homing switches, you can still 'home', you just have to alter your ini file.
If you set each axis SEARCH_VEL and LATCH_VEL to 0, the axes will not move when the Home button is pressed and the current position is set to machine zero.
Set HOME_SEQUENCE to 0 for each axis and all 3axes will home together.
www.linuxcnc.org/docs/html/config/ini_co...tml#sub:AXIS-section
I have a small mill I mostly use for engraving that I home like this against datum marks.
It works perfectly well.
regards
If you don't have homing switches, you can still 'home', you just have to alter your ini file.
If you set each axis SEARCH_VEL and LATCH_VEL to 0, the axes will not move when the Home button is pressed and the current position is set to machine zero.
Set HOME_SEQUENCE to 0 for each axis and all 3axes will home together.
www.linuxcnc.org/docs/html/config/ini_co...tml#sub:AXIS-section
I have a small mill I mostly use for engraving that I home like this against datum marks.
It works perfectly well.
regards
Last edit: 17 Aug 2014 15:59 by ArcEye.
The following user(s) said Thank You: GaryLa
Please Log in or Create an account to join the conversation.
18 Aug 2014 04:26 #49978
by joekline9
Replied by joekline9 on topic Global Parameters XYZ are "non existent" ?
I do as ArcEye says above.
I have index marks on the machine and the dials.
Before I shut down I do "G53 G0 X0 Y0 Z0.
When I start the next time I check to see I'm on the marks, click <Home> (nothing moves) and we are ready to go.
I have index marks on the machine and the dials.
Before I shut down I do "G53 G0 X0 Y0 Z0.
When I start the next time I check to see I'm on the marks, click <Home> (nothing moves) and we are ready to go.
The following user(s) said Thank You: GaryLa
Please Log in or Create an account to join the conversation.
Time to create page: 0.199 seconds