Re: [Emc-developers] using the dummysig trick (was Re: pid with derivative inputs)

2018-06-17 Thread John Kasunich
- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.n

Re: [Emc-developers] in halshow, what are the units of the time display ?

2018-03-23 Thread John Kasunich
hat makes modern PC class processors so terrible for realtime control. In hindsight, the pin names should probably have been .ticks and .ticksmax (or .clocks and .clockmax) instead of .time and .tmax. Regards, -- John Kasunich jmkasun...@fastmail.fm ---

Re: [Emc-developers] hal scanning

2017-12-03 Thread John Kasunich
rant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers

Re: [Emc-developers] snubber power dissipation

2017-08-23 Thread John Kasunich
ch sites, Slashdot.org! http://sdm.link/slashdot > _______ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers -- John Kasunich jmkasun...@fastmail.fm -

Re: [Emc-developers] Gladevcp_gtk3 Branche

2017-07-17 Thread John Kasunich
something else. Someone (definitely not me) will need to step forward to port HalScope to another GUI platform. HalScope is an important tool, and is written in C (not C++) using GTK. -- John Kasunich jmkasun...@fastmail.fm

Re: [Emc-developers] DISCUSS: Move primary git to github

2017-06-22 Thread John Kasunich
--- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Emc-developers mailing

Re: [Emc-developers] jog wheel problem

2017-03-31 Thread John Kasunich
nk you for honoring my wish. > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Emc-developers mailing li

Re: [Emc-developers] quirk in PCIe parallel port cards "defined"

2017-02-27 Thread John Kasunich
you make "hal_ppmc", and "hal_ppmc_old" and "hal_ppmc_not_so_old"? Better to have command line args with meaningful names like "change_dir=1" for the old behavior, and "change_dir=0" for the new behavior. The default should be the old behavior, and

Re: [Emc-developers] G33 linear motion limits exceeded error

2017-01-23 Thread John Kasunich
the file? Perhaps that would be easier? No halui button needed. The preview can do the violation check. As you say, it would use the s-word in effect at the point the G33 is encountered. John Kasunich jmkasun...@fastmail.fm --

Re: [Emc-developers] G33 linear motion limits exceeded error

2017-01-23 Thread John Kasunich
pindle SPEED is manually controlled". Spindle on/off is under LinuxCNC control using M3/M5 (I don't have reversing, so M4 doesn't work). > -- John Kasunich jmkasun...@fastmail.fm -- Check out t

Re: [Emc-developers] G33 linear motion limits exceeded error

2017-01-23 Thread John Kasunich
plined enough, he can use the S-word to tell LCNC how fast he intends to run the spindle. But LCNC can't rely on that being the actual spindle speed. -- John Kasunich jmkasun...@fastmail.fm -- Check out the

Re: [Emc-developers] G33 linear motion limits exceeded error

2017-01-20 Thread John Kasunich
K flag. > > Is this something that should be fixed, or am I reading the > documentation wrong? > I think it is a terminology thing. Where the manual says "it is an error", read it to mean "if you do this, you made an error and all bets are off", rather tha

Re: [Emc-developers] NML message rate

2017-01-09 Thread John Kasunich
chasing thing? If the latter, you probably don't need a large part of LinuxCNC, including NML, and can probably do all or most of the application using real-time modules such as limit3. -- John Kasunich jmkasun...@fastmail.fm -

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-11-25 Thread John Kasunich
On Fri, Nov 25, 2016, at 11:04 AM, Gene Heskett wrote: > On Friday 25 November 2016 10:30:35 John Kasunich wrote: > > > Part 2 - many if not most pin names start with the instance name. > > For example, component "or2_0" has pins named "or2_0.in0", >

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-11-25 Thread John Kasunich
of you and for those that don't celebrate I > am sure I will eat enough Turkey for you as well. > > Thanks, > > Jim > -- > ___ > Emc-develope

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-28 Thread John Kasunich
efore must belong to the new comp. Repeat till all are loaded. Then halcmd quit to cleanup. -- John Kasunich jmkasun...@fastmail.fm -- The Command Line: Reinvented for Modern Developers Did the resurgence o

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-28 Thread John Kasunich
On Fri, Oct 28, 2016, at 11:26 AM, Jim Craig wrote: > On 10/28/2016 10:02 AM, John Kasunich wrote: > > > > On Fri, Oct 28, 2016, at 10:29 AM, Jim Craig wrote: > No, it is not using the -s option. However it does not appear that it > will fix the issue either. Below is a sni

