Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Marius Alksnys
On 06/04/2014 04:39 PM, Sebastian Kuzminsky wrote: This is the right 
way to do it.
 
  Except i gave you the wrong branch name, use hm2-7i90-3 instead.


Thank you all.
My last test result is the output of dmesg:

[ 6966.289574] I-pipe: Domain RTAI registered.
[ 6966.289588] RTAI[hal]: 3.8.1 mounted over IPIPE-NOTHREADS 2.6-03.
[ 6966.289592] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 
4.4.3-4ubuntu5) .
[ 6966.289683] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL 
IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 6966.289686] PIPELINE layers:
[ 6966.289692] fa8d8e20 9ac15d93 RTAI 200
[ 6966.289696] c085cb20 0 Linux 100
[ 6966.322615] RTAI[malloc]: global heap size = 2097152 bytes, BSD.
[ 6966.322863] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: with RTAI 
OWN KTASKs, kstacks pool size = 524288 bytes.
[ 6966.322874] RTAI[sched]: hard timer type/freq = APIC/12477240(Hz); 
default timing: periodic; linear timed lists.
[ 6966.322880] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 
1597324000 hz.
[ 6966.322885] RTAI[sched]: timer setup = 999 ns, resched latency = 2943 ns.
[ 6966.323010] RTAI[usi]: enabled.
[ 6966.395160] RTAI[math]: loaded.
[ 6966.516574] hm2: loading Mesa HostMot2 driver version 0.15
[ 6966.523174] hm2_7i90: loading HostMot2 Mesa 7i90 driver version 0.3
[ 6966.523231]  hm2_7i90.0: firmware: requesting hm2/7i90/epp_sv12.bit
[ 6966.527270] hm2/hm2_7i90.0: board has FPGA '3s400tq144', but the 
firmware in hm2/7i90/epp_sv12.bit is for FPGA '6slx9tqg144'
[ 6966.527290] hm2_7i90.0: board at (ioaddr=0x0378, ioaddr_hi=0x, 
epp_wide ON) not found!
[ 6967.023488] hm2: unloading
[ 6967.217308] RTAI[math]: unloaded.
[ 6967.263783] SCHED releases registered named ALIEN RTGLBH
[ 6967.292358] RTAI[malloc]: unloaded.
[ 6967.392019] RTAI[sched]: unloaded (forced hard/soft/hard transitions: 
traps 0, syscalls 0).
[ 6967.395695] I-pipe: Domain RTAI unregistered.
[ 6967.395811] RTAI[hal]: unmounted.



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Step motor in closed loop

2014-06-05 Thread ELHIMA Moustapha


Dear All,

I'm back to get some help, I've tried to use my 2 phases 1.8° 12Nm stepmotor in 
closed loop on linuxcnc
I have connected 600 lines encoder to get the feedback for my stone 
lathe. This encoder is connected directly to the back of the motor
My driver is a leadshine MD2278 with a selector to set 400 step/rev (default) 
to 1 step/rev so it's possible to adjust the encoder resolution 
(2400pts/rev) to the encoder (2400 pulse/rev)

I have tried to use the etch-servo config to control my step motor as servo 
motor

When I tried to move the motor I have a fallowing error I have tried to 
change the parameters in the INI file but it doesn't really change
My important axis is the A axis Can someone can give me help ?

There are my config file I've removed the other axis because that will be same 
for the other axis :

thanks a lot

HAL

# load realtime modules
# kinematics
loadrt trivkins
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD 
servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hal_parport cfg=0x378 out
loadrt encoder num_chan=1
loadrt pid num_chan=1
loadrt pwmgen output_type=1
loadrt ddt count=2
loadrt constant count=1

# define the order of
 execution for RT code
addf parport.0.read    base-thread
addf encoder.update-counters   base-thread
addf pwmgen.make-pulses    base-thread
addf parport.0.write   base-thread


addf encoder.capture-position  servo-thread
addf motion-command-handler    servo-thread
addf motion-controller servo-thread
addf pid.0.do-pid-calcs    servo-thread
addf
 constant.0    servo-thread
addf pwmgen.update servo-thread
addf ddt.0 servo-thread
addf ddt.1 servo-thread

# hook stuff together
newsig Apos-fb float

setp encoder.0.position-scale [AXIS_3]INPUT_SCALE

net enc0A encoder.0.phase-A = parport.0.pin-10-in
net enc0B encoder.0.phase-B = parport.0.pin-11-in

linksp Apos-fb = encoder.0.position

newsig Avel-cmd float

linksp Apos-fb = pid.0.feedback
linksp Apos-fb = axis.3.motor-pos-fb

linksp Avel-cmd = pid.0.output

linksp Avel-cmd = pwmgen.0.value

newsigApwm bit
linkps pwmgen.0.pwm Apwm

newsig Adir bit

linkps pwmgen.0.dir = Adir

linksp Adir    = parport.0.pin-05-out
#linksp Adir    = parport.0.pin-07-out
setp parport.0.pin-07-out-invert TRUE
linksp Apwm = parport.0.pin-04-out

setp pid.0.maxoutput 1.0

