[Emc-developers] streamer BUG or feature

2014-11-15 Thread Slavko Kocjancic
Hello... I working on rastering proces with linuxcnc found streamer to be useful but lack some feature and found (probably bug) too. About bug: When I start streamer*"loadrt streamer depth=100*// *cfg=b" *and check values in halscope among others I got: streamer.0.cur-depth = 0 streamer.0.em

Re: [Emc-developers] Syncronized jog

2014-12-02 Thread Slavko Kocjancic
On 02. 12. 2014 16:26, Marius Liebenberg wrote: > Hi All > Is it possible to do a synchronized jog of at least two axis? I need to > move two axis along a specific curve in manual jog mode if possible. > If you have encoder for jogging then you can attach same encoder in more axis in hal. Should

Re: [Emc-developers] Google Summer of Code students wanted!

2015-03-06 Thread Slavko Kocjancic
On 06. 03. 2015 05:21, Sebastian Kuzminsky wrote: > The LinuxCNC project has been approved for Google Summer of Code, under > the BRL-CAD umbrella organization. If you are an eligible student, and > you'd like to get paid to work on LinuxCNC this summer, check this out: > > http://www.google

Re: [Emc-developers] Google Summer of Code students wanted!

2015-03-07 Thread Slavko Kocjancic
On 07. 03. 2015 16:47, Sebastian Kuzminsky wrote: > On 03/06/2015 11:28 PM, Slavko Kocjancic wrote: >> On 06. 03. 2015 05:21, Sebastian Kuzminsky wrote: >>> The LinuxCNC project has been approved for Google Summer of Code, under >>> the BRL-CAD umbrella organizati

Re: [Emc-developers] Google Summer of Code students wanted!

2015-03-07 Thread Slavko Kocjancic
On 08. 03. 2015 04:38, EBo wrote: > On Mar 7 2015 8:47 AM, Sebastian Kuzminsky wrote: >> On 03/06/2015 11:28 PM, Slavko Kocjancic wrote: >>> ... >>> >>> I just throw my eyes to that. And find what? >>> One of thing is "Add flow control to halstre

Re: [Emc-developers] Google Summer of Code students wanted!

2015-03-08 Thread Slavko Kocjancic
On 08. 03. 2015 09:38, Dave Caroline wrote: > With a diff program or better a merge program like meld one can easily > see the white space changes that are extra to the real code changes > and can confuse or waste time of a reviewer. Whitespace changes are > often made by badly set editorr or a fee

Re: [Emc-developers] Google Summer of Code students wanted!

2015-03-08 Thread Slavko Kocjancic
On 08. 03. 2015 10:03, Dave Caroline wrote: > It was a quick attempt at showing the changes not needed > see http://linuxcnc.org/docs/html/code/Style_Guide.html > the first paragraph about do no harm > > Most cannot help with the docs because you understand the changes not us > so again some indica

Re: [Emc-developers] Google Summer of Code students wanted!

2015-03-08 Thread Slavko Kocjancic
On 08. 03. 2015 14:00, John Thornton wrote: > Not trying to make any more confusion but I find Geany to be a bit > confusing about spaces and tabs as you can not see them. While it is > great for Python programs because you can run them from within Geany. > Gedit is much less confusing to look at e

Re: [Emc-developers] Google Summer of Code students wanted!

2015-03-09 Thread Slavko Kocjancic
On 09. 03. 2015 00:49, Sebastian Kuzminsky wrote: > On 03/08/2015 12:40 AM, Slavko Kocjancic wrote: >> From my point of view you hit all the troubles. >> -it needs little cleaning (I don't know what's wrong at all) >> -I really don't know how to edit documenta

[Emc-developers] Stepgen.c feature

2010-02-25 Thread Slavko Kocjancic
Hello... I'm already post that question/wish on the linuxcnc forum and I got response that here is the right place to ask that. Se here is copy. ;-- Hello... I'm have homemade stepper driver and have phase inputs. The inpu