Re: [Emc-developers] Graphical HAL Viewer-Editor

2016-10-28 Thread John Kasunich
eresting. But as has been pointed out, the challenge of components that change their pin-list based on loadrt parameters makes it tough. -- John Kasunich jmkasun...@fastmail.fm -- The Command Line: Reinvented for Mo

Re: [Emc-developers] New to developers list

2016-10-26 Thread John Kasunich
comp. Definitely beats parsing man pages. Perhaps XML? Non-comp components would need a (one-time) manually generated file. -- John Kasunich jmkasun...@fastmail.fm -- The Command Line: Reinvented for Modern Devel

Re: [Emc-developers] Minor fuss about the TP

2016-10-10 Thread John Kasunich
rench and relying on the spindle brake and R8 collet. -- John Kasunich jmkasun...@fastmail.fm -- Check out the vibrant tech community on one of the world's most en

Re: [Emc-developers] Hardware testing for improved spindle tracking jitter (issue 164)

2016-09-29 Thread John Kasunich
pindle encoder tells LinuxCNC how fast the spindle is going and thus allows for synchronized moves, but: 1) LinuxCNC can't change the speed if it doesn't like it 2) LinuxCNC doesn't know the speed at the interp level, because the S-word means nothing. Only the encoder feedback can tell

Re: [Emc-developers] motion.adaptive-feed

2016-08-22 Thread John Kasunich
- > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers -- John Kasunich jmkasun...@fastmail.fm -

Re: [Emc-developers] Copying values from pins to signals: What's the right algorithm

2016-07-28 Thread John Kasunich
that prevents you from making or breaking connections after the "start" command. HAL is designed to allow interactive use. -- John Kasunich jmkasun...@fastmail.fm -- _

Re: [Emc-developers] Copying values from pins to signals: What's the right algorithm

2016-07-28 Thread John Kasunich
is used only for a very limited number of pins. The one that comes to mind is encoder index-enable, where it is used as a handshake. One component sets the index-enable true telling the encoder driver to start looking for an index. When the driver detects the index, it sets the signal false to

Re: [Emc-developers] Phishing attempt [was: Re: lovely]

2016-07-25 Thread John Kasunich
gt; Shouldn't that be a capital offense? > > Cheers, Gene Heskett Any and all forms of spam and phishing should be a capital offense. -- John Kasunich jmkasun...@fastmail.fm -- What NetFlow Analyzer can do for yo

Re: [Emc-developers] Copying values from pins to signals: What's the right algorithm

2016-07-21 Thread John Kasunich
dammit, hit the wrong key and sent in the middle of editing my thoughts on this are still muddled, but I added a couple of things... On Thu, Jul 21, 2016, at 05:57 PM, John Kasunich wrote: > I started to write a "quick" reply, but the deeper I look > the more complex it gets -

Re: [Emc-developers] Copying values from pins to signals: What's the right algorithm

2016-07-21 Thread John Kasunich
-- > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for N

Re: [Emc-developers] JA - Why does motion mode change from world to teleop, when I change to manual mode

2016-07-18 Thread John Kasunich
maintenance or setup rather than normal work. Jogging in cartesean space is extremely common. This train of thought leads me to think that the the existing manual mode needs to be split into joint-manual (FREE) and axis-manual (TELEOP). John Kasunich > If the gui knows what linuxcnc is doing t

Re: [Emc-developers] New SW on the toy mill, which uses SW stepping.

2016-07-17 Thread John Kasunich
er made that change, that is a bug. Everything else is irrelevant. The fix should be to return the base-thread to 30,000nS. -- John Kasunich jmkasun...@fastmail.fm -- What NetFlow Analyzer can do for you? Moni

Re: [Emc-developers] [Emc-users] Tool offset

