[Emc-developers] (no subject)

2023-12-28 Thread Gary E. Miller
>From 5e664a9cd479df5b986d7b981ac09203b269965f Mon Sep 17 00:00:00 2001
From: "Gary E. Miller" 
Date: Thu, 28 Dec 2023 17:30:01 -0800
Subject: [PATCH] building-linuxcnc.adoc: Add gentoo instructions.

It should make sense to any gentoo user.
---
 docs/src/code/building-linuxcnc.adoc | 47 
 1 file changed, 47 insertions(+)

diff --git a/docs/src/code/building-linuxcnc.adoc 
b/docs/src/code/building-linuxcnc.adoc
index fe9ae27c22..2196d2d2ba 100644
--- a/docs/src/code/building-linuxcnc.adoc
+++ b/docs/src/code/building-linuxcnc.adoc
@@ -372,6 +372,53 @@ the memory lock limit is raised using the following 
command:
 $ ulimit -l
 -
 
+== Building on Gentoo
+
+Building on Gentoo is possible, but not supported.  Be sure you are
+running a disktop profile.  This projet uses the Tk Widget Set, asciidoc,
+and has some other dependencies.  They should be installed as root:
+
+-
+~ # euse -E tk
+~ # emerge -uDNa world
+~ # emerge -a dev-libs/libmodbus dev-lang/tk dev-tcltk/bwidget dev-tcltk/tclx
+~ # emerge -a dev-python/pygobject dev-python/pyopengl dev-python/numpy
+~ # emerge -a app-text/asciidoc app-shells/bash-completion
+-
+
+You can switch back to being a normal user for most of the rest of the
+install.  As that user, create a virtual environment for pip, then install
+the pip packages:
+
+-
+~/src $ python -m venv   --system-site-packages ~/src/venv
+~/src $ . ~/src/venv/bin/activate
+(venv) ~/src $ pip install yapps2
+(venv) ~/src $
+-
+
+Then you can contrinue as normally:
+
+-
+(venv) ~/src $ git clone https://github.com/LinuxCNC/linuxcnc.git
+(venv) ~/src $ cd linuxcnc
+(venv) ~/src $ cd src
+(venv) ~/src $ ./autogen.sh
+(venv) ~/src $ ./configure --enable-non-distributable=yes
+(venv) ~/src $ make
+-
+
+There is no need to run "make suid", just make sure your user is in
+the "dialout" group.  To start linuxcnc, you must be in the Python
+Virtual Environment, and set up the linuxcnc environment:
+
+-
+~ $ . ~/src/venv/bin/activate
+(venv) ~ $ . ~/src/linuxcnc/scripts/rip-environment
+(venv) ~ $ ~/src/linuxcnc $ scripts/linuxcnc
+-
+
+
 == Options for checking out the git repo
 
 The <> instructions at the top of this
-- 
2.41.0



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


Re: [Emc-developers] (no subject)

2022-08-09 Thread Betibeteka Beranduetxea
Thank you.

As said in the first post, pci=nomsi has been tried. But system
behaves the same.

I'm working around it with taskset. Moreover, for production I'm still
on 2.7.15. But thought it could be worth to report about this

Best wishes

El mar, 9 ago 2022 a las 4:57, Alec Ari () escribió:
>
> You can try adding pci=nomsi to the kernel command line / parameters.
>
> i.e.:
>
> GRUB: linux /boot/vmlinuz-4.19-195-rtai root=/dev/blahblah pci=nomsi
>
> Cheers!


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


Re: [Emc-developers] (no subject)

2022-08-08 Thread Alec Ari via Emc-developers
You can try adding pci=nomsi to the kernel command line / parameters.

i.e.:

GRUB: linux /boot/vmlinuz-4.19-195-rtai root=/dev/blahblah pci=nomsi

Cheers!


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


[Emc-developers] (no subject)

2022-08-06 Thread Betibeteka Beranduetxea
Hi all.

