[Emc-users] Can gladevcp apps be run without AXIS, relying only on HAL ?

2011-07-19 Thread Javier Ros
Hi,

I wonder if gladevcp application can be started up just from a HAL
session, as an
standalone application not depending on AXIS or other interface, but just on a
developer's choice of hal components?.

Thank you,

Javier

--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Can gladevcp apps be run without AXIS, relying only on HAL ?

2011-07-19 Thread Michael Haberler

Am 19.07.2011 um 11:31 schrieb Javier Ros:

 Hi,
 
 I wonder if gladevcp application can be started up just from a HAL
 session, as an
 standalone application not depending on AXIS or other interface, but just on a
 developer's choice of hal components?.

Javier -

I'm a bit unclear what you mean by starting from just a HAL session - do you 
mean without interpreter and task executor?

If this is what you're referring to: I would guess that would be a HAL-only 
application without any of NML-based components like UI, task, interpreter, 
iocontrol

without testing it I would think that would amount to:
- modifying the emc shell script to not start milltask, the UI, and iocontrol
- modify it to start your gladevcp app

I would think it is possible to run just HAL, yes - I'd need to check if there 
are any references in the HAL widgets to the emc and gcode Python modules which 
assume task and interpreter

-Michael


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Can gladevcp apps be run without AXIS, relying only on HAL ?

2011-07-19 Thread Michael Haberler
after playing with it: 

yes you can 

no, motion is not part of it (moving motors and stuff) because that's a 
realtime component which assumes NML communication

-m

Am 19.07.2011 um 16:34 schrieb Michael Haberler:

 
 Am 19.07.2011 um 11:31 schrieb Javier Ros:
 
 Hi,
 
 I wonder if gladevcp application can be started up just from a HAL
 session, as an
 standalone application not depending on AXIS or other interface, but just on 
 a
 developer's choice of hal components?.
 
 Javier -
 
 I'm a bit unclear what you mean by starting from just a HAL session - do 
 you mean without interpreter and task executor?
 
 If this is what you're referring to: I would guess that would be a HAL-only 
 application without any of NML-based components like UI, task, interpreter, 
 iocontrol
 
 without testing it I would think that would amount to:
 - modifying the emc shell script to not start milltask, the UI, and iocontrol
 - modify it to start your gladevcp app
 
 I would think it is possible to run just HAL, yes - I'd need to check if 
 there are any references in the HAL widgets to the emc and gcode Python 
 modules which assume task and interpreter
 
 -Michael
 
 
 --
 Magic Quadrant for Content-Aware Data Loss Prevention
 Research study explores the data loss prevention market. Includes in-depth
 analysis on the changes within the DLP market, and the criteria used to
 evaluate the strengths and weaknesses of these DLP solutions.
 http://www.accelacomm.com/jaw/sfnl/114/51385063/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] difficulty compiling emc2 master

2011-07-19 Thread Michael Haberler
since this has bitten me recently as well, I added a note to the wiki:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Resolving_outstanding_build_dependencies

-m

Am 13.07.2011 um 18:43 schrieb Sebastian Kuzminsky:

 On 07/13/2011 10:31 AM, Daniel Rogge wrote:
 Hello all,
 
 My name is Rogge - I've been a watcher on this list for some time, but this
 is my first post to the list.
 
 Welcome!
 
 
 checking for tcl... /usr/lib/tcl8.5/tclConfig.sh found
 checking for tk... /usr/lib/tk8.5/tkConfig.sh found
 checking for BWidget using /usr/bin/tclsh8.5... found
 checking for Img using /usr/bin/tclsh8.5... configure: error: not found
 
 I have successfully checked out and compiled an older version (2.4.0).
 
 Any direction would be greatly appreciated.  I'm trying to play around with
 GladeVCP and I understand that it is only available in 2.5 (hence the
 attempt to compile the latest code).
 
 It looks like you are missing some build dependencies (the configure 
 script is complaining specifically about TkImg in the error message you 
 helpfully included above).  These are supplied by packages, and easy to 
 install:
 
 cd emc2-dev/debian
 ./configure -a
 cd ..
 dpkg-checkbuilddeps
 
 Then apt-get install each of the missing build dependencies, and your 
 configure should work (the configure script in src this time, not in the 
 debian directory).
 
 But there's an easier way if you just want to run the 2.5 branch:  
 install the pre-built debs from the buildbot.  Instructions here: 
 http://wiki.linuxcnc.org/emcinfo.pl?Installing_EMC2#Debs_of_recent_git_versions
 
 -- 
 Sebastian Kuzminsky
 
 
 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric 
 Ries, the creator of the Lean Startup Methodology on Lean Startup 
 Secrets Revealed. This video shows you how to validate your ideas, 
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] XYZA home all?