2016-06-30 Thread John Kasunich
resent their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.

Re: [Emc-developers] NOTICE: Feature freeze pending in view of a new release

2016-06-28 Thread John Kasunich
nterpreted as a floating point number, 2.10 sorts before 2.2 It is only monotonically increasing if you interpret it as two integers separated by a dot. Humans can interpret it any way they want, but how do programs interpret it? -- John Kasunich jmkasun...@fastmail.fm -

Re: [Emc-developers] MPG Jogging Off of a Limit

2016-05-24 Thread John Kasunich
data untouched! > https://ad.doubleclick.net/ddm/clk/304595813;131938128;j > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers -- John Kasunich jmkasun...@fastmail.fm

Re: [Emc-developers] call for maintainers for xlinuxcnc and linuxcncld uis

2016-05-11 Thread John Kasunich
On Wed, May 11, 2016, at 09:46 PM, Andy Pugh wrote: > > I doubt that anyone is using it, If we want to know if someone is using it we should ask the question on the users list. You won't necessarily find a maintainer there, but you might find out if it has users/advocates.

Re: [Emc-developers] HAL signal name aliases?

2016-05-02 Thread John Kasunich
st one blind alley, on 24-Nov I reverted a bunch of work and started over. -- John Kasunich jmkasun...@fastmail.fm -- Find and fix application performance issues faster with Applications Manager Applications Ma

Re: [Emc-developers] HAL signal name aliases?

2016-05-01 Thread John Kasunich
alias gpio1 x-pos-limit # these lines connect things that depend on pin function net x-pos-limit => axis.0.pos-lim-sw-in net x-neg-limit => axis.0.neg-lim-sw-in # these lines connect LEDs that depend only on physical pin net gpio0 => pyvcp-led0 net gpio1 => pyvcp-led1 -- J

Re: [Emc-developers] Profibus, Python <--> Ada

2016-01-26 Thread John Kasunich
ime HAL components as loadable kernel modules. Python (or any other interpreted language) simply does not work at all in that environment. Non-realtime modules are normal Linux processes. I believe that there is a library to allow Python to interact with HAL in that environment. John Kas

Re: [Emc-developers] Why is it not allowed to jog in MDI mode?

2016-01-16 Thread John Kasunich
or keyboard. -- John Kasunich jmkasun...@fastmail.fm -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end

Re: [Emc-developers] Why is it not allowed to jog in MDI mode?

2016-01-16 Thread John Kasunich
ntal button press during a program or an MDI move could damage the part. When in auto, g-code from a program or the keyboard is in total control of the machine, and I would argue that is a good thing. John Kasunich --

Re: [Emc-developers] tp->cycleTime

2015-11-09 Thread John Kasunich
> ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers -- John Kasunich jmkasun...@fastmail.fm ---

Re: [Emc-developers] XKCD

2015-10-30 Thread John Kasunich
fix it, you don't own it. > http://www.ifixit.com/Manifesto > > -- > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.

Re: [Emc-developers] Make home_offset into a HAL pin?

2015-10-26 Thread John Kasunich
hat tells you where you are at all times. But others are basically incremental, with the ability to squirt out an absolute position on request (usually a serial interface). As with the pot example, there needs to be a way to get that absolute position into LinuxCNC. -- John Kasunich

Re: [Emc-developers] 2.7.0-sim needs a feature

2015-09-26 Thread John Kasunich
- > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers -- John Kasunich jmkasun...@fastmail.fm ---

Re: [Emc-developers] step losing

2015-08-19 Thread John Kasunich
eger. When you build a machine you must select the step size. If you need 0.1mm accuracy you must build a machine with a step size significantly smaller than 0.1mm. Very few real achines have step sizes larger than 0.025mm. Most are closer to 0.002mm. So the error due to integer steps is ver

Re: [Emc-developers] INI and HAL access from G-code

2015-08-18 Thread John Kasunich
On Tue, Aug 18, 2015, at 02:47 PM, Jeff Epler wrote: > On Tue, Aug 18, 2015 at 12:50:55AM -0400, John Kasunich wrote: > > That's simply a matter of using the "net" namespace (and a consistent > > net name) instead of the "pin" namespace. > > Yes.