I just wanted to report about a trace in dmesg output at
latency-histogram start wit 2.8.2 and 4.19.195-rtai-amd64 kernel. I
can make it to work almost flawlessly by using taskset 2
latency-histogram. Just some more latency.

Please let me know if I can provide some more info

Here it is:

[   99.888347] I-pipe: head domain RTAI registered.
[   99.888460] WARNING: CPU: 0 PID: 1611 at
arch/x86/kernel/apic/msi.c:106 msi_set_affinity+0x120/0x150
[   99.888461] Modules linked in: rtai_hal(+) snd_hda_codec_hdmi
snd_hda_intel snd_hda_codec radeon ttm drm_kms_helper drm snd_hda_core
hp_wmi snd_hwdep sparse_keymap rfkill snd_pcm wmi_bmof snd_timer snd
drm_panel_orientation_quirks i2c_algo_bit evdev fb_sys_fops
syscopyarea sysfillrect sysimgblt pcspkr serio_raw edac_mce_amd
soundcore k8temp wmi button ext4 crc32c_generic crc16 mbcache jbd2
fscrypto sg sd_mod psmouse i2c_piix4 ohci_pci floppy ahci libahci
libata scsi_mod tg3 libphy ehci_pci ohci_hcd ehci_hcd usbcore
[   99.888474] CPU: 0 PID: 1611 Comm: insmod Tainted: GW
  4.19.195-rtai-amd64 #5
[   99.888475] Hardware name: Hewlett-Packard HP Compaq dc5850
Microtower/3029h, BIOS 786F6 v01.09 04/09/2008
[   99.888476] I-pipe domain: Linux
[   99.888476] RIP: 0010:msi_set_affinity+0x120/0x150
[   99.888477] Code: 83 c7 20 c1 e7 04 ff 50 18 0f a3 e8 73 0a 48 8b
43 18 48 89 df ff 50 60 48 83 c4 08 44 89 e0 5b 5d 41 5c 41 5d 41 5e
41 5f c3 <0f> 0b 48 89 ee 48 89 df e8 e3 fd ff ff eb df 65 48 c7 04 d5
20 41
[   99.888478] RSP: 0018:c9177bb8 EFLAGS: 00010297
[   99.888479] RAX:  RBX: 88807c84c828 RCX: 
[   99.888480] RDX: 88807c84c800 RSI: 0037 RDI: 
[   99.888481] RBP: 888079e08440 R08:  R09: 
[   99.888482] R10: 0040 R11:  R12: 
[   99.888482] R13: c9177bf8 R14: 0001 R15: 888079e089c0
[   99.888483] FS:  7ff87fc1c4c0() GS:88807da0()
knlGS:
[   99.888484] CS:  0010 DS:  ES:  CR0: 80050033
[   99.888485] CR2: 7fd540ded0b0 CR3: 7aea1000 CR4: 06f0
[   99.888485] Call Trace:
[   99.888486]  ? irq_msi_compose_msg+0x50/0x50
[   99.888486]  ? ipipe_set_irq_affinity+0x78/0xa0
[   99.888487]  ? rt_assign_irq_to_cpu+0x6e/0xa0 [rtai_hal]
[   99.888488]  ? __rtai_hal_init+0x1ec/0x220 [rtai_hal]
[   99.888489]  ? rt_free_timers+0x40/0x40 [rtai_hal]
[   99.888489]  ? do_one_initcall+0x3f/0x170
[   99.888490]  ? free_unref_page_commit+0x8a/0x100
[   99.888490]  ? kmem_cache_alloc+0x80/0xf0
[   99.888491]  ? do_init_module+0x50/0x1f0
[   99.888492]  ? load_module+0x1b07/0x1cf0
[   99.888492]  ? __do_sys_finit_module+0x96/0xb0
[   99.888493]  ? __do_sys_finit_module+0x96/0xb0
[   99.888494]  ? do_syscall_64+0x59/0x1e0
[   99.888494]  ? __ipipe_trap_prologue+0xef/0x210
[   99.888495]  ? entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   99.888496] ---[ end trace 3f6c88e031e59fea ]---
[   99.888568] RTAI[hal]: mounted. ISOL_CPUS_MASK: 2.
[   99.888571] SYSINFO - # CPUs: 2, TIMER NAME: 'lapic', TIMER IRQ:
4355, TIMER FREQ: 12466489, CLOCK NAME: 'tsc', CLOCK FREQ: 2293835000,
CPU FREQ: 2293835000, LINUX TIMER IRQ: 4355.
[   99.947127] RTAI[malloc]: global heap size = 2097152 bytes, .
[   99.947164] kstacks pool size = 524288 bytes
[   99.947165] RTAI[sched]: hard timer type/freq = lapic/12466489(Hz)
[   99.947166] linear timed lists.
[   99.947167] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq
= 2293835000 hz.
[   99.947168] RTAI[sched]: timer setup = 80 ns, resched latency = 0 ns.
[  100.007461] USERMODE CHECK: OK.
[  100.007465] USERMODE CHECK PROVIDED (ns): KernelLatency 741, UserLatency 968.
[  100.007467] FINAL CALIBRATION SUMMARY (ns): KernelLatency 741,
UserLatency 968.
[  100.036909] RTAI[math]: loaded, using musl libm.


