Re: [Emc-users] Question about plasma

2011-05-27 Thread John Thornton
I'm using M66 and never thought of using motion.spindle-at-speed, seems 
like an elegant solution. At the present time the timeout on M66 will 
allow the torch to carry on even if not lit... not sure if this it good 
or bad. I'll try the motion.spindle.at-speed when I get a chance...

John

Viesturs Lācis wrote:
 Hello!

 I have to propose a solution to control a plasma table that has THC-300.
 I have been searching for some useful information:
 I found these schematics:
 http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob_plain;hb=HEAD;f=configs/plasma-thc/thc300.odg
 Honestly, I somehow do not understand, why is all that necessary.

 In this thread
 http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,view/id,9070/catid,10/limit,6/limitstart,0/lang,english/
 I found that John Thornton wrote a thcud.comp component - much
 simplier and easier to understand.

 I have a question:
 If THC-300 send out ARC OK signal, would it make sense connecting it
 to motion.spindle-at-speed pin?

 What I would like to get is: M3 command turns on the torch and EMC
 waits, until arc is closed and then starts movement.
 I know that it can be done with subroutines or M1xx commands or simply
 by using M66 command, but I would like it to be set up in a nice
 fashion.

 Since I am convinced this already has been done, there is no need to
 reinvent the wheel...
 Plasma table owners, could You, please, share Your solutions or
 insights for this? I would especially appreciate any tips/advices
 about THC300.

 Thanks in advance!

 Viesturs

 --
 vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery,
 you get blazing-fast, flexible, and affordable data protection.
 Download your free trial now.
 http://p.sf.net/sfu/quest-d2dcopy1
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Question about plasma

2011-05-27 Thread Viesturs Lācis
Thank You, Dave and Yi-Shin!

That machine already has all the hardware and I would like to use
existing THC just to prove EMC's versatility to control almost
anything - I suspect that they have something more in mind and success
of this task will determine, if that customer will offer me some other
projects. I am not sure, if THC was provided by manufacturer together
with the machine or if the client acquired it separately and now wants
them both to work together.
So I will take a look at thc sample config and thcud component and
probably will let know, if any questions or difficulties will arise.
The approved time schedule is that I will meet the machine by the
end of next week.
Until then I will try to find as much information as possible, how to do it.

2011/5/27 John Thornton bjt...@gmail.com:
 I'll try the motion.spindle.at-speed when I get a chance...

Could You, please, let me know, how it works?

I asked this question, because I am not sure, what does that pin
affect and I was not lucky (or smart enough) to find, where
motion.spindle-at-speed behavior is documented.

Viesturs

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Question about plasma

2011-05-27 Thread andy pugh
On 27 May 2011 13:17, Viesturs Lācis viesturs.la...@gmail.com wrote:

 I'll try the motion.spindle.at-speed when I get a chance...
 Could You, please, let me know, how it works?
 I was not lucky (or smart enough) to find, where
 motion.spindle-at-speed behavior is documented.

http://linuxcnc.org/docs/html/config_emc2hal.html

it pauses motion until set to true by the VFD or HAL logic.

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

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Question about plasma

2011-05-27 Thread Viesturs Lācis
2011/5/27 andy pugh bodge...@gmail.com:
 On 27 May 2011 13:17, Viesturs Lācis viesturs.la...@gmail.com wrote:

 http://linuxcnc.org/docs/html/config_emc2hal.html

 it pauses motion until set to true by the VFD or HAL logic.

Andy, thank You!

Viesturs

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] 3 threads, realtime errors

2011-05-27 Thread Tom Easterday
I am getting realtime errors that are somewhat baffling.  I have an ATOM D510MO 
board and the latency test is giving me a bit less than 11,000 for Max Jitter.  
I cannot set a base period of anything less than about 30,000 without getting 
realtime errors either on startup of EMC of after running a short while.

