5i25 with Probotix Unity Controller Problems

More
09 Apr 2016 19:47 #73008 by Irritant
I am getting no where using the config wizard. One key thing I don't understand is how the pin numbers are associated with the 5i25 card. I have never seen any way to do this. I know what the pin numbers should be, I had it all running with CNC doing the stepping but I had some latency issues so I bought the 5i25 card. I have read the books and to be honest this stuff is so far over my head that I don't even have to duck. Len at Probotix says this combo should work okay if the pins are set correctly. Can anyone help me get this running?

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

More
09 Apr 2016 20:34 #73010 by PCW
What problems do you have?
( that is, what is working and what is not working? )

You can list the current 5I25 configurations pin and GPIO numbers with the mesaflash utility:

sudo mesaflash --device 5i25 --readhmid

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

More
09 Apr 2016 20:46 #73011 by Irritant
what folder do I need to be in?

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

More
09 Apr 2016 23:42 #73016 by PCW
it does not matter

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

More
10 Apr 2016 00:10 #73018 by Irritant
I guess it is not in my computer because it does not work. Where can I find it to install?

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

More
10 Apr 2016 00:19 #73020 by PCW
If you have a recent standard LinuxCNC installation, you should just have to:

sudo apt-get install mesaflash

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

More
10 Apr 2016 00:24 - 10 Apr 2016 00:29 #73021 by Irritant
It worked

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: QCount
There are 2 of QCount in configuration
Version: 2
Registers: 5
BaseAddress: 3000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: StepGen
There are 8 of StepGen in configuration
Version: 2
Registers: 10
BaseAddress: 2000
ClockFrequency: 33.333 MHz
Register Stride: 256 bytes
Instance Stride: 4 bytes

Module: PWM
There are 2 of PWM in configuration
Version: 0
Registers: 5
BaseAddress: 4100
ClockFrequency: 200.000 MHz
Register Stride: 256 bytes
Instance Stride: 4 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 None
14 1 IOPort PWM 0 PWM (Out)
2 2 IOPort StepGen 0 Step/Table1 (Out)
15 3 IOPort None
3 4 IOPort StepGen 0 Dir/Table2 (Out)
16 5 IOPort PWM 0 Dir (Out)
4 6 IOPort StepGen 1 Step/Table1 (Out)
17 7 IOPort None
5 8 IOPort StepGen 1 Dir/Table2 (Out)
6 9 IOPort StepGen 2 Step/Table1 (Out)
7 10 IOPort StepGen 2 Dir/Table2 (Out)
8 11 IOPort StepGen 3 Step/Table1 (Out)
9 12 IOPort StepGen 3 Dir/Table2 (Out)
10 13 IOPort None
11 14 IOPort QCount 0 Quad-A (In)
12 15 IOPort QCount 0 Quad-B (In)
13 16 IOPort QCount 0 Quad-IDX (In)

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

1 17 IOPort None
14 18 IOPort PWM 1 PWM (Out)
2 19 IOPort StepGen 4 Step/Table1 (Out)
15 20 IOPort None
3 21 IOPort StepGen 4 Dir/Table2 (Out)
16 22 IOPort PWM 1 Dir (Out)
4 23 IOPort StepGen 5 Step/Table1 (Out)
17 24 IOPort None
5 25 IOPort StepGen 5 Dir/Table2 (Out)
6 26 IOPort StepGen 6 Step/Table1 (Out)
7 27 IOPort StepGen 6 Dir/Table2 (Out)
8 28 IOPort StepGen 7 Step/Table1 (Out)
9 29 IOPort StepGen 7 Dir/Table2 (Out)
10 30 IOPort None
11 31 IOPort QCount 1 Quad-A (In)
12 32 IOPort QCount 1 Quad-B (In)
13 33 IOPort QCount 1 Quad-IDX (In)
Last edit: 10 Apr 2016 00:29 by Irritant.

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

More
10 Apr 2016 00:31 #73022 by Irritant
Since I have been fooling with this I have more than one config. How does it know which one it's reading? I copied this with it running the most correct config.

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

More
10 Apr 2016 00:42 #73023 by PCW
When you launch LinuxCNC you should have the option to choose the config
( by the ini file name )

You can also launch LinuxCNC from the command line with the ini
file name as the argument, for example:

LinuxCNC ~/linuxcnc/configs/7i76es1.ini

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

More
10 Apr 2016 00:45 - 10 Apr 2016 00:50 #73024 by Irritant
Yes I have launched the most correct config this way.


Out of this the estop is the only thing that works correctly.
Last edit: 10 Apr 2016 00:50 by Irritant.

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

Moderators: cmorley
Time to create page: 0.107 seconds
Powered by Kunena Forum