[Emc-users] hal_button as confirm data

2012-01-01 Thread Spiderdab
mmm the object is not so clear, but my first question of 2012 is: Using gladevcp I want to write a value on a hal_spinbutton, and assign to an hal pin (in my case a value for my kins) only when i push a button. As there isn't an if statement as an hal rt component, how can i write this logic? I

Re: [Emc-users] hal_button as confirm data

2012-01-01 Thread Spiderdab
Il giorno dom, 01/01/2012 alle 16.38 +0100, Spiderdab ha scritto: mmm the object is not so clear, but my first question of 2012 is: Using gladevcp I want to write a value on a hal_spinbutton, and assign to an hal pin (in my case a value for my kins) only when i push a button. As there isn't

Re: [Emc-users] hal_button as confirm data

2012-01-01 Thread Andy Pugh
On 1 Jan 2012, at 15:38, Spiderdab 77...@tiscali.it wrote: As there isn't an if statement as an hal rt component, how can i write this logic? I really can't realize.. maybe using sample_hold? (but i tried and it doesn't seem to work..) Spinbutton is Float, SampleHold is Int. You can do what

Re: [Emc-users] hal_button as confirm data

2012-01-01 Thread Spiderdab
Il giorno dom, 01/01/2012 alle 16.13 +, Andy Pugh ha scritto: On 1 Jan 2012, at 15:38, Spiderdab 77...@tiscali.it wrote: As there isn't an if statement as an hal rt component, how can i write this logic? I really can't realize.. maybe using sample_hold? (but i tried and it doesn't

Re: [Emc-users] hal_button as confirm data

2012-01-01 Thread Spiderdab
Il giorno dom, 01/01/2012 alle 17.26 +0100, Spiderdab ha scritto: Il giorno dom, 01/01/2012 alle 16.13 +, Andy Pugh ha scritto: On 1 Jan 2012, at 15:38, Spiderdab 77...@tiscali.it wrote: As there isn't an if statement as an hal rt component, how can i write this logic? I really

[Emc-users] at

2012-01-01 Thread Kirk Wallace
This is old hat for many here, but in case it might be handy for the less familiar with Linux -- my Internet provider charges by the megabyte, but reduces the cost by 60% after 23:00. I'm usually not awake at that time, so I looked into automating my updates and downloading large files at 01:00.

Re: [Emc-users] at

2012-01-01 Thread Jon Elson
Kirk, Hey, happy new year! I have a customer who has converted a Hardinge HNC adapting most of your configuration, especially the turret. He just upgraded to EMC2.4.7 and I helped him through the various problems he ran into. He now even has CSS working. He is having some problems where the

Re: [Emc-users] at

2012-01-01 Thread John Thornton
Jon, I'm using 2.5 for my CHNC and my turret gets stuck from time to time... usually the first time you use it. My ladder recovers from that but needs 2.5 for one of the pins iirc. If he has any interest my configs are on my web site. John On 1/1/2012 1:04 PM, Jon Elson wrote: Kirk, Hey,

Re: [Emc-users] hal_button as confirm data

2012-01-01 Thread andy pugh
On 1 January 2012 16:47, Spiderdab 77...@tiscali.it wrote: Possibly 'cause my-kins-pin is a I/O pin? Yes, that will be a problem. I suggest you set it as an input pin, and insert code to trap and over-ride a zero value. -- atp The idea that there is no such thing as objective truth is,

Re: [Emc-users] hal_button as confirm data

2012-01-01 Thread Spiderdab
Il giorno dom, 01/01/2012 alle 19.25 +, andy pugh ha scritto: On 1 January 2012 16:47, Spiderdab 77...@tiscali.it wrote: Possibly 'cause my-kins-pin is a I/O pin? Yes, that will be a problem. I suggest you set it as an input pin, and insert code to trap and over-ride a zero

Re: [Emc-users] hal_button as confirm data

2012-01-01 Thread andy pugh
On 1 January 2012 19:56, Spiderdab 77...@tiscali.it wrote: Curiosity: i copied the setup as IO from the tripod kins. do you know why that was set in that way? No, it puzzles me. There was a wholesale switch of many parameters to IO pins at some point. It does mean that you can net them as

Re: [Emc-users] HNC turret (was at)

2012-01-01 Thread Kirk Wallace
On Sun, 2012-01-01 at 13:04 -0600, Jon Elson wrote: ... snip the turret component apparently gets stuck. I gave him some pointers on what to do, and maybe he should make the state variable exported as an output pin so it can be examined. The first thing that comes to mind, I had to adjust the

[Emc-users] hal taking machine down

2012-01-01 Thread gene heskett
Greets everybody; I had gone back to an older $config because it had all the A axis stuff it it, and of course had to do a bit of fine tuning in the .ini file. But when I fired off a proggy that used the M3-4-5 spindle controls, I wrecked the first piece of pcb material I put in the jig. Very

Re: [Emc-users] hal taking machine down

2012-01-01 Thread gene heskett
On Sunday, January 01, 2012 08:37:16 PM gene heskett did opine: Greets everybody; I had gone back to an older $config because it had all the A axis stuff it it, and of course had to do a bit of fine tuning in the .ini file. But when I fired off a proggy that used the M3-4-5 spindle

Re: [Emc-users] hal taking machine down

2012-01-01 Thread Kent A. Reed
On 1/1/2012 8:41 PM, gene heskett wrote: ... Thanks guys sending wishes for Happy Prosperous New Year to all. Further thought: How do you folks arrive at those logic diagrams shown at several locations in the Integrators Manual I just printed fresh last Thursday? It seems to me that

Re: [Emc-users] hal taking machine down

2012-01-01 Thread gene heskett
On Monday, January 02, 2012 01:57:46 AM Kent A. Reed did opine: On 1/1/2012 8:41 PM, gene heskett wrote: ... Thanks guys sending wishes for Happy Prosperous New Year to all. Further thought: How do you folks arrive at those logic diagrams shown at several locations in the Integrators