# the values below come from the ini
setp pid.0.Pgain [AXIS_3]P
setp pid.0.Igain [AXIS_3]I
setp pid.0.Dgain [AXIS_3]D
setp pid.0.bias [AXIS_3]BIAS
setp pid.0.FF0 [AXIS_3]FF0
setp pid.0.FF1 [AXIS_3]FF1
setp pid.0.FF2 [AXIS_3]FF2
setp pid.0.deadband [AXIS_3]DEADBAND

newsig Apos-cmd float
linksp Apos-cmd = axis.3.motor-pos-cmd
linkps pid.0.command = Apos-cmd
newsig Aenable bit

linkps axis.3.amp-enable-out = Aenable
linksp Aenable = pid.0.enable 
linksp Aenable = pwmgen.0.enable

net estop-loop iocontrol.0.user-enable-out iocontrol.0.emc-enable-in

newsig Avel float
newsig Aacc float
linksp Apos-cmd = ddt.0.in
linkps ddt.0.out = Avel
linksp Avel = ddt.1.in
linkps ddt.1.out = Aacc

net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed


INI
[EMC]

#- Version of this INI file
VERSION =   $Revision$

#+ Name of machine, for use with display, etc.
MACHINE =   EMC-ETCH-SERVO

#+ Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
DEBUG = 0

[DISPLAY]

#+ Name of display program, e.g., xemc
DISPLAY =  axis
CYCLE_TIME =   
 0.200
OPEN_FILE = 

#- Path to help file
HELP_FILE = doc/help.txt

#- Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET =   RELATIVE

#- Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL

#+ Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 10

#- Prefix to be used
PROGRAM_PREFIX = /home/elhima/emc2/nc_files

#- Introductory graphic
INTRO_GRAPHIC = emc2.gif
INTRO_TIME =    5

# Editor to be used with Axis
EDITOR = gedit

[TASK]

# Name of task controller program, e.g., milltask
TASK =  milltask

#- Cycle time, in seconds, that task controller will sleep between
 polls
CYCLE_TIME =    0.010

[RS274NGC]

#- File containing interpreter variables
PARAMETER_FILE =    etch.var

[EMCMOT]

#- Name of the motion
 controller to use (only one exists for nontrivkins)
EMCMOT =  motmod

#- Timeout for comm to emcmot, in seconds
COMM_TIMEOUT =  1.0

#- Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010

#+ Base task period, in nanosecs - this is the fastest thread in the machine
BASE_PERIOD =    10
#- Servo task period, in nanosecs - will be rounded to an int multiple of 
BASE_PERIOD
SERVO_PERIOD
 =   100

[HAL]

HALFILE =    etch.hal

[TRAJ]
#+ 

Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread andy pugh
On 5 June 2014 09:14, Marius Alksnys marius.alks...@gmail.com wrote:

 My last test result is the output of dmesg:

 [ 6966.523231]  hm2_7i90.0: firmware: requesting hm2/7i90/epp_sv12.bit

I think that the 7i90 has permanent firmware. Try omitting the
firmware=. from the config string.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe touch off

2014-06-05 Thread John Thornton

On X you can get confused if you forget what mode your in. For diameter 
mode it is 2 x the dowel + the diameter of the object in the chuck. For 
radius mode it is the diameter of the dowel + 1/2 the diameter of the 
object in the chuck.

JT

On 6/4/2014 8:08 AM, Marius Liebenberg wrote:
 So for the boring bar I can put an old rotary tool in the chuck and
 bring the bar from behind. I then lay the dowel between the the two
 tolls and jog away. The touch off will be that position less the
 diameter of the two tools. Do I have this correct?


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Marius Alksnys
On 06/05/2014 12:33 PM, andy pugh wrote:
 I think that the 7i90 has permanent firmware. Try omitting the
 firmware=. from the config string.

Now with firmware= omitted I get:

...
[ 1233.200543] RTAI[math]: loaded.
[ 1233.316587] hm2: loading Mesa HostMot2 driver version 0.15
[ 1233.323232] hm2_7i90: loading HostMot2 Mesa 7i90 driver version 0.3
[ 1233.324813] hm2/hm2_7i90.0: inconsistent Module Descriptor for UART 
Transmit Channel, not loading driver
[ 1233.324822] hm2/hm2_7i90.0: Version = 0, expected 0
[ 1233.324827] hm2/hm2_7i90.0: NumRegisters = 4, expected 4
[ 1233.324834] hm2/hm2_7i90.0: InstanceStride = 0x0040, expected 
0x0010
[ 1233.324840] hm2/hm2_7i90.0: MultipleRegisters = 0x000F, 
expected 0x000F
[ 1233.324846] hm2/hm2_7i90.0: inconsistent Module Descriptor!
[ 1233.324852] hm2/hm2_7i90.0: failed to parse Module Descriptor 5
[ 1233.324865] hm2_7i90.0: board at (ioaddr=0x0378, ioaddr_hi=0x, 
epp_wide ON) not found!
[ 1233.781704] hm2: unloading
[ 1233.948104] RTAI[math]: unloaded.
[ 1233.990994] SCHED releases registered named ALIEN RTGLBH
[ 1234.020356] RTAI[malloc]: unloaded.
[ 1234.120022] RTAI[sched]: unloaded (forced hard/soft/hard transitions: 
traps 0, syscalls 0).
[ 1234.123774] I-pipe: Domain RTAI unregistered.
[ 1234.123889] RTAI[hal]: unmounted.



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Andrew
2014-06-05 14:39 GMT+03:00 Marius Alksnys marius.alks...@gmail.com:

 [ 1233.324834] hm2/hm2_7i90.0: InstanceStride = 0x0040,
 expected 0x0010