Re: [Emc-developers] INI and HAL access from G-code

2015-08-17 Thread John Kasunich
AIK panels are too primitive to do this sort of mdi command crafting > and so we come by another road to this ill-considered feature) That is a separate discussion, and I don't have an opinion. > > Jeff > > ------ &g

Re: [Emc-developers] INI and HAL access from G-code

2015-08-17 Thread John Kasunich
t kind of implies that somehow the interpreter captures a snapshot of the values of all HAL items wt the start of g-code execution, so that later if/when it encounters a #<_hal[foo]> expression it can look for the hal name and get the corresponding value. I find it hard to believe t

Re: [Emc-developers] INI and HAL access from G-code

2015-08-17 Thread John Kasunich
On Mon, Aug 17, 2015, at 02:11 PM, John Kasunich wrote: > > > On Mon, Aug 17, 2015, at 12:29 PM, andy pugh wrote: > > On 17 August 2015 at 16:49, John Kasunich wrote: > > > If you start thinking about this from a timing/synchronization > > > perspective,

Re: [Emc-developers] INI and HAL access from G-code

2015-08-17 Thread John Kasunich
On Mon, Aug 17, 2015, at 12:29 PM, andy pugh wrote: > On 17 August 2015 at 16:49, John Kasunich wrote: > > If you start thinking about this from a timing/synchronization perspective, > > then > > there is nothing magic about reading the pins when you hit RUN. It could &

Re: [Emc-developers] INI and HAL access from G-code

2015-08-17 Thread John Kasunich
no motion component or HAL at all, so where does the data come from? Adding this new functionality would make things worse, I think. Just my $0.02. Of course, I don't have to implement it, so my opinion is worth even less than that. -- John Kasunich jmkasun...@fastmail.fm ---

Re: [Emc-developers] INI and HAL access from G-code

2015-08-17 Thread John Kasunich
eatures. A particular machine config (INI+HAL files) can completely change the behavior of the G-code. Whether or not that is a good thing is something I don't neccessarily have

Re: [Emc-developers] let's write rtapi_stdatomic.h (was More trouble for LinuxCNC's memory model on ARM)

2015-08-04 Thread John Kasunich
backwards. That said, I'm not in a position to do the coding to make it work right myself, so I guess I shouldn't complain. > Thanks so much for taking the time to read through this code. It's > something we will benefit from doing mor

Re: [Emc-developers] Moving backlash comp to HAL module

2015-07-27 Thread John Kasunich
ree velocity mode stepgens. It doesn't scale well to larger amounts of data (like a 256 point screw compensation curve). -- John Kasunich jmkasun...@fastmail.fm -- ___

Re: [Emc-developers] Moving backlash comp to HAL module

2015-07-27 Thread John Kasunich
On Mon, Jul 27, 2015, at 12:08 PM, Brian wrote: > On Mon, Jul 27, 2015 at 11:54 AM, John Kasunich > wrote: > > > Another implementation detail is how to get the screw comp data to the > > compensation component. Realtime HAL components don't have a clean > >

Re: [Emc-developers] Moving backlash comp to HAL module

2015-07-27 Thread John Kasunich
to solve that problem another way. > > Brian > ------ > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.source

Re: [Emc-developers] putting some mods to gs2_vfd.c into mainline

2015-05-14 Thread John Kasunich
gt; so it's fine. > IMO estop should ensure (in a fail-safe way) that the spindle won't turn. Unless you are going to put a contactor on the VFD output (usually discouraged by VFD makers), killing the VFD power is the only way. As you say, it is good to support b

Re: [Emc-developers] How to kill halrun

2015-04-30 Thread John Kasunich
Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.source

Re: [Emc-developers] GentooCNC & layman

2014-11-21 Thread John Kasunich
EE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers -- John K

Re: [Emc-developers] GentooCNC & layman

2014-11-19 Thread John Kasunich
___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers -- John Kasunich jmkasun...@fastmail.fm

Re: [Emc-developers] [Emc-commit] dgarr/jog_ignore_fo: inifile: support jog_ignore_feed_override

