Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ?
- hardware_crash
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
07 Jun 2013 23:21 #35415
by hardware_crash
Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ? was created by hardware_crash
Hey Guys,
For an actual project i need to drive 4 Stepper drives with step/dir input and 1 Servo drive with Analog +-10V input.
Now i thought about using the Mesa 5i20 with an 7i37 for IO , the 7i52 S for the Stepper drives and the 7i33 for the Servo Drive..
Is this possible with the 5i20 ?
Or is there an easyer way to get this done ?
regards
Lukas
For an actual project i need to drive 4 Stepper drives with step/dir input and 1 Servo drive with Analog +-10V input.
Now i thought about using the Mesa 5i20 with an 7i37 for IO , the 7i52 S for the Stepper drives and the 7i33 for the Servo Drive..
Is this possible with the 5i20 ?
Or is there an easyer way to get this done ?
regards
Lukas
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
Less
More
- Posts: 1776
- Thank you received: 292
08 Jun 2013 00:00 #35416
by cncbasher
Replied by cncbasher on topic Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ?
look at the 5i25 with 7i76 7i76 has analog out for spindle
Please Log in or Create an account to join the conversation.
- hardware_crash
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
08 Jun 2013 00:03 #35417
by hardware_crash
Replied by hardware_crash on topic Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ?
Dear cncbasher,
I know that the 7i76 PNG would be the better choice but i have the parts called in my first post here so i prever to use them ..
Maybe the 7i47S is the better choice instead of a 7i33 and a 7i52S ?
regards Lukas
I know that the 7i76 PNG would be the better choice but i have the parts called in my first post here so i prever to use them ..
Maybe the 7i47S is the better choice instead of a 7i33 and a 7i52S ?
regards Lukas
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17903
- Thank you received: 4774
08 Jun 2013 00:34 #35422
by PCW
Replied by PCW on topic Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ?
Is the servo a true servo or an analog controlled spindle?
The 7I47S has a unipolar (0 to 10V) relatively slow analog output and a
direction signal which is more suited to spindle control than a true analog servo
The 7I47S has a unipolar (0 to 10V) relatively slow analog output and a
direction signal which is more suited to spindle control than a true analog servo
Please Log in or Create an account to join the conversation.
- hardware_crash
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
08 Jun 2013 17:21 #35449
by hardware_crash
Replied by hardware_crash on topic Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ?
Dear PCW,
The servo is a true servo with +-10V Inputs its an Indramat ecodrive dkc03..
So the mesa 7i47S also does not fit my needs ...
IS there a way to get a 7i52S and a 7i33 run together from a 5i20 ?
regards
Lukas
The servo is a true servo with +-10V Inputs its an Indramat ecodrive dkc03..
So the mesa 7i47S also does not fit my needs ...
IS there a way to get a 7i52S and a 7i33 run together from a 5i20 ?
regards
Lukas
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17903
- Thank you received: 4774
08 Jun 2013 20:24 #35452
by PCW
Replied by PCW on topic Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ?
Yes its possible, but will require a custom bitfile. I can make one next week
Please Log in or Create an account to join the conversation.
- hardware_crash
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
09 Jun 2013 04:24 #35453
by hardware_crash
Replied by hardware_crash on topic Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ?
Thank you very much PCW
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17903
- Thank you received: 4774
11 Jun 2013 06:38 #35512
by PCW
Replied by PCW on topic Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ?
freeby.mesanet.com/svsta_6_7i52s.zip
7I52S on P2
7I33 on P3
GPIO on P4
Note, because of hm2 driver limitations, all encoders are muxed
which means the 7I33 wastes 4 encoders, which also means I ran out of space in the 5I20s FPGA
so the last analog out channel on the 7I33 (PWM3) had to be eliminated.
This also means the encoders on the 7I33 are numbered strangely:
06 encoder 6 (7I33 chan 0)
07 copy of encoder 6
08 encoder 8 (7I33 chan 1)
09 copy of encoder 8
10 encoder 10 (7i33 chan 2)
11 copy of encoder 10
12 encoder 12 (7I33 chan3)
13 copy of encoder 12
7I52S on P2
7I33 on P3
GPIO on P4
Note, because of hm2 driver limitations, all encoders are muxed
which means the 7I33 wastes 4 encoders, which also means I ran out of space in the 5I20s FPGA
so the last analog out channel on the 7I33 (PWM3) had to be eliminated.
This also means the encoders on the 7I33 are numbered strangely:
06 encoder 6 (7I33 chan 0)
07 copy of encoder 6
08 encoder 8 (7I33 chan 1)
09 copy of encoder 8
10 encoder 10 (7i33 chan 2)
11 copy of encoder 10
12 encoder 12 (7I33 chan3)
13 copy of encoder 12
Please Log in or Create an account to join the conversation.
- hardware_crash
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
14 Jun 2013 23:16 - 14 Jun 2013 23:25 #35635
by hardware_crash
Replied by hardware_crash on topic Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ?
Dear PCW,
I tried to load the new firmware but linuxcnc stops with the following error:
In my INI File i wrote:
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i20
CONFIG="firmware=hm2/5i20/svsta_6_7i52s.bit num_encoders=0 num_pwmgens=3 num_stepgens=6 num_leds=1"
Is this correct ?
regards
lukas
I tried to load the new firmware but linuxcnc stops with the following error:
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.2
Machine configuration directory is '/home/user/linuxcnc/configs/hm2-stepper'
Machine configuration file is '5i20.ini'
INIFILE=/home/user/linuxcnc/configs/hm2-stepper/5i20.ini
PARAMETER_FILE=hm2-stepper.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=6942
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hm2_pci.ko': -1 Input/output error
hm2-stepper.hal:41: exit value: 1
hm2-stepper.hal:41: insmod failed, returned -1
See the output of 'dmesg' for more information.
6942
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 2929.152375] I-pipe: Domain RTAI registered.
[ 2929.152383] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 2929.152386] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 2929.152392] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 2929.152395] PIPELINE layers:
[ 2929.152398] fac3de20 9ac15d93 RTAI 200
[ 2929.152401] c085cb20 0 Linux 100
[ 2929.180855] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 2929.180974] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 2929.180980] RTAI[sched]: hard timer type/freq = APIC/8332339(Hz); default timing: periodic; linear timed lists.
[ 2929.180984] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1733268000 hz.
[ 2929.180987] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 2929.181078] RTAI[usi]: enabled.
[ 2929.252670] RTAI[math]: loaded.
[ 2929.327880] hm2: loading Mesa HostMot2 driver version 0.15
[ 2929.331737] hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
[ 2929.331770] hm2_pci: discovered 5i20 at 0000:01:03.0
[ 2929.331836] hm2_5i20.0: firmware: requesting hm2/5i20/svsta_6_7i52s.bit
[ 2929.475464] hm2_5i20.0: FPGA asserted /INIT: CRC error
[ 2929.475474] hm2/hm2_5i20.0: failed to program fpga, aborting hm2_register
[ 2929.475479] hm2_5i20.0: board fails HM2 registration
[ 2929.478966] hm2_pci: probe of 0000:01:03.0 failed with error -5
[ 2929.758901] hm2: unloading
[ 2929.798715] RTAI[math]: unloaded.
[ 2929.844054] SCHED releases registered named ALIEN RTGLBH
[ 2929.860268] RTAI[malloc]: unloaded.
[ 2929.960010] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 2929.962767] I-pipe: Domain RTAI unregistered.
[ 2929.962778] RTAI[hal]: unmounted.
In my INI File i wrote:
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i20
CONFIG="firmware=hm2/5i20/svsta_6_7i52s.bit num_encoders=0 num_pwmgens=3 num_stepgens=6 num_leds=1"
Is this correct ?
regards
lukas
Last edit: 14 Jun 2013 23:25 by hardware_crash.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17903
- Thank you received: 4774
14 Jun 2013 23:32 #35637
by PCW
Replied by PCW on topic Mesa 5i20 + 7i37 + 7i52S + 7i33 possible ?
Look like I sent the wrong bitfile somehow, will repackage today
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.074 seconds