Could be the problem?
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread andy pugh
On 5 June 2014 12:39, Marius Alksnys marius.alks...@gmail.com wrote:


 [ 1233.324813] hm2/hm2_7i90.0: inconsistent Module Descriptor for UART
 Transmit Channel, not loading driver


Interesting. I don't know if the board uses any uarts, but you could try
num_uarts=0 as a workaround.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Marius Alksnys
On 06/05/2014 02:55 PM, andy pugh wrote:
 On 5 June 2014 12:39, Marius Alksnys marius.alks...@gmail.com wrote:


 [ 1233.324813] hm2/hm2_7i90.0: inconsistent Module Descriptor for UART
 Transmit Channel, not loading driver


 Interesting. I don't know if the board uses any uarts, but you could try
 num_uarts=0 as a workaround.


Still the same


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread andy pugh
On 5 June 2014 13:03, Marius Alksnys marius.alks...@gmail.com wrote:


  Interesting. I don't know if the board uses any uarts, but you could try
  num_uarts=0 as a workaround.

 Still the same


Exactly the same, or a bit different?

I have just noticed that the num_uarts option is not documented, but it
does exist:
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/drivers/mesa-hostmot2/hostmot2.c;h=223a224810c353529f6838c1189be8be118a2da5;hb=462f8094d2107178fe662add7b19ffab3a53c6cc#l433

As you are building from source it is possibly easiest to change uart.c
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/drivers/mesa-hostmot2/uart.c;h=40056f30bfde58e2752e7674ee66a9ede7d6efef;hb=462f8094d2107178fe662add7b19ffab3a53c6cc#l42

Change the 0, 4, 0x10, 0x000F part to appease the driver: ie 0, 4, 0x40,
0x000F

PCW would need to say which was correct as Master is also expecting UARTs
to have a 0x10 instance stride

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Peter C. Wallace
On Thu, 5 Jun 2014, Marius Alksnys wrote:

 Date: Thu, 05 Jun 2014 14:39:51 +0300
 From: Marius Alksnys marius.alks...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] How to use Mesa 7i90HD ?
 
 On 06/05/2014 12:33 PM, andy pugh wrote:
 I think that the 7i90 has permanent firmware. Try omitting the
 firmware=. from the config string.

 Now with firmware= omitted I get:

 ...
 [ 1233.200543] RTAI[math]: loaded.
 [ 1233.316587] hm2: loading Mesa HostMot2 driver version 0.15
 [ 1233.323232] hm2_7i90: loading HostMot2 Mesa 7i90 driver version 0.3
 [ 1233.324813] hm2/hm2_7i90.0: inconsistent Module Descriptor for UART
 Transmit Channel, not loading driver
 [ 1233.324822] hm2/hm2_7i90.0: Version = 0, expected 0
 [ 1233.324827] hm2/hm2_7i90.0: NumRegisters = 4, expected 4
 [ 1233.324834] hm2/hm2_7i90.0: InstanceStride = 0x0040, expected
 0x0010
 [ 1233.324840] hm2/hm2_7i90.0: MultipleRegisters = 0x000F,
 expected 0x000F
 [ 1233.324846] hm2/hm2_7i90.0: inconsistent Module Descriptor!
 [ 1233.324852] hm2/hm2_7i90.0: failed to parse Module Descriptor 5
 [ 1233.324865] hm2_7i90.0: board at (ioaddr=0x0378, ioaddr_hi=0x,
 epp_wide ON) not found!
 [ 1233.781704] hm2: unloading
 [ 1233.948104] RTAI[math]: unloaded.
 [ 1233.990994] SCHED releases registered named ALIEN RTGLBH
 [ 1234.020356] RTAI[malloc]: unloaded.
 [ 1234.120022] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
 traps 0, syscalls 0).
 [ 1234.123774] I-pipe: Domain RTAI unregistered.
 [ 1234.123889] RTAI[hal]: unmounted.


What firmware do you want on the 7I90?

I would first flash the 7I90 with the desired firmware (using the latest 
version of mesaflash)

https://github.com/micges/mesaflash

The firmware with the UART has a bug, (this is do to the fact that all the 
7I90 firmware is built with a script and the script does not fix the strides 
properly for the UART)

If the 7I90 was shipped with that firmware, thats definately a mistake

If you need firmware with a UART I will patch the bitfiles containing UARTs
But note that currently due to limitations in the IDROM format it is not 
possible to combine UARTs with SSerial or BSPI. It may be that for now (until 
IDROM V4) that the HM2 driver needs to be patched so that if a UART is fount 
it uses  hardwired stride, with maybe  a complaint rather than and abort






 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread andy pugh
On 5 June 2014 14:00, Peter C. Wallace p...@mesanet.com wrote:

  It may be that for now (until
 IDROM V4) that the HM2 driver needs to be patched so that if a UART is
 fount
 it uses  hardwired stride, with maybe  a complaint rather than and abort


I will try to do that tonight, it's a simple fix.


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Step motor in closed loop

2014-06-05 Thread Peter C. Wallace

On Thu, 5 Jun 2014, ELHIMA Moustapha wrote:


