Re: [Emc-users] Things are quiet

2017-06-19 Thread Jon Elson

On 06/19/2017 07:24 PM, jim wrote:
I need my machine to move On a 10 degree line using the  x 
y axis .


I see g codes for this on other systems .

Can Linuxcnc do this?


Sure.
 G01 X0 Y0
  G01 X10 Y1.736

If you want to actually program it in degrees, that can be 
done. Also, the advanced G-code extensions in LinuxCNC allow 
you to program this with some variables and sin functions.


Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] following error only while homing

2017-06-19 Thread tom-emc
Why would I get a following error only while homing (latest Linuxcnc 2.7.9)?  I 
recently added home switches to my machine.  My machine has encoders on the 
steppers on each of the 3 axes so I want to use the index pulse for home.  I 
set up the homing sequence each axis  and when I do "Home All" I get a 
following error on my Z axis (first one to home).  I played with all the 
settings and can’t get it to complete unless I set ferror and min_ferror very 
high  Also, once there is a following error I can only clear it by exiting 
Linuxcnc and restarting it.  If I just turn it back on, it immediately faults 
again with the same following error.  If I don’t home, after restarting 
Linuxcnc, I can run the Z axis (and X and Y) all day at any speed without a 
following error. 

I have tried setting the ferror and min_ferror settings to various reasonable 
values but it didn’t work.   Before adding the switches I had error=0.001 and 
min_ferror=0.0005 and never had a following error appear.  I set ferror to 2 
and min_ferror to 1 (I think those were the values) and it worked but then got 
the following error on the Y axis (the second axis homed).  The values for 
ferror and min_ferror that “worked” seem completely unreasonable given I am not 
even moving anywhere near my max velocity during homing.

I have tried changing the sign on the HOME_LATCH_VEL to make it search for 
index in the other direction but the same thing happens.  Below are my 
(current) machine hal and ini.

-Tom


 ini ———
# Generated by PNCconf at Thu Apr  8 11:40:39 2010

[EMC]
MACHINE = EMCO
DEBUG = 0

[DISPLAY]
DISPLAY = axis
#EMBED_TAB_NAME = Camera
#EMBED_TAB_COMMAND = camview-emc -w {XID}
EDITOR = gedit
PYVCP = custom_pyvcp.xml
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
MAX_FEED_OVERRIDE = 2.0
MAX_SPINDLE_OVERRIDE = 1.5
MIN_SPINDLE_OVERRIDE = 0.50
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 2
PROGRAM_PREFIX = /home/tom/linuxcnc/nc_files
INCREMENTS = .1in .05in .01in .005in .001in .0005in .0001in
POSITION_OFFSET = RELATIVE
POSITION_FEEDBACK = ACTUAL
DEFAULT_LINEAR_VELOCITY = 0.25
MAX_LINEAR_VELOCITY = 1.00
MIN_LINEAR_VELOCITY = 0.01
DEFAULT_ANGULAR_VELOCITY = 0.25
MAX_ANGULAR_VELOCITY = 1.00
MIN_ANGULAR_VELOCITY = 0.01
GEOMETRY = xyz
#GEOMETRY = xyza

