Re: [Emc-users] GladeVCP Question?

2024-05-22 Thread Chris Morley
Yes



Sent from my Galaxy



 Original message 
From: Todd Zuercher via Emc-users 
Date: 2024-05-22 7:47 a.m. (GMT-08:00)
To: "Enhanced Machine Controller (EMC)" 
Cc: Todd Zuercher 
Subject: [Emc-users] GladeVCP Question?

Is it possible with Axis to have a GladeVDP side panel, and have a different 
GladeVCP embedded in a tab at the same time? How about multiple embedded tabs?

I've not seen examples how to do this.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mitsubishi VFD control

2024-03-01 Thread Chris Morley
The man page for Mitsub_vfd mentions the required settings. Check the scaling 
of the command.

Chris



Sent from my Galaxy



 Original message 
From: Thaddeus Waldner 
Date: 2024-03-01 10:59 a.m. (GMT-08:00)
To: "Enhanced Machine Controller (EMC)" 
Subject: Re: [Emc-users] Mitsubishi VFD control

I recently set up a Mitsubishi D700 to work with Mitsub_vfd

These inverters are highly flexible in how they are configured to respond to 
control commands. I spent many hours of trial and error to get the correct 
combination of parameters to even get it to respond to network commands. What 
tripped me up initially was that the drive must be reset by cycling the power 
to make any changes take effect.

It has a handy list of all the non-default parameters. I have attached them 
below. Everything appears to work, though there is some inconsistency in how 
manual seed control works in gmoccapy.


The E500 could be a whole different animal but maybe this will help.


pr  namevalue
1   Maximum frequency   300
2
Minimum frequency
30
3
Base frequency
300
7   Acceleration time   2.5
8
Deceleration time
3
9
Electronic thermal O/L relay
9
13  Starting speed  20
18  High speed maximum frequency300
19
Base frequency voltage
200
20
Acceleration/deceleration reference frequency
300
29
Acceleration/deceleration pattern selection
2
41
RUN key rotation direction selection
5
72
PWM frequency selection
15
77  Parameter write selection   2
82  Motor excitation current80
84
Rated motor frequency
120
96
Auto tuning setting/status
21
117
PU communication station number
96
120
PU communication parity check
0
124
PU communication CR/LF selection
0
160 Extended function display selection 0
298
Frequency search gain
39
340
Communication startup mode selection
1
551
PU mode operation command source selection
4

Hope this helps!,

Thaddeus



> On Mar 1, 2024, at 7:34 AM, lloyd wilson  wrote:
>
> I'm using a Mitsubishi E500 VFD for spindle drive on the VMC I'm retrofitting 
> & can't get variable speed to cooperate. The mitsub_vfd program operates 
> properly (I think)- run/stop behaves as expected, speed commands are 
> generated and accepted by the VFD, but the  motor speed stays the same. I 
> hacked in a couple of debugging statements to show the dialogs (running in 
> halcmd):
>
> setp sp.motor-cmd 50
> halcmd: 01ED11388EF   SENT: 0x5 0x30 0x31 0x45 0x44 0x31 0x31 0x33 0x38 0x38 
> 0x45 0x46
> 7!DEBUG:  ,0,1, 0x6 0x30 0x31
>
> show pins
>
> 
>
>  4  float IN 50  sp.motor-cmd
>
> ...
>
>  then
>
> setp sp.motor-cmd 80
> halcmd: 01ED11F40F6   SENT: 0x5 0x30 0x31 0x45 0x44 0x31 0x31 0x46 0x34 0x30 
> 0x46 0x36
> 7!DEBUG:  ,0,1, 0x6 0x30 0x31
>
> show pins
>
> 
>
>  4  float IN 80  sp.motor-cmd
>
> ...
>
> the messages are properly formatted per the Mitsub manual & replies show no 
> errors
>
> --but the test motor keeps running at the same speed.
>
> Anyone have a clue where to look for the solution?
>
> as always, thanks
>
> -ldw
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Capto

2024-01-07 Thread Chris Morley
Andy

I too have catpo 3,4 and 5 tools. I look forward to reading/seeing your 
adventure in this.
I also agree it would surely show off some of linuxcncs advantages!

Chris

From: andy pugh 
Sent: January 3, 2024 11:52 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Capto

On Wed, 3 Jan 2024 at 22:01, andy pugh  wrote:

> This means that the large and small arcs are tangent to each other,
> which requires that their centres lie on a perpendicular line, and
> that in turn means that the arc centres of small and large arcs must
> be coincident.

Close, but no cigar, it seems.

There is an equation in an online document
(https://archiwum-bazakonkurencyjnosci.funduszeeuropejskie.gov.pl/file/download/587886)
that isn't actually correct:

x'= Dm/2×cosØ −2×e×cos(2Ø)+e×cos(4Ø)
y'= Dm/2×sinØ -2×e×sin(2Ø)+e×sin(4Ø)

However, after getting hold of a pirate copy of the standard, it turns
out that it was only slightly wrong. This is what it should be. ( -+++
not -+-+)

x'= Dm/2×cosØ −2×e×cos(2Ø)+e×cos(4Ø)
y'= Dm/2×sinØ +2×e×sin(2Ø)+e×sin(4Ø)

Plotted out this is very close to the shape that I had but differs by
about 30 microns at the worst spots.

The good news is that this is very easy to convert to either XY
offsets for boring, or a radius for computed offset on a lathe as it
is already in terms of spindle angle Ø.


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] c++ gui module

2017-06-12 Thread Chris Morley
Andy is right there is a functional pyqt5 based VCP component on that branch.

While it is missing some of the fancier widgets that gladeVCP has there is a 
sparce,

but functional demo of controlling linuxcnc.

It is beta for sure and more work is needed but tyer is even some docs...


I should probably put it in master soon...


Chris m



From: andy pugh 
Sent: June 12, 2017 9:26 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] c++ gui module

On 11 June 2017 at 22:19, theman whosoldtheworld 
wrote:

> As you said, me too I try is little bit hard use qt c++ program instead
> Lcnc c/c++ for driving servos machines
>

Not 100% relevant to this discussion, but related: There has been some work
done on integrating QT with LinuxCNC.
See, for example, this feature branch:
https://github.com/LinuxCNC/linuxcnc/tree/qt5vcp_master
[https://avatars2.githubusercontent.com/u/5650508?v=3=400]

LinuxCNC/linuxcnc
github.com
linuxcnc - LinuxCNC controls CNC machines. It can drive milling machines, 
lathes, 3d printers, laser cutters, plasma cutters, robot arms, hexapods, and 
more.


(I know nothing about this branch other than that it exists, though)


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed
for the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
Emc-users Info Page - 
SourceForge
lists.sourceforge.net
This list is for users of the Enhanced Machine Controller (EMC). Topics include 
how to obtain, install, configure, and use EMC, as well as other general EMC 
related ...


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


Re: [Emc-users] Back to the non-functioning multilabel, section 6.4 in the docs

2017-04-23 Thread Chris Morley




From: John Thornton 
Sent: April 23, 2017 12:35 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Back to the non-functioning multilabel, section 6.4 in 
the docs

Hi Gene,

The docs had a bad example... I've fixed it.

JT

One problem there, is it's supposed to be 'disable_pin' not 'disable'.
Also there needs to be commas between the labels.


["Label1", "Label2", "Label3", "Label4", "Label5", 
"Label6"]
("Helvetica",20)
False


Too bad the error message leaves you no clue that is the problem []

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


Re: [Emc-users] VFD recommendations, pyprofibus?

2017-02-03 Thread Chris Morley

I believe it's Mitsubishi's own. It's similar to modbus. I have run A500 and 
E700 series. They are basically the same E series allows more status

- Reply message -
From: "Nicklas Karlsson" <nicklas.karlsso...@gmail.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: [Emc-users] VFD recommendations, pyprofibus?
Date: Fri, Feb 3, 2017 12:44 PM



It would of course be a very good idea to add, do you happen to know which 
protocol it use? Or what mitsubishe name it?

On Fri, 3 Feb 2017 18:53:09 +
Chris Morley <chrisinnana...@hotmail.com> wrote:

>
> No I wrote a python HAL program that used the serial port. I used a converter 
> to convert from rs232 to 485.I referenced Mitsubishi papers for the protocol. 
> I can add it to linuxcnc if anyone is interested.
>
> Chris M
>
> - Reply message -
> From: "Nicklas Karlsson" <nicklas.karlsso...@gmail.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: [Emc-users] VFD recommendations, pyprofibus?
> Date: Fri, Feb 3, 2017 8:43 AM
>
>
>
> pyprofibus?
>
>
> On Fri, 3 Feb 2017 02:02:23 +
> Chris Morley <chrisinnana...@hotmail.com> wrote:
>
> > I use mitsubishi VFDs particularly the e700 series.
> >
> > They use a rs-485 serial connection.
> >
> > I have a python program to communicate with them.
> >
> >
> > I've also toyed with a Yaskawa drive with Classicladder over modbus.
> >
> >
> > These are expensive drives to buy new, but can be found on Ebay.
> >
> > Just other options available.
> >
> >
> > Chris M
> >
> > 
> > From: dragon <tfishw...@gmail.com>
> > Sent: February 2, 2017 2:35 AM
> > To: Enhanced Machine Controller (EMC)
> > Subject: [Emc-users] VFD recommendations
> >
> > I want to start looking for VFDs for my lathe and mill conversions. I
> > have two 2hp 3 phase motors to use for the spindles. Of course if I came
> > across a 3hp for the lathe some day it might get upgraded.
> >
> > Are there any drawbacks to using MODBUS instead of the usual analog 10v
> > interface?
> >
> > Does anyone have suggestions for particular brands or models of VFD? I
> > have worked with several Hitachi and one Toshiba VFD but that is all.
> > Remember that these are home/hobby machines and I do need to try to keep
> > costs down, but I don't want to be penny wise and pound foolish either.
> >
> > Thanks!
> >
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

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

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


Re: [Emc-users] VFD recommendations

2017-02-03 Thread Chris Morley

Modbus worked fine enough for testing.Speed and direction is all I was 
controlling. It was quite a while ago that I did this.

Chris M

- Reply message -
From: "Andrew" <pkm...@gmail.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: [Emc-users] VFD recommendations
Date: Fri, Feb 3, 2017 8:42 AM



2017-02-03 4:02 GMT+02:00 Chris Morley:

> I've also toyed with a Yaskawa drive with Classicladder over modbus.
>

Was it a success?
I have a few Yaskawa VFDs so I would be interested in some details.


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

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


Re: [Emc-users] VFD recommendations, pyprofibus?

2017-02-03 Thread Chris Morley

No I wrote a python HAL program that used the serial port. I used a converter 
to convert from rs232 to 485.I referenced Mitsubishi papers for the protocol. I 
can add it to linuxcnc if anyone is interested.

Chris M

- Reply message -
From: "Nicklas Karlsson" <nicklas.karlsso...@gmail.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: [Emc-users] VFD recommendations, pyprofibus?
Date: Fri, Feb 3, 2017 8:43 AM



pyprofibus?


On Fri, 3 Feb 2017 02:02:23 +
Chris Morley <chrisinnana...@hotmail.com> wrote:

> I use mitsubishi VFDs particularly the e700 series.
>
> They use a rs-485 serial connection.
>
> I have a python program to communicate with them.
>
>
> I've also toyed with a Yaskawa drive with Classicladder over modbus.
>
>
> These are expensive drives to buy new, but can be found on Ebay.
>
> Just other options available.
>
>
> Chris M
>
> 
> From: dragon <tfishw...@gmail.com>
> Sent: February 2, 2017 2:35 AM
> To: Enhanced Machine Controller (EMC)
> Subject: [Emc-users] VFD recommendations
>
> I want to start looking for VFDs for my lathe and mill conversions. I
> have two 2hp 3 phase motors to use for the spindles. Of course if I came
> across a 3hp for the lathe some day it might get upgraded.
>
> Are there any drawbacks to using MODBUS instead of the usual analog 10v
> interface?
>
> Does anyone have suggestions for particular brands or models of VFD? I
> have worked with several Hitachi and one Toshiba VFD but that is all.
> Remember that these are home/hobby machines and I do need to try to keep
> costs down, but I don't want to be penny wise and pound foolish either.
>
> Thanks!
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

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

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


Re: [Emc-users] VFD recommendations

2017-02-02 Thread Chris Morley
I use mitsubishi VFDs particularly the e700 series.

They use a rs-485 serial connection.

I have a python program to communicate with them.


I've also toyed with a Yaskawa drive with Classicladder over modbus.


These are expensive drives to buy new, but can be found on Ebay.

Just other options available.


Chris M


From: dragon 
Sent: February 2, 2017 2:35 AM
To: Enhanced Machine Controller (EMC)
Subject: [Emc-users] VFD recommendations

I want to start looking for VFDs for my lathe and mill conversions. I
have two 2hp 3 phase motors to use for the spindles. Of course if I came
across a 3hp for the lathe some day it might get upgraded.

Are there any drawbacks to using MODBUS instead of the usual analog 10v
interface?

Does anyone have suggestions for particular brands or models of VFD? I
have worked with several Hitachi and one Toshiba VFD but that is all.
Remember that these are home/hobby machines and I do need to try to keep
costs down, but I don't want to be penny wise and pound foolish either.

Thanks!

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


Re: [Emc-users] EDM machining, user interface, increments

2017-01-10 Thread Chris Morley
I pushed a fix for hal_dial to 2.7 - not sure what you are using.

eventually it will cycle thru to master (and later releases)



The fix is simple (two lines) if you wish to just add it for now.


in gladevcp/hal_dial.py



# handle the scroll wheel of the mouse
def _scroll(self, widget, event):
if event.direction == gtk.gdk.SCROLL_UP:
self._count += 1
self._minute_offset +=1
self._delta_scaled += self.scale #<<<<<<<<<< this one
if event.direction == gtk.gdk.SCROLL_DOWN:
self._count -= 1
self._minute_offset -=1
self._delta_scaled -= self.scale #<<<<<<<<<<< and this one
self._last_offset =  self._minute_offset
self.redraw_canvas()
self.emit("count_changed", self._count,self.scale,self._delta_scaled)

I tested on my machine it seemed to work fine after that.
Chris M

From: Chris Morley <chrisinnana...@hotmail.com>
Sent: January 10, 2017 9:51 PM
To: EMC
Subject: Re: [Emc-users] EDM machining, user interface, increments


That sounds like a bug...wheel or mouse should move it the same.

- Reply message -
From: "Nicklas Karlsson" <nicklas.karlsso...@gmail.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: [Emc-users] EDM machining, user interface, increments
Date: Tue, Jan 10, 2017 1:35 PM



In sort of the delta scale is a little bit slippery. It slip while using the 
mouse wheel and only graphics is moving but no update of value. Then left mouse 
button is held down and dial is moved by moving mouse pointer both graphics and 
value is updated.


On Tue, 10 Jan 2017 20:45:24 +
Chris Morley <chrisinnana...@hotmail.com> wrote:

>
> Hal dial has a pin called delta scale I think. Then changing the scale (by 
> clicking) only changes the scale of future dial moments, which is what I 
> think you want.
> Chris M
>
> - Reply message -
> From: "Nicklas Karlsson" <nicklas.karlsso...@gmail.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: [Emc-users] EDM machining, user interface, increments
> Date: Tue, Jan 10, 2017 12:34 PM
>
>
>
> I discovered the limitations of the hal inputs, what is needed is:
>   min
>   max
>   scale
>   increment value
>   increment value change from GUI
>   A choice to between actual or scaled value
>
> None of the do it all.The hal dial may change the scale but what is really 
> needed is possibility to change increment value for fine tuning.
>
> Despite these small limitations I still think glade user interface designer 
> is really good. Since source code is available it is also possible change, if 
> anybody could give me a hint maybe I could look into it but I better start 
> with the unfinished g-code database, I think where will be  few hours for it 
> this weekend.
>
>
>
> On Tue, 20 Dec 2016 12:04:05 +
> Sarah Armstrong <sarahj.armstron...@gmail.com> wrote:
>
> > Ni⁣cklas,
> > Could you give me details etc, and I can get up to date, and join the 
> > discussion
> >
> > Sarah
> >
> > Sent from BlueMail
> >
> > On 19 Dec 2016, 20:16, at 20:16, Nicklas Karlsson 
> > <nicklas.karlsso...@gmail.com> wrote:
> > >Finally I have all the necessary hardware parts, some are still on
> > >desktop not connected to machine but they are tested to work: servo
> > >drives, digital IO, spark generator.
> > >
> > >Right now I start to think about user interface and as I remember
> > >someone started work on this earlier.
> > >
> > >
> > >If anyone is interested I could share hardware drawings or others. I
> > >also changed a few rows in drivers so that positions are sent instead
> > >of speed and put control loop local.
> > >
> > >
> > >
> > >Regards Nicklas Karlsson
> > >
> > >--
> > >Developer Access Program for Intel Xeon Phi Processors
> > >Access to Intel Xeon Phi processor-based developer platforms.
> > >With one year of Intel Parallel Studio XE.
> > >Training and support from Colfax.
> > >Order your platform today.http://sdm.link/intel
> > >___
> > >Emc-users mailing list
> > >Emc-users@lists.sourceforge.net
> > >https://lists.sourceforge.net/lists/listinfo/emc-users
> > --
> > Devel

Re: [Emc-users] EDM machining, user interface, increments

2017-01-10 Thread Chris Morley

That sounds like a bug...wheel or mouse should move it the same.

- Reply message -
From: "Nicklas Karlsson" <nicklas.karlsso...@gmail.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Subject: [Emc-users] EDM machining, user interface, increments
Date: Tue, Jan 10, 2017 1:35 PM



In sort of the delta scale is a little bit slippery. It slip while using the 
mouse wheel and only graphics is moving but no update of value. Then left mouse 
button is held down and dial is moved by moving mouse pointer both graphics and 
value is updated.


On Tue, 10 Jan 2017 20:45:24 +
Chris Morley <chrisinnana...@hotmail.com> wrote:

>
> Hal dial has a pin called delta scale I think. Then changing the scale (by 
> clicking) only changes the scale of future dial moments, which is what I 
> think you want.
> Chris M
>
> - Reply message -
> From: "Nicklas Karlsson" <nicklas.karlsso...@gmail.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: [Emc-users] EDM machining, user interface, increments
> Date: Tue, Jan 10, 2017 12:34 PM
>
>
>
> I discovered the limitations of the hal inputs, what is needed is:
>   min
>   max
>   scale
>   increment value
>   increment value change from GUI
>   A choice to between actual or scaled value
>
> None of the do it all.The hal dial may change the scale but what is really 
> needed is possibility to change increment value for fine tuning.
>
> Despite these small limitations I still think glade user interface designer 
> is really good. Since source code is available it is also possible change, if 
> anybody could give me a hint maybe I could look into it but I better start 
> with the unfinished g-code database, I think where will be  few hours for it 
> this weekend.
>
>
>
> On Tue, 20 Dec 2016 12:04:05 +
> Sarah Armstrong <sarahj.armstron...@gmail.com> wrote:
>
> > Ni⁣cklas,
> > Could you give me details etc, and I can get up to date, and join the 
> > discussion
> >
> > Sarah
> >
> > Sent from BlueMail ​
> >
> > On 19 Dec 2016, 20:16, at 20:16, Nicklas Karlsson 
> > <nicklas.karlsso...@gmail.com> wrote:
> > >Finally I have all the necessary hardware parts, some are still on
> > >desktop not connected to machine but they are tested to work: servo
> > >drives, digital IO, spark generator.
> > >
> > >Right now I start to think about user interface and as I remember
> > >someone started work on this earlier.
> > >
> > >
> > >If anyone is interested I could share hardware drawings or others. I
> > >also changed a few rows in drivers so that positions are sent instead
> > >of speed and put control loop local.
> > >
> > >
> > >
> > >Regards Nicklas Karlsson
> > >
> > >--
> > >Developer Access Program for Intel Xeon Phi Processors
> > >Access to Intel Xeon Phi processor-based developer platforms.
> > >With one year of Intel Parallel Studio XE.
> > >Training and support from Colfax.
> > >Order your platform today.http://sdm.link/intel
> > >___
> > >Emc-users mailing list
> > >Emc-users@lists.sourceforge.net
> > >https://lists.sourceforge.net/lists/listinfo/emc-users
> > --
> > Developer Access Program for Intel Xeon Phi Processors
> > Access to Intel Xeon Phi processor-based developer platforms.
> > With one year of Intel Parallel Studio XE.
> > Training and support from Colfax.
> > Order your platform today.http://sdm.link/intel
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> --
> Developer Access Program for Intel Xeon Phi Processors
> Acce

Re: [Emc-users] EDM machining, user interface, increments

2017-01-10 Thread Chris Morley

Hal dial has a pin called delta scale I think. Then changing the scale (by 
clicking) only changes the scale of future dial moments, which is what I think 
you want.
Chris M

- Reply message -
From: "Nicklas Karlsson" 
To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] EDM machining, user interface, increments
Date: Tue, Jan 10, 2017 12:34 PM