2014-11-14 Thread John Kasunich
of a few different > scenarios where we need to use feed override on jog moves. -- John Kasunich jmkasun...@fastmail.fm -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted thro

Re: [Emc-developers] Vismach docs

2014-10-12 Thread John Kasunich
Log Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > ____

Re: [Emc-developers] THC

2014-07-08 Thread John Kasunich
The offset from the THC goes into limit3, and even if it instantly steps, the output of limit3 obeys acceleration and velocity limits. That output would then go to the offset block. -- John Kasunich jmkasun...@fastmail.fm --

Re: [Emc-developers] Hooking up my limit switches.

2014-06-30 Thread John Kasunich
t. In your case, you need to choose between option 1 and 2 above. Since you say it knows which axis is on limit, it sounds like you chose option 1. You can change your mind if you like option 2 better. John Kasunich

Re: [Emc-developers] forgot to ask... [was working on libnml]

2014-04-28 Thread John Kasunich
regardless of what later generations of CPU and/or compiler do. John Kasunich On Thu, Apr 24, 2014, at 06:10 AM, EBo wrote: > Turns out there are some places where where they specify "long double" > in libnml. Should I convert that to a float64, or a float128 (which it > is

Re: [Emc-developers] Unit conversions in Canon

2014-04-14 Thread John Kasunich
y. For PCs, floating point math is pretty much as fast as integer math. (Some operations are faster actually.) I think the same applies to ARMs like BeagleBone. -- John Kasunich jmkasun...@fastmail.fm -- Learn Graph

Re: [Emc-developers] sim gotchas in sim/axis/lathe

2014-04-11 Thread John Kasunich
tool and part specifics. Since Gene uses home to deal with tool and part specifics, he has the side effect of limits moving around. -- John Kasunich jmkasun...@fastmail.fm -- Put Bad Developers to Shame Dominate Develo

Re: [Emc-developers] PID bidirectional pins.

2014-03-17 Thread John Kasunich
a permanent runtest, just a one-time thing to make sure the pointer stuff is right. -- John Kasunich jmkasun...@fastmail.fm -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is t

Re: [Emc-developers] Circular blend arc RC1 pushed

2014-03-17 Thread John Kasunich
the higher feed, you won't get it. -- John Kasunich jmkasun...@fastmail.fm -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph dat

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
d on the size? > I didn't know you could copy structures like that in C. Does it work for any size structure? When was that added to the language? I'm 99.4% certain that in the K&R days you had to copy structs yourself. Is it maybe a C99 thing? Clearly, that is the r

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
On Sun, Mar 16, 2014, at 08:55 PM, Michael Haberler wrote: > > Am 17.03.2014 um 01:47 schrieb John Kasunich : > > > I must admit that it pains me a bit to use memcpy for > > an object that is at most 64 bits long. Doesn't memcpy > > have special code to

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
> Am 17.03.2014 um 01:06 schrieb John Kasunich : > > > > > If you can be sure that hal_float_t is the largest member on > > all platforms, then it could just be: > > > > *((hal_float_t)(data_addr)) = pin->dummysig.f; > > that is exactly the k

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > ___ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers -- John Kasunich jmk

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
sig->writers--; 3132 } 3133 if (pin->dir == HAL_IO) { 3134 sig->bidirs--; 3135 } 3136 /* mark pin as unlinked */ 3137 pin->signal = 0; 3138 } I'm not 100% sure about the deta

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
On Sun, Mar 16, 2014, at 07:59 PM, John Kasunich wrote: > new memcpy(data_addr, &pin->dummysig, sizeof(hal_data_u)); I'm not sure if memcpy is neccessary here, the only requirement is to copy the value from one place to the other. hal_data_u is a union that can conta

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
= 0 ) && ( sig->bidirs == 0 )) { new /* this is the first pin for this signal, copy value from pin's "dummy" field */ new memcpy(data_addr, &pin->dummysig, sizeof(hal_data_u)); 1098 /* update the signal's reader/writer/bidir counts */ -- J

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
a compiled in default value, he gets to pick which one wins by the order of the pins in the net command. I just don't see how the HAL_DRIVING_VALUE attribute helps things. In essence, we already have that. An OUT pin has HAL_DRIVING_VALUE true. An IN pin has it false. Hal_lib already e

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
On Sun, Mar 16, 2014, at 06:16 PM, Michael Haberler wrote: > > Am 16.03.2014 um 23:02 schrieb John Kasunich : > > > I think the only legitimate use case for I/O HAL pins is > > something like the index-enable on encoders > > It might be less than helpful to dis

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
At the beginning of my last message, I wrote: On Sun, Mar 16, 2014, at 06:02 PM, John Kasunich wrote: > I think the only legitimate use case for I/O HAL pins is > something like the index-enable on encoders And near the end I wrote: > As an aside, if a GUI widget wants to preset it

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
an aside, if a GUI widget wants to preset itself to the current value of the signal, then its pin should probably be an I/O rather than OUT pin. That preset function is risky. Typically a GUI builder determines the upper and lower limits of the slider - perhaps 0.5 and 50 for a P-gain, f

Re: [Emc-developers] PID bidirectional pins.

2014-03-16 Thread John Kasunich
ad if input was probably a mistake. But I don't remember the discussion (if any) at the time. Changing from parameter to pins was definitely the right thing to do, but I'm not so sure about the type of pin. -- John Kasunich jmkasun...@fastmail.fm --

Re: [Emc-developers] Tree VMC tool changer help

2014-03-08 Thread John Kasunich
_shop/ > > http://www.wallacecompany.com/E45/ > > > > ------ > > Subversion Kills Productivity. Get off Subversion & Make the Move to > > Perforce. > > With Perforce, you get hassle-free workf

Re: [Emc-developers] ubc: inconsistent behavior in posix flavor vs others

2014-03-07 Thread John Kasunich
its of changing that? Are those benefits worth the effort of doing code audits on stepgen, pwmgen, encoder, etc.? -- John Kasunich jmkasun...@fastmail.fm -- Subversion Kills Productivity. Get off Subversion & Mak

Re: [Emc-developers] ubc: inconsistent behavior in posix flavor vs others

2014-03-05 Thread John Kasunich
f that time, both were safe from modification by the slow thread, and neither one needed to be copied to a local. Under the new assumptions, both are vulnerable, and both need to be copied to locals. Because velocity and acceleration limits are independent attributes, there is no need to worry ab

Re: [Emc-developers] ubc: inconsistent behavior in posix flavor vs others

2014-03-04 Thread John Kasunich
ptions? I'm not aware of > any right away. Stepgen, pwmgen, and encoder are the ones I can think of right now. -- John Kasunich jmkasun...@fastmail.fm -- Subversion Kills Productivity. Get off Subversion &a

Re: [Emc-developers] Atomic

2014-03-04 Thread John Kasunich
danger of an interrupting thread reading a bad combination. That is the situation we are discussing - sets of more than one variable (or HAL signal) that need to be transferred together. -- John Kasunich jmkasun...@fastmail.fm --

Re: [Emc-developers] ubc: inconsistent behavior in posix flavor vs others

2014-03-03 Thread John Kasunich
that were designed to work together. HAL users can literally connect anything to anything. There may be traps for the un-wary in that situation, but the vast majority of such signals are atomic and really no problem. A parport driver in the b

Re: [Emc-developers] ubc: inconsistent behavior in posix flavor vs others

2014-03-03 Thread John Kasunich
. My gripe is that if you've gone to the trouble of making sure the error can't occur, then why waste CPU cycles testing for it. Certainly the error can't occur in the existing code, because the entire ringbuffer isn't there. It simply communicates using a couple of shared va

Re: [Emc-developers] ubc: inconsistent behavior in posix flavor vs others

2014-03-03 Thread John Kasunich
On Sun, Mar 2, 2014, at 02:29 PM, Michael Haberler wrote: > > Am 02.03.2014 um 15:21 schrieb John Kasunich : > > > > There are several variables that are used to communicate > > between the two parts. The faster part was written assuming > > that those variabl

Re: [Emc-developers] ubc: inconsistent behavior in posix flavor vs others

2014-03-03 Thread John Kasunich
different scheduling. Even in sim mode where RT behavior is not guaranteed, we do promise that if you base thread is 100uS and your servo thread is 1mS, the base thread will run 10 times between invocations of the servo thread. I believe that it is important that faster threads have higher prior

Re: [Emc-developers] ubc: inconsistent behavior in posix flavor vs others

2014-03-02 Thread John Kasunich
hould be capable of simulating ANY valid configuration, the only limitation being a lack of hard-real-time timing guarantees (and possibly lack of hardware drivers because of permissions). -- John Kasunich jmkasun...@fastmail.fm ---

Re: [Emc-developers] Discuss: patch submissions

2014-01-11 Thread John Kasunich
nch is always > available from the buildbot. > > On the other hand, I do not know of a reason NOT to move to 2.5. > Lazyness? I'm still running 2.3.5 on my machine. -- John Kasunich jmkasun...@fastmail.fm ---

Re: [Emc-developers] Error in backplot with backtool set up in lathes

2014-01-10 Thread John Kasunich
ther rendering it. I think the decision about which side is the inside is based on the order that the points are specified, and maybe when you mirrored things you confused it? Again, just guess, and I might be totally wrong. -- John Kasunich jmkasun...@fastmail.fm --

Re: [Emc-developers] Q: status of HAL 'newinst' code

2013-12-27 Thread John Kasunich
world, and many of the hoops that "newinst" needs to jump through are either gone or very different in that world. John Kasunich -- Rapidly troubleshoot problems before they affect your business. Most IT

Re: [Emc-developers] Questions about servo loop and threading

2013-12-09 Thread John Kasunich
hint if something takes too much time. > Better yet, halscope motion-command-handler.time (or the .time pin associated with any other RT function you are suspicious of). If you are already triggering the scope on a constraints violation you should get a good idea of whether a time over-run mig

Re: [Emc-developers] Add current mode output pin to Axis?

2013-11-27 Thread John Kasunich
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > ___ &g

Re: [Emc-developers] RFC: HAL remote operations - overview and specification

2013-11-06 Thread John Kasunich
net signame achieves the same thing. "net signame pinname" uses the type of pinname to determine the type of the signal it creates (boolean, s32, float, etc). If there is no pinname, it doesn't know what type to create. I would be astonished if "net signame (blank)&quo

Re: [Emc-developers] RFC: HAL remote operations - overview and specification

2013-11-06 Thread John Kasunich
aptures the position and resets the enable pin, so the application knows that it is done. In principle this could be done by using two separate pins at each end and two separate signals, but using a single signal is clea

Re: [Emc-developers] RFC: HAL remote operations - overview and specification

2013-11-05 Thread John Kasunich
On Tue, Nov 5, 2013, at 11:20 AM, Michael Haberler wrote: > > Am 05.11.2013 um 16:27 schrieb andy pugh : > > One issue is that the NIST design is very specific that only one thing > > can ever change another thing, ("NIST logic") and you are proposing to > > change that. I am not sure that is a

Re: [Emc-developers] LinuxCNC git servers

2013-10-09 Thread John Kasunich
th > bill for what we are using. Sherline I believe hosts these lists. > I'm pretty sure it has been five years or more since Sherline was doing any of our hosting. -- John Kasunich jmkasun...@fastmail.fm --

Re: [Emc-developers] [PATCH] abs spindle velocity pins

2013-09-29 Thread John Kasunich
ion, either by adding more HAL components or by making a custom version of the "spindle-bundle" comp. -- John Kasunich jmkasun...@fastmail.fm -- October Webinars: Code for Performance Free Intel webinars can

Re: [Emc-developers] [PATCH] abs spindle velocity pins

2013-09-29 Thread John Kasunich
output and a pin (or pair of pins) that indicate the sign of the input. Having written that comp, it can be used anywhere that a speed/direction drive is being used, not just on a spindle. John Kasunich On Sun, Sep 29, 2013, at 06:14 PM, Chris Morley wrote: > Here is a patch for adding two pin

  1   2   3   >