Date: Thu, 5 Jun 2014 01:47:43 -0700 (PDT)
From: ELHIMA Moustapha melh...@yahoo.com
To: emc-users@lists.sourceforge.net emc-users@lists.sourceforge.net,
emc2 emc-develop...@lists.sourceforge.net
Subject: [Emc-users] Step motor in closed loop



Dear All,

I'm back to get some help, I've tried to use my 2 phases 1.8° 12Nm stepmotor in 
closed loop on linuxcnc
I have connected 600 lines encoder to get the feedback for my stone
lathe. This encoder is connected directly to the back of the motor
My driver is a leadshine MD2278 with a selector to set 400 step/rev (default) 
to 1 step/rev so it's possible to adjust the encoder resolution 
(2400pts/rev) to the encoder (2400 pulse/rev)

I have tried to use the etch-servo config to control my step motor as servo 
motor

When I tried to move the motor I have a fallowing error I have tried to
change the parameters in the INI file but it doesn't really change
My important axis is the A axis Can someone can give me help ?

There are my config file I've removed the other axis because that will be same 
for the other axis :

thanks a lot

The step drive needs a step generator tha has step/dir signals, not a PWM 
generator


Heres what I would do, using similar servo system hal/ini files

set your input scale to encoder counts/turn
set your output scale to step drive steps/turn

setup a stepgen component in velocity mode (ctrl_type=v)
setup a pid component
(FF1 = 1, P = ~50, everything else 0)

connect the  stepgen.N.velocity pin to the PID output

set the ferror and min ferror parameters to large values to start



HAL

# load realtime modules
# kinematics
loadrt trivkins
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD 
servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hal_parport cfg=0x378 out
loadrt encoder num_chan=1
loadrt pid num_chan=1
loadrt pwmgen output_type=1
loadrt ddt count=2
loadrt constant count=1

# define the order of
execution for RT code
addf parport.0.read    base-thread
addf encoder.update-counters   base-thread
addf pwmgen.make-pulses    base-thread
addf parport.0.write   base-thread


addf encoder.capture-position  servo-thread
addf motion-command-handler    servo-thread
addf motion-controller servo-thread
addf pid.0.do-pid-calcs    servo-thread
addf
constant.0    servo-thread
addf pwmgen.update servo-thread
addf ddt.0 servo-thread
addf ddt.1 servo-thread

# hook stuff together
newsig Apos-fb float

setp encoder.0.position-scale [AXIS_3]INPUT_SCALE

net enc0A encoder.0.phase-A = parport.0.pin-10-in
net enc0B encoder.0.phase-B = parport.0.pin-11-in

linksp Apos-fb = encoder.0.position

newsig Avel-cmd float

linksp Apos-fb = pid.0.feedback
linksp Apos-fb = axis.3.motor-pos-fb

linksp Avel-cmd = pid.0.output

linksp Avel-cmd = pwmgen.0.value

newsigApwm bit
linkps pwmgen.0.pwm Apwm

newsig Adir bit

linkps pwmgen.0.dir = Adir

linksp Adir    = parport.0.pin-05-out
#linksp Adir    = parport.0.pin-07-out
setp parport.0.pin-07-out-invert TRUE
linksp Apwm = parport.0.pin-04-out

setp pid.0.maxoutput 1.0

# the values below come from the ini
setp pid.0.Pgain [AXIS_3]P
setp pid.0.Igain [AXIS_3]I
setp pid.0.Dgain [AXIS_3]D
setp pid.0.bias [AXIS_3]BIAS
setp pid.0.FF0 [AXIS_3]FF0
setp pid.0.FF1 [AXIS_3]FF1
setp pid.0.FF2 [AXIS_3]FF2
setp pid.0.deadband [AXIS_3]DEADBAND

newsig Apos-cmd float
linksp Apos-cmd = axis.3.motor-pos-cmd
linkps pid.0.command = Apos-cmd
newsig Aenable bit

linkps axis.3.amp-enable-out = Aenable
linksp Aenable = pid.0.enable
linksp Aenable = pwmgen.0.enable

net estop-loop iocontrol.0.user-enable-out iocontrol.0.emc-enable-in

newsig Avel float
newsig Aacc float
linksp Apos-cmd = ddt.0.in
linkps ddt.0.out = Avel
linksp Avel = ddt.1.in
linkps ddt.1.out = Aacc

net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed


INI
[EMC]

#- Version of this INI file
VERSION =   $Revision$

#+ Name of machine, for use with display, etc.
MACHINE =   EMC-ETCH-SERVO

#+ Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
DEBUG = 0

[DISPLAY]

#+ Name of display program, e.g., xemc
DISPLAY =  axis
CYCLE_TIME =   
0.200
OPEN_FILE = 

#- Path to help file
HELP_FILE = doc/help.txt

#- Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET =   RELATIVE

#- Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL

#+ Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 10

#- Prefix to be used
PROGRAM_PREFIX = /home/elhima/emc2/nc_files

#- Introductory graphic
INTRO_GRAPHIC = emc2.gif
INTRO_TIME =    5

# Editor to be used with Axis
EDITOR = gedit

[TASK]

# Name of task controller program, e.g., milltask
TASK =  

Re: [Emc-users] OT: Bandsaw Blades

2014-06-05 Thread Kirk Wallace
On 06/02/2014 03:49 AM, John Thornton wrote:
 Let us know what you think about it... might save me from trying it.

