New Eagle Conversion
10 Feb 2017 19:02 #87775
by lakeweb
New Eagle Conversion was created by lakeweb
I've finally started on a conversion from Anilam 1400 to LinuxCNC. I believe this is an Eagle 200, the mill itself completely lacks any plates or other information. I've decided to place the electronics on a wall behind the mill.
I've mounted a 7i92 and 7i77 on an aluminum plate ready to go on the wall.
I've tested the servos with a dead AAA and they move just fine. But now the fun begins. I've never worked with Mesa boards and have questions. From what I see I can power the 7i92 from the 7i77. And that requires at least a 5 volt supply on TB1. And in my case I do want to leave it 'back powering' the 7i92. These are questions
Field power, I'm not sure I understand as every thing but the analog out can and will work with 5 volt levels. The position encoders are 5 volts.
I have installed the front page version of LinuxCNC on a PC. Is that the right version for the 7i92? Also, from what I understand, this is a Plain Jane setup. 5 volt positioning inputs and a single ended +=10 servo single. So I'm guessing the .bit file I need is off the shelf.
I've never worked with machine like this so it is all new to me.
Thanks, Dan.
I've mounted a 7i92 and 7i77 on an aluminum plate ready to go on the wall.
I've tested the servos with a dead AAA and they move just fine. But now the fun begins. I've never worked with Mesa boards and have questions. From what I see I can power the 7i92 from the 7i77. And that requires at least a 5 volt supply on TB1. And in my case I do want to leave it 'back powering' the 7i92. These are questions
![:) :)](/media/kunena/emoticons/smile.png)
I have installed the front page version of LinuxCNC on a PC. Is that the right version for the 7i92? Also, from what I understand, this is a Plain Jane setup. 5 volt positioning inputs and a single ended +=10 servo single. So I'm guessing the .bit file I need is off the shelf.
I've never worked with machine like this so it is all new to me.
Thanks, Dan.
Please Log in or Create an account to join the conversation.
10 Feb 2017 19:36 #87776
by PCW
Replied by PCW on topic New Eagle Conversion
You can back-power the 7I92 from the 7I77 5V as long as the 7I92 and 7I77 are jumpered to use cable 5V
(7I92 W4 UP, 7I77 W5 LEFT)
This works because the 7I92 only needs a few 100 mA of 5V power
(7I92 W4 UP, 7I77 W5 LEFT)
This works because the 7I92 only needs a few 100 mA of 5V power
The following user(s) said Thank You: lakeweb
Please Log in or Create an account to join the conversation.
11 Feb 2017 13:37 #87817
by BigJohnT
Ethernet cards need LinuxCNC Uspace. The Documents show how to install the Debian version. I sell a pre-loaded with Linux Mint with LinuxCNC Uspace loaded.
www.mesaus.com/info/7i92.txt
JT
Replied by BigJohnT on topic New Eagle Conversion
I have installed the front page version of LinuxCNC on a PC. Is that the right version for the 7i92?
Ethernet cards need LinuxCNC Uspace. The Documents show how to install the Debian version. I sell a pre-loaded with Linux Mint with LinuxCNC Uspace loaded.
www.mesaus.com/info/7i92.txt
JT
The following user(s) said Thank You: lakeweb
Please Log in or Create an account to join the conversation.
11 Feb 2017 18:29 - 11 Feb 2017 19:43 #87832
by lakeweb
Replied by lakeweb on topic New Eagle Conversion
Hi,
Yes, I learned I needed the uspace version. I'm booting from 3.4-9-rtai-686-pae.
And:
I followed all the instructions here: Installing on Debian Wheezy (with Preempt-RT kernel)
I've set the network card to manual, the Ethernet lights on both the computer and the 7i92 are flashing away. But when I try to ping...
BIG UPDATE!
I looked at the LEDs blinking and it was just not right. I pulled this cable I had marked 'crossover' from a box and assumed. I took a good look at the colors, sure enough, they where not right. I cut the crossover end off and re-crimped it. Now I can ping the 7i92. Now I will try to mesaflash. I'm assuming, (I do a lot of that assuming stuff.), that the 7i22X2 is fine for one 7i22 board. I'm off to work on this... I'm at:
Yes, I learned I needed the uspace version. I'm booting from 3.4-9-rtai-686-pae.
And:
dan@debian:~$ uname -v
#1 SMP PREEMPT Debian 3.4.55-4linuxcnc
I followed all the instructions here: Installing on Debian Wheezy (with Preempt-RT kernel)
I've set the network card to manual, the Ethernet lights on both the computer and the 7i92 are flashing away. But when I try to ping...
BIG UPDATE!
I looked at the LEDs blinking and it was just not right. I pulled this cable I had marked 'crossover' from a box and assumed. I took a good look at the colors, sure enough, they where not right. I cut the crossover end off and re-crimped it. Now I can ping the 7i92. Now I will try to mesaflash. I'm assuming, (I do a lot of that assuming stuff.), that the 7i22X2 is fine for one 7i22 board. I'm off to work on this... I'm at:
dan@debian:~$ mesaflash --device 7i92 --write 7i92_7i77x2.bit --addr 192.168.1.121
Can't find file 7i92_7i77x2.bit
You must power cycle board or use --reload command to load updated firmware.
Last edit: 11 Feb 2017 19:43 by lakeweb.
Please Log in or Create an account to join the conversation.
11 Feb 2017 21:14 - 11 Feb 2017 21:18 #87842
by PCW
Replied by PCW on topic New Eagle Conversion
The 7I92 does not require a crossover cable (it will work but its not required)
any standard CAT5 cable will work
For a 7I77 daughter card you will want to use 7i92_7i77x2D.bit
This is in the 7I92.zip support file from Mesa
This is an RTAI kernel, not a Preempt-RT kernel so will not work with hm2_eth
The kernel name should have SMP PREEMPT RT in it
(note the "RT")
Something like:
4.9.6-rt4 #1 SMP PREEMPT RT Wed Feb 1 07:42:19 PST 2017 i686 i686 i686 GNU/Linux
any standard CAT5 cable will work
For a 7I77 daughter card you will want to use 7i92_7i77x2D.bit
This is in the 7I92.zip support file from Mesa
I'm booting from 3.4-9-rtai-686-pae.
This is an RTAI kernel, not a Preempt-RT kernel so will not work with hm2_eth
The kernel name should have SMP PREEMPT RT in it
(note the "RT")
Something like:
4.9.6-rt4 #1 SMP PREEMPT RT Wed Feb 1 07:42:19 PST 2017 i686 i686 i686 GNU/Linux
Last edit: 11 Feb 2017 21:18 by PCW.
Please Log in or Create an account to join the conversation.
12 Feb 2017 00:13 #87848
by lakeweb
Replied by lakeweb on topic New Eagle Conversion
OK, I'm up to here. I have the servo flashed, I'm just not sure about the PWM pins, are they not labeled? I'll post below. But I can get all the way to here now:
from the console:
Debug file information:
Note: Using POSIX realtime
./hm2-servo.hal:45: parameter or pin 'hm2_7i92.0.pwmgen.pwm_frequency' not found
5356
from the console:
halcmd: loadrt hostmot2
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
halcmd: loadrt hm2_eth board_ip=192.168.1.121
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 192.168.1.121: Hardware address: 00:60:1b:13:00:ce
hm2_eth: discovered 7I92
hm2/hm2_7i92.0: Smart Serial Firmware Version 43
Board hm2_7i92.0.7i77.0.1 Hardware Mode 0 = standard
Board hm2_7i92.0.7i77.0.1 Software Mode 0 = analogout_enables
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0: IO Pin 000 (P2-01): IOPort
hm2/hm2_7i92.0: IO Pin 001 (P2-14): IOPort
hm2/hm2_7i92.0: IO Pin 002 (P2-02): IOPort
hm2/hm2_7i92.0: IO Pin 003 (P2-15): Smart Serial Interface #0, pin TxData1 (Output)
hm2/hm2_7i92.0: IO Pin 004 (P2-03): Smart Serial Interface #0, pin RxData1 (Input)
hm2/hm2_7i92.0: IO Pin 005 (P2-16): IOPort
hm2/hm2_7i92.0: IO Pin 006 (P2-04): IOPort
hm2/hm2_7i92.0: IO Pin 007 (P2-17): Muxed Encoder Select #0, pin Mux Select 0 (Output)
hm2/hm2_7i92.0: IO Pin 008 (P2-05): Muxed Encoder #0, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 009 (P2-06): Muxed Encoder #0, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 010 (P2-07): Muxed Encoder #0, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 011 (P2-08): Muxed Encoder #1, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 012 (P2-09): Muxed Encoder #1, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 013 (P2-10): Muxed Encoder #1, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 014 (P2-11): Muxed Encoder #2, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 015 (P2-12): Muxed Encoder #2, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 016 (P2-13): Muxed Encoder #2, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 017 (P1-01): IOPort
hm2/hm2_7i92.0: IO Pin 018 (P1-14): IOPort
hm2/hm2_7i92.0: IO Pin 019 (P1-02): IOPort
hm2/hm2_7i92.0: IO Pin 020 (P1-15): IOPort
hm2/hm2_7i92.0: IO Pin 021 (P1-03): IOPort
hm2/hm2_7i92.0: IO Pin 022 (P1-16): IOPort
hm2/hm2_7i92.0: IO Pin 023 (P1-04): IOPort
hm2/hm2_7i92.0: IO Pin 024 (P1-17): Muxed Encoder Select #6, pin Mux Select 0 (Output)
hm2/hm2_7i92.0: IO Pin 025 (P1-05): Muxed Encoder #3, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 026 (P1-06): Muxed Encoder #3, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 027 (P1-07): Muxed Encoder #3, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 028 (P1-08): Muxed Encoder #4, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 029 (P1-09): Muxed Encoder #4, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 030 (P1-10): Muxed Encoder #4, pin Muxed Index (Input)
hm2/hm2_7i92.0: IO Pin 031 (P1-11): Muxed Encoder #5, pin Muxed A (Input)
hm2/hm2_7i92.0: IO Pin 032 (P1-12): Muxed Encoder #5, pin Muxed B (Input)
hm2/hm2_7i92.0: IO Pin 033 (P1-13): Muxed Encoder #5, pin Muxed Index (Input)
hm2/hm2_7i92.0: registered
Please Log in or Create an account to join the conversation.
12 Feb 2017 00:28 #87849
by PCW
Replied by PCW on topic New Eagle Conversion
There are no PWM pins, you must have started with a hal file for different hardware
I would suggest starting with a pncconf created 5i25/7i77 config,
replacing every instance of "5i25" with "7i92"
"hm2_pci" with "hm2_eth" any patching the config line by adding the ip address token
I would suggest starting with a pncconf created 5i25/7i77 config,
replacing every instance of "5i25" with "7i92"
"hm2_pci" with "hm2_eth" any patching the config line by adding the ip address token
The following user(s) said Thank You: lakeweb
Please Log in or Create an account to join the conversation.
12 Feb 2017 01:18 - 12 Feb 2017 01:48 #87850
by lakeweb
Replied by lakeweb on topic New Eagle Conversion
I found a hm2-servo7i77.hal that looked good and just pointed from 7i92.ini. I got way farther, just:
I won't need that to test the DRO pins, that would be next. But I'd guess it is real important when I start applying power to the servos. I also had to comment:
But then, my machine has no homing switches yet anyway.
linuxcnc is up and running now!!!! Thanks.
But I'm still unclear how the servo drive works without PWM outputs??
Best, Dan.
Note: Using POSIX realtime
HAL: ERROR: function 'hm2_7i92.0.pet_watchdog' not found
./hm2-servo7i77.hal:64: addf failed
I won't need that to test the DRO pins, that would be next. But I'd guess it is real important when I start applying power to the servos. I also had to comment:
net home-switch <= hm2_[HOSTMOT2](BOARD).0.7i77.0.0.input-00
net home-switch => axis.0.home-sw-in
net home-switch => axis.1.home-sw-in
net home-switch => axis.2.home-sw-in
But then, my machine has no homing switches yet anyway.
linuxcnc is up and running now!!!! Thanks.
But I'm still unclear how the servo drive works without PWM outputs??
Best, Dan.
Last edit: 12 Feb 2017 01:48 by lakeweb.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6220
12 Feb 2017 02:41 #87854
by tommylight
Replied by tommylight on topic New Eagle Conversion
7i77 has 6 analog outputs, not PWM, meaning the 7i77 can produce analog voltage ranging from -10 V to +10 V. It most probably uses high resolution DAC ( digital to analog converters ) for that.
As usual PCW, feel free to correct me if i am wrong. I am still learning the inner functiong of mesa cards, hands on experience only for the last 2 months.
Regards,
Tom
As usual PCW, feel free to correct me if i am wrong. I am still learning the inner functiong of mesa cards, hands on experience only for the last 2 months.
Regards,
Tom
The following user(s) said Thank You: lakeweb
Please Log in or Create an account to join the conversation.
12 Feb 2017 04:21 #87855
by lakeweb
Replied by lakeweb on topic New Eagle Conversion
Hi Tom,
Thanks, I was figuring something like that. I'm two months behind you.
I did read your whole thread, it was helpful. I'm getting the idea that the Mesa system is very well thought out. It is just that every application is different, so we have to roll our own.
Thanks, I was figuring something like that. I'm two months behind you.
![:) :)](/media/kunena/emoticons/smile.png)
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.148 seconds