I discovered the limitations of the hal inputs, what is needed is:
  min
  max
  scale
  increment value
  increment value change from GUI
  A choice to between actual or scaled value

None of the do it all.The hal dial may change the scale but what is really 
needed is possibility to change increment value for fine tuning.

Despite these small limitations I still think glade user interface designer is 
really good. Since source code is available it is also possible change, if 
anybody could give me a hint maybe I could look into it but I better start with 
the unfinished g-code database, I think where will be  few hours for it this 
weekend.



On Tue, 20 Dec 2016 12:04:05 +
Sarah Armstrong  wrote:

> Ni⁣cklas,
> Could you give me details etc, and I can get up to date, and join the 
> discussion
>
> Sarah
>
> Sent from BlueMail ​
>
> On 19 Dec 2016, 20:16, at 20:16, Nicklas Karlsson 
>  wrote:
> >Finally I have all the necessary hardware parts, some are still on
> >desktop not connected to machine but they are tested to work: servo
> >drives, digital IO, spark generator.
> >
> >Right now I start to think about user interface and as I remember
> >someone started work on this earlier.
> >
> >
> >If anyone is interested I could share hardware drawings or others. I
> >also changed a few rows in drivers so that positions are sent instead
> >of speed and put control loop local.
> >
> >
> >
> >Regards Nicklas Karlsson
> >
> >--
> >Developer Access Program for Intel Xeon Phi Processors
> >Access to Intel Xeon Phi processor-based developer platforms.
> >With one year of Intel Parallel Studio XE.
> >Training and support from Colfax.
> >Order your platform today.http://sdm.link/intel
> >___
> >Emc-users mailing list
> >Emc-users@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/emc-users
> --
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today.http://sdm.link/intel
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Swiss Type Lathe-Turn Machine

2016-12-05 Thread Chris Morley

Michael had a branch that allowed multiple linuxcncs on one computer 
iirc...look on tube. might be the sane branch that had jog while paused code.
Chris M

- Reply message -
From: "andy pugh" 
To: "Shabbir Hussain" , "Enhanced Machine Controller 
(EMC)" 
Subject: [Emc-users] Swiss Type Lathe-Turn Machine
Date: Mon, Dec 5, 2016 7:50 AM



On 5 December 2016 at 14:49, Shabbir Hussain  wrote:
> In my opinion the set up needs TWO independent interpreters etc. so that 
> X,Y,Z and X2,Z2 can be independently running G-Code files.

If you need truly independent motion, then that it probably correct. I
think that this means two independent PCs, though it _might_ be
possible to have two separate LinuxCNC instances with separate
shared-memory areas.

If almost-independent is good enough (and it might well be) then you
can consider breaking moves in one axis to start another axis moving.

LinuxCNC can drive up to 9 axes, but they do all move in a coordinated way.

Another possibility for things like a cut-off slide would be to
fire-off instances of the simple_tp HAL component.
http://linuxcnc.org/docs/2.7/html/man/man9/simple_tp.9.html

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Accessing a Signal using the Python HAL Interface?

2016-09-20 Thread Chris Morley




From: Florian Rist 
Sent: September 20, 2016 8:14 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Accessing a Signal using the Python HAL Interface?

Hi,
thank you all for you help.

> A pin created by a python userspace component can be linked to a signal
> with the "net" command, just like any other HAL pin.

I thought about that, but I could not find 'net' command.

Can this be done from the Python script without calling halcmd?


I just tried this and it worked very well:

h=hal.component("mycomp")
h.newpin("com-pos", hal.HAL_FLOAT, hal.HAL_IN)
h.ready()
msg=Popen('halcmd net emcmot.03.pos-cmd mycomp.com-pos', shell=True,
stdout=PIPE).stdout.read()

h['com-pos'] = newpos


you can make a signal name in python with:
hal.new_sig.(SIGNAME,hal.HAL_PIN_TYPE)

you can connect pin to signal in python with:
hal.connect(PINNAME,SIGNAME)

there are a couple other methods to check for component names and whether a pin 
has a writer.
It's in the source - not officially documented.
Pncconf uses these things - or did I mean.

Chris M

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
Emc-users Info Page - 
SourceForge
lists.sourceforge.net
This list is for users of the Enhanced Machine Controller (EMC). Topics include 
how to obtain, install, configure, and use EMC, as well as other general EMC 
related ...


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] touch probe

2016-09-03 Thread Chris Morley
motion.feed-inhibit would be the one to use.

only (maybe) homing and synch moves are un fazed by it.

It can't be masked either.


Chris M




From: Jon Elson 
Sent: September 4, 2016 12:42 AM
To: Enhanced Machine Controller (EMC)
Subject: [Emc-users] touch probe

Does anybody know if the touch probe gcode (G38) obeys
motion.feed-hold?  (I'm guessing it should, but wondered if
anybody knew?)

This Blum probe I got has IR communication, and sends a
single serial byte every 16 ms when there is no event, and
sends a byte immediately when there is a change of state of
the probe.  So, I was thinking I could have a watchdog timer
that causes a feed hold if the IR pickup fails to report for
50 ms or so.  That might prevent ugly crashes if things go
wrong.

Thanks for any comments,

Jon

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
Emc-users Info Page - 
SourceForge
lists.sourceforge.net
This list is for users of the Enhanced Machine Controller (EMC). Topics include 
how to obtain, install, configure, and use EMC, as well as other general EMC 
related ...


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle control panel breaks LinuxCNC?

2016-06-29 Thread Chris Morley

Iirc Pressing axis spindle buttons sets the rpm to 1 rpm. Maybe this is the 
problem. Some how that errors the vfd. Depending on what version of lunuxcnc 
there is an INI switch to change that default rpm.You should be able to test 
this by setting the rpm to 1 in the MDI window.
Worth a try.

Chris M

- Reply message -
From: "dan...@austin.rr.com" 
To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] Spindle control panel breaks LinuxCNC?
Date: Wed, Jun 29, 2016 9:12 AM



It's every single time.  If I use M3, spindle runs 100% reliably.  Or, if I use 
my XHC wireless mpg, that runs it fine too.

But on the Manual Control tab, there's a Spindle button with a CW button 
flanking it on the right and a CCW button on the left and +/- buttons 
underneath.  Hovering over the CW says "Spindle CW (F9)".  Clicking on that 
results in no effect from the spindle, and the VFD will not respond to M3, 
nothing can make it run.  It won't run g-code because spindle-at-speed will 
never become true and that's required to be true for G1 moves.  That will 
persist until the VFD power is cycled.  Rebooting LinuxCNC alone will have no 
effect and it's not necessary to reboot LinuxCNC along with cycling VFD power.

This is weird.  The VFD is controlled by a complied .c, which has a limited 
range of communication with the VFD, using a few regs.  LinuxCNC has to have 
sent something that breaks the VFD communication but I'm not sure what it could 
even send that would cause that failure that stores IN the VFD's states rather 
than a state of LinuxCNC's code.  It has to be on the VFD's registers because 
cycling VFD power is essential to recover, while restarting LinuxCNC is 
irrelevant to recovery.

Danny
 Gene Heskett  wrote:
> On Wednesday 29 June 2016 01:42:47 Danny Miller wrote:
>
> > Well, I recreated it and confirmed cycling VFD power without rebooting
> > LinuxCNC makes the spindle run again.
> >
> > I looked into the HAL after the "Spindle CW" button breaks everything:
> > enable TRUE
> > is_alarm FALSE
> > is_at_speed FALSE
> > is_ready TRUE
> > is_running TRUE
> > reverse FALSE
> > run TRUE
> > watchdog_out TRUE
> >
> > compared with actually having it running with M3:
> > is_at_speed becomes TRUE (duh)
> > watchdog_out is FALSE
> >
> > Well, that's odd.  IIRC the watchdog is not getting data back from the
> > VFD in a timely fashion.  It is somehow locked up so that does seem
> > consistent with the situation.  But no idea how it's getting locked
> > up. The x200 VFD code sends a speed, dir, and run command and reads
> > back the coils.
> >
> How often?  This is sounding as it it has some sort of an internal
> watchdog that is not getting "petted".  This function is normally done
> by an addf in your .hal file as one of the last addf's, often next in
> line after the addf that updates the outputs each servo cycle.  That way
> the watchdog gets petted even if the rest of the system is sitting idle
> waiting for its slow human to tell it what to do next. :)
>
> For an older 5I25 card install, it looked like this in the .hal file:
> addf   hm2_5i25.0.pet_watchdog   servo-thread# else he bites!
>
> Do a "sudo dmesg -c" which will clear dmesgs cache, then start lcnc and
> stop it. send the next "sudo dmesg >filename 2>&1" and post it here as
> an insert of that filename.  I also find that printing a copy for future
> reference is also quite handy as you go about configuring a working
> system.
>
> Point is, that if the setup has a watchdog, it should show up in that
> dmesg listing, the whole thing is perhaps 60 lines in one of my machines
> that uses a 5I25 card.  And its now part of the of the output write
> function now done internal to the card when and output is written by the
> driver. So it does not show up in my dmesg listing, and that line quoted
> above now has a #in front of the addf.
>
> Check the docs you have on this x200 vfd for any mention of a watchdog.
> That should define how to "pet" it to keep it from barking.
>
> OTOH, I do't have an x200 VFD, and its possible that it does not report
> its presence when the program is run. In which case see the docs for the
> x200.
> >
> > Danny
> >
> > On 6/16/2016 11:04 AM, dan...@austin.rr.com wrote:
> > > It's modbus, sorry forgot to mention that.
> > >
> > > What baffles me is the Spindle buttons on the panel, AFAIK, just map
> > > to the same spindle-run in the HAL that M3 goes to.  I remember
> > > looking at the HAL monitor on this weeks ago and IIRC it was
> > > "spindle run true, but spindle-isrunning false".  The spindle isn't
> > > moving at all.  I'll recheck the HAL and take proper notes.
> > >
> > > And like I say, the VFD won't run again even if you reboot LinuxCNC.
> > >  It will run if I cycle power on the VFD.  So, it's like it sent a
> > > toxic command to the VFD that changed a reg to something unusable.
> > > I did make that x200_vfd.c from 

Re: [Emc-users] Tool Marks?

2016-05-25 Thread Chris Morley
I have a branch somewhere that has a variable spindle speed selection 
incorporated into the motion Component.
The variance range and period are configurable. I wanted it to use a m code or 
g code to set it ..it was roughly patterned after okuma's if someone wants to 
finish the gcode part

Chris M

- Reply message -
From: "andy pugh" 
To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] Tool Marks?
Date: Wed, May 25, 2016 7:09 AM


On 25 May 2016 at 14:32, Rick Lair  wrote:

> Are you thinking of a new component then?

There is no need for a new component, it could be easily done with siggen:
http://linuxcnc.org/docs/2.7/html/man/man9/siggen.9.html
Wire the spindle speed request into the "offset" pin and run the
spindle control from the output, enable and alter the dither amplitude
from a slider in PyVCP (or even enable a fixed amplitude with the mist
checkbox, for example).

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stake in ball screw Cincinnati Arrow

2016-02-25 Thread Chris Morley

I'm sure he mean slack in the ballnut :)

- Reply message -
From: "Forum Deswysen" 
To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] Stake in ball screw Cincinnati Arrow
Date: Thu, Feb 25, 2016 1:06 PM


Hello,

Today we found the stake in the nut of the ball screw axis Z.

Do you know the problem ???

Is there a adjustment means ???

Best regards,

Pierre
finemeca.be
--
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 web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
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 web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] camview-emc?

2016-01-19 Thread Chris Morley


> From: ghesk...@wdtv.com
> To: emc-users@lists.sourceforge.net
> Date: Tue, 19 Jan 2016 19:37:01 -0500
> Subject: [Emc-users] camview-emc?
> 
> Greetings;
> 

Gene would this be any use to you?
https://forum.linuxcnc.org/forum/show-your-stuff/30006-spindle-cam?limitstart=0

It may be easier to keep working as it uses a common library - CV

Chris M
  
--
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 web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] View buttons and views in Axis menu gone in lathe mode

2016-01-19 Thread Chris Morley


> From: tom-...@bgp.nu
> Date: Tue, 19 Jan 2016 20:17:55 -0500
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] View buttons and views in Axis menu gone in lathe
> mode
> 
> Is there a way to bring them back in Lathe mode?  It is a lathe I am using it 
> on so want to keep that mode, but want the buttons so I can get the view back 
> on the screen after touching off.
> -Tom
> 
> 

What views are you referring to? Axis has always had less view options on 
lathes.
Are you saying you want all the mill view options on lathe too?

Chris M
  
--
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 web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311=/4140
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Linux Mint

2015-11-02 Thread Chris Morley


> To: emc-users@lists.sourceforge.net
> From: j...@gnipsel.com
> Date: Mon, 2 Nov 2015 14:26:43 -0600
> Subject: [Emc-users] Linux Mint
> 
> I have Linux Mint 17.2 and like the interface, are there any 
> instructions on how to patch the kernel for real time? I ran uname -r 
> and it reports 3.16.0-38 generic in 17.2. Cinnamon and Mate seem to be 
> the best for me, I could not figure out where the turn off button was in 
> XFCE lol. Finally found it and the name choice was poor.
> 
> I've done a lot of things on computers but building or patching a kernel 
> is not on that list so any advice is appreciated.
> 
> Thanks
> JT
> 

I would be interested in this too.
I use RTAI

Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port

2015-10-11 Thread Chris Morley

You have SIM config checked on the first page?

- Reply message -
From: "andy pugh" 
To: "Enhanced Machine Controller (EMC)" 
Subject: [Emc-users] Problem Connecting LCNC to G540 from PCIE Port
Date: Sun, Oct 11, 2015 2:04 PM


On 11 October 2015 at 20:56, Willy Snow  wrote:
> loadrt hal_parport cfg="0e010" [**tried adding here and other places
> but only get errors]

What errors?

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

--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Bug:Call Stack Under run

2015-08-12 Thread Chris Morley
 I have a program with threading G33 that will run if I take the threading
 out of it but throw an error of Bug: Call Stack Under Run if I leave the
 threading in the program. We use a post processor for our programs and have
 done threading in the past but this one is persistent. Any Ideas?

 

 Jeff Johnson

Just to finish this issue (hopefully).
I contacted Michael H (the coder of remap) about this.
He suggested that codes in remap that create queue-busters
can create problems do to some flow control weakness in
tastaskk/interp.

his refereences 

 https://github.com/machinekit/machinekit/issues/106
 
https://github.com/mhaberler/asciidoc-sandbox/wiki/Interpreter-control-flow-explained

He suggested changing the M6 in the remap code to use emccanon calls
directly:

emccanon.SELECT_POCKET(index, tool)
emccanon.CHANGE_TOOL(index)

I send Rick a new version of the remap and he said it seemed
to fix the error message.

Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] BeagleBone and LinuxCNC for a lathe.

2015-08-12 Thread Chris Morley


 From: jmkasun...@fastmail.fm
 To: emc-users@lists.sourceforge.net
 Date: Wed, 12 Aug 2015 01:58:57 -0400
 Subject: Re: [Emc-users] BeagleBone and LinuxCNC for a lathe.
 
 
 
 On Wed, Aug 12, 2015, at 01:31 AM, John Dammeyer wrote:
  
  In this case I'm considering installing it on a Unimat Lathe.  The 650 oz-in
  size 34 motor appears to be large enough compared to the small DC brush
  motor currently attached.  I'd have to step up the RPM in order to get the
  turning speed currently available.  In either case, the question is whether
  or not LinuxCNC can even create stepping pulses for a spindle or if only PWM
  is available.
  John
 
 LinuxCNC can create any mixture of step pulses, PWM, and other ways of
 controlling motors.  The motor interface is modular and you can set it up
 to do just about anything.
 
 
   jmkasun...@fastmail.fm
 

Linuxcnc doesn't actually support the beaglebone.
It was supported for a while on a branch that was not and will not be merged.
It may be that you are using that old branch of linuxcnc or you may in fact
be using machinekit (a fork of linuxcnc) that does support the beaglebone.

That said if the beaglebone driver supports velocity step mode then it would be
easy to add a stepper as a spindle drive.

Let us know what fork of linuxcnc you are using and we can direct you to the
best info.

Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Bug in 2.6 and Newer

2015-07-15 Thread Chris Morley


 Date: Wed, 15 Jul 2015 15:20:26 -0400
 From: r...@superiorroll.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Bug in 2.6 and Newer
 
 I just switched it over to signal the motion.feed-hold input instead, it 
 stops motion, but how do you get it to resume?
 
 Nothing I push resumes motion.
 
 
 Rick
 
 

motion.feed-inhibit is the pin to use as it can't be overridden with an m code.
it will finish a thread move before pausing.

having the pin true pauses, false allows movement.

Chris M
  
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] FW: Okuma Absolute Encoder

2015-07-14 Thread Chris Morley


From: chrisinnana...@hotmail.com
To: emc-users@lists.sourceforge.net
Subject: RE: [Emc-users] Okuma Absolute Encoder
Date: Wed, 15 Jul 2015 01:21:13 +






 Date: Tue, 14 Jul 2015 09:48:00 -0500
 From: tensait...@gmail.com
 To: emc-users@lists.sourceforge.net
 Subject: [Emc-users] Okuma Absolute Encoder
 
 I'm getting ready to start retrofitting a 1981 Okuma LC30 (OSP-3000
 control).
 
 The axis drives seem to take simple +/-10V commands and use tachs on the
 motors for feedback.
 
 However, from what I can tell, the encoders are some sort of absolute setup
 that doesn't use any sort of battery backup and have about 18 wires. There
 are also no limit or home switches.
 
 I have no diagrams or documentation on anything for this machine. The
 encoders have no visible markings (one looks like it used to, but is worn
 off) except for one that simply says D6.
 
 Does anyone know anything about the pinout on these things or if there is
 any hope of using them?
 
 -Chris Kelley

I have an Okuma flat bed lathe I have converted to linuxcnc (not fully finished 
but works).
I replaced the drives and motors.
I have the manuals for it - OSP2200
I have a pic of the page that shows pinouts.
not much info there.
I sent one encoder to Stuart Stevenson as they were interested in trying one.
Not sure if they ever got it working.

If you figure it out I'd love to hear about it.

Chris M

  
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Axis DRO

2015-07-11 Thread Chris Morley


 Date: Fri, 10 Jul 2015 20:55:37 -0500
 From: l...@probotix.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Axis DRO
 
 Fine, but if I know what file it stores those variables in, then I can 
 configure it with my post install scripts.
 
  Len
 
 
.axis_preferences in your home directory

show_offsets = False

Chris M
  
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Axis DRO

2015-07-10 Thread Chris Morley

Without a change in the source code, it defaults to show on a fresh install. No 
other way around it.
Chris M

- Reply message -
From: Len Shelton l...@probotix.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] Axis DRO
Date: Fri, Jul 10, 2015 5:05 PM


Ok - that is great that its that easy to remove it. But this must be set
in a settings file somewhere, no? It now defaults to showing it, and I
need it to not default to that on a fresh install. Any ideas?

 Len



On 7/10/2015 1:30 PM, Andy Pugh wrote:

 On 10 Jul 2015, at 19:18, Len Shelton l...@probotix.com wrote:

 Is there a setting somewhere to easily remove all of the extra
 information on the new 2.6 Axis
 I think it is in the View menu?

 --
 Don't Limit Your Business. Reach for the Cloud.
 GigeNET's Cloud Solutions provide you with the tools and support that
 you need to offload your IT needs and focus on growing your business.
 Configured For All Businesses. Start Your Cloud Today.
 https://www.gigenetcloud.com/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC website

2015-07-10 Thread Chris Morley

I read on irc that the web engine needs an update. People who could do it were 
busy.
Chris M

- Reply message -
From: Todd  Zuercher zuerc...@embarqmail.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] LinuxCNC website
Date: Fri, Jul 10, 2015 5:18 AM


Any idea why it went down, or when it may be back?

- Original Message -
From: Chris Morley chrisinnana...@hotmail.com
To: EMC emc-users@lists.sourceforge.net
Sent: Thursday, July 9, 2015 11:19:23 PM
Subject: Re: [Emc-users] LinuxCNC website


Yes. Know problem.
Chris M

- Reply message -
From: Jim Craig jimcraig5...@windstream.net
To: emc-users emc-users@lists.sourceforge.net
Subject: [Emc-users] LinuxCNC website
Date: Thu, Jul 9, 2015 7:46 PM


Is anyone else having issues with the LinuxCNC website?

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC website

2015-07-09 Thread Chris Morley

Yes. Know problem.
Chris M

- Reply message -
From: Jim Craig jimcraig5...@windstream.net
To: emc-users emc-users@lists.sourceforge.net
Subject: [Emc-users] LinuxCNC website
Date: Thu, Jul 9, 2015 7:46 PM


Is anyone else having issues with the LinuxCNC website?

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Humm, pncconfig being difficult.

2015-06-29 Thread Chris Morley


 From: ghesk...@wdtv.com
 To: emc-users@lists.sourceforge.net
 Date: Mon, 29 Jun 2015 17:37:02 -0400
 Subject: [Emc-users] Humm, pncconfig being difficult.
 
 Greetings;
 
 To be specific, I'll have to go someplace and find me at least a 9 pack 
 of switches to setup the homes and limits, else it will not let me pass 
 the x axis config page.
 
 'Twould be nice to be able to bring a 5i25 to life one function at a 
 time.  My local rat shack locked up last week, so my nearest bin of 
 roller lever microswitches is at Lowes if the shack in Bridgeport has 
 also closed.  Last time I looked, Lowes was marked up 4x, and their 
 version of small means you can get 2 of them in a polo shirt pocket.
 
 Sigh...
 
 Cheers, Gene Heskett
 -- 

PNCconf does not require limit or home switches.
It does require the stepper scale to allow past the config page.
What version on linuxcnc is this on?

Chris M
  
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Question on INI entrie regarding mill tool change

2015-05-12 Thread Chris Morley


 Date: Tue, 12 May 2015 15:23:17 -0400
 From: r...@superiorroll.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Question on INI entrie regarding mill tool change
 
 Back to this, I am not sure why, but both of the Milacron controls in 
 our shop reference the table as zero, that is why I am going after this.
 
 I guess my question would be, how would I facilitate the line 
 TOOL_CHANGE_POSITION= to disregard the X and Y positional data, and 
 only use the Z value, so as to have no table movement, only a full Z 
 movement, to whatever I tell it to make the tool change.
 
 Our Post Processor that we use already figures in a safety zone to allow 
 for the tool change, and avoid a collision, by moving the X and Y to the 
 appropriate positions.
 
 
 I only ask this to keep continuity among the controls,
 
 
 Rick
 

Rick you will need to remap M6.
It's a similar idea as the remapping of T for the fanuc style offsets.

The manual has some info:
http://www.linuxcnc.org/docs/2.7/html/remap/structure.html#_specifying_the_m6_replacement

I prefer all python code (no O words) but apparently you can do it either way.

Chris M
  
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6

2015-04-18 Thread Chris Morley


 From: tom-...@bgp.nu
 Date: Sat, 18 Apr 2015 13:32:36 -0400
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6
 
 Chris,
 
 I was mistaken.  There is indeed a 7i84 in the second combo box.  I can 
 select that but then I get the wrong designation for the I/O bits.  That is, 
 I get
 hm2_5i25.0.7i84.0.1.input-00 rather than hm2_5i25.0.7i84.0.0.input-00 (for 
 example).  I assume that is because, as you say, I cannot select the 7i84 on 
 the Connector 3 tab?  Or is it just a bug with the numbering (starting at 1 
 rather than 0)?
 
 -Tom
 

Tab 3 has the lowest numbered 7i84, tab 2 would be the next. that's how the 
firmware describes them.

Pncconf only supports mode 1 and 3 ( question on your other email).
If you need something else then you need to hand edit.

Chris M
  
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6

2015-04-17 Thread Chris Morley

You must select the serial daugther boards in the sserial combobixes on each 
connector tab.
Chris M