I got the Starrett blade. While putting it on the saw, I noticed the 
power cord was in really bad shape, so I pulled the saw out to get to 
the wiring inside and found four unused blades in the coolant tank. My 
dad had not used coolant, so I guess used the tank for storage. With a 
new power cord installed, I installed the new blade and made a couple of 
cuts on 1 x 3 6061 aluminum. Everything worked fine without any drama. 
I don't do a lot of cutting, so it will be a while before the blade will 
get any serious testing.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How to use Mesa 7i90HD ?

2014-06-05 Thread Peter C. Wallace
On Thu, 5 Jun 2014, andy pugh wrote:

 Date: Thu, 5 Jun 2014 14:20:55 +0100
 From: andy pugh bodge...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] How to use Mesa 7i90HD ?
 
 On 5 June 2014 14:00, Peter C. Wallace p...@mesanet.com wrote:

  It may be that for now (until
 IDROM V4) that the HM2 driver needs to be patched so that if a UART is
 fount
 it uses  hardwired stride, with maybe  a complaint rather than and abort


 I will try to do that tonight, it's a simple fix.


That would be great! Seems like a few people are starting to use
the UART interface and eventually it will collide with sserial or BSPI


 -- 
 atp
 If you can't fix it, you don't own it.
 http://www.ifixit.com/Manifesto
 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe touch off

2014-06-05 Thread Marius Liebenberg
Would you say it is better to always work in any one of the modes? I 
mean Radius or Diameter?

On 2014-06-05 12:33, John Thornton wrote:
 On X you can get confused if you forget what mode your in. For diameter
 mode it is 2 x the dowel + the diameter of the object in the chuck. For
 radius mode it is the diameter of the dowel + 1/2 the diameter of the
 object in the chuck.

 JT

 On 6/4/2014 8:08 AM, Marius Liebenberg wrote:
 So for the boring bar I can put an old rotary tool in the chuck and
 bring the bar from behind. I then lay the dowel between the the two
 tolls and jog away. The touch off will be that position less the
 diameter of the two tools. Do I have this correct?

 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe touch off

2014-06-05 Thread andy pugh
On 5 June 2014 18:14, Marius Liebenberg mar...@mastercut.co.za wrote:
 Would you say it is better to always work in any one of the modes? I
 mean Radius or Diameter?

I always work in diameter, except when trying to programme arcs

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Step motor in closed loop

2014-06-05 Thread Peter C. Wallace


First can you move this to the EMC users list as the EMC developers
list is not and appropriate place for configuration and setup information

On Thu, 5 Jun 2014, 
Moustapha 
Elhima wrote:

 Date: Thu, 5 Jun 2014 21:19:55 +0200
 From: Moustapha Elhima melh...@yahoo.com
 Reply-To: EMC developers emc-develop...@lists.sourceforge.net
 To: EMC developers emc-develop...@lists.sourceforge.net
 Subject: Re: [Emc-developers] [Emc-users] Step motor in closed loop
 
 Thanks Peter

I made your suggestion and Axis start without error but when I try to move 
the axis nothing happen the motor don't move
If I turn the motor shaft i see the value changing in the axis and put an 
error so  the encoder signal work
did you have a stepmotor closed loop config to compare what wrong on mine
Thanks again for your great help


I have a closed loop config that I did for a customer, its a little different 
because it uses hardware stepgens and encoder counters insted of linuxcnc 
software stepgen and encoder counters  but the connection 
details are the same:


freeby.mesanet.com/3x20encstep.zip



Cordialement

Moustapha Elhima



Peter Wallace
Mesa Electronics

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Step motor in closed loop

2014-06-05 Thread ELHIMA Moustapha
Hi Peter,

Thanks I try it tomorrow and let you know
thanks again for your help

 
Cordialement,

Moustapha Elhima
+33 6 09 99 21 97
P Penser à préserver l'environnement avant d'imprimer ce message. Merci


Le Jeudi 5 juin 2014 21h41, Peter C. Wallace p...@mesanet.com a écrit :
 




First can you move this to the EMC users list as the EMC developers
list is not and appropriate place for configuration and setup information

On Thu, 5 Jun 2014, 
Moustapha 
Elhima wrote:

 Date: Thu, 5 Jun 2014 21:19:55 +0200
 From: Moustapha Elhima melh...@yahoo.com
 Reply-To: EMC developers emc-develop...@lists.sourceforge.net
 To: EMC developers emc-develop...@lists.sourceforge.net
 Subject: Re: [Emc-developers] [Emc-users] Step motor in closed loop
 
 Thanks Peter

I made your suggestion and Axis start without error but when I try to move 
the axis nothing happen the motor don't move
If I turn the motor shaft i see the value changing in the axis and put an 
error so  the encoder signal work
did you have a stepmotor closed loop config to compare what wrong on mine
Thanks again for your great help


I have a closed loop config that I did for a customer, its a little different 
because it uses hardware stepgens and encoder counters insted of linuxcnc 
software stepgen and encoder counters  but the connection 
details are the same:


freeby.mesanet.com/3x20encstep.zip



Cordialement

Moustapha Elhima



Peter Wallace
Mesa Electronics


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Mark Tucker

