- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
19 Apr 2015 06:08 - 18 Jan 2016 18:07 #57884
by punking
Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25 was created by punking
My 3 axis mill was working fine except my communication board in the controller stopped working and I no longer could drip feed large amounts of code. I know everything with the amps + servos + tachometers + glass slides are all operating ,as I can still plug everything in and hand enter code into the controller and it operates fine.
I tuned the amps per the manual with a oscilloscope and have that portion of the machine seemingly tip-top shape.
I have Ubuntu running on a capable machine. I have linuxcnc 2.6 installed and all working. I have a Mesa 5i25 board feeding a 7i77 board - all seems fine. I have the Demo version of Linuxcnc working.
last weekend I connected the 3 axia encoders to the 7i77 and ran 12volts for field power. the encoders on my machine are single ended not differential( I jumpered the 7i77 accordingly for the 3 axis for single ended)
I was able to calibrate each axis beautifully with a plunge indicator and adjusted the resolution in pcconf so they work perfect.
**************
Question
**************
my problem is wiring the output in TB5
I don't know what to do.
in the photo the connections circled in red come from anilam cpu (sig, common)
so to mimak the old controller I just wired the
7i77 GND to Common in the red circle
7i77 AOUT0 to Sig in the red circle
* I don't know what to do with ENA0- and ENA0+
The info below is how the amplifiers themselves are wired:
pins on the amplifiers listed below are fed off of the wires circled in yellow
Pin 2,3,4
of Connector J-1
on Page 6 of westamp manual
these three are the only pins wired
pin2 = sig
pin3 = tach
pin4 = common
Manual for my westamp amplifier:
www.ormec.com/LinkClick.aspx?fileticket=...3d&tabid=168&mid=757
right now if I start up the mill and have Linux cnc idling all the axis drift in the negative direction.
any help would be greatly appreciated
I tuned the amps per the manual with a oscilloscope and have that portion of the machine seemingly tip-top shape.
I have Ubuntu running on a capable machine. I have linuxcnc 2.6 installed and all working. I have a Mesa 5i25 board feeding a 7i77 board - all seems fine. I have the Demo version of Linuxcnc working.
last weekend I connected the 3 axia encoders to the 7i77 and ran 12volts for field power. the encoders on my machine are single ended not differential( I jumpered the 7i77 accordingly for the 3 axis for single ended)
I was able to calibrate each axis beautifully with a plunge indicator and adjusted the resolution in pcconf so they work perfect.
**************
Question
**************
my problem is wiring the output in TB5
I don't know what to do.
in the photo the connections circled in red come from anilam cpu (sig, common)
so to mimak the old controller I just wired the
7i77 GND to Common in the red circle
7i77 AOUT0 to Sig in the red circle
* I don't know what to do with ENA0- and ENA0+
The info below is how the amplifiers themselves are wired:
pins on the amplifiers listed below are fed off of the wires circled in yellow
Pin 2,3,4
of Connector J-1
on Page 6 of westamp manual
these three are the only pins wired
pin2 = sig
pin3 = tach
pin4 = common
Manual for my westamp amplifier:
www.ormec.com/LinkClick.aspx?fileticket=...3d&tabid=168&mid=757
right now if I start up the mill and have Linux cnc idling all the axis drift in the negative direction.
any help would be greatly appreciated
Last edit: 18 Jan 2016 18:07 by punking. Reason: updated Photograph
Please Log in or Create an account to join the conversation.
19 Apr 2015 10:43 #57885
by PCW
Replied by PCW on topic Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
Its a bit awkward because the Westamp drives are normally enabled and you have to ground
a pin on the drive to _disable_ the drive.
One option is to tie each inhibit input (J1 pin 8) to common (J1 pin 9)
with a 1K resistor. This will have the effect of disabling all axis by pulling pin 8 down to ground.
Then connect the ENA+ pins on the 7I77 to the drives J1 pins 10 (+15V)
and the ENA- pins to the drives inhibit input (J1 pin 8 ).
This will pullup the inhibit lines and enable the drives when analog enable is true in the hal file
a pin on the drive to _disable_ the drive.
One option is to tie each inhibit input (J1 pin 8) to common (J1 pin 9)
with a 1K resistor. This will have the effect of disabling all axis by pulling pin 8 down to ground.
Then connect the ENA+ pins on the 7I77 to the drives J1 pins 10 (+15V)
and the ENA- pins to the drives inhibit input (J1 pin 8 ).
This will pullup the inhibit lines and enable the drives when analog enable is true in the hal file
The following user(s) said Thank You: punking
Please Log in or Create an account to join the conversation.
19 Apr 2015 17:24 #57888
by punking
Replied by punking on topic Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
ok i will work through with your idea. thank you so much.
chris
chris
Please Log in or Create an account to join the conversation.
19 Apr 2015 23:13 #57898
by punking
Replied by punking on topic Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
OK i have the ENA- on pin 8 with resister jumping pins 8 & 9 on amplifiers and ENA+ on pin 10 .
I can now energize the mill with the original reset button and the servos dont wander.
i have not completed the open loop test on any axis.
I noticed in PnCConf that i could set number of encoders to 3 but number of PWM generators was greyed out. shouldn't that be where i indicate how many amplifiers im running?
if i try to run the current setup in LinuxCnC i get 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-3.4-9-rtai-686-pae/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.6.7
Machine configuration directory is '/home/chrismoll/linuxcnc/configs/my_LinuxCNC_mill'
Machine configuration file is 'my_LinuxCNC_mill.ini'
INIFILE=/home/chrismoll/linuxcnc/configs/my_LinuxCNC_mill/my_LinuxCNC_mill.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=9892
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
my_LinuxCNC_mill.hal:51: parameter or pin 'hm2_5i25.0.7i77.0.1.analogout0-scalemax' not found
9892
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernal Information I didn't include.
any help is greatly appreciated!
chris
I can now energize the mill with the original reset button and the servos dont wander.
i have not completed the open loop test on any axis.
I noticed in PnCConf that i could set number of encoders to 3 but number of PWM generators was greyed out. shouldn't that be where i indicate how many amplifiers im running?
if i try to run the current setup in LinuxCnC i get 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-3.4-9-rtai-686-pae/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.6.7
Machine configuration directory is '/home/chrismoll/linuxcnc/configs/my_LinuxCNC_mill'
Machine configuration file is 'my_LinuxCNC_mill.ini'
INIFILE=/home/chrismoll/linuxcnc/configs/my_LinuxCNC_mill/my_LinuxCNC_mill.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=9892
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
my_LinuxCNC_mill.hal:51: parameter or pin 'hm2_5i25.0.7i77.0.1.analogout0-scalemax' not found
9892
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernal Information I didn't include.
any help is greatly appreciated!
chris
Please Log in or Create an account to join the conversation.
20 Apr 2015 02:31 #57907
by PCW
unless you have some other configuration problem in your hal or ini files,
the above often indicates that the 7I77 5V power is marginal or off
(so the analog I/O section is not running)
Replied by PCW on topic Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
my_LinuxCNC_mill.hal:51: parameter or pin 'hm2_5i25.0.7i77.0.1.analogout0-scalemax' not found
unless you have some other configuration problem in your hal or ini files,
the above often indicates that the 7I77 5V power is marginal or off
(so the analog I/O section is not running)
Please Log in or Create an account to join the conversation.
20 Apr 2015 06:50 #57917
by punking
Replied by punking on topic Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
i'll try feeding from an external powersupply rather than from the 5i25
thank you
chris
thank you
chris
Please Log in or Create an account to join the conversation.
20 Apr 2015 07:28 #57918
by PCW
Replied by PCW on topic Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
If you change the 7I77s 5V power source. make sure you change both the 7I77 and the 5I25s jumpers
Please Log in or Create an account to join the conversation.
20 Apr 2015 10:01 #57920
by punking
yes, will do
chris
Replied by punking on topic Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
If you change the 7I77s 5V power source. make sure you change both the 7I77 and the 5I25s jumpers
yes, will do
chris
Please Log in or Create an account to join the conversation.
25 Apr 2015 23:07 - 03 May 2015 00:54 #58119
by punking
Replied by punking on topic Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
i had quite the week (fighting a flu) and the hard drive in my computer quit working...duh.
resolved computer issue almost, and now get an error still when starting linuxcnc
i copied error message below:
resolved computer issue almost, and now get an error still when starting linuxcnc
i copied error message below:
Warning: Spoiler!
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-3.4-9-rtai-686-pae/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.6.7
Machine configuration directory is '/home/chrismoll/linuxcnc/configs/SuperMax_Anilam_SERVO'
Machine configuration file is 'SuperMax_Anilam_SERVO.ini'
INIFILE=/home/chrismoll/linuxcnc/configs/SuperMax_Anilam_SERVO/SuperMax_Anilam_SERVO.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=2897
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
.
insmod: error inserting '/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hm2_pci.ko': -1 Invalid parameters
SuperMax_Anilam_SERVO.hal:9: exit value: 1
SuperMax_Anilam_SERVO.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
2897
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
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-3.4-9-rtai-686-pae/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.6.7
Machine configuration directory is '/home/chrismoll/linuxcnc/configs/SuperMax_Anilam_SERVO'
Machine configuration file is 'SuperMax_Anilam_SERVO.ini'
INIFILE=/home/chrismoll/linuxcnc/configs/SuperMax_Anilam_SERVO/SuperMax_Anilam_SERVO.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
Killing task linuxcncsvr, PID=2897
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Debug file information:
.
insmod: error inserting '/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/hm2_pci.ko': -1 Invalid parameters
SuperMax_Anilam_SERVO.hal:9: exit value: 1
SuperMax_Anilam_SERVO.hal:9: insmod failed, returned -1
See the output of 'dmesg' for more information.
2897
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Last edit: 03 May 2015 00:54 by punking. Reason: consolidate error message
Please Log in or Create an account to join the conversation.
25 Apr 2015 23:23 #58122
by PCW
Replied by PCW on topic Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
[ 603.987467] hm2_pci: discovered 5i25 at 0000:01:06.0
[ 603.987514] hm2/hm2_5i25.0: invalid cookie, got 0xFFFFFFFF, expected 0x55AACAFE
[ 603.987518] hm2/hm2_5i25.0: FPGA failed to initialize, or unexpected firmware?
[ 603.987522] hm2_5i25.0: board fails HM2 regis
This indicates a hardware problem with the 5I25, most likely related to the PCI
interface.
The card was found (via slot addressing) but looks like perhaps the cookie address was wrong
= most likely unconnected pins on PCI bus
I would try cleaning the PCI slot and 5I25 contact fingers with 99% Isopropyl alcohol or
try another slot on the motherboard if one is available
[ 603.987514] hm2/hm2_5i25.0: invalid cookie, got 0xFFFFFFFF, expected 0x55AACAFE
[ 603.987518] hm2/hm2_5i25.0: FPGA failed to initialize, or unexpected firmware?
[ 603.987522] hm2_5i25.0: board fails HM2 regis
This indicates a hardware problem with the 5I25, most likely related to the PCI
interface.
The card was found (via slot addressing) but looks like perhaps the cookie address was wrong
= most likely unconnected pins on PCI bus
I would try cleaning the PCI slot and 5I25 contact fingers with 99% Isopropyl alcohol or
try another slot on the motherboard if one is available
Please Log in or Create an account to join the conversation.
Moderators: cmorley
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Anilam CrusaderM to Linuxcnc Mesa 7i77 + 5i25
Time to create page: 0.102 seconds