I guess there is some MSI quirk on this system. Complete dmesg output attached

Best wishes


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


Re: [Emc-developers] (no subject)

2017-10-30 Thread Gene Heskett
On Monday 30 October 2017 09:45:12 asia2tr...@gmx.de wrote:

> Hello,
>
> congratulations on a super program the LinuxCNC!
>
> I wanted to ask if you can implement a function that segment the tool
> path and make  LinuxCnc to run only this segment a little bit deeper.
> PCB is one example for where it is needed. When the PCB is not
> perfectly flat. You look at the isolation  path on the PCB and decide
> which part has not been wide or deep enough to isolate electricity and
> re-run this part. If I could select and highlight the part of the path
> myself it would be very nice. When I attach a pen to my machine and
> the writing is not everywhere the same thickness, I would like to have
> this function too. Where  I can make the program to run certain
> regions of the toolpath to make the appearance even. Or is there a
> patch where this function already can be installed?
>
> Many thanks and best regards
>
> Tom

This is a bit difficult to do, Tom, and it often runs into problems with 
incomplete or poor z backlash control, and even thermals can mess you 
up. You want to remove the copper, but do not want to penetrate the 
glass substrate as that will eat your engraving tool rather quickly.

When I am doing my little one offs, I'll usually first make a pallate out 
of 1/2" thick micarta, and make a "key" in its bottom that fits in a 
table slot, possibly needing a push to seat the key in the table's 
slot,so its firmly locked from rotational miss alignment.

Then once seated and clamped, mill a pocket only a few thou bigger than 
the board, and perhaps 1/2 the boards thickness and drill and tap for a 
bunch of 0-80 flat headed screws around the edge so that they, when 
drawn up to contact the edge of the board about every 2cm or so, will 
hold the board flat. Then I've found the majority of the depth of cut 
variations are time and thermal related since my z drive is well above 
the mills head. For that I've found a 6" rotron fan blowing on the post 
and z drive screw will reduce that to usable precision. With that, I can 
directly execute the eagle output thru pcb2gcode and get usable results.