I have been using the same version of machinekit/Linuxcnc forever and 
thought i would upgrade. The feed control was controlling the overall 
feedrate in Feed and rapid moves. Now suddenly it is only controlling 
the feedrate and not the rapids. Linuxcnc from my point of view is a 
pain in the A*se to control,what the hell are they playing at?? It 
is getting to the point where i dare not upgrade.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Sebastian Kuzminsky
On 6/5/14 15:44 , Mark Tucker wrote:

 I have been using the same version of machinekit/Linuxcnc forever and
 thought i would upgrade. The feed control was controlling the overall
 feedrate in Feed and rapid moves. Now suddenly it is only controlling
 the feedrate and not the rapids. Linuxcnc from my point of view is a
 pain in the A*se to control,what the hell are they playing at?? It
 is getting to the point where i dare not upgrade.

This was mentioned in the upgrade notes that i sent out with the 
announcement of the new version.

It's in the Important Behavior Changes section here: 
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.6


-- 
Sebastian Kuzminsky

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Eric Keller
On Thu, Jun 5, 2014 at 5:49 PM, Sebastian Kuzminsky s...@highlab.com wrote:


 This was mentioned in the upgrade notes that i sent out with the
 announcement of the new version.

 It's in the Important Behavior Changes section here:
 http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.6

 You expect users to actually read the instructions for a new version of a
complex and potentially dangerous software package?  Blasphemy!
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread andy pugh
On 5 June 2014 22:44, Mark Tucker m...@rmtucker.f2s.com wrote:

 I have been using the same version of machinekit/Linuxcnc forever and
 thought i would upgrade. The feed control was controlling the overall
 feedrate in Feed and rapid moves.

Now feed over-ride over-rides the feed rate and max-velocity over-ride
over-rides the max-velocity.
Seems sensible really, but I can imagine it coming as a surprise.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Eric Keller
On Thu, Jun 5, 2014 at 6:19 PM, andy pugh bodge...@gmail.com wrote:


 Now feed over-ride over-rides the feed rate and max-velocity over-ride
 over-rides the max-velocity.
 Seems sensible really, but I can imagine it coming as a surprise.

 --


Obviously, during rapids the tool shouldn't be engaged with the work, but
most controls just have one feed rate override knob.  Now you have to have
2 knobs? Not sure how I feel about that.  When I'm not sure of my program,
I twiddle the feed rate knob quite a bit.
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread yann jautard

Le 06/06/2014 00:25, Eric Keller a écrit :
 Obviously, during rapids the tool shouldn't be engaged with the work, 
 but most controls just have one feed rate override knob. Now you have 
 to have 2 knobs? Not sure how I feel about that. When I'm not sure of 
 my program, I twiddle the feed rate knob quite a bit.

So do I. Saved me a couple of parts and tools !

May be there is some HAL trick to get the same knob sending value to the 
two feed control pins ?

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread sam sokolik
After using the maximum velocity control - I rarely use feedrate 
override anymore.  (just for tweeking the cutting speed.)  but really - 
MV is awesome...

(I have 1 mpg and I select between FO, MV, SO, X, Y and Z)

sam

On 06/05/2014 05:25 PM, Eric Keller wrote:
 On Thu, Jun 5, 2014 at 6:19 PM, andy pugh bodge...@gmail.com wrote:

 Now feed over-ride over-rides the feed rate and max-velocity over-ride
 over-rides the max-velocity.
 Seems sensible really, but I can imagine it coming as a surprise.

 --

 Obviously, during rapids the tool shouldn't be engaged with the work, but
 most controls just have one feed rate override knob.  Now you have to have
 2 knobs? Not sure how I feel about that.  When I'm not sure of my program,
 I twiddle the feed rate knob quite a bit.
 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Mark Tucker
On 05/06/14 23:19, andy pugh wrote:
 Now feed over-ride over-rides the feed rate and max-velocity over-ride
 over-rides the max-velocity.
 Seems sensible really, but I can imagine it coming as a surprise.
Really ?
Do you actually use it?
Take this Scenario:-
Max Velocity 2000mm
Feed in program 1000mm
Turn the max velocity slider down to 75% = Rapids now 1500mm , Feed 1000mm
Turn the max velocity slider down to 50% = Rapids now 1000mm , Feed 1000mm
Turn the max velocity slider down to 25% = Rapids now 500mm , Feed 500mm
This is getting awfully confusing now because what is the feedrate 
slider doing at this point if you set it to 50%???
Do you get 50% of 1000mm or 500mm.
I have never seen such bollocks in 30 years of cnc machine operating.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Mark Tucker
Not only that but what happens to the people that have built a control 
with 1 knob???
By the way you have to fit another one now

On 05/06/14 23:46, Mark Tucker wrote:
 On 05/06/14 23:19, andy pugh wrote:
 Now feed over-ride over-rides the feed rate and max-velocity over-ride
 over-rides the max-velocity.
 Seems sensible really, but I can imagine it coming as a surprise.
 Really ?
 Do you actually use it?
 Take this Scenario:-
 Max Velocity 2000mm
 Feed in program 1000mm
 Turn the max velocity slider down to 75% = Rapids now 1500mm , Feed 1000mm
 Turn the max velocity slider down to 50% = Rapids now 1000mm , Feed 1000mm
 Turn the max velocity slider down to 25% = Rapids now 500mm , Feed 500mm
 This is getting awfully confusing now because what is the feedrate
 slider doing at this point if you set it to 50%???
 Do you get 50% of 1000mm or 500mm.
 I have never seen such bollocks in 30 years of cnc machine operating.


 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Pete Matos
