Mesa 5i25 & 7i77 bios

More
19 Dec 2019 19:45 #152922 by PCW
Replied by PCW on topic Mesa 5i25 & 7i77 bios
Its not likely to have damaged anything, you just don't want the drive to try to power the 7I77 or argue with the 7I77s 5V supply

Please Log in or Create an account to join the conversation.

More
19 Dec 2019 19:55 #152923 by barisduzenli
Replied by barisduzenli on topic Mesa 5i25 & 7i77 bios
Yes, I clearly got it. I was very careful before I decide to energized 7i77. But also you are very helpful in the forum. Thank you very much. I will like to share about developments tomorrow

Please Log in or Create an account to join the conversation.

More
20 Dec 2019 18:42 #152964 by barisduzenli
Replied by barisduzenli on topic Mesa 5i25 & 7i77 bios
Hello PCW,

I wired encoder output pins on CN1 to 7i77 as you mentioned. And yes it works. Thank you.
When I turn servo's shaft by hand, each axis' encoder is changing 0.12 for a lap.

But I have another problem now.

When we start linuxcnc without any mdi command or manual click command. Servos start to run. They accelerates quickly to top speed and stops instantly. And I do not know why, one of the three servos does not turn.

If this may cause of tuneless, yes I forget to try servo tuning tutorial gnipsel.com/linuxcnc/tuning/servo.html you have mentioned before.
If not I do not know what I have to do.

For tomorrow, nothing there is in my mind except trying servo tuning tutorial.


I wired
Driver's CN1 7i77's TB3

Opt_A (pin 21) to QA0 (Pin 1)
Opt_/A (pin 22) to /QA0 (Pin 2)
GND (pin 19) to GND (Pin 3)
Opt_B (pin 23) to QB0 (Pin 4)
Opt_/B (pin 25) to /QB0 (Pin 5)
Others are unconnected that I saw another post.,

tommylight wrote:

SPH wrote: TB3 PIN FUNCTION DIR

1 QA0 TO 7I77 PA+ pin 20
2 /QA0 TO 7I77 PA- pin19
3 GND FROM 7I77 GND pin 1
4 QB0 TO 7I77 PB+ pin 18
5 /QB0 TO 7I77 PB- pin 17
6 +5V FROM 7I77 do not connect
7 IDX0 TO 7I77 do not connect
8 /IDX0 TO 7I77 do not connect

Also +-10V from Mesa to pin 25 and 13 respectively .
Drive enable from Mesa to pin 29 and 9.


And, this topic may wrong to ask kind problems. I may open a new topic.

Please Log in or Create an account to join the conversation.

More
20 Dec 2019 18:58 #152966 by PCW
Replied by PCW on topic Mesa 5i25 & 7i77 bios

When we start linuxcnc without any mdi command or manual click command. Servos start to run. They accelerates quickly to top speed and stops instantly. And I do not know why, one of the three servos does not turn.


This is expected if the feedback is backwards (and you have a 50% chance of this on a new retrofit)

Once you have the encoder position read-out correct (correct scaling _and_ direction)
you may have to reverse the analog polarity on the hal file to get the desired negative feedback
This is done by changing the sign of the "scalemax" parameter

Please Log in or Create an account to join the conversation.

More
20 Dec 2019 20:45 #152969 by jeffie-3
Replied by jeffie-3 on topic Mesa 5i25 & 7i77 bios
One of the reason I have asked. I had 2 5i25 cards/ When everything was put together. The guy who helped build the system kept one and install the other one. One was old and one was new.

Here is the output when I ran mesaflash --device 5i25 --readhmid


Configuration Name: HOSTMOT2

General configuration information:

BoardName : MESA5I25
FPGA Size: 9 KGates
FPGA Pins: 144
Number of IO Ports: 2
Width of one I/O port: 17
Clock Low frequency: 33.3333 MHz
Clock High frequency: 200.0000 MHz
IDROM Type: 3
Instance Stride 0: 4
Instance Stride 1: 64
Register Stride 0: 256
Register Stride 1: 256

Modules in configuration:

Module: WatchDog
There are 1 of WatchDog in configuration
Version: 0
Registers: 3
BaseAddress: 0C00
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: IOPort
There are 2 of IOPort in configuration
Version: 0
Registers: 5
BaseAddress: 1000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: MuxedQCount
There are 12 of MuxedQCount in configuration
Version: 3
Registers: 5
BaseAddress: 3500
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: MuxedQCountSel
There are 1 of MuxedQCountSel in configuration
Version: 0
Registers: 0
BaseAddress: 0000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: SSerial
There are 1 of SSerial in configuration
Version: 0
Registers: 6
BaseAddress: 5A00
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 64 bytes