- Reply message -
From: Tom Easterday tom-...@bgp.nu
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6
Date: Fri, Apr 17, 2015 8:10 AM



 On Apr 16, 2015, at 8:45 PM, Chris Morley chrisinnana...@hotmail.com wrote:

 The 7I85s is a 4 axis stepgen + encoder interface. Does pncconf know how to
 make closed loop stepgen + encoder feedback configurations?

 Yes - if you pick an x axis stepper and x axis encoder (but not an x axis
 analog) then pncconf will do a closed loop stepper config.

 I haven't check this in a long time so it might need some tweaks.

 Firmware XMLs must be put in /lib/firmware/hm2/BOARDNAME for pncconf
 to notice them.

I created a directory /lib/firmware/hm2/5i25 and put the 7i85sx2.xml and 
7i85sx2.bit files there.  PNCCONF now sees the 5i25 and 7i85s.  I also have a 
7i84 connected via serial to the 7i85s, that it doesn’t see.  Do I also need to 
add a 7i84.xml file for that to work?  Not sure where to find that, it doesn’t 
seem to be in the config files I downloaded for the 5i25 card.

 By 2.8 pncconf will read the info from a live system YAAY!

That would be nice!
-Tom

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6

2015-04-17 Thread Chris Morley


 From: tom-...@bgp.nu
 Date: Fri, 17 Apr 2015 11:07:00 -0400
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6
 
 
  On Apr 16, 2015, at 8:45 PM, Chris Morley chrisinnana...@hotmail.com 
  wrote:
  
  The 7I85s is a 4 axis stepgen + encoder interface. Does pncconf know how to
  make closed loop stepgen + encoder feedback configurations?
  
  Yes - if you pick an x axis stepper and x axis encoder (but not an x axis
  analog) then pncconf will do a closed loop stepper config.
  
  I haven't check this in a long time so it might need some tweaks.
  
  Firmware XMLs must be put in /lib/firmware/hm2/BOARDNAME for pncconf
  to notice them.
 
 I created a directory /lib/firmware/hm2/5i25 and put the 7i85sx2.xml and 
 7i85sx2.bit files there.  PNCCONF now sees the 5i25 and 7i85s.  I also have a 
 7i84 connected via serial to the 7i85s, that it doesn’t see.  Do I also need 
 to add a 7i84.xml file for that to work?  Not sure where to find that, it 
 doesn’t seem to be in the config files I downloaded for the 5i25 card.
 
  By 2.8 pncconf will read the info from a live system YAAY!
 
 That would be nice!
 -Tom
 


I down loaded 5i25_7i85_x2.xml from mesa and added to pncconf.
on the connector 2 tab I could select the 7i84 on the second combo box down on 
the left.
i should be able to select the same thing on the other tab but cannot - I'll 
look into it.

Is this not the same for you?

Chris M
  
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6

2015-04-16 Thread Chris Morley


Date: Thu, 16 Apr 2015 07:15:10 -0700
From: p...@mesanet.com
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6

On Thu, 16 Apr 2015, Chris Morley wrote:
 
 Date: Thu, 16 Apr 2015 04:33:15 +
 From: Chris Morley chrisinnana...@hotmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: EMC emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6
 


 Date: Wed, 15 Apr 2015 13:08:28 -0700
 From: p...@mesanet.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6

 On Wed, 15 Apr 2015, Tom Easterday wrote:

 Date: Wed, 15 Apr 2015 15:25:28 -0400
 From: Tom Easterday tom-...@bgp.nu
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6

 I am configuring a new machine build, a lathe using Mesa 6I25-7I85s-7I84
 cards.  I upgraded my (previously unconfigured) installation of 2.6.7 to
 2.7-pre6, since it seems to be close to release.  I flashed the 6i25 card
 with the 5i25_7i85sx2.bit file.  When I run pncconf I see a 5i25 Internal
 Data card but no 7i85s or 7i84 under firmware.  Are there files I am
 supposed to be downloading before running pncconf or should they be in there
 already?  Or am I doing something else wrong?

 Not sure if pncconf is a suitable tool for anything but very standard
 configurations. You would at minimum need a 7i85sx2.xml file but
 pncconf doesnt know what to do with mixed stepgens and encoders

 Thanks,
 -Tom

 Pncconf has no problems that I know of with steppers and encoders.
 Where could I find the 7i85x2.xml file?
 I will see if I need to add anything.

 Chris M
 
The 7I85s is a 4 axis stepgen + encoder interface. Does pncconf know how to
make closed loop stepgen + encoder feedback configurations?
 
Yes - if you pick an x axis stepper and x axis encoder (but not an x axis
analog) then pncconf will do a closed loop stepper config.
 
I haven't check this in a long time so it might need some tweaks.

Firmware XMLs must be put in /lib/firmware/hm2/BOARDNAME for pncconf
to notice them.

By 2.8 pncconf will read the info from a live system YAAY!

Chris M

  
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6

2015-04-15 Thread Chris Morley


Date: Wed, 15 Apr 2015 13:08:28 -0700
From: p...@mesanet.com
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6

On Wed, 15 Apr 2015, Tom Easterday wrote:
 
 Date: Wed, 15 Apr 2015 15:25:28 -0400
 From: Tom Easterday tom-...@bgp.nu
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] Pncconf with 6i25 and 7i85s in 2.7-pre6
 
 I am configuring a new machine build, a lathe using Mesa 6I25-7I85s-7I84 
 cards.  I upgraded my (previously unconfigured) installation of 2.6.7 to 
 2.7-pre6, since it seems to be close to release.  I flashed the 6i25 card 
 with the 5i25_7i85sx2.bit file.  When I run pncconf I see a ��5i25 Internal 
 Data�� card but no 7i85s or 7i84 under firmware.  Are there files I am 
 supposed to be downloading before running pncconf or should they be in there 
 already?  Or am I doing something else wrong?
 
Not sure if pncconf is a suitable tool for anything but very standard 
configurations. You would at minimum need a 7i85sx2.xml file but
pncconf doesnt know what to do with mixed stepgens and encoders
 
Thanks,
-Tom

Pncconf has no problems that I know of with steppers and encoders.
Where could I find the 7i85x2.xml file?
I will see if I need to add anything.

Chris M 
  
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread Chris Morley


 From: viesturs.la...@gmail.com
 Date: Sat, 21 Mar 2015 21:45:22 +0200
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Simple, adjustable timer
 
 2015-03-21 21:11 GMT+02:00 Dave Cole linuxcncro...@gmail.com:
  I'd run the input to a unused Mesa 24 volt input and put some logic into
  Classic Ladder for a couple of timers to condition the input with  time
  on and time off delays so you don't short cycle the grit loader.  Or
  just tie it in via hal if no timers are required.
 
 Yes, I already have it hooked to gpio pin, currently the hopper is
 switched on/off by a checkbutton on pyvcp panel.
 I thought about using classicladder and few timers there, but the
 thing is that this solution is not easy to adjust for operator.
 Correct timing pattern is unknown at the moment, and I do not think I
 want to provide instructions over the phone on how to use
 classicladder, so I thought that 2 spinboxes in vcp panel as a source
 for the time (in seconds, number of servo periods or whatever) and few
 HAL modules (like oneshot etc) might do the trick, but did not come up
 with anything reasonable, so I was hoping for some hints.
 
 Viesturs
 

In classicladder you can dynamically change the timer time with an assignment 
element.
http://www.linuxcnc.org/docs/2.6/html/ladder/classic_ladder.html#_iec_timers

%TM0.P=%IW0

will set IEC timer 0 at whatever classicladder.0.s32in-00 is

This could be connected to a vcp spinbutton to select the time.

Chris M
  
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] G edit and velocity

2014-12-17 Thread Chris Morley

I have used gedit for about 6 years for all my programming...never had a 
problem with it. though I did see some bugs in my code... :)

Chris M

- Reply message -
From: Gene Heskett ghesk...@wdtv.com
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] G edit and velocity
Date: Wed, Dec 17, 2014 7:27 AM


On Friday 12 December 2014 20:33:00 Marshland Engineering did opine
And Gene did reply:
 I installed the latest software and have the Mesa cards and servos
 running.

 No text editor to be found. Pressing edit on the File menus does
 nothing ?? Where is gedit ?

It is a configurable item in your .ini file.

BUT!!! Do not use gedit, it has bugs like a 10 day old roadkill carcass.

Geany seems clean and has never trashed a file for me yet, where gedit
has, several times.

They are quite similar, so no new hot keys to learn for most editing.

 I have set the acc and velocities up high using the config editor but
 when running the program, the velocity is about 1/10 I specified. What
 is wrong and how do I change this ?

 Thanks Wallace




 ---
 --- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT
 Server from Actuate! Instantly Supercharge Your Business Reports and
 Dashboards with Interactivity, Sharing, Native Excel Exports, App
 Integration  more Get technology previously reserved for
 billion-dollar corporations, FREE
 http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.
 clktrk ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
--
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Genes Web page http://geneslinuxbox.net:6309/gene
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 7i43 firmware for 7i44 sserial

2014-12-16 Thread Chris Morley


Date: Mon, 15 Dec 2014 17:22:32 -0800
Heres a servo/4 channel sserial config for  7I43-200
 
(8 sserial channels wont fit in the -200 part so svss4_8 is a no-go)
 
 
Peter Wallace
Mesa Electronics
 
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.

Thanks Peter that will work fine.

Chris M
  
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] new motherboard doa, twice

2014-12-14 Thread Chris Morley

Is the memory in the right slot?

Sent from my HTC

- Reply message -
From: kqt4a...@gmail.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] new motherboard doa, twice
Date: Sun, Dec 14, 2014 9:59 AM


On Sun, 14 Dec 2014, Dave Cole wrote:

 Peter is right.   You need to read the manual.   Motherboards beep in
 codes on startup if something is wrong.

 Do you have the 4pin power plug jack connected on the MB?   I think the
 1900's all require those to be connected to the power supply.

 Otherwise beep code!

 Dave

 On 12/14/2014 11:14 AM, Peter Blodow wrote:
 When I was working with motherboards long ago, the beeps had e certain
 meaning that was described in the f... manual. Try to look it up in the
 internet, if you don't have a manual.
 Peter

 Am 14.12.2014 16:44, schrieb kqt4a...@gmail.com:
 I ordered a ASRock G1900M Pro3. When I power it up I get nothing. Not a
 flicker. A friend had a 4GB memory stick that he let me have, G.Skill
 F3-1600C11S-4GNS. I asked ASRock if this memory would work and they said
 yes. If I remove the memory the board beeps 3 times pauses and repeats.
 The power supply was running another board ok. I hooked the monitor and
 cable to another computer and it is ok. I have the monitor hooked up to
 the vga port. I returned the board and they sent another and it does the
 same thing. I preferred this board because of the pci slots. What do you
 think? Should I return it for a refund or swap it for another. It cost
 about $14.00 to send it back.

 Richard



The beeps only occur with no memory installed otherwise silence. I have
the 20 + 4 power plugged in. This board does not have a 4 pin plug for
cpu. The manual does not have any info requarding beep code.

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] 7i43 firmware for 7i44 sserial

2014-12-14 Thread Chris Morley
Is there firmware available for the 7i43, so 
I can use the 7i44 sserial card?
The other connector can be anything.
I looked on Mesa's site but found nothing
applicable.
ultimately I will use the 7i73 with the 7i44.
Time to build a usable operator panel...

Thanks Chris M 
  
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 7i43 firmware for 7i44 sserial

2014-12-14 Thread Chris Morley


Date: Sun, 14 Dec 2014 11:48:46 -0800
From: p...@mesanet.com
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] 7i43 firmware for 7i44 sserial

 
This should be close (for a 4 axis servo+ 7I44 setup on a 7i43-400)
 
I can build a more up-to date one on Monday
 

Thanks Peter, unfortunately I (forgot to mention that) have a 7i43-200.


Chris M
  
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] . Re: LCNC VS Machinekit JWP (Niemand Sonst)

2014-11-28 Thread Chris Morley


 Date: Wed, 26 Nov 2014 18:06:04 +
 From: cncbas...@gmail.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] . Re: LCNC VS Machinekit JWP (Niemand Sonst)
 
 ok am i correct that Machinekit does Jog while paused ( or whatever
 everyone wants to call it ) if thats the case then Linuxcnc for me must go
 out in the trash bin ... and i must go and use machinekit , i dont have an
 alternative for customers .
 
 it's no good arguing if it's needed or not
 workarounds are for Windows People ,
 
 
 
 On 26 November 2014 at 17:48, Niemand Sonst nie...@web.de wrote:
 

for completeness:
https://github.com/mhaberler/asciidoc-sandbox/wiki/Jog-while-paused-support

Seems they have it and consider it stop gap.
The dro's zero at pause and then show distance to go from the pause point.
Moves axes not joints.
Uses HAL pins for jogging not regular GUI or handwheels.

Chris M
  
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Question for larger machine users of LCNC

2014-11-21 Thread Chris Morley

Block delete can't be changed while the program is running :(

Honestly I don't think he was asking for a workaround. He is asking for utility.

Unfortunately the developers that could do this don't see the need nor are 
intrigued by the technical issues to overcome. Or are working on a fork :)
If the developers are not interested it's not going to get done.
I wouldn't hold my breath for jog while paused.

Chris M

- Reply message -
From: Lee Lancaster angrychi...@gmail.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] Question for larger machine users of LCNC
Date: Fri, Nov 21, 2014 7:07 AM


You could place some tool change spots using block delete around where tool
changes commonly occur.  When the tooling starts to sound bad just toggle
block delete on and change your tooling.  Restart program and toggle BD off.
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem pncconf in master (patch attached)

2014-10-31 Thread Chris Morley

  I will look into the kernel check error next.
 
 I have some data for you on that.  I see that pncconf uses the hal 
 python module to learn about the system it's running on.  This is a 
 sensible thing to do.
 

 
 So in other words, in all three of the expected situations, the hal 
 module has good, accurate data.  I did not test the unexpected 
 situations: --with-realtime=rtai on a non-rtai kernel and 
 --with-realtime=uspace on an rtai kernel.
 
 

Ok thanks for that info.
It seems the real problem is the missing kernel version when using uspace.

I'll dream up a patch for you to test with - but tomorrow - bed time :)

Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem pncconf in master (patch attached)

2014-10-30 Thread Chris Morley


 Date: Thu, 30 Oct 2014 17:11:36 +0100
 From: c...@rstenpresser.de
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Problem pncconf in master (patch attached)
 
 Hi,
 
 there is an third issue I had with pncconf. Someone else already had if
 bevore:
 https://github.com/machinekit/machinekit/issues/102
 
 My suggested fix is to add another if-case @line 1584 in pncconf, in
 function 'check_for_rt'
 --
 elif hal.is_userspace:
   return True
 --
 
 With that change the test-axis button works again.
 I am not quite sure how the 'is_userspace'-bit is behaves on RTAI
 systems, so this might not be a complete fix.
 
 Kind Regards
 Carsten
 
 
 p.s. i am working on a patch for the debian packaging issue.
 

Hi Carsten

Thank you for the bug reports and the patch.
Unfortunately i don't think the icon patch is quite right.
Can you check if this one works?

I will look into the kernel check error next.
Chris M
  

pncconf_bug1.patch
Description: Binary data
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Problem pncconf in master (patch attached)