Honesty after I upgraded to the newest release recently I felt much the
same way as mark.  It was better I think with seperate feedrate and rapid
overrides.  The Max feedrate Works but it can be frustrating.  I use my
machine apparently much the way Mark does in varying feedrates when running
a virgin code program.   I am going to add some custom stuff to the control
and honestly the comments about reading the manual are kinda   irritating
especially when the Manual is so vast in scope and information for things
are spread around so much.  The documentation of the control is difficult
to understand for me and this is not my first cnc.   It is hard enough for
me not being a programmer type.  Just a humble opinion not trying to hurt
any feelings.  I LOVE LinuxCNC so far. peace

Pete



On Thursday, June 5, 2014, Mark Tucker m...@rmtucker.f2s.com wrote:
 On 05/06/14 23:19, andy pugh wrote:
 Now feed over-ride over-rides the feed rate and max-velocity over-ride
 over-rides the max-velocity.
 Seems sensible really, but I can imagine it coming as a surprise.
 Really ?
 Do you actually use it?
 Take this Scenario:-
 Max Velocity 2000mm
 Feed in program 1000mm
 Turn the max velocity slider down to 75% = Rapids now 1500mm , Feed 1000mm
 Turn the max velocity slider down to 50% = Rapids now 1000mm , Feed 1000mm
 Turn the max velocity slider down to 25% = Rapids now 500mm , Feed 500mm
 This is getting awfully confusing now because what is the feedrate
 slider doing at this point if you set it to 50%???
 Do you get 50% of 1000mm or 500mm.
 I have never seen such bollocks in 30 years of cnc machine operating.



--
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread andy pugh
On 5 June 2014 23:57, Mark Tucker m...@rmtucker.f2s.com wrote:
 Not only that but what happens to the people that have built a control
 with 1 knob???

That's a fair question.

I haven't tried it (I use touchy and Axis. In the former the function
of the knob is selectable, in the latter I have no knobs) but I am
pretty sure that the same knob can easily control both over-rides and
the net effect will be just like the current behaviour.

Assuming an encoder and halui:

net override encoder.1.counts = halui.feed-override.counts

Can be replaced with

net override encoder.1.counts = halui.feed-override.counts
halui.max-velocity.counts

If you are seeing the new behaviour then you are using the un-released
preview version, and getting feedback on this sort of change is the
reason for the preview period.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Mark Tucker

On 05/06/14 22:49, Sebastian Kuzminsky wrote:
 On 6/5/14 15:44 , Mark Tucker wrote:
 I have been using the same version of machinekit/Linuxcnc forever and
 thought i would upgrade. The feed control was controlling the overall
 feedrate in Feed and rapid moves. Now suddenly it is only controlling
 the feedrate and not the rapids. Linuxcnc from my point of view is a
 pain in the A*se to control,what the hell are they playing at?? It
 is getting to the point where i dare not upgrade.
 This was mentioned in the upgrade notes that i sent out with the
 announcement of the new version.

 It's in the Important Behavior Changes section here:
 http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.6


And you really think this is enough notification for such an important 
change??
I am still a big follower of linuxcnc and appreciate the hard work that 
has gone into it,But some of these changes should be discussed in a big 
way Before someone get hurt 


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread sam sokolik
like this?

http://thread.gmane.org/gmane.linux.distributions.emc.devel/11144/

sam

On 06/05/2014 06:10 PM, Mark Tucker wrote:
 On 05/06/14 22:49, Sebastian Kuzminsky wrote:
 On 6/5/14 15:44 , Mark Tucker wrote:
 I have been using the same version of machinekit/Linuxcnc forever and
 thought i would upgrade. The feed control was controlling the overall
 feedrate in Feed and rapid moves. Now suddenly it is only controlling
 the feedrate and not the rapids. Linuxcnc from my point of view is a
 pain in the A*se to control,what the hell are they playing at?? It
 is getting to the point where i dare not upgrade.
 This was mentioned in the upgrade notes that i sent out with the
 announcement of the new version.

 It's in the Important Behavior Changes section here:
 http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.6


 And you really think this is enough notification for such an important
 change??
 I am still a big follower of linuxcnc and appreciate the hard work that
 has gone into it,But some of these changes should be discussed in a big
 way Before someone get hurt 


 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Ralph Stirling
I have a Mori Seiki CNC lathe with Fanuc 0i-TC control and
a Haas TM-1 CNC mill.  They both have independent control
of feed override and rapids override.  I would not expect or
want feed override to control rapids or vice-versa.  I guess
I can see some logic in the max-velocity approach, but it is
different than the other CNC's I use.

-- Ralph

From: Mark Tucker [m...@rmtucker.f2s.com]
Sent: Thursday, June 05, 2014 3:46 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc 
and nobody mentions it?

On 05/06/14 23:19, andy pugh wrote:
 Now feed over-ride over-rides the feed rate and max-velocity over-ride
 over-rides the max-velocity.
 Seems sensible really, but I can imagine it coming as a surprise.