Re: [Emc-developers] Stepgen.c feature

2010-02-26 Thread Slavko Kocjancic
, that results in very slow maximum RPM. > (common stepper motors have 200 steps per revolution, that is 50 > electrical periods per revolution, 160*50 is 8000 per revolution.) > You get the idea... > > Mario. > > On Fri, Feb 26, 2010 at 7:27 AM, Slavko Kocjancic <mailto:

Re: [Emc-developers] Stepgen.c feature

2010-02-26 Thread Slavko Kocjancic
per electrical phase with great deal of >> success, but since the EMC2 can give output of only about 50k changes >> per second, that results in very slow maximum RPM. >> (common stepper motors have 200 steps per revolution, that is 50 >> electrical periods per revolution, 160

Re: [Emc-developers] [PATCH] Allow the user to specify a stepping waveform

2010-02-26 Thread Slavko Kocjancic
Sorry Jef Seems that you already do the change just I don't have clue how to recompile this... may that helps if I say that I use (active) linux near a week now. So all that stuff is new for me. some more help? Jeff Epler pravi: > Slavko Kocjancic wanted a custom step type

Re: [Emc-developers] [PATCH] Allow the user to specify a stepping waveform

2010-02-27 Thread Slavko Kocjancic
Hello... > I assumed that you'd already compiled emc2 for yourself, but not to > worry. Instructions for compiling emc2 from source are on our wiki: > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#On_Ubuntu_6_06_or_8_04_from_source > install required packages, get the source with '

Re: [Emc-developers] [PATCH v2] Allow the user to specify a stepping waveform

2010-02-27 Thread Slavko Kocjancic
Jeff Epler pravi: > Slavko Kocjancic wanted a custom step type for his homemade stepper > driver. This adds a (single) customizable step waveform. These > waveforms have the same limitations as the existing ones: up to 5 output > phases, and up to 10 steps per cycle > --- > I&#

Re: [Emc-developers] [PATCH v2] Allow the user to specify a stepping waveform

2010-02-27 Thread Slavko Kocjancic
2010/2/28 Jeff Epler > On Sat, Feb 27, 2010 at 04:40:24PM +0100, Slavko Kocjancic wrote: > > Machine seems to work ok but report is way wrong! > > > > User step type has 7 phases and 8 steps per cycle! THAT's WRONG > > I think should be > > User step t

Re: [Emc-developers] [PATCH v2] Allow the user to specify a stepping waveform

2010-03-03 Thread Slavko Kocjancic
2010/2/28 Jeff Epler mailto:jep...@unpythonic.net>> On Sat, Feb 27, 2010 at 04:40:24PM +0100, Slavko Kocjancic wrote: > Machine seems to work ok but report is way wrong! > > User step type has 7 phases and 8 steps per cycle! THAT's WRONG > I thin

[Emc-developers] MDI G30 Probably bug.

2010-03-03 Thread Slavko Kocjancic
Hello... I think I find a bug. If I call subroutine from main program all thing is perfect. But if I execute call from mdi they don't work. In MDI the machine does G38 probe but after that G30 doesn't restore position saved with G30.1 As I tested more times seems that every other call the G30 mov

[Emc-developers] Compiling from git

2010-03-26 Thread Slavko Kocjancic
Hello... Sorry for newbie question. About week ago there was FILTER menu in git download. Today I refresh my git source and that menu dissapear. I think that is good option so I wonder why is removed? By mistake?!? Slavko. --

Re: [Emc-developers] Compiling from git

2010-03-26 Thread Slavko Kocjancic
Bernhard Kubicek pravi: > I don't know git, itspolicys, and the general workflow. > However, it might not have worked for everybody. > In jeffs patch I had to remove "delete=False" from: > |+ outfile = tempfile.NamedTemporaryFile(| > |+suffix="ngc", dir=tempdir, delete=False)| > to make

[Emc-developers] NEW EPP Driver.

2010-03-26 Thread Slavko Kocjancic
Hello... I'm near finished new EPP board to be used for software stepgen. It has 24 input and 24 output lines see: http://tinyurl.com/ycsuxb9 I don't know where to post all schematic/pcb design and manual when finished but want to be free for all people. As many benchtop (cheap) machines near

Re: [Emc-developers] NEW EPP Driver.

2010-03-26 Thread Slavko Kocjancic
Alexey Starikovskiy pravi: > Slavko Kocjancic пишет: > >> Hello... >> >> I'm near finished new EPP board to be used for software stepgen. It has >> 24 input and 24 output lines see: http://tinyurl.com/ycsuxb9 >> >> I don't know wh

Re: [Emc-developers] NEW EPP Driver.

2010-03-26 Thread Slavko Kocjancic
Alexey Starikovskiy pravi: > Slavko Kocjancic пишет: > >> Hello... >> >> I'm near finished new EPP board to be used for software stepgen. It has >> 24 input and 24 output lines see: http://tinyurl.com/ycsuxb9 >> >> I don't know wh

Re: [Emc-developers] NEW EPP Driver.

2010-03-26 Thread Slavko Kocjancic
Alexey Starikovskiy pravi: > As a matter of fact, I already see a big stopper in your board usefulness. > You put optical isolation between logic and parallel port, I see 2 > drawbacks of it: > 1. parallel ports are quite weak these days (3.3v/~5mA), so driving LED > from it directly is not bullet

Re: [Emc-developers] NEW EPP Driver.

2010-03-26 Thread Slavko Kocjancic
Alexey Starikovskiy pravi: > Slavko Kocjancic пишет: > >> Alexey Starikovskiy pravi: >> >> >>> As a matter of fact, I already see a big stopper in your board usefulness. >>> You put optical isolation between logic and parallel port, I see 2 >

Re: [Emc-developers] NEW EPP Driver.

2010-03-26 Thread Slavko Kocjancic
Bernhard Kubicek pravi: > > > On Fri, Mar 26, 2010 at 5:21 PM, Slavko Kocjancic <mailto:esla...@gmail.com>> wrote: > > Alexey Starikovskiy pravi: > > As a matter of fact, I already see a big stopper in your board > usefulness. > > You

Re: [Emc-developers] NEW EPP Driver.

2010-03-28 Thread Slavko Kocjancic
Slavko Kocjancic pravi: > Hello... > > I'm near finished new EPP board to be used for software stepgen. It has > 24 input and 24 output lines see: http://tinyurl.com/ycsuxb9 > > .. Board finished and tested on bench. After removing few mistakes (my :-[ ) all works gre

Re: [Emc-developers] NEW EPP Driver.

2010-03-29 Thread Slavko Kocjancic
Alexey Starikovskiy pravi: > So you just need to copy hal_parport.c to hal_epport.c and add > hal_eppport.c to appropriate Submakefile. > When you extend interface to allow 8*i and 8*o inputs and outputs and > translate that into your command sequences. > Can't find correct Submakefile. I have

Re: [Emc-developers] NEW EPP Driver.

2010-03-29 Thread Slavko Kocjancic
2010/3/29 Alexey Starikovskiy > Slavko Kocjancic пишет: > > Alexey Starikovskiy pravi: > > > >> So you just need to copy hal_parport.c to hal_epport.c and add > >> hal_eppport.c to appropriate Submakefile. > >> When you extend interface to allow 8*i and

Re: [Emc-developers] NEW EPP Driver.

2010-03-29 Thread Slavko Kocjancic
2010/3/29 Alexey Starikovskiy > Slavko Kocjancic пишет: > > > > > > So what is correct way? just "make" ? > > > Yes, 'make' is enough > > ... but how "make" know that I make cha

Re: [Emc-developers] NEW EPP Driver.

2010-03-30 Thread Slavko Kocjancic
Jon Elson pravi: > Slavko Kocjancic wrote: > >> ... but how "make" know that I make change on some file? I suspect >> that I should tell what file I changed?!? >> >> > Ma

[Emc-developers] HallMeter wrong time!

2010-03-31 Thread Slavko Kocjancic
Hello... Today I pull my hear from head discoveryng why my EPP IO board is so slow. For measurment's I put 10 out cycles in write_board procedure.. static void write_board(void *arg, long period) { epp_board_t *board; board = arg; rtapi_outb(0, board->base_addr+3); rta

Re: [Emc-developers] HallMeter wrong time!

2010-03-31 Thread Slavko Kocjancic
2010/3/31 Jeff Epler > .time and .tmax (as well as the numbers in halcmd show thread) are in > CPU cycles, not ns. Some versions of rtai performed very poorly when > requesting the current time, so we switched to using the TSC. Is it > possible that your system is 2GHz or so? > > If you saw a m

Re: [Emc-developers] HallMeter wrong time!

2010-04-01 Thread Slavko Kocjancic
Slavko Kocjancic pravi: > > > 2010/3/31 Jeff Epler <mailto:jep...@unpythonic.net>> > > .time and .tmax (as well as the numbers in halcmd show thread) are in > CPU cycles, not ns. Some versions of rtai performed very poorly when > requesting the current

[Emc-developers] EPP timeout

2010-04-01 Thread Slavko Kocjancic
l folowed data acces as access to [next] byte. Example board with 24 outputs and 24 inputs are in http:// (fixme) Author: Slavko Kocjancic License: GPL Copyright (c) 2010 All rights reserved. The configuration is determined by a config string pa

Re: [Emc-developers] EPP timeout

2010-04-01 Thread Slavko Kocjancic
Peter C. Wallace pravi: > On Thu, 1 Apr 2010, Peter C. Wallace wrote: > > >> Date: Thu, 1 Apr 2010 08:34:34 -0700 (PDT) >> From: Peter C. Wallace >> Reply-To: EMC developers >> To: EMC developers >> Subject: Re: [Emc-developers] EPP timeout >>

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-20 Thread Slavko Kocjancic
Here I'm not understand what in reality is problem?!? Well I don't have gantry machine but as I observe my machine the gantry can be homed in same way. So if I assume the AXIS_0 and AXIS_1 are the gantry then user just must use same parameters for homing speeds and types and HOME_SEQUENCE to be

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-20 Thread Slavko Kocjancic
Alexey Starikovskiy pravi: > Main problem seems to be that you need to make sure you don't increase skew > between linked axis while homing or working. > Just that.! The homing as is doesn't increase the skew (if parameters are correct) > Hoping that it's small enough and machine can cope wit

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-20 Thread Slavko Kocjancic
Alexey Starikovskiy pravi: > 20.04.2010 18:07, Slavko Kocjancic пишет: > >> Alexey Starikovskiy pravi: >> >> >>> Main problem seems to be that you need to make sure you don't increase skew >>> between linked axis while homing or worki

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-20 Thread Slavko Kocjancic
2010/4/20 Slavko Kocjancic > Alexey Starikovskiy pravi: > > 20.04.2010 18:07, Slavko Kocjancic пишет: > > > >> Alexey Starikovskiy pravi: > >> > >> > >>> Main problem seems to be that you need to make sure you don't increa

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-20 Thread Slavko Kocjancic
2010/4/20 Cliff Blackburn > The only thing this would really change is stopping the gantry from > skewing it's self any worse while homing. What would happen with homing > right now if one of your home switches wasn't working? One joint would stop > and the other would keep on going until you ja

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-23 Thread Slavko Kocjancic
d...@umich.edu pravi: Hi Cliff, I am glad to see you are thinking about the homing of tandem motors on an axis. I plan to make a 4' x 6' table with tandem X axis motors. I think this functionality will attract many people with gantry mills to EMC2. How about this sequence: 1. Move both moto

Re: [Emc-developers] Coordinated Gantry Homing by Linked Joints

2010-04-25 Thread Slavko Kocjancic
2010/4/25 > Slavko, > > Thanks for the schematic! That is an elegant solution, in lieu of a > built-in software routine. Could you explain how you are controlling the > on/off of the PASS2HOME relay from EMC2? Or are you doing it manually? > > Using a pushbutton is a good safety feature. Another

[Emc-developers] StepGen

2010-09-16 Thread Slavko Kocjancic
Hello I'm use EMC with 25uS base period. This came little coarse now as I get stronger motors for my machine. So I look under the hood of emc how works. Now I get confused how all thing works. If I understand correctly the stepgen (in base period) just make pulse if needed but all the ac

Re: [Emc-developers] StepGen

2010-09-17 Thread Slavko Kocjancic
Na 16.9.2010 17:22, Jon Elson je pisal: > Slavko Kocjancic wrote: >>Hello >> >> I'm use EMC with 25uS base period. This came little coarse now as I get >> stronger motors for my machine. So I look under the hood of emc how >> works. Now I get co

Re: [Emc-developers] StepGen

2010-09-17 Thread Slavko Kocjancic
C side I use regular protocol's. With low level programming PC hardvare and leave all TCP/IP stuff out might bu just right thing. Na 16.9.2010 18:21, Peter C. Wallace je pisal: > On Thu, 16 Sep 2010, Slavko Kocjancic wrote: > >> Date: Thu, 16 Sep 2010 09:50:00 +0200 >> From: S

Re: [Emc-developers] StepGen

2010-09-17 Thread Slavko Kocjancic
Na 17.9.2010 10:53, Andy Pugh je pisal: > On 17 September 2010 09:16, Slavko Kocjancic wrote: > >> but with EMC that wil be like that 250,250,250,250, (new servo thread >> calc), 245, 245, 245, 245, >> I thinking to put stepgen in microcontroller as finding good P

Re: [Emc-developers] StepGen

2010-09-17 Thread Slavko Kocjancic
ssion by factor of 4! Now I have one step as 0.0075mm but with this wil came 0.03mm - not acceptable. Na 17.9.2010 11:35, Andy Pugh je pisal: > On 17 September 2010 10:18, Slavko Kocjancic wrote: > >> I looking to mesa for $79 and I can live with that but they doesn't >> suppo

Re: [Emc-developers] StepGen

2010-09-17 Thread Slavko Kocjancic
Na 17.9.2010 18:35, Jon Elson je pisal: > Slavko Kocjancic wrote: >> >> >> I had 3axis machine and work happy with 1000mm/min. But if I drive same >> motor/driver/machine with 555 timer and translator I can get over >> 2500mm/min. So EMC2 probably has too much

Re: [Emc-developers] StepGen

2010-09-18 Thread Slavko Kocjancic
Na 18.9.2010 3:19, Jon Elson je pisal: > Slavko Kocjancic wrote: >>>> And I like to complete EMC2 in way as is. FREE! Emc is Free so the some >>>> board should be free too. >>>> > Just to completely address your point, there SHOULD be some open-source

Re: [Emc-developers] StepGen

2010-09-18 Thread Slavko Kocjancic
Na 17.9.2010 23:15, Kenneth Lerman je pisal: > On 09/17/2010 04:26 AM, Slavko Kocjancic wrote: >> Peter thanks. >> >> I didn't realy calculate the worst case scenario. Just observed that >> acceleration is calculated on servo thread. And finding reliable PC to

Re: [Emc-developers] StepGen

2010-09-18 Thread Slavko Kocjancic
Just thanks... if someone like to try AND learn then DIY boards are cheap. Otherwise... you already write... ...thanks nice letter. 2010/9/18 Jonathan George > > >> >> HEY.. >> >> That's not nice! >> I know that developing take time... >> But EMC programmers doesn't charge for man

[Emc-developers] wrong estop_latch.

2010-11-22 Thread Slavko Kocjancic
Hello... Long time ago I already post problem with estop latch and in new version (git) stil isn't corrected. The problematic is watchdog. It should togle only when ok_out is true but does togle all the time. The change is needed in line 25 of estop_latch.comp from watchdog = !watchdog; to

[Emc-developers] ManualToolChange and jog

2010-11-22 Thread Slavko Kocjancic
Hello... There are few debates on jog while paused / manual tool change. But no solution is described or all is declared to be to hard to implement. The only thing done is one changed script to alow jog/touchoff within manualtoolchange. But that script isn't included standard package so I ask

[Emc-developers] LOGOPEN change

2010-12-01 Thread Slavko Kocjancic
Hello... I was trying to change behaviour of (LOGOPEN, filename) feature to not truncate file when oppened (to add) As my knowledge with C is not good I can't manage to do in way I like and to be good for others too. My idea was to use (LOGOPEN, filename) as is and (LOGOPEN, filename, append)

Re: [Emc-developers] LOGOPEN change

2010-12-01 Thread Slavko Kocjancic
S, Chris Radek piše: > On Wed, Dec 01, 2010 at 12:49:52PM +0200, Slavko Kocjancic wrote: >> Hello... >> >> I was trying to change behaviour of (LOGOPEN, filename) feature to not >> truncate file when oppened (to add) >> As my knowledge with C is not good I can&#x

Re: [Emc-developers] LOGOPEN change

2010-12-02 Thread Slavko Kocjancic
Ok.. I'm managed to add LOGAPPEND command to open log file for append (not to truncate it). Here are changes. The only english manual is updated. (net french) From f8ce650968df3599937f8187fca89fead20c967b Mon Sep 17 00:00:00 2001 From: slavko Date: Thu, 2 Dec 2010 10:47:01 +0100 Subject: [PATCH]

Re: [Emc-developers] wrong estop_latch.

2010-12-02 Thread Slavko Kocjancic
Estop_latch has BUG in watchdog pin. Here is PATCH to solve problem. 2010/11/23 Slavko Kocjancic > Hello... > > Long time ago I already post problem with estop latch and in new version > (git) stil isn't corrected. > > The problematic is watchdog. It should togle o

Re: [Emc-developers] wrong estop_latch.

2010-12-02 Thread Slavko Kocjancic
S, andy pugh piše: > On 2 December 2010 10:09, Slavko Kocjancic wrote: >> Estop_latch has BUG in watchdog pin. >> Here is PATCH to solve problem. > Wasn't that fixed in: > http://git.linuxcnc.org/gitweb?p=emc2.git;a=blobdiff;f=src/hal/com

Re: [Emc-developers] LOGOPEN change

2010-12-02 Thread Slavko Kocjancic
S, Chris Radek piše: > Thanks - excellent job making the patch - it was perfect. The only > thing I changed was your author name and email address. You can fix > those on your system with git config --global user.name and > user.email. > > I pushed your change to master. > > Chris > Thanks.

Re: [Emc-developers] LOGOPEN change

2010-12-04 Thread Slavko Kocjancic
you didn't read the thread! They are already solved as LOGAPPEND command. 2010/12/3 Kenneth Lerman > On 12/01/2010 05:49 AM, Slavko Kocjancic wrote: > > Hello... > > > > I was trying to change behaviour of (LOGOPEN, filename) feature to not > > truncate file

Re: [Emc-developers] jogging while program running (auto) - new M-code /just use M0

2011-11-10 Thread Slavko Kocjancic
Hello... If you read http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?WhyManualWhilePausedIsHard then you know that this topic is already discused but near nothing happend. Well we have script for manual jog while toolchange and that's all. And seems that nothing is planed to address that problem as a