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

2012-03-30 Thread Viesturs Lācis
2012/3/29 Viesturs Lācis viesturs.la...@gmail.com: 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 -

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

2012-03-30 Thread Peter C. Wallace
: Re: [Emc-users] Smart-serial and 7i43 2012/3/29 Viesturs L??cis viesturs.la...@gmail.com: 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

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

2012-03-30 Thread Viesturs Lācis
2012/3/30 Peter C. Wallace p...@mesanet.com: 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.

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

2012-03-30 Thread Peter C. Wallace
Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/30 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-30 Thread Viesturs Lācis
(EMC) emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/30 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-24 Thread Viesturs Lācis
2012/3/22 Peter C. Wallace p...@mesanet.com: 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 =

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

2012-03-22 Thread Viesturs Lācis
(EMC) emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-22 Thread Greg Bernard
22, 2012 9:04 AM Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/18 Peter C. Wallace p...@mesanet.com: On Sun, 18 Mar 2012, Viesturs L?cis wrote: Date: Sun, 18 Mar 2012 07:21:38 -0400 From: [UTF-8] Viesturs L?cis viesturs.la...@gmail.com Reply-To: Enhanced Machine Controller (EMC

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

2012-03-22 Thread Viesturs Lācis
2012/3/22 Greg Bernard yankeelena2...@yahoo.com: 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 Peter C. Wallace
) emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/22 Greg Bernard yankeelena2...@yahoo.com: 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

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 yankeelena2...@yahoo.com: 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:

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

2012-03-19 Thread Viesturs Lācis
2012/3/18 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-18 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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)mark.we...@nrl.navy.mil: 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

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

2012-03-18 Thread Viesturs Lācis
2012/3/18 Mark Wendt (Contractor) mark.we...@nrl.navy.mil: On 3/17/2012 1:08 PM, Viesturs Lācis wrote: 2012/3/17 Mark Wendt (Contractor)mark.we...@nrl.navy.mil: 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

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

2012-03-18 Thread Peter C. Wallace
Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-18 Thread Peter C. Wallace
Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-17 Thread Viesturs Lācis
2012/3/10 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-17 Thread Peter C. Wallace
Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/10 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-17 Thread Peter C. Wallace
: Re: [Emc-users] Smart-serial and 7i43 2012/3/17 Peter C. Wallace p...@mesanet.com: 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 No idea but hm2 has not changed

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

2012-03-17 Thread Peter C. Wallace
Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Viesturs Lācis viesturs.la...@gmail.com: 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

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ācisviesturs.la...@gmail.com: 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

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Mark Wendt (Contractor) mark.we...@nrl.navy.mil: 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

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Michał Geszkiewicz mic...@wp.pl: 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

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ł Geszkiewiczmic...@wp.pl: 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 mic...@wp.pl: 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

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ł Geszkiewiczmic...@wp.pl: Try use make without sudo Thanks, You are right, there is no sudo in wiki

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Michał Geszkiewicz mic...@wp.pl: 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

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ł Geszkiewiczmic...@wp.pl: If you execute 'git clean -x -d -f' in top of linuxcnc source directory, it will reset

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Michał Geszkiewicz mic...@wp.pl: 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,

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Michał Geszkiewicz mic...@wp.pl: 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,

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 viesturs.la...@gmail.com 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

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 manuals - Hal,

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

2012-03-17 Thread Peter C. Wallace
: Re: [Emc-users] Smart-serial and 7i43 Sorry, for the double-post, do not know, how did I do that... 2012. gada 17. marts 15:13 Viesturs L??cis viesturs.la...@gmail.com 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

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace p...@mesanet.com: 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:

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

2012-03-17 Thread Peter C. Wallace
Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-17 Thread Peter C. Wallace
Subject: Re: [Emc-users] Smart-serial and 7i43 2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace p...@mesanet.com: 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

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

2012-03-17 Thread Peter C. Wallace
: [Emc-users] Smart-serial and 7i43 On Sat, 17 Mar 2012, Viesturs L?cis wrote: Date: Sat, 17 Mar 2012 16:29:27 -0400 From: [UTF-8] Viesturs L?cis viesturs.la...@gmail.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc

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

2012-03-17 Thread Viesturs Lācis
2012/3/17 Peter C. Wallace p...@mesanet.com: 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

[Emc-users] Smart-serial and 7i43

2012-03-10 Thread Viesturs Lācis
Hello, gentlemen! I am trying to test the performance of 8i20 drive with my servo motors. I have 7i43 card, latest buildbot version 2.5.0-pre-2-916 and a firmware file, kindly provided by Andy Pugh. In INI file I have: CONFIG=firmware=hm2/7i43-4/SVSS4_8_48.BIT num_encoders=1 num_sserial=1

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 viesturs.la...@gmail.com wrote: Hello, gentlemen! I am trying to test the performance of 8i20 drive with my servo motors. I have

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

2012-03-10 Thread Peter C. Wallace
Subject: [Emc-users] Smart-serial and 7i43 Hello, gentlemen! I am trying to test the performance of 8i20 drive with my servo motors. I have 7i43 card, latest buildbot version 2.5.0-pre-2-916 and a firmware file, kindly provided by Andy Pugh. In INI file I have: CONFIG=firmware=hm2/7i43-4