Really ?
Do you actually use it?
Take this Scenario:-
Max Velocity 2000mm
Feed in program 1000mm
Turn the max velocity slider down to 75% = Rapids now 1500mm , Feed 1000mm
Turn the max velocity slider down to 50% = Rapids now 1000mm , Feed 1000mm
Turn the max velocity slider down to 25% = Rapids now 500mm , Feed 500mm
This is getting awfully confusing now because what is the feedrate
slider doing at this point if you set it to 50%???
Do you get 50% of 1000mm or 500mm.
I have never seen such bollocks in 30 years of cnc machine operating.


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Eric Keller
On Thu, Jun 5, 2014 at 7:04 PM, Pete Matos petefro...@gmail.com wrote:

 honestly the comments about reading the manual are kinda   irritating


You really should read the release notes when changing version, you could
hurt your machine or yourself.  Nobody expects you to read the manual to
find the changes.
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Mark Tucker
On 06/06/14 00:31, sam sokolik wrote:
 like this?

 http://thread.gmane.org/gmane.linux.distributions.emc.devel/11144/

 sam
That was the sum total of the discussion??

Errr i think it should be this way,Ok lets go with it

Wow what about the people that actually use it on a daily basis ?
Honestly this is so frustrating i can no longer upgrade.



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Mark Tucker
I would be happy with rapid and seperate feed overrides but that is not 
what it is right now.
It is just totally confusing when you turn the max velocity down to 
below the feed threshhold.

On 06/06/14 00:39, Ralph Stirling wrote:
 I have a Mori Seiki CNC lathe with Fanuc 0i-TC control and
 a Haas TM-1 CNC mill.  They both have independent control
 of feed override and rapids override.  I would not expect or
 want feed override to control rapids or vice-versa.  I guess
 I can see some logic in the max-velocity approach, but it is
 different than the other CNC's I use.

 -- Ralph
 
 From: Mark Tucker [m...@rmtucker.f2s.com]
 Sent: Thursday, June 05, 2014 3:46 PM
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Why do dangerous changes suddenly creep in to 
 Linuxcnc and nobody mentions it?

 On 05/06/14 23:19, andy pugh wrote:
 Now feed over-ride over-rides the feed rate and max-velocity over-ride
 over-rides the max-velocity.
 Seems sensible really, but I can imagine it coming as a surprise.
 Really ?
 Do you actually use it?
 Take this Scenario:-
 Max Velocity 2000mm
 Feed in program 1000mm
 Turn the max velocity slider down to 75% = Rapids now 1500mm , Feed 1000mm
 Turn the max velocity slider down to 50% = Rapids now 1000mm , Feed 1000mm
 Turn the max velocity slider down to 25% = Rapids now 500mm , Feed 500mm
 This is getting awfully confusing now because what is the feedrate
 slider doing at this point if you set it to 50%???
 Do you get 50% of 1000mm or 500mm.
 I have never seen such bollocks in 30 years of cnc machine operating.


 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/NeoTech
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Sebastian Kuzminsky
On 06/05/2014 05:39 PM, Ralph Stirling wrote:
 I have a Mori Seiki CNC lathe with Fanuc 0i-TC control and
 a Haas TM-1 CNC mill.  They both have independent control
 of feed override and rapids override.  I would not expect or
 want feed override to control rapids or vice-versa.  I guess
 I can see some logic in the max-velocity approach, but it is
 different than the other CNC's I use.

I can see the utility of a rapid-override pin, in addition to the
feed-override and max-velocity pins we currently have.

The addition of rapid-override would make it easy to implement the
behavior that Mark Tucker desires.

I would be happy to review a patch against master that adds this pin.


-- 
Sebastian Kuzminsky

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Fwd: Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread Chris Morley



- Forwarded message -
From: Chris Morley chrisinnana...@hotmail.com
To: seb emc s...@highlab.com
Subject: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and 
nobody mentions it?
Date: Thu, Jun 5, 2014 5:44 PM



I can look at this this weekend. Adding a HAL pin for rapid override should be 
no problem. Tying that pin to halui should make it work as before for those who 
want it that way.
Chris M

- Reply message -
From: Sebastian Kuzminsky s...@highlab.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] Why do dangerous changes suddenly creep in to Linuxcnc and 
nobody mentions it?
Date: Thu, Jun 5, 2014 4:46 PM


On 06/05/2014 05:39 PM, Ralph Stirling wrote:
 I have a Mori Seiki CNC lathe with Fanuc 0i-TC control and
 a Haas TM-1 CNC mill.  They both have independent control
 of feed override and rapids override.  I would not expect or
 want feed override to control rapids or vice-versa.  I guess
 I can see some logic in the max-velocity approach, but it is
 different than the other CNC's I use.

I can see the utility of a rapid-override pin, in addition to the
feed-override and max-velocity pins we currently have.

The addition of rapid-override would make it easy to implement the
behavior that Mark Tucker desires.

I would be happy to review a patch against master that adds this pin.


--
Sebastian Kuzminsky

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Fwd: Why do dangerous changes suddenly creep in to Linuxcnc and nobody mentions it?

2014-06-05 Thread John Alexander Stewart
I must admit that my (older) LinuxCNC machines seemed strange in that the
feed override changed the G0 speed.

a G1 F500 (or whatever) would do if I wanted to control rapids when
controlling the feed rate, but, that was not my intention.

So, to me, this change actually makes sense!

​John.
--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users