But my little mills spindle is maxed out at 2500 revs, so I am limited to 
about 2 ipm feed rates for clean cutting. IOW, a really complex board 
should be sent out to OSHPark or a similar board service, its that 
slow. :( It takes me from mid morning till past dinner to make one of 
the double sided encoder boards for the spindle motor tracking in my 
converted 7x12 lathe. It carries 3 honeywell slot interrupters, 6 1/4 
watt r's and 3 pots to equalize the led brightness in the honeywell's.

One could write a gcode thing to map the boards surface irregularities, 
but by the time it was finished logging the map on a 1/4" grid, the 
machines thermals would render the map obsolete. :(  It can be fun but 
not an income producing way to do it.


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 

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


Re: [Emc-developers] (no subject)

2017-10-30 Thread andy pugh
On 30 October 2017 at 13:45,   wrote:

> I wanted to ask if you can implement a function that segment the tool path 
> and make  LinuxCnc to run only this segment a little bit deeper.

There has been some work done around this using kinematics:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ProbeKins
This used an STL file based on probe data to map the shape of the workpiece.
This turned out not to be a good idea, as the corrections from the STL
file would violate acceleration and velocity limits.

There is the "external offset" branch of LinuxCNC.
https://github.com/LinuxCNC/linuxcnc/commit/240ee9f185ad540db873d486f0b4e8aabfa62919

This provides a way to modulate the position of any axis based on an
external input.

I think that the way to do what you want is to combine the two. I
think that between the two approaches all the problems have been
solved, but the parts need putting together in the right order.

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


[Emc-developers] (no subject)

2017-10-30 Thread asia2trade
Hello,

congratulations on a super program the LinuxCNC!

I wanted to ask if you can implement a function that segment the tool path and 
make  LinuxCnc to run only this segment a little bit deeper. PCB is one example 
for where it is needed. When the PCB is not perfectly flat. You look at the 
isolation  path on the PCB and decide which part has not been wide or deep 
enough to isolate electricity and re-run this part. If I could select and 
highlight the part of the path myself it would be very nice.
When I attach a pen to my machine and the writing is not everywhere the same 
thickness, I would like to have this function too. Where  I can make the 
program to run certain regions of the toolpath to make the appearance even.
Or is there a patch where this function already can be installed?

Many thanks and best regards

Tom

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


[Emc-developers] (no subject)

2017-09-12 Thread Josef Gattermann
 

 

G-Tech1

Josef Gattermann

Atzmanning 13

4786 Brunnenthal

07713 400 54 (AB)

0681-10807571

 

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


[Emc-developers] (no subject)

2017-09-12 Thread Josef Gattermann
 

 

G-Tech1

Josef Gattermann

Atzmanning 13

4786 Brunnenthal

07713 400 54 (AB)

0681-10807571

 

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


[Emc-developers] (no subject)

2016-09-22 Thread tero.kaarl...@eka-sorvaus.fi
Introduce myself:

   I have 20 yrs experience of CNC-machines. Mostly Okumas but also some 
Fanucs. My work includes CAM, CAD and machine maintenance & repair. I am not a 
machinist. Our company is called Eka-Sorvaus OY ou might translate it 
First-Turning INC. :) We do Oxy-Cutting, Welding, Machining and Painting. I got 
involved with LinuxCNC because we have Cincinnati 10HC2500 horizontal mill, 
this machine had bad control(850sx with old DC-servos and DC-spindle). We 
decided to replace control with LinuxCNC and also install new spindle & servo 
motors and also install new absolute linear scales from Fagor to avoid zeroing. 
With a lot help from PCW, Andypugh and newnobi I have been able to get this 
machine moving again. You can check progress & current status here: 
https://forum.linuxcnc.org/forum/show-your-stuff/31146-cincinnati-10hc2500-atc-with-custom-hal-component

Reason for me to join this mailing list was that we do need G84 floating 
tapping canned cycle. I was surprised to find out that LinuxCNC does not 
support this "out of the box". I have found  mhaberler old  work from 2012 
here:  http://git.mah.priv.at/gitweb/emc2-dev.git/shortlog/refs/heads/g84-dev 
And I was able to add this code manually to current master source. But I have 
few questions left and I am hoping to find some help.


--
Tero Kaarlela
Production Engineer
Eka-Sorvaus OY
Nivala
Finland

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


Re: [Emc-developers] (no subject)

2011-09-28 Thread Peter C. Wallace
On Wed, 28 Sep 2011, Sebastian Kuzminsky wrote:

> Date: Wed, 28 Sep 2011 10:09:43 -0600
> From: Sebastian Kuzminsky 
> To: Peter C. Wallace 
> Cc: EMC developers 
> Subject: Re: 
> 
> On Sep 28, 2011, at 08:10 , Peter C. Wallace wrote:
>
>> On Tue, 27 Sep 2011, s...@highlab.com wrote:
>>
>>> It'd be convenient if the stepgen module provided a TSC register like the 
>>> Quadrature Counter module, then we could just use that.  If it counted 
>>> microseconds, 16 bits would be plenty.
>>
>> Thats easily do-able but I have some reservations
>>
>> 1. Some 5I20 stepgen configs are really close to being full. Its possible a 
>> TSC would put some over the top so it would be good if driver code could 
>> support TSC and non TSC stepgens.
>>
>> 2. Calibration is likely still desireable even with the TSC to make sure 
>> that the stepgens clock (or TSC) is close to whatever generates the PCs 
>> servo thread (8253?)
>
>
> Yes, you're right.  I remembered after i sent that, that the ClockLow 
> frequency reported in the IDROM is not reliable.
>
> This stepgen bug comes from us not knowing how much wall-clock time has 
> elapsed between sequential invocations of hm2_read(), and this reduces the 
> quality of stepgen velocity estimation.
>
> I think there are two ways we could know this number: we could measure it on 
> the PC, or the FPGA could tell us.
>
> Back in 2008 John Kasunich warned me that measuring the time on the PC is not 
> easy: 
> 
>
> Jeff Epler did some work on this earlier this summer, it was merged into 2.5 
> in July but as far as i know the period reported to realtime functions is 
> still the idealized one, not the measured one that Jeff's commits seems to 
> enable:
>  
> 
>
> So if we want to measure the actual servo thread period on the PC, that's 
> probably an approach to examine.
>
> The other option is to measure the time on the FPGA.  This has two 
> components: calibrate the FPGA clock to the PC clock, and then read the FPGA 
> clock every time through the servo loop.  This option has an additional 
> benefit: by calibrating the FPGA clock to the PC clock, we'd get better 
> encoder velocity estimates.
>
> The Quadrature Counter module already has a TSC register.  If we moved that 
> register (and the TSDiv register) out to their own module, we wouldn't take 
> much more FPGA space, and we'd have a single place to calibrate and read the 
> FPGA clock.
>
>
> Thoughts?

I think thats fine as long as the driver gets along with older firmware as 
well

Note that if used for the encoder, the TSC would have to be like the encoder 
one, a programble divider rather than a DDS so you would have large frequency 
steps (you could not tune it)

if space was not an issue, a wilder idea is to have a separate DDS based TSC 
thats phase locked to the servo thread (this could happen automatically as a 
side effect of reading the count every servo thread)



>
>
> -- 
> Sebastian Kuzminsky
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2011-09-28 Thread Sebastian Kuzminsky
On Sep 28, 2011, at 08:10 , Peter C. Wallace wrote:

> On Tue, 27 Sep 2011, s...@highlab.com wrote:
> 
>> It'd be convenient if the stepgen module provided a TSC register like the 
>> Quadrature Counter module, then we could just use that.  If it counted 
>> microseconds, 16 bits would be plenty.
> 
> Thats easily do-able but I have some reservations
> 
> 1. Some 5I20 stepgen configs are really close to being full. Its possible a 
> TSC would put some over the top so it would be good if driver code could 
> support TSC and non TSC stepgens.
> 
> 2. Calibration is likely still desireable even with the TSC to make sure that 
> the stepgens clock (or TSC) is close to whatever generates the PCs servo 
> thread (8253?)


Yes, you're right.  I remembered after i sent that, that the ClockLow frequency 
reported in the IDROM is not reliable.

This stepgen bug comes from us not knowing how much wall-clock time has elapsed 
between sequential invocations of hm2_read(), and this reduces the quality of 
stepgen velocity estimation.

I think there are two ways we could know this number: we could measure it on 
the PC, or the FPGA could tell us.

Back in 2008 John Kasunich warned me that measuring the time on the PC is not 
easy: 


Jeff Epler did some work on this earlier this summer, it was merged into 2.5 in 
July but as far as i know the period reported to realtime functions is still 
the idealized one, not the measured one that Jeff's commits seems to enable:
 


So if we want to measure the actual servo thread period on the PC, that's 
probably an approach to examine.

The other option is to measure the time on the FPGA.  This has two components: 
calibrate the FPGA clock to the PC clock, and then read the FPGA clock every 
time through the servo loop.  This option has an additional benefit: by 
calibrating the FPGA clock to the PC clock, we'd get better encoder velocity 
estimates.

The Quadrature Counter module already has a TSC register.  If we moved that 
register (and the TSDiv register) out to their own module, we wouldn't take 
much more FPGA space, and we'd have a single place to calibrate and read the 
FPGA clock.


Thoughts?


-- 
Sebastian Kuzminsky


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2011-09-28 Thread Peter C. Wallace
On Tue, 27 Sep 2011, s...@highlab.com wrote:

> Date: Tue, 27 Sep 2011 21:48:28 -0600
> From: "[utf-8] s...@highlab.com" 
> To: "[utf-8] Peter C. Wallace" ,
> "[utf-8] EMC developers" 
> Subject:
> =?utf-8?B?UmU6IFtFbWMtZGV2ZWxvcGVyc10gRlc6IFtFbWMtdXNlcnNdIGJ1ZyhzKSBpbiAy
> LjQuNiB1c2luZwlHYW50cnlraW5zPw==?=
> 
> It'd be convenient if the stepgen module provided a TSC register like the 
> Quadrature Counter module, then we could just use that.  If it counted 
> microseconds, 16 bits would be plenty.

Thats easily do-able but I have some reservations

1. Some 5I20 stepgen configs are really close to being full. Its possible a 
TSC would put some over the top so it would be good if driver code could 
support TSC and non TSC stepgens.

2. Calibration is likely still desireable even with the TSC to make sure that 
the stepgens clock (or TSC) is close to whatever generates the PCs servo 
thread (8253?)

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2011-08-27 Thread brad murry

  Sorry for all that funny business.  My hotmail account was comprimised by 
some spammers for a few hours this morning It should be stable now. -Brad
 From: bradod...@hotmail.com
To: craig.sex...@biesseamerica.com; d...@microvellum.com; dvo...@ulsinc.com; 
dynomot...@yahoogroups.com; e...@farrellfinehomes.com; 
emc-developers@lists.sourceforge.net; 
emc-developers-requ...@lists.sourceforge.net; chenr...@cox.net
Subject: 
Date: Sat, 27 Aug 2011 11:53:50 -0600







You’ll have no troubles with your health!.. 
http://www.silmel.com.ar/com.page.php?giGIS=13e0

  --
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2010-11-01 Thread cristian pisoni
i'm going to use stepper and i want to build a H-bridge to control them but i 
dont know which signal i have to modify.





Da: Andy Pugh 
A: EMC developers 
Inviato: Dom 31 ottobre 2010, 18:45:26
Oggetto: Re: [Emc-developers] (no subject)

On 31 October 2010 16:33, cristian pisoni  wrote:

> i'm going to build a cnc with my friends, i need to create the driver for
> the motors. do you know where i can find something that show the output
> signal of emc?

EMC2 can be set up to suit any pinout or driver scheme that is
convenient for your hardware.

Do you intend to use stepper motors or servos?

(Also, this might be a better question for the emc-users list:
https://lists.sourceforge.net/lists/listinfo/emc-users )

-- 
atp

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



  --
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2010-11-01 Thread cristian pisoni
thank you very much.





Da: Kirk Wallace 
A: EMC developers 
Inviato: Dom 31 ottobre 2010, 19:08:48
Oggetto: Re: [Emc-developers] (no subject)

On Sun, 2010-10-31 at 16:33 +, cristian pisoni wrote:
> hi,
> i'm going to build a cnc with my friends, i need to create the driver
> for the motors. do you know where i can find something that show the
> output signal of emc? ex: pin out and voltage of parallel port? thx 

Drivers could be software or hardware. Do you need software to control
some hardware, or do you need the hardware that controls and powers the
motors?

Basically, EMC2 has two methods of interfacing with hardware, one being
the parallel port the other is a PCI card. The parallel port can
interface with your hardware directly using software signal generation
or talk to a card that generates signals from the card's hardware.

For parallel port software generated signals check out this:

http://www.linuxcnc.org/docview/html//hal_drivers.html 

You can use this with step and direction motor drivers such as Gecko's:

http://www.geckodrive.com/ 

for stepper motors or DC motors.

Or you can generate quadrature or PWM signals to drive an H-bridge for
steppers or DC motors:

http://axis.unpy.net/index.cgi/etchcnc 
http://emergent.unpythonic.net/projects/01142347802 

The problem with parallel port software generated signals is that they
can be fairly slow, and with PWM, you usually need to compromise either
frequency or resolution.

Hardware signal generators are much faster and can interface to a PCI
slot or the parallel port. See:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware 

What is most appropriate for your setup depends on the size of your
machine or rather axis speed, pitch and resolution. You might want to
check out machines that are similar to what you want and try to copy the
parts that apply:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Case_Studies 
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Videos 

The start for most research should be here:

http://linuxcnc.org/ 
http://www.linuxcnc.org/content/view/5/5/lang,english/ 
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl 

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



  --
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2010-10-31 Thread Kirk Wallace
On Sun, 2010-10-31 at 16:33 +, cristian pisoni wrote:
> hi,
> i'm going to build a cnc with my friends, i need to create the driver
> for the motors. do you know where i can find something that show the
> output signal of emc? ex: pin out and voltage of parallel port? thx 

Drivers could be software or hardware. Do you need software to control
some hardware, or do you need the hardware that controls and powers the
motors?

Basically, EMC2 has two methods of interfacing with hardware, one being
the parallel port the other is a PCI card. The parallel port can
interface with your hardware directly using software signal generation
or talk to a card that generates signals from the card's hardware.

For parallel port software generated signals check out this:

http://www.linuxcnc.org/docview/html//hal_drivers.html 

You can use this with step and direction motor drivers such as Gecko's:

http://www.geckodrive.com/ 

for stepper motors or DC motors.

Or you can generate quadrature or PWM signals to drive an H-bridge for
steppers or DC motors:

http://axis.unpy.net/index.cgi/etchcnc 
http://emergent.unpythonic.net/projects/01142347802 

The problem with parallel port software generated signals is that they
can be fairly slow, and with PWM, you usually need to compromise either
frequency or resolution.

Hardware signal generators are much faster and can interface to a PCI
slot or the parallel port. See:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware 

What is most appropriate for your setup depends on the size of your
machine or rather axis speed, pitch and resolution. You might want to
check out machines that are similar to what you want and try to copy the
parts that apply:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Case_Studies 
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Videos 

The start for most research should be here:

http://linuxcnc.org/ 
http://www.linuxcnc.org/content/view/5/5/lang,english/ 
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl 

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2010-10-31 Thread Andy Pugh
On 31 October 2010 16:33, cristian pisoni  wrote:

> i'm going to build a cnc with my friends, i need to create the driver for
> the motors. do you know where i can find something that show the output
> signal of emc?

EMC2 can be set up to suit any pinout or driver scheme that is
convenient for your hardware.

Do you intend to use stepper motors or servos?

(Also, this might be a better question for the emc-users list:
https://lists.sourceforge.net/lists/listinfo/emc-users )

-- 
atp

--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] (no subject)

2010-10-31 Thread cristian pisoni
hi,
i'm  going to build a cnc with my friends, i need to create the driver for  the 
motors. do you know where i can find something that show the output  signal of 
emc? ex: pin out and voltage of parallel port? thx 


  --
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2008-11-21 Thread Jeff Epler
For sim, it looks like there's not a way to do it directly.
The simplest way is probably to modify the line
static int msg_level = RTAPI_MSG_ERR;   /* message printing level */
in sim_common.h and rebuild.  Another simple way would be to create a
realtime component that has no function other than to call
rtapi_set_msg_level---this will set the debug for all realtime
components.

Jeff

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2008-11-21 Thread John Kasunich
Chris Morley wrote:
> 
> 
>> Date: Fri, 21 Nov 2008 16:27:25 -0700
>> From: [EMAIL PROTECTED]
>> To: emc-developers@lists.sourceforge.net
>> Subject: Re: [Emc-developers] (no subject)
>>
>> Chris Morley wrote:
>>> Gentlemen (Iuse the term loosely :):
>>>
>>> I am using HAL without EMC and want to be able to read
>>>  messages that are wrapped in  rtapi_print_msg
>>> such as:
>>>
>>> rtapi_print_msg(RTAPI_MSG_DBG, "INFO CLASSICLADDER--\n");
>>>
>>> How do I set the message level?
>> echo 4 >| /proc/rtapi/debug
> 
> Seb I don't have a rtapi folder in proc.
> 
> I am using simulator on ubuntu 8.04.
> 

Unfortunately the msg_level stuff predates sim by quite a bit.  When you
are running a realtime kernel, the message level value can be set by
writing to /proc/rtapi (and other info about rtapi can be seen by
catting /proc/*).  But in sim, components aren't kernel modules, and the
/proc filesystem isn't available.  Instead, each component has its own
copy of msg_level (IIRC), and each component must set its own level.

There are rtapi calls to get and set the level, and for debug purposes
you could easily do something like this at init or right before the
chunk of code you want to debug:

static int old_level = rtapi_get_msg_level();
rtapi_set_msg_level(RTAPI_MSG_ALL);

and do this after that chunk of code:

rtapi_set_msg_level(old_level);

For both rtapi and hal, the complete API is documented in the .h file,
look there for more details.

Regards,

John Kasunich

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2008-11-21 Thread Chris Morley



> Date: Fri, 21 Nov 2008 16:27:25 -0700
> From: [EMAIL PROTECTED]
> To: emc-developers@lists.sourceforge.net
> Subject: Re: [Emc-developers] (no subject)
> 
> Chris Morley wrote:
> > Gentlemen (Iuse the term loosely :):
> > 
> > I am using HAL without EMC and want to be able to read
> >  messages that are wrapped in  rtapi_print_msg
> > such as:
> > 
> > rtapi_print_msg(RTAPI_MSG_DBG, "INFO CLASSICLADDER--\n");
> > 
> > How do I set the message level?
> 
> echo 4 >| /proc/rtapi/debug

Seb I don't have a rtapi folder in proc.

I am using simulator on ubuntu 8.04.


_

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] (no subject)

2008-11-21 Thread Sebastian Kuzminsky
Chris Morley wrote:
> Gentlemen (Iuse the term loosely :):
> 
> I am using HAL without EMC and want to be able to read
>  messages that are wrapped in  rtapi_print_msg
> such as:
> 
> rtapi_print_msg(RTAPI_MSG_DBG, "INFO CLASSICLADDER--\n");
> 
> How do I set the message level?

echo 4 >| /proc/rtapi/debug


-- 
Sebastian Kuzminsky
sudden wind it stole my hat and i went on chasing it -- Gogol Bordello

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] (no subject)

2008-11-21 Thread Chris Morley

Gentlemen (Iuse the term loosely :):

I am using HAL without EMC and want to be able to read
 messages that are wrapped in  rtapi_print_msg
such as:

rtapi_print_msg(RTAPI_MSG_DBG, "INFO CLASSICLADDER--\n");

How do I set the message level?

When running halrun I see I can load it with -V for
verbose messages But it seems to only give a 
message about loading halcmd then ends.
I tried it with -I -V and just gives a message
about loading halcmd then seems to be quiet
after that.

Thanks
Chris Morley


_

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers