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

2015-04-18 Thread Tom Easterday
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

 On Apr 17, 2015, at 8:01 PM, Chris Morley chrisinnana...@hotmail.com wrote:
 
 
 
 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


--
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-18 Thread Tom Easterday
I also notice that one can only choose 7i84 Mode 1 I/O Card or 7i84 Mode 3 
I/O Card” in the drop down.  The 7i84 manual talks about three modes 0,1 and 2:

MODE 0 - I/O only mode (32 bits of input data, 16 bit of output data)
MODE 1 - I/O plus analog input and field voltage mode (32 bits of input data, 
16 bits of output data, 4 analog input channels (on inputs 0..3) and field 
voltage analog in)

MODE 2 - I/O plus analog input (32 bits of input data, 16 bits of output data, 
4 analog input channels (on inputs 0..3), and 2 MPG encoders on inputs 16..19). 
Default encoder count mode is 1X to match normal 100 PPR MPGs. Encoder input 
threshold is fixed at 2.5V for compatibility with 5V encoder outputs. 

-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


[Emc-users] Unable to find a source package for linuxcnc

2015-04-18 Thread Jim Connery
I am attempting to build linuxcnc 2.7 on debian jessie. So far I have managed 
to build my RT kernel by simi following this: 
https://www.mail-archive.com/emc-users@lists.sourceforge.net/msg56649.html  
(Many thanks to Mr.Peter Wallace) which I updated to look like what follows so 
that I am using the current build:

cd ~
mkdir rtlinux
cd rtlinux
wget ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-3.18.11.tar.xz
wget 
https://www.kernel.org/pub/linux/kernel/projects/rt/3.18/patch-3.18.11-rt7.patch.gz
tar -xpf linux-3.18.11.tar.xz
gunzip patch-3.18.11-rt7.patch.gz
cp patch-3.18.11-rt7.patch linux-3.18.11
cd linux-3.18.11
cat patch-3.18.11-rt7.patch | patch -p1
ln -s linux-3.18.11/usr/src/linux-rt-preempt
make menuconfig

##Graphical Menu##

I configured the kernel as follows and left everything else as is.

Processor type and features --- [Enter]
Preemption Model (Voluntary Kernel Preemption (Desktop)) [Enter]
Fully Preemptible Kernel (RT) [Enter] #Select

[Esc][Esc]

Kernel hacking -- [Enter]
Memory Debugging [Enter]
Check for stack overflows #Already deselected - do not select


[Esc][Esc]


[Right Arrow][Right Arrow]

Save [Enter]

After saving I continue:

make -j3
make modules_install -j3
make install -j3
cd /boot
ls
update-grub
vim /boot/grub/grub.cfg

Reboot and it runs...

jim@Jim-PC:~$ uname -a
Linux Jim-PC 3.18.11-rt7 #1 SMP PREEMPT RT Sat Apr 18 09:10:13 CDT 2015 x86_64 
GNU/Linux

so far so good. My problems start when I try to get linuxcnc 2.7 as follows:

cd ~
sudo apt-get install git-core gitk git-gui (this works)
sudo apt-get build-dep linuxcnc (Here I get: E: Unable to find a source package 
for linuxcnc)

How do I get past this? 

(all this next!)
sudo apt-get install libudev-dev
git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev
git checkout 2.7
git pull
cd src
./autogen.sh
./configure --with-realtime=uspace
make
sudo make setuid
cd ..
. scripts/rip-environment

  
--
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-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


[Emc-users] Need a SWAG

2015-04-18 Thread Gene Heskett
Greetings;

I am in the midst of replacing the 28 volt motor supply on my mill with a 
48 volt contraption.

This should, all other things remaining equal, allow me to make my accel 
setting a little faster, and the MAX_VEL's a bunch faster.

Since I am going from 28 volts to 48 volts, is there a general rule of 
thumb way to determine the ratio of increase I can put in my .ini file?

Thanks everybody.

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

--
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] Unable to find a source package for linuxcnc

2015-04-18 Thread Sebastian Kuzminsky
On 04/18/2015 02:22 PM, Jim Connery wrote:
 I am attempting to build linuxcnc 2.7 on debian jessie. So far I have managed 
 to build my RT kernel by simi following this: 
 https://www.mail-archive.com/emc-users@lists.sourceforge.net/msg56649.html  
 (Many thanks to Mr.Peter Wallace) which I updated to look like what follows 
 so that I am using the current build:
...
 so far so good. My problems start when I try to get linuxcnc 2.7 as follows:
 
 cd ~
 sudo apt-get install git-core gitk git-gui (this works)
 sudo apt-get build-dep linuxcnc (Here I get: E: Unable to find a source 
 package for linuxcnc)

We don't yet build LinuxCNC packages for Debian Jessie, so apt-get
doesn't know how to build-dep it.


 How do I get past this? 
 
 (all this next!)
 sudo apt-get install libudev-dev
 git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
 cd linuxcnc-dev
 git checkout 2.7
 git pull
 cd src
 ./autogen.sh
 ./configure --with-realtime=uspace
 make
 sudo make setuid
 cd ..
 . scripts/rip-environment

The linuxcnc git repo contains all the info that eventually makes it
into the debian package, including the build dependencies.

Your best option is to skip the 'apt-get build-dep' step and use the
info from your clone of the git repo.

After the 'git checkout 2.7' and before the 'cd  src; ./autogen.sh', run
this:

cd debian
./configure uspace
cd ..
dpkg-checkbuilddeps

Then use apt-get to install all the packages it names.


-- 
Sebastian Kuzminsky

--
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