NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: 5i20 + 7i48+ 2x 7i33

5i20 + 7i48+ 2x 7i33 27 Apr 2012 08:50 #19586

  • rover
  • rover's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 1
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 ,
The administrator has disabled public write access.

Re:5i20 + 7i48+ 2x 7i33 27 Apr 2012 09:10 #19587

  • PCW
  • PCW's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1644
  • Thank you received: 86
  • Karma: 116
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
The administrator has disabled public write access.

Re:5i20 + 7i48+ 2x 7i33 27 Apr 2012 09:33 #19588

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4090
  • Thank you received: 139
  • Karma: 129
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.
The administrator has disabled public write access.

Re:5i20 + 7i48+ 2x 7i33 27 Apr 2012 09:42 #19589

  • PCW
  • PCW's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1644
  • Thank you received: 86
  • Karma: 116
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
The administrator has disabled public write access.

Re:5i20 + 7i48+ 2x 7i33 27 Apr 2012 10:24 #19590

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1484
  • Thank you received: 40
  • Karma: 89
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 ?
The administrator has disabled public write access.

Re:5i20 + 7i48+ 2x 7i37 27 Apr 2012 14:11 #19593

  • rover
  • rover's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 1
Sorry for confusion , my configuration is one servo and two I/O cards.
Is this combination supported by the driver ?
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: cmorley
Time to create page: 1.157 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.