2014-10-30 Thread Chris Morley


 Date: Thu, 30 Oct 2014 17:11:36 +0100
 From: c...@rstenpresser.de
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Problem pncconf in master (patch attached)
 
 Hi,
 
 there is an third issue I had with pncconf. Someone else already had if
 bevore:
 https://github.com/machinekit/machinekit/issues/102
 
 My suggested fix is to add another if-case @line 1584 in pncconf, in
 function 'check_for_rt'
 --
 elif hal.is_userspace:
   return True
 --


Seb or Jeff

There are two new checks in module HAL
is_kernelspace
is userspace

Can you explain exactly what I can assume if each is true?

is_rt and is_sim basically meant: can drive real hardware/ couldn't drive real 
hardware.

Chris M 
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] building a linuxcnc computer

2014-10-27 Thread Chris Morley


 From: bodge...@gmail.com
 Date: Sun, 26 Oct 2014 13:53:27 +
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] building a linuxcnc computer
 
 On 26 October 2014 01:00, Chris Morley chrisinnana...@hotmail.com wrote:
 
  looking for some fairly specific info, I am not up on or very interested
  in researching every option.
 
 I quite like the Pico PSUs, partly because they plug in to the MB and
 don't need to be mounted separately.
 For the same reason, on a dedicated LinuxCNC machine I like the SATA
 DOM drives, that simply plug in to the SATA port.
 This sort of thing.
 http://www.ebay.co.uk/itm/Kingspec-8GB-SATA-DOM-MLC-Flash-SSD-Solid-State-Hard-Disk-Drive-for-PC-LAPTOP-/111282354949
 They don't come in large capacities, but then G-code files aren't very
 big, and you may want to keep them on a separate networked drive
 anyway.
 I also don't know how long they last for. My machines don't even get
 used every day, things might be different on a 3-shift machine. (but a
 pre-formatted spare would be easy to arrange)
 
 -- 
 atp
 If you can't fix it, you don't own it.
 http://www.ifixit.com/Manifesto
 

Thank you for your experience and opinions.
This will narrow down things a lot.
 
Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Chris Morley


 From: bodge...@gmail.com
 Date: Mon, 27 Oct 2014 19:50:32 +
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade
 
 On 27 October 2014 19:35, Chris Morley chrisinnana...@hotmail.com wrote:
 
  The GTK theme controls the basic size of such things.
  Here is a theme with large sliders that works better with touch screens.
 
 Thanks but it looks like I can't avoid coding anyway, so I will look
 at the popup keyboard first.
 
  Sorry I don't have one with large spin buttons but maybe you could google 
  that.
 
 Google ended up in a DenverCoder9 experience. [1]
 
 http://xkcd.com/979/
 
 -- 

Oh well :)

For anyone else interested:
in the gtkrc file I previously posted:

look in that file for:


style spin
{
  engine pixmap 
   {
image 
  {
function= BOX
recolorable = TRUE
state= PRELIGHT
file= spin2.png
border  = { 4,5,4,5 }
stretch = TRUE
  }
snip

add to  it:

style spin
{
  xthickness = 20
  ythickness = 20
  engine pixmap 
snip

It is easy to over do this.
In fact to really do this right it is possible to only change the size of 
specific
spinboxes... but it ties you to a theme that was made for it.

Chris M

  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Chris Morley


 From: bodge...@gmail.com
 Date: Mon, 27 Oct 2014 19:50:32 +
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade
 
 On 27 October 2014 19:35, Chris Morley chrisinnana...@hotmail.com wrote:
 
  The GTK theme controls the basic size of such things.
  Here is a theme with large sliders that works better with touch screens.
 
 Thanks but it looks like I can't avoid coding anyway, so I will look
 at the popup keyboard first.
 
  Sorry I don't have one with large spin buttons but maybe you could google 
  that.
 
 Google ended up in a DenverCoder9 experience. [1]
 
 http://xkcd.com/979/
 

I might add that 'onboard' and 'matchbox' virtual keyboards are meant for this 
sort of thing.
Onboard at least, allow custom keyboard definitions.
Onboard is not available with debian annoyingly

Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread Chris Morley


 From: p...@wpnet.us
 To: emc-users@lists.sourceforge.net
 Date: Mon, 27 Oct 2014 15:16:59 -0500
 Subject: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76
 
 I'm back at work on my lathe conversion, reviewing what I have so far, 
 cleaning up documentation, etc. I've run into an issue / question, hopefully 
 I'm just missing something.
 
 I have my spindle encoder connected to the Mesa 7i76 TB3 encoder inputs, 
 which seems to be ok (still have to test operation). I'm looking to connect 
 my MPG encoder somewhere on the 7i76, and I though that could be done on 
 regular inputs due to it's relatively low frequency operation. Looking in 
 PNCConf I don't seem to see an option to put the MPG encoder elsewhere. Am I 
 missing something? Is it supported but not in PNCConf?
 
 Thanks,
 
Pete C.
 

It is supported but not by pncconf.
I believe you have two options.
If the firmware is right, I believe there is a different 5i25/7i76 mode that 
has an MPG input.
That MPG will be specific pins though (check the manual form Mesa)
This is a nice option as there is a x1 mode just for MPGs.

The other option is to load a software encoder counter and use any GPIO
inputs to supply it (even a spare parport)
I'm not sure if you would need a base thread or if the servo thread would be
fast enough - but I would bet the servo thread is fast enough.

Surely others can give you more specific answers.

Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread Chris Morley


 From: p...@wpnet.us
 To: emc-users@lists.sourceforge.net
 Date: Mon, 27 Oct 2014 15:35:04 -0500
 Subject: Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76
 
 The 7i76 only provides one encoder input since it's a stepper card not a 
 servo card. Can you point me in the direction of some docs on loading a 
 software encoder counter and configuring it for MPG use (one MPG, with axis 
 and step select switches). I'm new to LinuxCNC so it takes me a while to find 
 things in the docs (if they're there).
 
 Thanks,
 
Pete C.
 

Here is the example in the manual for an MPG using the parport:
http://www.linuxcnc.org/docs/2.6/html/examples/mpg.html
You would need to change all the parport pins names to mesa GPIO names.

Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Chris Morley


 From: bodge...@gmail.com
 Date: Tue, 28 Oct 2014 01:32:19 +
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade
 
 I seem to have found an earlier point to stall at.
 
 The application is a GUI for my hobber. I want to be able to enter DP
 in the DP box, or Mod in the Mod box.
 If I enter a Mod number I want the DP box to be updated to show the
 equivalent DP, And vice-versa.
 
 Unfortunately this ends up in an infinite loop of calls, as the change
 to one invokes a callback that changes the other which invokes a
 callback. ]
 
 In VBA you get round this with Application.ProcessEvents = 0 (IIRC).
 
 Does anyone know how to do the equivalent thing with Python and Glade.
 (Using Glade to create the GUI means no chance to grab the event
 handler ID at event connection time)
 
 module.handler_block_by_func(module.on_change)
 dp.handler_block_by_func(dp.on_change)
 
 Looked like it might work, but doesn't.
 
 -- 
 atp
 If you can't fix it, you don't own it.
 http://www.ifixit.com/Manifesto
 

Probably the easiest is to add a ignore flag to your handlers.

Then set the ignore flag, call the handler then unset the flag,
ready for the next real entry.

Ugly but it works - This is what Chris R did in TOUCHY.

I have never found a cleaner/easier method.

Chris M 
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Chris Morley


 From: bodge...@gmail.com
 Date: Tue, 28 Oct 2014 02:06:04 +
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade
 
 On 28 October 2014 01:58, Chris Morley chrisinnana...@hotmail.com wrote:
 
  Probably the easiest is to add a ignore flag to your handlers.
 
  Then set the ignore flag, call the handler then unset the flag,
  ready for the next real entry.
 
 Hmm. What I didn't mention is that there are 4 boxes in practice (mm
 and inch CP too) so I was hoping to use the same handler for all of
 them, and just decide who was the new-one on entry.
 
 Maybe I just have to re-think the GUI design.
 
 -- 
 atp
 If you can't fix it, you don't own it.
 http://www.ifixit.com/Manifesto
 

The caller sends a reference of the widget. So you can check what called the 
handler.

I am not sure what style of handler you are using..

def my_handler(self,widget):
if widget == SOME WIDGET REFERENCE and flag:
return True

again hard to suggest without code in front of me.

Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Chris Morley


 From: bodge...@gmail.com
 Date: Tue, 28 Oct 2014 02:34:42 +
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade
 
 On 28 October 2014 02:17, Chris Morley chrisinnana...@hotmail.com wrote:
  The caller sends a reference of the widget. So you can check what called 
  the handler.
 
 Does that help me distinguish between programatic changes to the value
 and User changes?
 ie it was me, it was you?
 
 Thinking about it, if I end up using a pop-up keypad this might all be
 moot, the keypad can call the update values code.
 
 

Unfortunately not, it only tells you who sent the message.
but since you know _you_ sent the message (by using the flag)
you probably can make it work.

Glade signals options using the glade editor is weak.
In general I create my signals and handlers programmically because of this.
and this particular problem, updating a widget without endless loop seems
common but I have not seen a well thought out (by GTK creators) way.

PNCconf goes to great lengths to overcome this and I would do it different if I
did it again (I'd use flags)

Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] building a linuxcnc computer

2014-10-25 Thread Chris Morley
I am interested in building a computer using this mb:
http://www.newegg.ca/Product/Product.aspx?Item=N82E16813157565cm_re=j1900-_-13-157-565-_-Product

( Peter from Mesa mentioned it at some time - I want the PCI and parport)
I do understand it will require a recent kernel.

Can anyone recommend the rest of the required pieces for it?
memory, power supply, ssd etc.

looking for some fairly specific info, I am not up on or very interested
in researching every option.

Thanks for any help.

Chris M 
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Uncondiftional , Conditional Program Jumps .

2014-10-02 Thread Chris Morley


 Date: Thu, 2 Oct 2014 22:33:53 -0400
 From: linux...@thinkingdevices.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Uncondiftional , Conditional Program Jumps .
 
 I was a bit surprised to see that LinuxCNC didn't have an unconditional 
 jump, ie a GOTO.  I chalked it up to LinuxCNC being written by 
 programmers, and the structured programming Nazis have beaten it into 
 their heads that GOTO statements are evil, and only stupid BASIC 
 spaghetti programmers use them.
 

I tend to agree with you. bad use of goto is .. bad.
good and sparse use of goto is fine, possibly good.

Just look at our beloved HAL code ( coded in C )
you will see lots of goto statements for error cleanup/messages.
makes the code easy to follow and clean.

besides if someone wants to write 'bad' gcode with gotos that
work, who are we to tell them how to program :)

Chris M
  
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog 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://pubads.g.doubleclick.net/gampad/clk?id=154622311iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] No output from abs component

2014-08-12 Thread Chris Morley

Are you using g 2.6?
2.6 has spindle abdolute output, In rpm and rps, iirc


Chris M

- Reply message -
From: Marius Liebenberg mar...@mastercut.co.za
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] No output from abs component
Date: Tue, Aug 12, 2014 8:05 AM


I connected my spindle cmd signal to an abs component. When I set the
speed for any output positive or negative, I get absolutely no output.
Nor does any of the polarity indicators function.
The setup uses a 5i25 with a 7i76 so I had to load EMCMOT with the base
thread enabled as the abs component takes a float for input and output.
Any ideas?

--

Regards /Groete

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


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] No output from abs component

2014-08-12 Thread Chris Morley

Well I knew it's there cause I added it :)
Such a common problem.
Chris M

- Reply message -
From: Marius Liebenberg mar...@mastercut.co.za
To: emc-users@lists.sourceforge.net
Subject: [Emc-users] No output from abs component
Date: Tue, Aug 12, 2014 8:50 AM


This is a symptom of complacency. Once you have done something in a
specific manner you dont ever explore other possibilities. Like always
ordering steak because you now you like it.


On 2014-08-12 17:37, Chris Morley wrote:
 Are you using g 2.6?
 2.6 has spindle abdolute output, In rpm and rps, iirc


 Chris M

 - Reply message -
 From: Marius Liebenberg mar...@mastercut.co.za
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] No output from abs component
 Date: Tue, Aug 12, 2014 8:05 AM


 I connected my spindle cmd signal to an abs component. When I set the
 speed for any output positive or negative, I get absolutely no output.
 Nor does any of the polarity indicators function.
 The setup uses a 5i25 with a 7i76 so I had to load EMCMOT with the base
 thread enabled as the abs component takes a float for input and output.
 Any ideas?

 --

 Regards /Groete

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


 --
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 --
 ___
 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


--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Where to get latest PncConf?

2014-07-12 Thread Chris Morley



  I looked into PNCconf with the  prob_x2   XML file.
  I found a bug caused by Peters's XML's not using the same labels as
  linuxcnc's XMLs. It caused some of the GPIO pins not to show.
  I will push a fix.
  
 Great.  Downloadable by itself?  URL?

I will push to 2.5.x but it is a one line fix in pncconf.py :

line 4683: pinconvertnone = {NOT USED:GPIOI}


  
  It might be nice to add the PIN info to the XML file, then pncconf
  might be able to display better numbers, but it gets complicated when
  using daughter boards.
 
 I got a pinout from mesaflash, by interrogating the card, which does show 
 both component and pins.  Very, very helpful. :)
 

Yes I hand wrote some files for some of the firmware and pressing the help key 
will show them but there isn't any for your particular firmware :(


 
 Basically, all I really need out of the 5i25 is its much higher sample 
 speed encoder, I am happy with the way everything else runs right now.
 
 PncConf makes that encoder config needlessly complex, making me enter a 
 bunch of numbers I don't have instant access to. If we could get the 50 
 slots/rev and x4 settings out of the hal file by default, it would be much 
 easier to setup correctly.
 

Did you realize you can set the scale directly? You don't need to calculate it
using pncconf.  Just type it in the scale box.
I don't understand what you mean by getting the info from the HAL file.

 Once the 5i25 has been setup by disabling what I don't need, does this 
 hold over a powerdown?
 
 Thanks Chris.

After you flash a custom firmware, the firmware will always be the same after
a powerdown. The (de)selection of components to change to GPIO,
is done at load time so will need to be done correctly each time you start 
linuxcnc.

 
  Chris M
  

  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Where to get latest PncConf?

2014-07-12 Thread Chris Morley

 I believe you just explained it.  And I can't home using the present BOB 
 wiring, home switches are on no pin because I'll have to edit that into 
 the .hal file which I have not done yet. PncConf does not know about home 
 switches yet, or at least I've not found them in the menu's.
 
 Cheers, Gene Heskett
 -- 

look at the GPIOI - limits and Homing  or shared are all there.

Chris M
  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Where to get latest PncConf?

2014-07-12 Thread Chris Morley


 From: ghesk...@wdtv.com
 To: emc-users@lists.sourceforge.net
 Date: Sat, 12 Jul 2014 03:54:28 -0400
 Subject: Re: [Emc-users] Where to get latest PncConf?
 
 On Saturday 12 July 2014 02:52:13 Chris Morley did opine
 And Gene did reply:
