Re: [Emc-users] Smart-serial and 7i43

2012-03-30 Thread Viesturs Lācis
2012/3/30 Peter C. Wallace : > On Fri, 30 Mar 2012, Viesturs L?cis wrote: > >> Date: Fri, 30 Mar 2012 23:27:30 +0300 >> From: "[UTF-8] Viesturs L?cis" >> Reply-To: "Enhanced Machine Controller (EMC)" >>     >> To: "Enhanced Machine Co

Re: [Emc-users] Smart-serial and 7i43

2012-03-30 Thread Peter C. Wallace
On Fri, 30 Mar 2012, Viesturs L?cis wrote: > Date: Fri, 30 Mar 2012 23:27:30 +0300 > From: "[UTF-8] Viesturs L?cis" > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Smart

Re: [Emc-users] Smart-serial and 7i43

2012-03-30 Thread Viesturs Lācis
2012/3/30 Peter C. Wallace : > > Is your RJ45 pin 3 high? (high than pin 6) if not you likely have the +/- > swapped on both RX and TX > Just to make sure that I correctly understand, what do You mean: Pin 3 is Txa for 8i20, so I have connected to non-inverted input of SN75179 chip. I really trie

Re: [Emc-users] Smart-serial and 7i43

2012-03-30 Thread Peter C. Wallace
On Fri, 30 Mar 2012, Viesturs L?cis wrote: Date: Fri, 30 Mar 2012 21:23:50 +0300 From: "[UTF-8] Viesturs L?cis" Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/29 V

Re: [Emc-users] Smart-serial and 7i43

2012-03-30 Thread Viesturs Lācis
2012/3/29 Viesturs Lācis : > > It is past 9 PM, so I will try to run LinuxCNC with 8i20 > attached tomorrow morning once more. Peter, today I tried again and the result is the same as before - "fault" led is turned on and I do not see 8i20 in "Show HAL config" under Pins -> hm2_7i43 -> 0. I have:

Re: [Emc-users] Smart-serial and 7i43

2012-03-24 Thread Viesturs Lācis
2012/3/22 Peter C. Wallace : > > You can check your converter by looping the RS-422 TX to RX > > (TX+ to RX+ TX- to RX-) > > and then togging the FPGA TX pin and seeing if the FPGA RX pin follows > (you would need to disable SSERIAL so you catn get contro of the pins as > GPIO = SSERIAL_PORT_0=

Re: [Emc-users] Smart-serial and 7i43

2012-03-22 Thread Kirk Wallace
On Thu, 2012-03-22 at 16:37 +0200, Viesturs Lācis wrote: > 2012/3/22 Greg Bernard : > > Do you have a usb to ttl converter? If so you could use a terminal program > > and do a loop-back test (connect RX to TX) > > No. > The converter I built is the very first scheme here: > http://www.kmitl.ac.t

Re: [Emc-users] Smart-serial and 7i43

2012-03-22 Thread Peter C. Wallace
On Thu, 22 Mar 2012, Viesturs L?cis wrote: Date: Thu, 22 Mar 2012 16:37:14 +0200 From: "[UTF-8] Viesturs L?cis" Reply-To: "Enhanced Machine Controller (EMC)" To: Greg Bernard , "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Smart-serial an

Re: [Emc-users] Smart-serial and 7i43

2012-03-22 Thread Viesturs Lācis
2012/3/22 Greg Bernard : > Do you have a usb to ttl converter? If  so you could use a terminal program > and do a loop-back test (connect RX to TX) No. The converter I built is the very first scheme here: http://www.kmitl.ac.th/~kswichit/Rs422/Rs422.pdf Viesturs

Re: [Emc-users] Smart-serial and 7i43

2012-03-22 Thread Greg Bernard
mc-users] Smart-serial and 7i43 > >2012/3/18 Peter C. Wallace : >> On Sun, 18 Mar 2012, Viesturs L?cis wrote: >> >>> Date: Sun, 18 Mar 2012 07:21:38 -0400 >>> From: "[UTF-8] Viesturs L?cis" >>> Reply-To: "Enhanced Machine Controller (EMC)&q

Re: [Emc-users] Smart-serial and 7i43

2012-03-22 Thread Viesturs Lācis
2012/3/18 Peter C. Wallace : > On Sun, 18 Mar 2012, Viesturs L?cis wrote: > >> Date: Sun, 18 Mar 2012 07:21:38 -0400 >> From: "[UTF-8] Viesturs L?cis" >> Reply-To: "Enhanced Machine Controller (EMC)" >>     >> To: "Enhanced Machine Co

Re: [Emc-users] Smart-serial and 7i43

2012-03-19 Thread Viesturs Lācis
2012/3/18 Peter C. Wallace : > > SSERIAL will not start a 8I20 unless the 8I20 has its drive enable powered and >>~45V motor power. (newer 8I20 firmware does allow starts under these > conditions) Do I need also to connect the motor for 8i20? Of course, I will need it, when I will try to run it, b

Re: [Emc-users] Smart-serial and 7i43

2012-03-18 Thread Peter C. Wallace
On Sun, 18 Mar 2012, Viesturs L?cis wrote: > Date: Sun, 18 Mar 2012 07:21:38 -0400 > From: "[UTF-8] Viesturs L?cis" > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Smart

Re: [Emc-users] Smart-serial and 7i43

2012-03-18 Thread Peter C. Wallace
On Sun, 18 Mar 2012, Viesturs L?cis wrote: > Date: Sun, 18 Mar 2012 07:21:38 -0400 > From: "[UTF-8] Viesturs L?cis" > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Smart

Re: [Emc-users] Smart-serial and 7i43

2012-03-18 Thread Viesturs Lācis
2012/3/18 Mark Wendt (Contractor) : > On 3/17/2012 1:08 PM, Viesturs Lācis wrote: >> 2012/3/17 Mark Wendt (Contractor): >> >>> You're missing at least the Boost.Python libraries for C++ (gcc). Dunno >>> what else you're missing since I don't know what you have on your >>> machine. ;-) >>> >> I just

Re: [Emc-users] Smart-serial and 7i43

2012-03-18 Thread Mark Wendt (Contractor)
On 3/17/2012 1:08 PM, Viesturs Lācis wrote: > 2012/3/17 Mark Wendt (Contractor): > >> You're missing at least the Boost.Python libraries for C++ (gcc). Dunno >> what else you're missing since I don't know what you have on your >> machine. ;-) >> > I just want to test one 8i20 servo drive,

Re: [Emc-users] Smart-serial and 7i43

2012-03-18 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace : > Heres tha latest I have(any SSERIAL with 5 registers has to be at least 6 > months old) So I got LinuxCNC to start up without errors. I have connected 8i20 drive to 7i43 card. 1) But I do not see it in "Show HAL config" (I expect it to appear there, if sserial modul

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace : > > Those number do not match what I have for the BOSSVSS config so that is not > a current bit file (John Murphy must have sent you an old one by mistake) > Configuration Name: HOSTMOT2 > > General configuration information: > >   Module: SSerial >   There are 1 of SSe

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Peter C. Wallace
On Sat, 17 Mar 2012, Peter C. Wallace wrote: > Date: Sat, 17 Mar 2012 13:33:56 -0700 (PDT) > From: Peter C. Wallace > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Smart-se

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace : > > Oh OK its a ancient bit file (dmesg is much more useful) So that means that You will send me something else, right? :)) Viesturs -- This SF email is sponsosred by: Try Windows Azure free

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Peter C. Wallace
On Sat, 17 Mar 2012, Viesturs L?cis wrote: > Date: Sat, 17 Mar 2012 16:29:27 -0400 > From: "[UTF-8] Viesturs L?cis" > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Smart

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace : > > Looks right, though it probably should have the right number of 0's or X's for > the number of sserial channels the config contains How do I find that out? The firmware is BOSSV.BIT, the one You sent to John Murphy a week or two ago. > what does dmesg say? I copi

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Peter C. Wallace
On Sat, 17 Mar 2012, Viesturs L?cis wrote: > Date: Sat, 17 Mar 2012 16:02:42 -0400 > From: "[UTF-8] Viesturs L?cis" > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Smart

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace : > > I cannot see how any of those errors are eveny vaguely related to the > bitfile I do understand that. The fact is that it works with this: CONFIG="firmware=hm2/7i43/SVST4_4B.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0" It does not work with this: CONFIG="firmw

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Peter C. Wallace
On Sat, 17 Mar 2012, Viesturs L?cis wrote: Date: Sat, 17 Mar 2012 15:21:33 -0400 From: "[UTF-8] Viesturs L?cis" Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Smart-serial and 7i43 Sorry, fo

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread John Prentice
Greetings > > And now what? > > I ran all these commands: > cd src > ./autogen.sh > ./configure > make > make install-menus > sudo make setuid > > They all completed successfully - I did not see any warning messages. > > But in Applications -> CNC I have 4 items - Getting started guide and > 3 manu

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
Sorry, for the double-post, do not know, how did I do that... 2012. gada 17. marts 15:13 Viesturs Lācis rakstīja: > > Anyway, I still get this in error message: > Can not find -sec MOT -var MOT -num 1 > Can not find -sec IO -var IO -num 1 > Can not find -sec TASK -var TASK_LD_PRELOAD -num 1 > Can

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Michał Geszkiewicz : > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_LinuxCNC#Running_emc2 > > running script is in ../scripts directory Thank You! It is working! That is for run-in-place, but I did not specify that. Did it automatically build with --run-in-place? If so, how can I

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Michał Geszkiewicz : > http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_LinuxCNC#Running_emc2 > > running script is in ../scripts directory Thank You! It is working! That is for run-in-place, but I did not specify that. Did it automatically build with --run-in-place? If so, how can I

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Michał Geszkiewicz
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_LinuxCNC#Running_emc2 running script is in ../scripts directory W dniu 17.03.2012 19:51, Viesturs Lācis pisze: > 2012/3/17 Michał Geszkiewicz: >> If you execute 'git clean -x -d -f' in top of linuxcnc source directory, >> it will reset to state

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Michał Geszkiewicz : > If you execute 'git clean -x -d -f' in top of linuxcnc source directory, > it will reset to state after clone Thanks, I will try to remember! And now what? I ran all these commands: cd src ./autogen.sh ./configure make make install-menus sudo make setuid They al

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Michał Geszkiewicz
If you execute 'git clean -x -d -f' in top of linuxcnc source directory, it will reset to state after clone regards Michael W dniu 17.03.2012 19:13, Viesturs Lācis pisze: > 2012/3/17 Michał Geszkiewicz: >> Try use make without sudo > > Thanks, You are right, there is no sudo in wiki page. > I st

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Michał Geszkiewicz : > Try use make without sudo Thanks, You are right, there is no sudo in wiki page. I still get some errors, so I deleted the code, will download it again and then retry. BTW a little off-topic: the command to clone the source from git is: git clone git://git.linuxcnc

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Michał Geszkiewicz
Try use make without sudo W dniu 17.03.2012 18:33, Viesturs Lācis pisze: > 2012/3/17 Michał Geszkiewicz: >> >> sudo apt-get install libboost-python-dev > > Thanks, that worked! > > ./configure completed successfully > > sudo make completedsuccessfully > > sudo make setuid terminates with error: >

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Michał Geszkiewicz : > > sudo apt-get install libboost-python-dev Thanks, that worked! ./configure completed successfully sudo make completedsuccessfully sudo make setuid terminates with error: viesturs@ubuntu:~/linuxcnc-dev/src$ sudo make setuid make: Entering directory `/home/viest

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Mark Wendt (Contractor) : > > You're missing at least the Boost.Python libraries for C++ (gcc). Dunno > what else you're missing since I don't know what you have on your > machine. ;-) I just want to test one 8i20 servo drive, no real machine to control. Where can I find, which exactly

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Michał Geszkiewicz
Try sudo apt-get install libboost-python-dev regards Michael W dniu 17.03.2012 17:52, Viesturs Lācis pisze: > 2012/3/17 Viesturs Lācis: > configure: error: boost::python is required to build LinuxCNC > -- This SF email

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Mark Wendt (Contractor)
On 3/17/2012 12:52 PM, Viesturs Lācis wrote: > 2012/3/17 Viesturs Lācis: > >> I will report back about my success. >> > So I uninstalled the buildbot version, got the source code and in > terminal executed: > > sudo apt-get build-dep emc2 > ./autogen.sh > ./configure > > The ./configure s

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Viesturs Lācis : > > I will report back about my success. So I uninstalled the buildbot version, got the source code and in terminal executed: sudo apt-get build-dep emc2 ./autogen.sh ./configure The ./configure script terminates with this error message (I copied all the lines from the

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace : > On Sat, 17 Mar 2012, Viesturs L?cis wrote: >> >> Peter, what am I supposed to have on PC for smart-serial module to work? >> The only thing I know of is inuxCNC 2.5.something. Is there anything else? > > Thats it > Then I have only the buildbot version to blame. That

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Peter C. Wallace
On Sat, 17 Mar 2012, Viesturs L?cis wrote: > Date: Sat, 17 Mar 2012 11:24:34 -0400 > From: "[UTF-8] Viesturs L?cis" > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Smart

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace : > > No idea but hm2 has not changed and NML is a totally different area of > LinuxCNC (isnt there some bug where you have to delete some nml file when > upgrading LinuxCNC?) AFAIK that was, when upgraded from 2.3.x to 2.4.x Peter, what am I supposed to have on PC for

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Peter C. Wallace
On Sat, 17 Mar 2012, Viesturs L?cis wrote: Date: Sat, 17 Mar 2012 11:11:21 -0400 From: "[UTF-8] Viesturs L?cis" Reply-To: "Enhanced Machine Controller (EMC)" To: "Enhanced Machine Controller (EMC)" Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/17 Pe

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace : > > > No I think its some other version  issue (nml has nothin to do with hm2) Ok, what else could it be? Last weak I downloaded the latest-at-that-moment buildbot version. Viesturs -- This S

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Peter C. Wallace
On Sat, 17 Mar 2012, Viesturs L?cis wrote: > Date: Sat, 17 Mar 2012 10:55:23 -0400 > From: "[UTF-8] Viesturs L?cis" > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Smart

Re: [Emc-users] Smart-serial and 7i43

2012-03-17 Thread Viesturs Lācis
2012/3/10 Peter C. Wallace : > > Looks like at least 2 problems, one is that the firmware and driver are > different versions (that firmware is fairly ancient) and the second problame > is that the config line syntax has changed (this should be fixable with man > hostmot2) John Murphy sent me a fi

Re: [Emc-users] Smart-serial and 7i43

2012-03-10 Thread Peter C. Wallace
On Sat, 10 Mar 2012, Viesturs L?cis wrote: > Date: Sat, 10 Mar 2012 04:30:11 -0500 > From: "[UTF-8] Viesturs L?cis" > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: [Emc-users] Smart-serial and 7i43 > > Hello, gentlemen! > > I am trying

Re: [Emc-users] Smart-serial and 7i43

2012-03-10 Thread John Murphy
Check with mr Wallace, I believe the smart serial firmware in git needs a couple patches. He got me setup last week. On Saturday, March 10, 2012, Viesturs Lācis wrote: > Hello, gentlemen! > > I am trying to test the performance of 8i20 drive with my servo motors. > I have 7i43 card, latest build