I have three threads defined: the base thread=30,000, the servo-thread=125,000 
(is used for charge pump), and another real-servothread =100 (used for 
things that wold normally be in servo-thread).  Could the third thread be the 
reason that I am getting the errors?  Would it be better to use the base-thread 
for the charge pump and do away with the third thread?  Which is more efficient?

-Tom


ps: I have run the latency test for long periods of time.
pps:  I have Hyperthreading off in bios, and isolcpus=1 set in grub (and can 
see the results in Activity Monitor)
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] IRC archive - EMC website update?

2011-05-27 Thread Tom Easterday
I was looking for the IRC archive and followed the link on the web site but it 
seems to stop on 2/11/2011.  I was told by someone on the iRC that psha is 
maintaining it here now (http://psha.org.ru/irc/).  Perhaps the EMC web page 
should be updated to reflect this?
-Tom
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3 threads, realtime errors

2011-05-27 Thread Viesturs Lācis
2011/5/27 Tom Easterday tom-...@bgp.nu:

 I have three threads defined: the base thread=30,000, the 
 servo-thread=125,000 (is used for charge pump), and another 
 real-servothread =100 (used for things that wold normally be in 
 servo-thread).


I can suggest looking at recent archives - there was a case, where one
of users had some difficulties with adding his own thread.

If You have added that thread only for charge-pump, then I think it
would be better to add it to base thread - AFAIK it does not add any
computing load, please correct me, if I am wrong here.

Viesturs

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 3 threads, realtime errors

2011-05-27 Thread andy pugh
On 27 May 2011 16:55, Tom Easterday tom-...@bgp.nu wrote:

 I have three threads defined: the base thread=30,000, the 
 servo-thread=125,000 (is used for charge pump), and another 
 real-servothread =100 (used for things that wold normally be in 
 servo-thread).  Could the third thread be the reason that I am getting the 
 errors?

Unlikely, but I would be tempted to run the charge pump from a 50%
pwmgen in the base thread if base thread frequency is too high for the
hardware.

I found that having a webcam tab causes realtime errors in my
otherwise well-behaved D510MO setup.

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

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Latency test [was: 3 threads, realtime errors]

2011-05-27 Thread Kent A. Reed
Gentle persons:

Andy Pugh's aside to Tom Easterday

I found that having a webcam tab causes realtime errors in my
otherwise well-behaved D510MO setup.


should be a reminder to all of us that the latency-test results we post 
for different systems are not immutable. They may be helpful when 
selecting a motherboard and cpu but always measure the latency of the 
finished system as-it-is-actually-configured before using the numbers 
for seting up emc2.

It's always useful when folks tells us their exceptions to the rule 
like Andy did so we can avoid them.

Regards,
Kent


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] G54 coordinate system error...

2011-05-27 Thread John Murphy
I've started working on using tool length offsets and a coordinate system -
Most of the time it's working OK, but I'm having problems postprocessing my
code to get it running consistently on my machine.

A snippet of code looks like this:

N1 ( BRACKET_003_3X.NGC)
N2 ( EMC2  )
N4 G17 G20 G40 G49
N5 G80 G90
N6 (MSG,LOAD.1 CENTER DRILL)
N7 T13 M06
N8 S3743 M3
G53 G0 Z0.0
N9 G0 G54 X.815 Y2.55
N10 G43 H13
N11 M8
N12 G81 G99 X.815 Y2.55 Z-.030 R.1 F4.97
N13 Y1.5
N14 Y.45
N15 G80
N16 M5
/N17 M9
N18 (MSG,LOAD.177 DRILL)
N19 T11 M06
N20 S3539 M3
G53 G0 Z0
N21 G0 G54 Y2.55
N22 G43 H11
N23 M8
N24 G83 G99 X.815 Y2.55 Z-.5432 R.1 Q.0885 F5.31
N25 Y1.5


This code gives me an error on line N21 of 'Move on line X (which ends up
being N21 would exceed maximum limit of joint 2)...  (I've got a vertical
mill, X/Y/Z).

Any suggestions for this?  I'm not sure if this is my G code or a behavior
in EMC that I'm agitating.  Any suggestions would be greatly appreciated!
--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users