I looked into PNCconf with the  prob_x2   XML file.
I found a bug caused by Peters's XML's not using the same labels as
linuxcnc's XMLs. It caused some of the GPIO pins not to show.
I will push a fix.
   
   Great.  Downloadable by itself?  URL?
  
  I will push to 2.5.x but it is a one line fix in pncconf.py :
  
  line 4683: pinconvertnone = {NOT USED:GPIOI}
 My copy of the srcs:
 4682   try:
 4683if stepdrive:
 4684# stepmotor scale
 
 so we aren't looking at the same code
  

Nope, you are looking at the new_pncconf branch :)

It might be nice to add the PIN info to the XML file, then pncconf
might be able to display better numbers, but it gets complicated
when using daughter boards.
   
   I got a pinout from mesaflash, by interrogating the card, which does
   show both component and pins.  Very, very helpful. :)
  
  Yes I hand wrote some files for some of the firmware and pressing the
  help key will show them but there isn't any for your particular
  firmware :(
  
   Basically, all I really need out of the 5i25 is its much higher
   sample speed encoder, I am happy with the way everything else runs
   right now.
   
   PncConf makes that encoder config needlessly complex, making me enter
   a bunch of numbers I don't have instant access to. If we could get
   the 50 slots/rev and x4 settings out of the hal file by default, it
   would be much easier to setup correctly.
  
  Did you realize you can set the scale directly? You don't need to
  calculate it using pncconf.  Just type it in the scale box.
 
 I could click on it and get more questions, most of which I didn't know 
 the answers to.

Don't press the calculate button, just enter the scale in the spinbox beside it.

  I don't understand what you mean by getting the info from the HAL file.
 
 In a manner similar to how it gets the stuff from the .ini file. Could it 
 not read the .hal file too?
 

Pncconf was not made with converting configs in mind, so usually there is no HAL
file to look into and it also doesn't look in the INI file either.

   Once the 5i25 has been setup by disabling what I don't need, does
   this hold over a powerdown?
   
   Thanks Chris.
  
  After you flash a custom firmware, the firmware will always be the same
  after a powerdown. The (de)selection of components to change to GPIO,
  is done at load time so will need to be done correctly each time you
  start linuxcnc.
 
 By loading what file?
  

This is loaded in the HAL file by a line similar to this:

loadrt hm2_pci config= num_encoders=6 num_pwmgens=0 num_stepgens=0

This particular line says: 
enable 6 encoders, (so if the firmware defines 10 the rest after 6 would be 
GPIO)
enable none of the PWM (so all the pins are GPIO)
enable none of the step gens (so all the pins are GPIO)

Chris M

  
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 2.5 with 5i20 /7i33/7i37 ???

2014-07-12 Thread Chris Morley

Post your Emc 2.5.4 Hal file.

- Reply message -
From: a k pccncmach...@gmail.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] 2.5 with 5i20 /7i33/7i37 ???
Date: Sat, Jul 12, 2014 9:04 PM


hi
i am interesting who use emc2 with system  5i20 /7i33/7i37 
just who actually used exact combination?
/


How to explain 
///
 please!!! Attention here!
when i use emc2 -- - 2.2.4/2.2.5
all LED lights on board 5i20 are ON

and
when
i use emc2---2.5
NONE of the LED light on 5i20 are ON 

does that show clear that problem in emc2-2.5!
to be clear:  problem in emc2---2.5 for 5i20

//

thanks
aram
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gscreen - Origin functions

2014-06-12 Thread Chris Morley
select an axis button on screen (such as x)
pressing zero origin will set the active user system to 0 
calls G10 L20 P0 [axis] 0

set origin uses the same idea other then it lets you
enter a value.
G10 L20 P0 [axis value]

Chris M

 Date: Thu, 12 Jun 2014 08:00:46 +0200
 From: mar...@mastercut.co.za
 To: emc-users@lists.sourceforge.net
 Subject: [Emc-users] Gscreen - Origin functions
 
 Can someone please explain to me how the Zero Origin and Offset 
 Origin in Gscreen works? Or how it is intended to work at least.
 
 -- 
 
 Regards /Groete
 
 Marius D. Liebenberg
 +27 82 698 3251
 +27 12 743 6064
 QQ 1767394877
 
 
 --
 HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
 Find What Matters Most in Your Big Data with HPCC Systems
 Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
 Leverages Graph Analysis for Fast Processing  Easy Data Exploration
 http://p.sf.net/sfu/hpccsystems
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
  
--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing  Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
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] Error using pncconf in 2.6. Please, is there something I am missing?

2014-04-25 Thread Chris Morley

That is a bug. When did u get 2.6? Thought I had already fixed this. I will 
check soon.
Chris m

- Reply message -
From: Jason Burton lathebuil...@gmail.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] Error using pncconf in 2.6. Please, is there something I 
am missing?
Date: Fri, Apr 25, 2014 5:24 AM


Perhaps I should revert to 2.5.x but I moved to 2.6 for the 5i25 support.

I believe I am filling in all the tabs correctly.  This is my first
go-around. I am trying to get a close-enough sample lcnc configuration that
I can start retrofitting an older vmc.

Mesa 5i25/7i77/7i73. Field power applied, red led indicators on both
daughter cards.  Error is the same whether the 7i73 is plugged in or not.

The error:

Traceback (most recent call last):
  File /usr/bin/pncconf, line 8326, in on_complete_finish
if self.data[mesa%d_currentfirmwaredata% boardnum][_MAXSSERIALPORTS]:
TypeError: 'NoneType' object is unsubscriptable

All feedback welcome, I know I'm new to this!

Sincerely,
Jason Burton
--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error using pncconf in 2.6. Please, is there something I am missing?

2014-04-25 Thread Chris Morley

Thanks for checking Seb.Jeff if this fixes it please let us know.
I'm glad you find pncconf useful.

Chris m

- Reply message -
From: Sebastian Kuzminsky s...@highlab.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] Error using pncconf in 2.6. Please, is there something I 
am missing?
Date: Fri, Apr 25, 2014 3:00 PM


On 4/25/14 15:49 , Jason Burton wrote:
 Hi Chris,

 A week or two ago. Version 2.6.0~pre0.5418.gf74c5d3

 Thanks! Both for maintaining pncconf and for confirming I am not going
 crazy (at least on this topic...)

That version predates a couple of Chris Morley's recent pncconf bugfixes.

Try upgrading to v2.6.0~pre1-15-g2111b4e (or newer), which includes the
bugfixes.

--
Sebastian Kuzminsky

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error using pncconf in 2.6. Please, is there something I am missing?

2014-04-25 Thread Chris Morley

Thanks for checking Seb.Jeff if this fixes it please let us know.
I'm glad you find pncconf useful.

Chris m

- Reply message -
From: Sebastian Kuzminsky s...@highlab.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] Error using pncconf in 2.6. Please, is there something I 
am missing?
Date: Fri, Apr 25, 2014 3:00 PM


On 4/25/14 15:49 , Jason Burton wrote:
 Hi Chris,

 A week or two ago. Version 2.6.0~pre0.5418.gf74c5d3

 Thanks! Both for maintaining pncconf and for confirming I am not going
 crazy (at least on this topic...)

That version predates a couple of Chris Morley's recent pncconf bugfixes.

Try upgrading to v2.6.0~pre1-15-g2111b4e (or newer), which includes the
bugfixes.

--
Sebastian Kuzminsky

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Multiple INI files

2014-02-11 Thread Chris Morley


 Date: Tue, 11 Feb 2014 21:52:08 +0200
 From: mar...@mastercut.co.za
 To: emc-users@lists.sourceforge.net
 Subject: [Emc-users] Multiple INI files
 
 I dont know if this has been asked before but hear me out please.
 I wondered why we could not have a number of INI files with an #INCLUDE 
 type of structure. I would very much like to segment my configuration 
 into usable sections like all the AXIS tuning parameters in one file for 
 instance. And then place all the display related stuff into another.
 
 -- 
 
 Regards /Groete
 
 Marius D. Liebenberg

While this is surely doable, I don't think it will be a popular idea with devs.
Mostly because it complicates the INI retrieval code with out much benefit
 
You don't mention why this would be particularly handy

Also the dev list would probably be a better place for this question, unless
you were polling users for support of the idea.

Chris M
  
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Buildbot errors with stepconf file paths

2014-02-11 Thread Chris Morley

  Note corrupted path for the gif, which is where it should be in
  /usr/share/linuxcnc/linuxcnc-wizard.gif
 
 Thanks for reporting the bug here on the mailing list, many developers 
 do not read the forums.
 
 stepconf works for me in 2.5, but fails as you say in master.  The bug 
 was introduced in commit 7897a27966068fed8245f5bf99369623cbef4c42 on Jan 12.
 
 Hold on, i'll push a fix...  Ok done.  The fix will be in
 v2.6.0-pre0-5175.
 
 
 -- 
 Sebastian Kuzminsky

My bad...just when you think you tested things well..
Thanks for fixing that :)

Chris M
  
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre

2014-02-11 Thread Chris Morley


 Date: Tue, 11 Feb 2014 16:29:56 +
 From: m...@rmtucker.f2s.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
 
 Chris
 
 What files would i have to transfer to machinekit to get gaxis_no_plot 
 to work?
 gaxis_no_plot_handler.py and gaxis_noplot.glade etc.
 Or will i have to do a full install of ubc3?
 Charles did give me the instructions to install your ubc3 and i did try 
 gaxis_no_plot but is it possible to give it another go without this process?
 Also how easy is it to drive from the keyboard?
 

I'm sorry I am not up to speed on machinekit or UB3 but
if you transfer gaxis_no_plot.ini, gaxis_no_plot.glade and 
gaxis_no_plot_handler.py
into the configs/sim/gscreen folder it just might work for testing as a sim.

The INI would be found in confgs/sim/gscreen/gscreen_custom/
The other two in share/gscreen/skins/gaxis_no_plot
These would be in a current master of course.

There is more we can do to lower CPU drag ...
I guess I need to acquire a BBB.. sometime :)

Chris M

 On 07/02/14 15:38, Chris Morley wrote:
  Do you have an emc_stat widget in the glade file?
  When you say gscreen uses 90% cpu, which skin if gscreen? Gaxis no-gui 
  should be the least cpu hungry. Gaxis second least.

  
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre

2014-02-11 Thread Chris Morley

 
 What files would i have to transfer to machinekit to get gaxis_no_plot 
 to work?
 gaxis_no_plot_handler.py and gaxis_noplot.glade etc.
 Or will i have to do a full install of ubc3?
 Charles did give me the instructions to install your ubc3 and i did try 
 gaxis_no_plot but is it possible to give it another go without this process?


 Also how easy is it to drive from the keyboard?
 

Gaxis_no_plot uses the cursor keys for x and y and page up and down for Z
The manual tab must be showing to jog.

F1 is estop
F2 is machine on.
F10 pops the menu and that is navigable with the cursor keys.

Others could be added

Chris M


  
--
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Address in of parrallel port not used in PNCCONF ?

2014-02-09 Thread Chris Morley

If it is the case then it's confirmed that PNCConf has a bug because it 
should generate this kind of configuration when a non default address is 
specified for the parallel port.
 
Matthieu.

Yes this is a confirmed bug.
https://sourceforge.net/p/emc/bugs/358/

Thanks
Chris M   
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Emc-users Digest, Vol 94, Issue 17

2014-02-09 Thread Chris Morley


 Date: Sun, 9 Feb 2014 17:25:03 +0100
 From: br...@tinkerbox.org
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Emc-users Digest, Vol 94, Issue 17
 
 
 This is a stepper system, trivkins, 3 axis mill.
 I kind of assumed that the tuning in pncconf is using the configuration 
 that it will write, it's not very useful if one tunes things but then 
 the parameters to use are different...
 
 so you are referring to these
 
   *
 
 /STEPGEN_MAXACCEL = 21.0/- Acceleration limit for the step
 generator. This should be 1% to 10% larger than the axis
 MAX_ACCELERATION. This value improves the tuning of stepgen's
 position loop. If you have added backlash compensation to an axis
 then this should be 1.5 to 2 times greater than MAX_ACCELERATION.
 
   *
 
 /STEPGEN_MAXVEL = 1.4/- Older configuration files have a velocity
 limit for the step generator as well. If specified, it should also
 be 1% to 10% larger than the axis MAX_VELOCITY. Subsequent testing
 has shown that use of STEPGEN_MAXVEL does not improve the tuning of
 stepgen's position loop.
 
 looking at the hostmot driver
 
   *
 
 /maxaccel/- (Float, RW) Maximum acceleration, in position units per
 second per second. If set to 0, the driver will not limit its
 acceleration.
 
   *
 
 /maxvel/- (Float, RW) Maximum speed, in position units per second.
 If set to 0, the driver will choose the maximum velocity based on
 the values of steplen and stepspace (at the time that maxvel was set
 to 0).
 
 seems like it would be best to specify 0 for both of those as the per 
 axis limits would still be in place ?
 I am going to play with that and see... thanks for the reply
 

Don't set them to 0. It doesn't work reliably.
Pncconf sets them to 25% more.

Does your drives require an enable ? I would check that signal with
halmeter or a real meter.

While pncconf uses the same numbers as it tunes ( as long as you clicked accept)
It doesn't use the same HAL code in the test as in linuxcnc so problems can
creep in and bugs are always possible.

Chris M   

  
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] mesa 5i25, pncconf working but not linuxcnc

2014-02-09 Thread Chris Morley

 I played with those values, setting stepgen.maxvel and maxaccel to 0 
 like the doc says in order to not limit it. Not much improvement. Then I 
 tried to increase vastly the MIN_FERROR, and that allows to go through 
 but I get some occasional grinding noise (missed steps I think) when 
 doing a test (back and forth on one axis)


 One thing I noticed is that the .hal file written by pncconf does not 
 specify the servo_base_period on the EMCMOT line.
 
It's specified in the INI file - the HALfile looks it up there.

 What is infuriating is that within pncconf, I can test one axis with 
 fast movement back and forth and it is real nice, smooth, no missed steps...
 
 Is there a way to find out which exact parameters pncconf is using when 
 it launches the tuning applet ?

Well it should use the parameters shown in the test. If you close the test 
with cancel it won't copy those parameters to the axis page.

But to answer your actual question:
yes there should be a halmeter showing and you can look up the pins
that specify acceleration, velocity and drive timing.
here is a list of the relevent pinnames:
http://www.linuxcnc.org/docs/2.5/html/drivers/hostmot2.html#_pins_3

or you can open a terminal and while the test is running type:
halcmd show 

