5i20 + 7i48+ 2x 7i33

More
27 Apr 2012 15:50 #19586 by rover
5i20 + 7i48+ 2x 7i33 was created by rover
I try to get the combination 5i20 + 7i48 + 2x 7i33 running with the configuration wizard.
I use SV12_2X7I48_72 wit 24kHz
If i set the number of encoders and PWM generators to 12 (but only one card connected ) i get on the I/O 2 and three a configuration for the 7i48 , but only on connector 3 ( the connector without card ) i get a test panel
if i start the test panel of connector 2 i get a wite screen without analog devices
The third I/O card is working.
if i connect my 7i48 to connector 3 it works too
Does anybody know if it is possible to use the driver without 2 7i48 cards connected ?
how can i test the servo board without the wizard ?

thank you from Austria ,

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

More
27 Apr 2012 16:10 #19587 by PCW
Replied by PCW on topic Re:5i20 + 7i48+ 2x 7i33
The hostmot2 driver will support any I/O combination (it does not care about pinouts).
I would not enable more than 6 channels or you will get a spurious output on I/O 34 on P3 (the mux select pin for the second 7I48)

P2 is the first 7I48 connector so this looks like a pncconf/XML file bug of some kind

You can certainly test without pncconf by modifying the hm2-servo.hal and 5i20.ini files by hand and then using the calibrate panel in Axis aand HALScope to tune your PID parameters

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

More
27 Apr 2012 16:33 #19588 by andypugh
Replied by andypugh on topic Re:5i20 + 7i48+ 2x 7i33
rover wrote:

Does anybody know if it is possible to use the driver without 2 7i48 cards connected ?,


As far as I know both Stepconf and the Hostmot2 driver are completely unaware about whether there is a card connected to any output port.

However, a bitfile can only put the functional pins on particular physical pins. These pins can either have their primary function, or have that function disabled and be used for general purpose digital IO.

So, if you had a bitfile which created 72 PWM outputs on 3 ports, and you set up the LinuxCNC driver to only load 36 of them, then ports 0 would be all-PWM, port 1 would have PWM on pins 0 to 11, and GPIO on pins 12 to 23, and the other port of the 5i20 would be all GPIO.

You can see the pin assignment for that firmware in the vhd file that it is compield from here:
git.linuxcnc.org/gitweb?p=hostmot2-firmw...abfd863298c67a2f618f
(line 109 onwards). It should also be available as a .PIN file somewhere on your PC.

You can see that that firmware is intended for 2 x 7i48 and one connector of GPIO. Ports 1 and 2 have the 7i48pinout, and port 3 is left undefined.

I don't think that there are any firmwares that support both the 7i48 and the 7i33. It is probably possible to build one, and there are a number of us who are able to do that. (including, of course, Mesa electronics).

However, it might be better to swap the 2 x 7i33 for 1 x 7i48, then you have a connector of GPIO for other applications.

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

More
27 Apr 2012 16:42 #19589 by PCW
Replied by PCW on topic Re:5i20 + 7i48+ 2x 7i33
I am assuming that the OP meant 7I48 and 2x 7I37, so P2 is setup for PWM channels and encoders 0..5 for a 7I48, P3 can support a second 7I48 but only 6 encoder/pwm channels should be enabled, leaving P3 (and P4) as GPIO

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

More
27 Apr 2012 17:24 #19590 by cmorley
Replied by cmorley on topic Re:5i20 + 7i48+ 2x 7i33
if you have one 7i48 card set the encoders and pwm gens to 6 each. then the 7i48 card will be on I/O port 2.
I/O ports 3 and 4 then can be used for general I/O.

You need custom firmware to have a 7i48 and two 7i33 -and it may not be possible as it maybe bigger then the fpga can hold - Peter could tell you.

Don't use the test panel - It is probably broken - use the open loop test on the axis page.

the SV12_2x7i48_72 firmware or XML does have an error in it (the sv12im_2_7i48_72 is right it includes index mask pins).
I have reported it - it hasn't been fixed yet. Though I don't think it will effect you.

What cards do you actually have ?

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

More
27 Apr 2012 21:11 #19593 by rover
Replied by rover on topic Re:5i20 + 7i48+ 2x 7i37
Sorry for confusion , my configuration is one servo and two I/O cards.
Is this combination supported by the driver ?

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

More
27 Apr 2012 21:25 #19595 by andypugh
Replied by andypugh on topic Re:5i20 + 7i48+ 2x 7i37
rover wrote:

Sorry for confusion , my configuration is one servo and two I/O cards.
Is this combination supported by the driver ?


Yes, just choose 6 PWMGens and 6 Encoders.

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

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