[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 = 5
SERVO_PERIOD = 100

# [HOSTMOT2]
# This is for info only - config line is in the .hal file
# DRIVER0=hm2_7i43 
# BOARD0=7i43
# CONFIG0="firmware=hm2/7i43/SVST2_4_7I47B.BIT num_encoders=3 num_pwmgens=0 
num_stepgens=4" 

[HAL]
HALUI = halui
HALFILE = EMCO.hal
HALFILE = custom.hal
POSTGUI_HALFILE = custom_postgui.hal

[HALUI]
MDI_COMMAND = G53 G0 X0 Y0 Z0

[TRAJ]
AXES = 3
COORDINATES = X Y Z
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.5
MAX_LINEAR_VELOCITY = 2
#Joypad Test stuff below:
DEFAULT_ANGULAR_VELOCITY = 0.25
MAX_ANGULAR_VELOCITY = 1.0

#ARC_BLEND_ENABLE = 1
#ARC_BLEND_RAMP_FREQ = 1000


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

#
# Axis X
#
[AXIS_0]
TYPE = LINEAR
# HOME = 0.0 -- see below
FERROR = 0.005
MIN_FERROR = 0.001
MAX_VELOCITY = 2.2
MAX_ACCELERATION = 20
# these are in nanoseconds
DIRSETUP   = 200
DIRHOLD= 200
STEPLEN= 2000
STEPSPACE  = 1200
STEPGEN_MAXACCEL = 40
STEPGEN_MAXVEL = 2.75
#BACKLASH = 0.0005
INPUT_SCALE = -208076.8
SCALE = -50800
MIN_LIMIT = -0.001
MAX_LIMIT = 7.8
# homing
# move here after home switch found:
HOME = 4.0
# home switch is located here:
HOME_OFFSET = 7.8
# initial search velocity in/sec
HOME_SEARCH_VEL = 0.75
# 2nd pass search velocity
HOME_LATCH_VEL = 0.1
# speed to HOME
HOME_FINAL_VEL = 0.5
# yes use index
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = NO
HOME_IS_SHARED = NO
# do this after Z and Y is homed
HOME_SEQUENCE = 2
# should unhome if estop or power off? no
VOLATILE_HOME = 0

#
# Axis Y
#
[AXIS_1]
TYPE = LINEAR
# HOME = 0.0 -- see below
FERROR = 0.005
MIN_FERROR = 0.001
MAX_VELOCITY = 2.2
MAX_ACCELERATION = 20.0
# these are in nanoseconds
DIRSETUP   = 200
DIRHOLD= 200
STEPLEN= 2000
STEPSPACE  = 1200
STEPGEN_MAXACCEL = 40
STEPGEN_MAXVEL = 2.75
BACKLASH = 0.0005
SCALE = 50800
MIN_LIMIT = -0.001
MAX_LIMIT = 3.8
INPUT_SCALE = 208076.8
# homing
# move here after home switch found:
HOME = 2.0
# home switch is located here:
HOME_OFFSET = 0
# initial search velocity in/sec
HOME_SEARCH_VEL = -0.4
# 2nd pass search velocity
HOME_LATCH_VEL = -0.1
# speed to HOME
HOME_FINAL_VEL = 0.5
# yes use index
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = NO
HOME_IS_SHARED = NO
# do this after Z is homed
HOME_SEQUENCE = 1

Re: [Emc-users] Things are quiet

2017-06-19 Thread Kurt Jacobson
So you want to use polar coordinates? That is very easy with LinuxCNC, just
use the @ symbol to specify the length and angle of the path.
Ex: G1 @1^10 creates a line segment with length 1 at an angle of 10 deg
from the x axis.
See the docs here:
http://linuxcnc.org/docs/html/gcode/overview.html#_polar_coordinates

On Mon, Jun 19, 2017 at 9:51 PM, jim  wrote:

> I Want to sharpen a band saw mill blade which has a 10 degree tooth angle.
>
> Will be using a 1/4" Dia. stone in the spindle and following the shape of
> the blade.
>
> Then indexing to the next tooth.
>
> I will try g15 and g16 even though they are not on the reference list.
>
>
>
>
> On 17-06-19 09:18 PM, Stuart Stevenson wrote:
>
>> Yes, it will probably use the same g code you see for other systems
>>
>> Which 10 degree angle do you want?
>>
>>
>> On Jun 19, 2017 7:29 PM, "jim"  wrote:
>>
>> I need my machine to move On a 10 degree line using the  x y axis .
>>>
>>> I see g codes for this on other systems .
>>>
>>> Can Linuxcnc do this?
>>>
>>> Thank you,
>>>
>>> Jim
>>>
>>>
>>> 
>>> --
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> ___
>>> Emc-users mailing list
>>> Emc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>
>>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Things are quiet

2017-06-19 Thread jim

I Want to sharpen a band saw mill blade which has a 10 degree tooth angle.

Will be using a 1/4" Dia. stone in the spindle and following the shape 
of the blade.


Then indexing to the next tooth.

I will try g15 and g16 even though they are not on the reference list.



On 17-06-19 09:18 PM, Stuart Stevenson wrote:

Yes, it will probably use the same g code you see for other systems

Which 10 degree angle do you want?


On Jun 19, 2017 7:29 PM, "jim"  wrote:


I need my machine to move On a 10 degree line using the  x y axis .

I see g codes for this on other systems .

Can Linuxcnc do this?

Thank you,

Jim



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Things are quiet

2017-06-19 Thread Stuart Stevenson
Yes, it will probably use the same g code you see for other systems

Which 10 degree angle do you want?


On Jun 19, 2017 7:29 PM, "jim"  wrote:

> I need my machine to move On a 10 degree line using the  x y axis .
>
> I see g codes for this on other systems .
>
> Can Linuxcnc do this?
>
> Thank you,
>
> Jim
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Things are quiet

2017-06-19 Thread jim

I need my machine to move On a 10 degree line using the  x y axis .

I see g codes for this on other systems .

Can Linuxcnc do this?

Thank you,

Jim


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC traffic

2017-06-19 Thread David Berndt

Everyone gave up and moved to machinekit...


On Mon, 19 Jun 2017 17:42:24 -0400, hubert  wrote:

Just checking, It seems unusual not to have any posts in this long a  
period.  My last received post was 6/17/17, 12:27 PM


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users




--
Using Opera's mail client: http://www.opera.com/mail/

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC traffic

2017-06-19 Thread Bertho Stultiens
On 06/19/2017 11:42 PM, hubert wrote:
> Just checking, It seems unusual not to have any posts in this long a
> period.  My last received post was 6/17/17, 12:27 PM

Seems right... No news is good news ;-)


-- 
Greetings Bertho

(disclaimers are disclaimed)

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC traffic

2017-06-19 Thread Kurt Jacobson
I was thinking the same thing. It's very unusual for this list to be so
quiet.

Kurt Jacobson
505-303-1933
Sent from Mobile

On Jun 19, 2017 5:47 PM, "hubert"  wrote:

> Just checking, It seems unusual not to have any posts in this long a
> period.  My last received post was 6/17/17, 12:27 PM
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] EMC traffic

2017-06-19 Thread hubert
Just checking, It seems unusual not to have any posts in this long a 
period.  My last received post was 6/17/17, 12:27 PM


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users