by the way what version of linuxcnc are you using?

 
 On 2/9/14 5:25 PM, bruno wrote:
 
  This is a stepper system, trivkins, 3 axis mill.
  I kind of assumed that the tuning in pncconf is using the 
  configuration that it will write, it's not very useful if one tunes 
  things but then the parameters to use are different...
 
  so you are referring to these
 
   *
 
  /STEPGEN_MAXACCEL = 21.0/- Acceleration limit for the step
  generator. This should be 1% to 10% larger than the axis
  MAX_ACCELERATION. This value improves the tuning of stepgen's
  position loop. If you have added backlash compensation to an
  axis then this should be 1.5 to 2 times greater than MAX_ACCELERATION.
 
   *
 
  /STEPGEN_MAXVEL = 1.4/- Older configuration files have a velocity
  limit for the step generator as well. If specified, it should also
  be 1% to 10% larger than the axis MAX_VELOCITY. Subsequent testing
  has shown that use of STEPGEN_MAXVEL does not improve the tuning
  of stepgen's position loop.
 
  looking at the hostmot driver
 
   *
 
  /maxaccel/- (Float, RW) Maximum acceleration, in position units
  per second per second. If set to 0, the driver will not limit its
  acceleration.
 
   *
 
  /maxvel/- (Float, RW) Maximum speed, in position units per second.
  If set to 0, the driver will choose the maximum velocity based on
  the values of steplen and stepspace (at the time that maxvel was
  set to 0).
 
  seems like it would be best to specify 0 for both of those as the per 
  axis limits would still be in place ?
  I am going to play with that and see... thanks for the reply
 
  On 2/9/14 4:04 PM, emc-users-requ...@lists.sourceforge.net wrote:
  Date: Sun, 9 Feb 2014 15:03:40 +
  From: andy pughbodge...@gmail.com
  Subject: Re: [Emc-users] mesa 5i25, pncconf working but not linuxcnc
  To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
  Message-ID:
 CAN1+YZV2iQb-AQmWE4TYbxithWSFmSvuMRP-kxk8=jhwpjd...@mail.gmail.com
  Content-Type: text/plain; charset=ISO-8859-1
 
  On 9 February 2014 11:30, brunobr...@tinkerbox.org  wrote:
 
  After configuring, I started linuxcnc (with tklinuxcnc as I have opengl
  issues with axis right now), and it immediately gives me joint following
  errors. No move, nothing.
  It might be that Pncconf doesn't teack following error, or has higher 
  limits.
 
  However, if this is a stepper system then following error means
  something slightly different to what it means in a servo system. It
  means that the system has not been able to make the number of steps
  requested.
 
  What this typically means is that the system stepgen accelleration
  numbers are bigger than the step generator limits. Have a look through
  your INI file and check that the step-generator accel limits are a
  bit higher than the system and axis limits.
 
  Is the machine a gantry system? The other possibility is that the
  step-generator feedback is going to the wrong axis.
 
  -- atp If you can't fix it, you don't own it. 
  http://www.ifixit.com/Manifesto
 
 
 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
  
--
Managing the Performance of 

Re: [Emc-users] mesa 5i25, pncconf working but not linuxcnc

2014-02-09 Thread Chris Morley


 Is there a way to find out which exact parameters pncconf is using when 
 it launches the tuning applet ?
 

Looking at the source code pncconf actually sets maxacc and maxvel to 0
during the test. but that should make the test possibly worse not better.
( and also something I should fix as it should be 25% there too more )

Chris M
  
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] mesa 5i25, pncconf working but not linuxcnc

2014-02-09 Thread Chris Morley


 On 2/9/14 5:25 PM, bruno wrote:
 
  This is a stepper system, trivkins, 3 axis mill.
  I kind of assumed that the tuning in pncconf is using the 
  configuration that it will write, it's not very useful if one tunes 
  things but then the parameters to use are different...

can you post your hal and INI files somewhere?

Chris M
  
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre

2014-02-07 Thread Chris Morley

Do you have an emc_stat widget in the glade file?
When you say gscreen uses 90% cpu, which skin if gscreen? Gaxis no-gui should 
be the least cpu hungry. Gaxis second least.

Chris M

- Reply message -
From: Mark Tucker m...@rmtucker.f2s.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
Date: Fri, Feb 7, 2014 6:01 AM


Andy

I had already changed the comment to your version but i still have the
same results.
Everything works fine with axis and Gscreen but it will not work with my
custom Gui.
At the end of the day it must be something in the Gui.
I just followed JT's tutorials and it worked fine until i try to put it
in a real setup.

All i wish to do at the end of the day is write a simple Gui for
machinekit that shows the needed info for running a cnc,but without the
cpu usage that Gscreen etc uses.

The simpler standard Gui examples like Mini etc do not even show the
current feedrate etc.

I thought it might be easier to write my own but unfortunately there
seems to be a total lack of current up to date info on this
process,other than johns tutorials.

As an example when using Gscreen/Machinekit cpu usage is about 90% when
idle???
When using mini etc it is around 14%.



On 07/02/14 13:23, andy pugh wrote:
 On 7 February 2014 11:16, Mark Tucker m...@rmtucker.f2s.com wrote:

 I now have the following lines in my Hal file:-

 newsig test bit
 sets test 1
 net test iocontrol.0.emc-enable-in

 Is this not enough to enable the power button
 It should work.
 setp iocontrol.0.emc-enable-in 1
 would be shorter.



--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre

2014-02-07 Thread Chris Morley

Please add the emc_stat widget

- Reply message -
From: Mark Tucker m...@rmtucker.f2s.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
Date: Fri, Feb 7, 2014 8:28 AM


Chris

There is no emc_stat widget present and no mention of power on in the
handler file.
It seems to be purely using the power and estop widgets.
But the estop widget is useless because we have bypassed it in the hal
file as stated.

 Chris

 I don't recall any emc_stat widget in the tutorial but i may be wrong.
 I will load up the glade file on my developer os and check

 Yes i did try the Gaxis no live plot but i had lots of errors etc and
 thought i would write my own.
 Big mistake!!!
 1 week later and a lot less hair,and i am just scratching the surface.

 On 07/02/14 15:38, Chris Morley wrote:
 Do you have an emc_stat widget in the glade file?
 When you say gscreen uses 90% cpu, which skin if gscreen? Gaxis no-gui 
 should be the least cpu hungry. Gaxis second least.

 Chris M

 - Reply message -
 From: Mark Tucker m...@rmtucker.f2s.com
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
 Date: Fri, Feb 7, 2014 6:01 AM


 Andy

 I had already changed the comment to your version but i still have the
 same results.
 Everything works fine with axis and Gscreen but it will not work with my
 custom Gui.
 At the end of the day it must be something in the Gui.
 I just followed JT's tutorials and it worked fine until i try to put it
 in a real setup.

 All i wish to do at the end of the day is write a simple Gui for
 machinekit that shows the needed info for running a cnc,but without the
 cpu usage that Gscreen etc uses.

 The simpler standard Gui examples like Mini etc do not even show the
 current feedrate etc.

 I thought it might be easier to write my own but unfortunately there
 seems to be a total lack of current up to date info on this
 process,other than johns tutorials.

 As an example when using Gscreen/Machinekit cpu usage is about 90% when
 idle???
 When using mini etc it is around 14%.



 On 07/02/14 13:23, andy pugh wrote:
 On 7 February 2014 11:16, Mark Tucker m...@rmtucker.f2s.com wrote:

 I now have the following lines in my Hal file:-

 newsig test bit
 sets test 1
 net test iocontrol.0.emc-enable-in

 Is this not enough to enable the power button
 It should work.
 setp iocontrol.0.emc-enable-in 1
 would be shorter.

 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
Managing the Performance of Cloud-Based

Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre

2014-02-07 Thread Chris Morley

Ok. Please post your files and i will look at after work.
Chris M

- Reply message -
From: Mark Tucker m...@rmtucker.f2s.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
Date: Fri, Feb 7, 2014 9:27 AM


Chris

I added the emc_stat widget as requested.It put it in objects and shows
up as hal-stat
the power button is still grayed out.?

On 07/02/14 16:40, Chris Morley wrote:
 Please add the emc_stat widget

 - Reply message -
 From: Mark Tucker m...@rmtucker.f2s.com
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
 Date: Fri, Feb 7, 2014 8:28 AM


 Chris

 There is no emc_stat widget present and no mention of power on in the
 handler file.
 It seems to be purely using the power and estop widgets.
 But the estop widget is useless because we have bypassed it in the hal
 file as stated.

 Chris

 I don't recall any emc_stat widget in the tutorial but i may be wrong.
 I will load up the glade file on my developer os and check

 Yes i did try the Gaxis no live plot but i had lots of errors etc and
 thought i would write my own.
 Big mistake!!!
 1 week later and a lot less hair,and i am just scratching the surface.

 On 07/02/14 15:38, Chris Morley wrote:
 Do you have an emc_stat widget in the glade file?
 When you say gscreen uses 90% cpu, which skin if gscreen? Gaxis no-gui 
 should be the least cpu hungry. Gaxis second least.

 Chris M

 - Reply message -
 From: Mark Tucker m...@rmtucker.f2s.com
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
 Date: Fri, Feb 7, 2014 6:01 AM


 Andy

 I had already changed the comment to your version but i still have the
 same results.
 Everything works fine with axis and Gscreen but it will not work with my
 custom Gui.
 At the end of the day it must be something in the Gui.
 I just followed JT's tutorials and it worked fine until i try to put it
 in a real setup.

 All i wish to do at the end of the day is write a simple Gui for
 machinekit that shows the needed info for running a cnc,but without the
 cpu usage that Gscreen etc uses.

 The simpler standard Gui examples like Mini etc do not even show the
 current feedrate etc.

 I thought it might be easier to write my own but unfortunately there
 seems to be a total lack of current up to date info on this
 process,other than johns tutorials.

 As an example when using Gscreen/Machinekit cpu usage is about 90% when
 idle???
 When using mini etc it is around 14%.



 On 07/02/14 13:23, andy pugh wrote:
 On 7 February 2014 11:16, Mark Tucker m...@rmtucker.f2s.com wrote:

 I now have the following lines in my Hal file:-

 newsig test bit
 sets test 1
 net test iocontrol.0.emc-enable-in

 Is this not enough to enable the power button
 It should work.
 setp iocontrol.0.emc-enable-in 1
 would be shorter.

 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



 --
 Managing

Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre

2014-02-07 Thread Chris Morley

Ok. Please post your files and i will look at after work.
Chris M

- Reply message -
From: Mark Tucker m...@rmtucker.f2s.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
Date: Fri, Feb 7, 2014 9:27 AM


Chris

I added the emc_stat widget as requested.It put it in objects and shows
up as hal-stat
the power button is still grayed out.?

On 07/02/14 16:40, Chris Morley wrote:
 Please add the emc_stat widget

 - Reply message -
 From: Mark Tucker m...@rmtucker.f2s.com
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
 Date: Fri, Feb 7, 2014 8:28 AM


 Chris

 There is no emc_stat widget present and no mention of power on in the
 handler file.
 It seems to be purely using the power and estop widgets.
 But the estop widget is useless because we have bypassed it in the hal
 file as stated.

 Chris

 I don't recall any emc_stat widget in the tutorial but i may be wrong.
 I will load up the glade file on my developer os and check

 Yes i did try the Gaxis no live plot but i had lots of errors etc and
 thought i would write my own.
 Big mistake!!!
 1 week later and a lot less hair,and i am just scratching the surface.

 On 07/02/14 15:38, Chris Morley wrote:
 Do you have an emc_stat widget in the glade file?
 When you say gscreen uses 90% cpu, which skin if gscreen? Gaxis no-gui 
 should be the least cpu hungry. Gaxis second least.

 Chris M

 - Reply message -
 From: Mark Tucker m...@rmtucker.f2s.com
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
 Date: Fri, Feb 7, 2014 6:01 AM


 Andy

 I had already changed the comment to your version but i still have the
 same results.
 Everything works fine with axis and Gscreen but it will not work with my
 custom Gui.
 At the end of the day it must be something in the Gui.
 I just followed JT's tutorials and it worked fine until i try to put it
 in a real setup.

 All i wish to do at the end of the day is write a simple Gui for
 machinekit that shows the needed info for running a cnc,but without the
 cpu usage that Gscreen etc uses.

 The simpler standard Gui examples like Mini etc do not even show the
 current feedrate etc.

 I thought it might be easier to write my own but unfortunately there
 seems to be a total lack of current up to date info on this
 process,other than johns tutorials.

 As an example when using Gscreen/Machinekit cpu usage is about 90% when
 idle???
 When using mini etc it is around 14%.



 On 07/02/14 13:23, andy pugh wrote:
 On 7 February 2014 11:16, Mark Tucker m...@rmtucker.f2s.com wrote:

 I now have the following lines in my Hal file:-

 newsig test bit
 sets test 1
 net test iocontrol.0.emc-enable-in

 Is this not enough to enable the power button
 It should work.
 setp iocontrol.0.emc-enable-in 1
 would be shorter.

 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users



 --
 Managing

Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre

2014-02-07 Thread Chris Morley


 Date: Fri, 7 Feb 2014 17:18:28 +0100
 From: nie...@web.de
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre
 
 I can confirm the very hight CPU Usage of gscreen gaxis! I use an AMD 
 ATHLON X2-4800+ with 2 GB Ram, not optimized, so no isolcpus etc, 
 because I use this one as development PC.
 
 Gcsreen Gaxis uses 70 % of CPU 2 and 30 % of CPU 1.
Gaxis with or without gremlin?
Sounds like with.
Do you use software opengl or hardware accelerated
Sounds like software.
 
 
 If I startAXIS; It uses aprox the samne amount of CPU Usage.

Yes most of that is the graphics plot

 Original gmoccapy with gscreen background uses 99 % of CPU 1 and 35 % of 
 CPU 2.
 
 I am just making gmoccapy stand alone and I try to optimize as much as 
 possible.
 I can't give values of the CPU  usage yezt.
 
 Norbert
 
 

Cutting the update rate of Gremlin helps a lot - I toyed with the idea of 
making it
settable.
The source_view widget uses a lot too.
We could probably optimize the widgets to use hal_stat rather then their own.

Chris M
  
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] John Thorntons Gui3 Sample in Linuxcnc 2.6pre

2014-02-06 Thread Chris Morley



  On 2/5/2014 3:49 AM, Mark Tucker wrote:
  I have been fiddling around with JT's Tutorials,in particular Gui3 shown
  here http://gnipsel.com/linuxcnc/gui/index.html.
  I can get this to run on 2.5.3 no problem,but when i try to run from 2.6
  pre it loads up and you can take the machine out of estop but the run
  button stays greyed out?
  I have tried this on both developer machines with the same result.
  Am i missing something?
 

I assume you are using HAL_action buttons.
You can't run without being homed.
so it stays greyed out till un-estoped and homed 
This is new in 2.6

Chris M
  
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PNCConf truncating metric screw pitch

2014-02-06 Thread Chris Morley


 Date: Thu, 30 Jan 2014 14:21:52 -0500
 From: smdubov...@gmail.com
 To: emc-users@lists.sourceforge.net
 Subject: [Emc-users] PNCConf truncating metric screw pitch
 
 We're using Mesa 5i25+7i76s in a couple Emco stepper based machines w/
 2.5mm pitch leadscrews.  PNCConf seems to be truncating that 2.5 back to
 2.0 every time we revisit the step calculator page (the pop-up where you
 check off/enter the pulley info, step multiplier, etc.) that calculates the
 main steps/unit box.  It seems to get it right when you enter it as 2.5,
 but if you go back though sometime later (say to change the microstep
 multiplier), it shows 2.0 and you have to catch that and fix it every
 time.  FWIW, I'm running the latest release (2.5.3)
 
 SMD

Thanks for the report.
Yes PNCconf doesn't keep track of the data used for calculation of each axis.
So the data from one axis calculation will be used on the next.

I am in the middle of refactoring pncconf for 2.6 and have fixed it there, due
to your bug report.
When I'm finished I will try to remember to look again at 2.5

