how to setup mesa 5i24 card with 7i48 board

More
29 Apr 2015 19:48 #58227 by mpvriens
Hello,

Trying to get this combination to work,
Have flashed the 5i24_16_svstua6_6_6_7i48 into eprom, and have tested successfully.
Now would like to get the pin connections working.
Have tried with PnCConf 5i25 and 7I77 and change 5i25 to 5i24 (suggestion by openyk ) , gives invalid parameters at the pci.ko file.
have looked for xml files of the 5i24_16_svstu6_6_6_7i48 , no luck.
Any suggestions ?

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

More
29 Apr 2015 20:21 #58228 by PCW
What version of linuxcnc? 5I24 support is fairly recent.

also including the ( trimmed) dmesg list might provide more info:

sudo dmesg -c
(run linuxcnc)
dmesg > log.txt

and post log.txt here

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

More
29 Apr 2015 21:46 #58231 by mpvriens
Versionof linuxcnc is V2.6.7
Please see attached file with log
Attachments:

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

More
29 Apr 2015 21:54 #58233 by andypugh
Unless you need the UARTs then adding "num_uarts=0" to he hm2 config line might do the trick.
The following user(s) said Thank You: mpvriens

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

More
29 Apr 2015 21:54 #58234 by PCW
Ahh thats a bug in the bitfile, If you dont need the UART I would use a different bitfile like:

5i24_16_sv12im_2x7i48.bit
The following user(s) said Thank You: mpvriens

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

More
29 Apr 2015 22:37 #58237 by mpvriens
Thanks this did the trick,
No errors at startup of axis, only now the encoders don't respond on motor movement by hand , do have the +5 volts on pin 6 but no encoder signal.

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

More
29 Apr 2015 22:50 #58239 by PCW
If you cant read the encoders (raw counts does not change or only changes 1 count)
I would check that the 7I48 is jumpered to match your encoder interface type
(single ended or differential) and if it still doesnt work, check your encoder signals at the 7I48

Measure single ended encoder signals relative to ground
(should be minimum of about 3V high and maximum of about 0.5V low)

Measure differential encoder signals _between_ A and /A or B and /B
the absolute voltage should always be > 1V or so (and polarity should alternate)
The following user(s) said Thank You: mpvriens

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

More
29 Apr 2015 22:52 #58240 by andypugh

Thanks this did the trick,
No errors at startup of axis, only now the encoders don't respond on motor movement by hand , do have the +5 volts on pin 6 but no encoder signal.


Can you see the A and B voltages changing with a multimeter? (you probably have to turn _very_ slowly.

Is the hm2_5i24.0.read function running?

Of the many possible ways to tell, the easiest for me to describe is:
open a terminal and type "halcmd show thread"
If the thread time shown is 0 then the realtime system is not running, and if hm2_....read isn't showing then something is a bit wrong in the HAL file.
The following user(s) said Thank You: mpvriens

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

More
01 May 2015 12:57 #58288 by mpvriens
Have the encoders running!

To setup the board with firmware sv12im_2x7i48 with Pncconfig Wizard, I have used the 5i20 board as it has this firmware available.
After configuration, have changed the 5i20 into 5i24 in my Hal file.

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

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