2011-07-19 Thread Niels Jalling
Thanks.

I had the right HOME_SEQUENCE value of -1 but wasn't aware of that it was
necessary to manually home the axis after a home-all.

Now can try making a button for homing the A-axis instead of traveling
menus :-)

/Niels

 On 18 July 2011 23:48, Niels Jalling ni...@jalling.dk wrote:

 How do I home the A-axis ? Or which parameter needs to be changed in
 inifiles?

 Delete the HOME_SEQUENCE line from the A-axis definition in the INI
 file. Or, alternatively, and possibly a bit clearer, set it to -1.


 --
 atp
 Torque wrenches are for the obedience of fools and the guidance of wise
 men



--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] XYZA home all?

2011-07-19 Thread Viesturs Lācis
Niels,

You can home all the joints with Home all buttons, even if there is
no homing switch for one of the joints.
I did that for the welding robot - the rotary head did not (AFAIK it
still does not) homing switch, but it homed together with all the
other joints, which had homing switches.

In the robot INI file for that joint without homing switch I had:
HOME = xxx
HOME_SEQUENCE = 1

All the remaining homing-related lines are commented out.

I will disagree with Andy on the advice to delete HOME-SEQUENCE line.
EMC Integrators' Manual, page 24:
If HOME_SEQUENCE is -1 or not specified then this joint will not be
homed by the HOME ALL sequence.

If You cannot make it work, send me the part of INI file, which
specifies all the joint parameters. I will take a look.

Viesturs

2011/7/19 Niels Jalling ni...@jalling.dk:
 Thanks.

 I had the right HOME_SEQUENCE value of -1 but wasn't aware of that it was
 necessary to manually home the axis after a home-all.

 Now can try making a button for homing the A-axis instead of traveling
 menus :-)

 /Niels

 On 18 July 2011 23:48, Niels Jalling ni...@jalling.dk wrote:

 How do I home the A-axis ? Or which parameter needs to be changed in
 inifiles?

 Delete the HOME_SEQUENCE line from the A-axis definition in the INI
 file. Or, alternatively, and possibly a bit clearer, set it to -1.


 --
 atp
 Torque wrenches are for the obedience of fools and the guidance of wise
 men



 --
 Magic Quadrant for Content-Aware Data Loss Prevention
 Research study explores the data loss prevention market. Includes in-depth
 analysis on the changes within the DLP market, and the criteria used to
 evaluate the strengths and weaknesses of these DLP solutions.
 http://www.accelacomm.com/jaw/sfnl/114/51385063/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Remote desktop

2011-07-19 Thread Thomas Powderly
On Tue, Jul 19, 2011 at 2:29 PM, Viesturs Lācis
viesturs.la...@gmail.com wrote:
 Hello, gentlemen!

 Today I completed a retrofit of plasma cutting machine. Now there is
 one more EMC2 machine! BTW this one has 2 independent THC sensors
 working together.
 Since that machine is 3 hours of driving from me, which is pretty far
 for me, client asked me that they would like me to be able to remotely
 to the PC with EMC as a means for support in case something goes
 wrong. For example, they need to reinstall OS and restore all the
 settings or something else.
 They can arrange the internet connection with fixed IP for that PC.

 The question is - what would be the best way to do that?
 The client with a welding robot also expressed such an idea, but I
 talked them out of it. But now I start to think that it might be worth
 trying to implement it as a part of my customer service.

 I am aware of VNC, but maybe there are some built-in tools in Lucid?
 What I need is the ability to connect to that PC so that I see the
 desktop and, if I cannot take over the control of mouse and keyboard,
 then at least I need some window, where I can paste instructions,
 based on what I see in the screen.

 Viesturs


Hello!,
congratulations on the new machine.
Could you explain a bit about this feature?
 this one has 2 independent THC sensors working together.
thanks
TomP

--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Remote desktop

2011-07-19 Thread Jon Elson
Viesturs Lācis wrote:
 I am aware of VNC, but maybe there are some built-in tools in Lucid?
 What I need is the ability to connect to that PC so that I see the
 desktop and, if I cannot take over the control of mouse and keyboard,
 then at least I need some window, where I can paste instructions,
 based on what I see in the screen.

   
You can SSH into the machine. Open-gl either doesn't run across an X 
connection, or
is so slow as to be unusable. I think if you use Axis, you need to 
immediately set
it to the non-3D preview window. Otherwise, I think you can run Axis, 
and I know you
can run Touchy or TKEMC remotely through X. The update rate will be 
noticeably slowed
by the net, but it works. Of course, you can do all sorts of other 
maintenance work through
ssh and sftp as long as the main parts of the OS are running. You might 
arrange that the
net cable be unplugged for security when you don't need access.

This doesn't give you the ability to look over the operator's shoulder 
like VNC, but does
allow you to test the machine remotely. VNC works quite well on most 
Linux systems.


Jon

--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Problem: Tool length compensation not compensating?

2011-07-19 Thread Colin K
I recently converted my mill to EMC from Mach, and until now have been using
it only with subroutines. Tonight I tried running a program produced by
BobCAD v23, which I have used successfully with Mach, and ran into a problem
with tool length compensation. Basically, I could not get the offsets to
stick through a tool change.

Here is what my tool table file looks like *:

T1 P1 D0.125000 Z+2.269462 ;1/8 end mill
T2 P2 D0.062500 Z+2.478416 ;1/16 end mill
T3 P3 D0.201000 Z+1.273000 ;#7 tap drill
T9 P9 Z+0.10 ;big tool number

I also have the same PC set up to run my lathe, and I have run that with
three pre-set tools for a few months now with no problem. When I swap tools,
I issue a command like M6 T2 G43, and the tool display in Axis changes and
the DROs re-set to reflect the tool X/Z offset, and it's all good. But, on
my mill, if I enter the same command, the Z value does not change. I touched
both tools off and checked the tool table, it matched the values I had set
manually by measuring the tools offline, but no matter what I did, it didn't
seem to want to apply my offsets properly.

Here is the beginning of a program that is giving me trouble. Prior to
running this program, I had T1 in (based on the values above). I then ran
this program below. It prompted me for tool #2, I put it in, clicked OK (I
am using the manual tool change dialog), but it proceeded to behave as
though the Z offset for tool 1 was active. At least that's what it looked
like as things were off by about .25 which is about the difference between
the two tools.

/(BEGIN PREDATOR NC HEADER)
/(MACH_FILE=3XVMILL.MCH)
/(MTOOL T2 S1 D.25 C0. A0. H3.)
/(SBOX X0. Y0. Z-1. L4.3 W2. H1.)
/(END PREDATOR NC HEADER)

N1 ( C2_0718_B.NC)
N2 ( EMC2  )
N3 ( TUE. 07/19/2011 10:08PM)
N4 G17 G20 G40 G49
N5 G80 G90
N6 (PROFILE)
N7 (MSG,LOAD.25 ENDMILL ROUGH)
N8 T2 M06
N9 S3000 M3
N10 G0 G54 X-.3657 Y.
N11 G43 H2 Z1.
N12 M8
N13 G1 Z-.05 F2.

Is there anything obviously wrong here? Do I need to share my HAL or other
config files? I thought I had this figured out after getting my lathe
running so nicely, but this one kind of has me stumped.

Thanks in advance,
-cwk.

* An aside about the tool table: I initially set this up by hand (using the
Axis UI), and had this set with only two tools, a .250 center drill and a
.250 endmill. I then went back and re-set both tools by using the touch-off,
and every time I do that, it adds the #7 tap drill and the T9 tool, and
changes the diameters for T1 and T2. My CAM puts out tool centerline code,
so I don't have a pressing problem there, but still, it didn't seem right...
--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] XYZA home all?

2011-07-19 Thread Viesturs Lācis
2011/7/19 Niels Jalling ni...@jalling.dk:
 Hi Viesturs

 Thank you for the tip. It worked.

 Before made by Stepconf for the a-axis:
 ...
 MAX_LIMIT = .0
 HOME_OFFSET = 0.0
 eof inifile

 I added to my inifile
 ...
 MAX_LIMIT = .0
 HOME_OFFSET = 0.0
 HOME_SEQUENCE = 0  --
 eof inifile


So it finally works?
Good to hear!
But I am wondering about that home_offset. I had only home value, and
all the remaining commented out, but if it works for You as it is,
then lets leave it in a way that is working :)

Viesturs

--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users