Chris M
  
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Address in of parrallel port not used in PNCCONF ?

2014-02-06 Thread Chris Morley


 Date: Wed, 5 Feb 2014 00:10:15 -0800
 From: m...@matws.net
 To: emc-users@lists.sourceforge.net
 Subject: [Emc-users] Address in of parrallel port not used in PNCCONF ?
 
 Hello All,
 
 I have an atom desktop with a partport at 0x378 and a 7i43 + 7i42 hooked 
 to it and it's working well with LinuxCNC 2.5.3.
 On a thinkpad laptop I have a PCMCIA parport card at 0x3bc and when I 
 try to run Axis, after configuring this laptop for the same card, I got 
 errors about missing card at address 0x378 even though I configured it 
 to 0x3BC.
 
 Did I miss something or is the port specified during PNCConf ignored ?
 
 Matthieu.
 

You didn't miss anything. The address is being ignored by pncconf.
This is a bug.
I will try to remember to look into it further,
Thanks

Chris M
  
--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machinekit Gui

2014-01-26 Thread Chris Morley
 
 (a) Gremlin needs lots of CPU - I don't know whether it is screen rendering
 without the hardware accelerators that is the culprit.
 

Gremlin's update rate is set at 50ms which is quite high.
I once set it to 100 the plot was only a little more jerky.
(I use software rendering on my laptop.)
maybe we should make it configurable.

 
 (e) The GUI is surprisingly useable at very low rates of updating the
 toolpath, G code and even axis DROs. 1 second is OK. This makes significant
 average CPU savings. The this low rate is tested when running a real
 machine. The audio/visual feedback from the hardware makes the system feel
 snappy even though the screen is lagging. Tests with no machine are
 misleading.


In Gscreen you can set the update rate from the INI
[DISPLAY]
CYCLE_TIME = 100
100 is the default update rate

 A BBB ought to be plenty powerful enough. Perhaps the proper GPU graphics
 will fix things. It would be nice to design an experiment to dummy out the
 graphics work that could be done by hardware or to verify in some other way
 that there are not other bottlenecks.
 
graphics acceleration surely would help a lot.

Cheers
Chris M
  
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machinekit Gui

2014-01-26 Thread Chris Morley

 Charles/Chris
 
 How long before these changes with gscreen are merged with the 
 machinekit git repo?
 Or how do i pull the changes from master into machinekit?
 I have done the git pull from master on my developer desktop and the sim 
 works great,now just try and get it into machinekit.

while in a branch of machinekit enter: git merge master
whether it merges cleanly I don't know, but probably.
machine kit is based on UB3 and master is regularly merged into UB3.
So merging UB3 into machinekit may be all you need.

 I also did a git pull in machinekit but could not see any gscreen 
 changes yet.
 I know charles is wanting a 3d printer gui,but i would like to alter it 
 for milling etc,so it should be easy to remove the extra 3d printer 
 stuff like heated beds etc.

Since it is so easy to create skins for Gscreen I would create one specifically
for 3d printers, the Gaxis  skin is just an easy starting point for testing / 
basing.
In fact Gaxis is for milling type machines right now. If you are ambitious you 
can
create your very own skin using Gscreen - Norbert created Gmoccapy as a skin.


Chris M

  
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machinekit Gui

2014-01-25 Thread Chris Morley


 Date: Fri, 24 Jan 2014 22:13:39 +
 From: m...@rmtucker.f2s.com
 To: emc-users@lists.sourceforge.net
 Subject: [Emc-users] Machinekit Gui
 
 Ok could somebody give me some pointers to get rid of the liveplot in Gscreen?
 
 Mark
 
 
 Don't tell it is nearly impossible, as it is easier than ever bevore!
 Take a look at gscreen. It has been designed specialy for that purpose!
 
 As an example gmoccapy is based on that. If you do not want a live plot,
 it is just two steps away, as it can be deleted very easy.
 
 Norbert
 
 

It depends on the skin you want to use, some are more tightly integrated then 
others.
Gaxis is the least integrated:
The process to modify it is to copy the glade and or handler file to your 
configuration folder.
Then Gscreen will use that copy instead of the stock one.
You can then modify them as you like.
You would open the glade file (in the config folder) in the glade editor and 
deleting gremlin.
You made need to delete some references to gremlin in the python handler file.
I have not tried this recently (remove gremlin) so there may be another couple 
other things
 to do as well.

In a RIP linuxcnc the stock glade and python handler files are found in 
share/gscreen/skins/'skinname'

To use the Gscreen skin add this in the INI under [DISPLAY]:
DISPLAY = gscreen -c gaxis
gaxis is the base name for the glade and python handler files.
eg it looks for gaxis.glade and gaxis_handler.py in the configuration folde, 
then the skin folder.

One caveat, is by using a modified glade/handler file , you risk having it 
break do to updates
in gscreen, as your modified files are not updated too.
The risk is fairly low as Gscreen development has slowed and it's easy to fix. 
just redo your changes
on the new stock files.

Chris M  
  
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machinekit Gui

2014-01-25 Thread Chris Morley

 The other Gui's like gscreen are just to cpu intensive for the BBB.Even 
 after turning liveplot off.

What skin versions did you try?
gaxis should be the least intensive particularly if you remove the live plot.
(see my other email)

If you tried Gmoccapy without live plot, i am pretty sure it just hides it,
which is not the same as removing it.

There is also a possibility that a second screen was loaded but not displayed
and this screen has a live plot on it as well so would slow things down.
I believe the sample configs always load this second screen... I should check.

Chris M
  
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machinekit Gui

2014-01-25 Thread Chris Morley


 From: chrisinnana...@hotmail.com
 To: emc-users@lists.sourceforge.net
 Date: Sat, 25 Jan 2014 19:37:30 +
 Subject: Re: [Emc-users] Machinekit Gui
 
 
  The other Gui's like gscreen are just to cpu intensive for the BBB.Even 
  after turning liveplot off.
 
 What skin versions did you try?
 gaxis should be the least intensive particularly if you remove the live plot.
 (see my other email)
 
 If you tried Gmoccapy without live plot, i am pretty sure it just hides it,
 which is not the same as removing it.
 
 There is also a possibility that a second screen was loaded but not displayed
 and this screen has a live plot on it as well so would slow things down.
 I believe the sample configs always load this second screen... I should check.
 
 Chris M
 

So I did check and yes the second screen seems to always be loaded.
on my laptop, using gaxis as is , CPU usage was 20-24 %
I removed the second screen then it was 12-20%
I removed the second screen and the live plot  it was 0-4% (mostly 0)

I will need to push a proper fix for the second screen loading.
I could add a sample Gaxis without a liveplot if you are interested.
(please look at Gaxis to see if it close to what you like - it's AXIS like)

Chris M
  
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machinekit Gui

2014-01-25 Thread Chris Morley


Date: Sat, 25 Jan 2014 14:18:52 -0600
From: char...@steinkuehler.net
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Machinekit Gui

On 1/25/2014 1:22 PM, Chris Morley wrote:
 
 Ok could somebody give me some pointers to get rid of the liveplot in 
 Gscreen?
 
snip
 
 You would open the glade file (in the config folder) in the glade editor and 
 deleting gremlin.
 You made need to delete some references to gremlin in the python handler file.
 I have not tried this recently (remove gremlin) so there may be another 
 couple other things
  to do as well.
 
Simply deleting the child block containing gremlin in a text editor
was enough to get gscreen-axis running w/o backplot.  This helped a lot
with CPU load, but the space that had contained the backplot and DRO was
completely gone.  It would be ideal if there was an easy way to have a
text-only DRO in place of the back-plot.  Is there an easy way to do this?
 
Even with the backplot disabled, I was still seeing 20% or so CPU usage
in gscreen, which is apparently due to the second screen?  I'm eagerly
awaiting your modifications to delete the second screen and remove the
back-plot.  I'll test again when the new configs are available.
 
-- 
Charles Steinkuehler
char...@steinkuehler.net

Ok I pushed a second screen fix and a new gaxis_no_plot sample config.
you can find it in sim/gscreen/green_custom/gaxis_no_plot

This has the DRO still available.
It ends up the Gcode view uses up a fair amount of CPU cycles too.
tab to manual while running a gcode program lessens the load considerably.

Switching to less fancy DRO widget may lower it too.

This screen is still geared toward milling machines (it has spindle controls)
but that can be changed.
It is the smallest screen I have made but could be narrower yet if we specified
smaller DRO text.
Note that you can adjust the division between the auto tabs and the DRO by 
mouse click and drag the dividing line.

I'm sure this screen still needs tweaks - it was actually only proof of concept,
feel free to request changes/report bugs.

I remind you this is in master - you will have to merge master into what ever
you are using - UB3?

Cheers Chris
 

  
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machinekit Gui

2014-01-25 Thread Chris Morley

Yes, you need to pull src/emc/usr_inf/gscreen/gscreen.py too

- Reply message -
From: Charles Steinkuehler char...@steinkuehler.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: [Emc-users] Machinekit Gui
Date: Sat, Jan 25, 2014 2:21 PM


On 1/25/2014 3:21 PM, Charles Steinkuehler wrote:
 On 1/25/2014 3:43 PM, Chris Morley wrote:

 I'm sure this screen still needs tweaks - it was actually only proof of 
 concept,
 feel free to request changes/report bugs.

 Understood.  It seems like a good staring point for a custom interface,
 since there isn't a lot of extra stuff already cluttering up the display.

It looks good, but for some reason the CPU usage on my BeagleBone is
around 50%!

I don't know if this is specifically BeagleBone related, or perhaps due
to the fact that I just pulled the configs/sim/gscreen and
share/gscreen/ directories from Master (skipping anything else updated
outside these two directory trees).

Regardless, it seems responsive enough when I use keyboard jog, so I'll
try and get it working with a real configuration and try moving motors.

--
Charles Steinkuehler
char...@steinkuehler.net

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Fwd: Re: Re: How do you change polarity of Step Pulses in MachineKit stepgen?

2014-01-10 Thread Chris Morley
 
WARNING:  This is for short-term use ONLY!  I expect to have updated
code that will support setting the step polarity via HAL within a week
or two, along with many other changes that will require significant
modification to any existing configurations (but will make pin numbering
a whole lot more consistent and understandable!).
 
-- 
Charles Steinkuehler
char...@steinkuehler.net

Looking forward to this as I have been working on BBB pages for
stepconf - I will wait for your changes

Chris M
  
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Ramped feed rate, unlurking... And new request for assistance

2014-01-09 Thread Chris Morley



 
I am just not completely comfortable without knowing those
  values are optimum.
 
 The values need to be long enough to trigger the drives, and that is
 all. It's a digital thing, there is no optimum just long enough
 You only need to worry about reducing the values if you are trying for
 very high step rates.
 
 -- 
 atp
 If you can't fix it, you don't own it.
 http://www.ifixit.com/Manifesto
 

They have to be long enough to trigger the drives _reliably_.
Including taking into account jitter.

Here is an old but interesting write up of software stepgens:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?TweakingSoftwareStepGeneration
It's out of date because it doesn't discuss paraport double stepping.

Chris M
  
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Classicladder with modbus and no GUI

2014-01-03 Thread Chris Morley


 Date: Fri, 3 Jan 2014 22:42:14 +0100
 From: klemen.oze...@gmail.com
 To: Emc-users@lists.sourceforge.net
 Subject: [Emc-users] Classicladder with modbus and no GUI
 
 Dear all,
 
 is there a way to load classicladder without GUI (--nogui option) as modbus
 master?
 
 Best regards
 
 Klemen

No, but in master version, there is a pin to hide the GUI.
I don't think it's in 2.5 (but easy to check)

Chris M 
  
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Classicladder with modbus and no GUI

2014-01-03 Thread Chris Morley
. You will have to find the 
 version that matches the one used in LCNC. For some reason the classic 
 ladder program was not upgraded as time went by. 

This is because it is a lot of work to convert it for LCNC, and there has
been no compelling reason to. If CL supported floats for instance,
I would probably do it again.

In fact LCNC is on it's third version of CL.
Currently we use 7.124

Chris M
  
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Python interface: program_open() does not show a preview in AXIS

2013-12-30 Thread Chris Morley

 in principle those two are unrelated ; of course they should work on the same 
 ngc program. UI's deal with that by telling the preview interpreter to 
 generate preview, and tell milltask to actually execute the program driving 
 the machine.
 
 what happened with your program: you talked to the milltask interpreter, 
 which bypassed the UI - it cant possibly know of the new file
 
 you might want to study axis-remote and the code in UI's to achieve the 
 desired effect: http://linuxcnc.org/docs/html/man/man1/axis-remote.1.html
 
 -Michael
 

If you use master and  Gmoccapy or Gscreen then you could tap into
Gstat's Gobject signal (in your program) and that can emit a 'reload file' 
signal.

another possible way is to use your program as an AXIS filter (master or 2.5.3)
AXIS can load a python program that when finished emits gcode and then you can 
run that.
http://www.linuxcnc.org/docs/2.5/html/gui/axis.html#_program_filters

Not sure if you can make that work...

Chris M
  
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Mesa 5i25 + 7i77 basic configuration

2013-12-04 Thread Chris Morley


 Date: Wed, 4 Dec 2013 19:37:43 -0200
 From: leonardomarsagli...@gmail.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Mesa 5i25 + 7i77 basic configuration
 
 Here is a picture of the error that I got when I try to finish a
 configuration using PNCCONF.
 
 Link:  http://img853.imageshack.us/img853/884/xyn2.png
 
 I don't have any idea of what it's talking about.
 

What version of linuxcnc are you using? was this from the livecd and not 
updated?
It seems you are using an old version based on the line number quoted.


Chris M
  
--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] INI Tricks

2013-12-02 Thread Chris Morley


 From: mai...@mah.priv.at
 Date: Mon, 2 Dec 2013 17:15:30 +0100
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] INI Tricks
 
 
 Am 02.12.2013 um 15:42 schrieb andy pugh bodge...@gmail.com:
 
  On 2 December 2013 13:23, Charles Steinkuehler char...@steinkuehler.net 
  wrote:
  
  Perhaps with the hacking taking place on motion and the path planner and
  whatnot, these can migrate to HAL where it seems like they belong.
  
  Doing that will break every single existing configuration. (Unless the
  new HAL pins take the rather unusual step of initialising themselves
  from the INI file, if the entry exists)
 

We should not be afraid to break things (if it makes sense) on major versions.
Since we will break things anyways if we add ja4 that is the time to break 
everything
else.

I now am wishing we had released 2.6 as it is and worked hard on 2.7 that will 
break
everything.
2.6 is going to take forever to be ready and it's over due now.
Since it seems quite a few people are using 2.6 now we will be breaking their 
configs
anways. (I realize that they knew that could happen, but if you wait so long to 
release
features that are wanted/needed then we are part to blame)

 yes, but automatic migration is possible:
 
 parse the config values out of the ini file, create a .hal fragment using 
 these values to init pin values, and add that to HALFILES=.. after the .hal 
 file which loads  motmod
 

I think we need to plan for changes that will break things occasionally rather 
then 
kludge two ways to do things.

Chris M

Chris M
  
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


  1   2   3   4   >