- Posts: 7
- Thank you received: 0
Mesa 7i76E+7i77 how to make work together?
- Fallountam
- Topic Author
- Offline
- New Member
-
I am building a 3.5 axis machine for wood processing. To drive the axes, Chinese-made servos are used, which perceive step and direction signals, but have encoder outputs for the CNC system. I would like to have feedback on the axis, but the 76E board does not work like that. On the shelf in the workshop there was a 7i77 board, which theoretically can help me read encoders. I made a connecting cable for them.
As I understand it, I need to flash the 7i76E board to work with 77. How to do this? PnCConf
Please tell me where to look and what to read on this topic. I'm just starting to study the Mesa boards and their settings
Thanks!
Please Log in to join the conversation.
Use mesa flash for changing the firmware.
Please Log in to join the conversation.
- Fallountam
- Topic Author
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
mesaflash --device 7i76e --addr 10.10.10.10 --write name_of_the_bit_file.bit
Please Log in to join the conversation.
Fallountam wrote: When these boards start working together, the servo control method will not be so important. The pulse method does not seem more resistant to possible interference.
Yes but you dont have the added advantage of FeedForward in the loop, among other advantages.
If you have the capability of velocity control why not use it?It is easier to setup in HAL also. There is the tuning aspect though.
just my thoughts.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
There are more inexpensive options to add encoder feedback to your 7i76e than a 7i77, such as a 7i85 or 7i89. (I understand that the 7i77 may have been at hand, but you may want it for a different project down the road.)
Please Log in to join the conversation.
Todd Zuercher wrote: Actually not true. With a closed loop setup the stepgens are controlled with a velocity command and a PID loop and tuned exactly the same way as an ordinary analog velocity command servo and have the same feed forward capabilities.
There are more inexpensive options to add encoder feedback to your 7i76e than a 7i77, such as a 7i85 or 7i89. (I understand that the 7i77 may have been at hand, but you may want it for a different project down the road.)
I didnt know that... Thanks
Please Log in to join the conversation.
- Fallountam
- Topic Author
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
I use 7i77 just because it already exists. I thought about 7i85, but I have no way to purchase this board in a reasonable amount of time. I am in Russia, and the local mesa dealers do not have a very large assortment.
A few years ago, I already made a small machine on the old Aerotech BA20 analog servos and boards 5i25 and 7i77. Then it did not seem difficult to me, most of the settings were available directly in PnCConf.
Please Log in to join the conversation.
- Fallountam
- Topic Author
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
user1@linuxcnc:~$ mesaflash --device 7i76e --addr 192.168.1.121 --write 7i76e_7i76x1_7i77x1D.bit
Checking file... OK
File type: BIT file
Boot sector OK
EEPROM sectors to write: 8, max sectors in area: 16
Erasing EEPROM sectors starting from 0x100000...
|EEEEEEEE
Programming EEPROM sectors starting from 0x100000...
|WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Board configuration updated successfully.
Checking file... OK
File type: BIT file
Boot sector OK
Verifying EEPROM sectors starting from 0x100000...
|VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Board configuration verified successfully.
user1@linuxcnc:~$ mesaflash --device 7i76e --sserial
SSLBP port 0:
SSLBP Version: 1.43
SSLBP Channels: 5
SSLBP Baud Rate: 2500000
sserial device at channel 0: 7I76 (unit 0x1A000392)
SwRevision = 14
HwRevision = 1
NVBaudRate = 2.5Mb
NVUnitNumber = 0x1A000392
NVWatchDogTimeout = 50ms
SOFTWARE MODE IO_Spin [index 00]
SOFTWARE MODE IO_Ana_Spin [index 01]
SOFTWARE MODE IO_Enc_Ana_Spin_FV [index 02]
as I understand it, in these lines only information on board 76 is indicated?
Please Log in to join the conversation.
1. After you flash a FPGA card, you must either power cycle the card or use mesaflashes --reload option:
mesaflash --device 7i76e --addr 192.168.1.121 --reload
(this loads the FPGA with the newly updated flash memory image)
2. I'm not sure how much the --sserial option reports but you should see the new pinout with:
mesaflash --device 7i76e --addr 192.168.1.121 --readhmid
Please Log in to join the conversation.