Module: LED
There are 1 of LED in configuration
Version: 0
Registers: 1
BaseAddress: 0200
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for P3
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir

1 0 IOPort SSerial 0 TXEn3 (Out)
14 1 IOPort SSerial 0 TXData3 (Out)
2 2 IOPort SSerial 0 RXData3 (In)
15 3 IOPort SSerial 0 TXData2 (Out)
3 4 IOPort SSerial 0 RXData2 (In)
16 5 IOPort SSerial 0 TXData1 (Out)
4 6 IOPort SSerial 0 RXData1 (In)
17 7 IOPort MuxedQCountSel 0 MuxSel0 (Out)
5 8 IOPort MuxedQCount 0 MuxQ-A (In)
6 9 IOPort MuxedQCount 0 MuxQ-B (In)
7 10 IOPort MuxedQCount 0 MuxQ-IDX (In)
8 11 IOPort MuxedQCount 1 MuxQ-A (In)
9 12 IOPort MuxedQCount 1 MuxQ-B (In)
10 13 IOPort MuxedQCount 1 MuxQ-IDX (In)
11 14 IOPort MuxedQCount 2 MuxQ-A (In)
12 15 IOPort MuxedQCount 2 MuxQ-B (In)
13 16 IOPort MuxedQCount 2 MuxQ-IDX (In)

IO Connections for P2
Pin# I/O Pri. func Sec. func Chan Pin func Pin Dir

1 17 IOPort SSerial 0 TXEn6 (Out)
14 18 IOPort SSerial 0 TXData6 (Out)
2 19 IOPort SSerial 0 RXData6 (In)
15 20 IOPort SSerial 0 TXData5 (Out)
3 21 IOPort SSerial 0 RXData5 (In)
16 22 IOPort SSerial 0 TXData4 (Out)
4 23 IOPort SSerial 0 RXData4 (In)
17 24 IOPort MuxedQCountSel 3 MuxSel0 (Out)
5 25 IOPort MuxedQCount 3 MuxQ-A (In)
6 26 IOPort MuxedQCount 3 MuxQ-B (In)
7 27 IOPort MuxedQCount 3 MuxQ-IDX (In)
8 28 IOPort MuxedQCount 4 MuxQ-A (In)
9 29 IOPort MuxedQCount 4 MuxQ-B (In)
10 30 IOPort MuxedQCount 4 MuxQ-IDX (In)
11 31 IOPort MuxedQCount 5 MuxQ-A (In)
12 32 IOPort MuxedQCount 5 MuxQ-B (In)
13 33 IOPort MuxedQCount 5 MuxQ-IDX (In)

Please Log in or Create an account to join the conversation.

More
20 Dec 2019 20:49 #152970 by tommylight
Replied by tommylight on topic Mesa 5i25 & 7i77 bios
@barisduzenli
you really need to read this, thoroughly.
forum.linuxcnc.org/10-advanced-configura...ning-detailed-how-to

Please Log in or Create an account to join the conversation.

More
21 Dec 2019 03:20 #152983 by jeffie-3
Replied by jeffie-3 on topic Mesa 5i25 & 7i77 bios
So is my 5i25 up to date or do I need to update it?

Please Log in or Create an account to join the conversation.

More
21 Dec 2019 05:28 #152986 by PCW
Replied by PCW on topic Mesa 5i25 & 7i77 bios
Its probably fine unless its 3 or more years old, in which case you should just re-flash it with
5i25_7i77x2.bit firmware

Please Log in or Create an account to join the conversation.

More
21 Dec 2019 20:52 #153003 by jeffie-3
Replied by jeffie-3 on topic Mesa 5i25 & 7i77 bios
That is the problem. I don't know. One was 5 years old. One was two years old. I don't know which one got used. That is why I am trying to figure it out.
I guess I just need to go ahead and flash it. I have downloaded on to a jump drive the 5i25.zip file from mesa. Could you give me step by step instructions. I understand dos well, just not linux.

Thank you,

Jeff

Please Log in or Create an account to join the conversation.

More
21 Dec 2019 21:34 #153005 by PCW
Replied by PCW on topic Mesa 5i25 & 7i77 bios
(all from the command line)
First copy 5i25.zip file to your hard drive (in your home directory) and unzip it

cd to configs/hostmot2

then run the mesaflash command:

sudo mesaflash --device 5i25 --write 5i25_7i77x2.bit

If the mesaflash commend is not present, you will need to install it

On a standard LinuxCNC distribution you should be able to install mesaflash with

sudo apt-get install mesaflash
The following user(s) said Thank You: jeffie-3

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.155 seconds
Powered by Kunena Forum