Hi everyone,
I installed new pci express card with two parallel ports, and I can't get any
signal out of it. I am trying to connect it to two c10 boards which are working
fine with mach.
lspci -v feedback is:
Communication controller: NetMos Technology PCI 9815 Multi-I/O Controller (rev
Hi everyone,
I installed new pci express card with two parallel ports, and I can't
get any signal out of it. I am trying to connect it to two c10 boards
which are working fine with mach. lspci -v feedback is:
Communication controller: NetMos Technology PCI 9815 Multi-I/O
Controller (rev
I was looking for Mesa combination with 5i25 + daughtercard but I need outputs
for 6 steppers because of gantry construction of machine frame. 7i76 has 5
dedicated outputs. Can I use other outputs for motor as well?
Yes, Mesa 5i25 + 7i76... you can swap the 7i76 for a 7i77 when you
change
I was looking for Mesa combination with 5i25 + daughtercard but I need
outputs for 6 steppers because of gantry construction of machine frame.
7i76 has 5 dedicated outputs. Can I use other outputs for motor as well?
The default 5I25 config when used with the 7I76 is a dual 7I76
Just to inform about this problem I had with trying to make parallel card work
on PCIe bus (based on Netmos , I gave up on it, and go with two cards on PCI
bus, and it works form first second I installed them in computer case. Thees
two are based on Netmos 9865.
Hi all,
I'm in process to setup my 5 axis milling machine (gantry construction), and I
managed to configure all axes, so I can home all of them and then switch to
world. There I can enter some code to test all axes and they run with no
problem with G0 speed (3000mm/min linear) all at the same
Problem solved, Thank you!
Regards!
Hi
See Integrator Manual Chap 4.2.8
In [TRAJ] section of ini file, set
DEFAULT_VELOCITY=
DEFAULT_ACCELERATION=
to figures far lower than your current MAX figures (1/4 at least) and
experiment from there
Acceleration is the one which causes the
HI all,
I'm trying to compile slightly modified kinematics file (5axiskins.c), but I
get some warnings:
So, I renamed file to my5axiskins.c and copy it
into /usr/realtime-2.6.32-122-rtai/modules/emc2# and run compile and install
(sudo --comp install ), but I recevie this message:
Sorry, forgot to enter subject on previous one
I'm trying to compile slightly modified kinematics file (5axiskins.c), but I
get some warnings:So, I renamed file to my5axiskins.c and copy it into
/usr/realtime-2.6.32-122-rtai/modules/emc2# and run compile and install (sudo
--comp install
Maybe I should also change lines 110, 115, 117 in my modified kinematics file,
to new name my5axiskins?
107 int comp_id; 108 int rtapi_app_main(void) { 109 int result;
110 comp_id = hal_init(5axiskins); 111 if(comp_id 0) return
comp_id; 112 113 haldata =
I solved those foloowing errors linear acis, but I still have it on angular.
Shows up after homing in World mode, when jog with +/- button. Maybe weird
thing is, if I jog it in positive direction it gives error in moment of release
button, when I jog in negative, error shows up immediately.
hi all,
I am writing subrutine for automatic tool length measuring, as I have to change
tool manually on my 5 axis ...
for now I came this far:
otool_probesub
#1002 = #5223 (store G54 Z offset)
G49 (cancel existing offset if it is
I have rotation stage as shown on picture below, and would need some
recommendations which servo motor to choose for replacing stepper (nema17 frame
size). Stage has 180:1 ratio.
Picture:
http://www.zappautomation.co.uk/930-large/zxr100ma-miniature-precision-rotary-stage.jpg
Thank you for the info, on their old page can also be found BL motors as small
as nema17 frame size. I hope they are still available!
See
http://www.automationtechnologiesinc.com/
for some decently priced servo motors. they have both brush and
brushless. Their size 23 brushless motors are
I have the one with BLUE keypad and works OK, you can read about that here:
http://www.linuxcnc.org/index.php/english/forum/24-hal-components/26679-xhc-hb04-wireless-mpg-pendant-hal-module?start=10
Till now I didn't noticed any glitches except display going to sleep after
~40sec
These look
Hi,
Does anyone here have any experiences with slip ring components? I'm thinking
to use it to make one of my rotating axes limitless, but I would need to lead
trough this device encoder and limit switch signals and also power lines for
one servo and spindle...I'm a bit worried about encoder
Suddenly I have problem with homing my z axis, as it reaches switch it back's
off as it supposed to, but then it doesn't stop on programmed home offset
instead it runs over it and keeps searching with its delatching velocity...
Next problem occurred after update to 2.7.0 pre, as when I restart
Commenting out LP line in modules doesn't help, and also uncommenting install
parport_pc /bin/true didn't in /etc/modprobe.d/linuxcnc.conf
Next problem occurred after update to 2.7.0 pre, as when I restart linuxcnc
i'm getting error saying:
Debug file information:insmod: error
Anyone have ideas what could be wrong, and causing me this error on Lcnc
startup:
Debug file information:
Can not find -sec APPLICATIONS -var DELAY -num 1
insmod: error inserting
'/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_ppmc.ko': -1 Operation not
permitted
my5axis_load.hal:19: exit
I found out that it was entirely hardware problem, because after moving
parallel pci card to the other pci slot, it finally started to work.
A wild guess might be that the PPMC board is not powered up or not
connected? There is a Pico diagnostic program you might try.
Viesturs Lācis wrote:
Andy Pugh last autumn shared a way to add a new HAL pin to Axis GUI to
switch machine to world mode, so I have it connected to axis.n.is-homed
pins through and2 components and it works pretty nicely for me. You could
use that to make sure that operator will not
Second future was deceleration (for a settable distance) before hitting
limit switch or software limit, so if you are not careful and jog with
high speed all the way to the limit, you have no chance to hit limit with
that speed and cause sudden stop and mechanical stress to
That's also why I have home offset programmed, but ie. if I jog thoward
limit with 3000mm/min and hit it, what will happen?
It will stop with acceleration values, defined in INI file.
Actually yes as long as I stay in joint mode this works, but after entering
world mode, this
It will stop with acceleration values, defined in INI file.
Actually yes as long as I stay in joint mode this works, but after
entering world mode, this doesn't work any more, it just notify me that I'm
over soft limit and after hitting limit switch it stops with e-stop. So,
is
It certainly does change a lot - if the switch is very close, then it will
be tripped during the overshoot I see on my machine. If the distance is
larger, then it will not reach it. I do not have limit switches, so I do
not know, what offset value would be most appropriate.
That's right, but
It would be really nice to have wireless control like this, as in my case, I
have bit larger machine, and for zeroing the part, I literally need to be in
the machine and do it. For now I'm struggling with Logitech wireless
keyboard... I might give it a try to wireless gamepad if it will do the
You are saying that you are retrofitting same model of this machine? If there
is a chance, I would rally appreciate to see design that you have.
I agree, I was also considering to mount gearing directly on pinion shaft that
drives quill up and down, but I think there should be some decent
I'm using Logitech's wireless keyboard (K360) for more than a year now, without
any single issue regarding wireless connection, and didn't hesitate ordering
this pendant...
Wow that looks like a really nice unit man I have been wanting
something like That for my VMC here. My only concern
I would need some help with xhc-hb04.c, I'm trying to compile it, but getting
errors on stdlib.h, stdio.h, string.h, math.h probably missing some dev
libraries?
I tried with sudo apt-get install build-essential but no success...
I have developed a HAL module for this kind of MPG
-dev install
xserver-xorg-input-evdev install
xserver-xorg-video-fbdev install
xtrans-dev install
zlib1g-dev install
Le 2013-06-28 10:03, Tomaz T. a écrit :
I would need some help with xhc-hb04.c, I'm trying to compile it, but
getting errors on stdlib.h, stdio.h, string.h, math.h
I'm what could be the reason that when I switch to world mode (after homing)
Jog increments selection drop-down menu is greyed out, so I cannot select any
jog increment (it stays locked on continuous).In joint mode works ok.
Ok, here is the situation I have related to my previous question. I have MPG
control which works perfectly in joint mode. Now what would be the solution to
make it useful also in world mode, where only continuous jog is possible?
What could be the reason that when I switch to world mode
I was also thinking that way, and put it on local ebay and there is quite a
lot interest for it, so it will probably be sold in short...
I already briefly went trough available machines (locally) and found this
candidate, for reasonable price ..
I have I guess quite recent version of this pendant and have successfully
tested on 2.5.2, Frederic also adjusted it for smooth jog in case of using it
in world mode..
Now I have installed also 2.6.0-pre (run in place) and there I'm receiving an
error, described here:
Is it possible to somehow update axis.py in my installed linuxcnc (2.5.2)
I would need to add few string related to automatic forcing to world mode
If so, where can I find original axis.py file, to modify it, and how to compile
it (if needed)?
I did as you described, but receiving an error on start up, as it's still
searching for axis.tcl which I renamed.
Yes, and rename it any different name, so that it is not overwritten on
next update of LinuxCNC.
There are 2 files:
1) axis in /usr/bin/
this is where I did my
Why I cant thick linuxcnc and linuxcnc-dev in Update Manager? (This change is
not coming from a source that supports changelogs.)
It's fresh install from LiveCD.
--
See
It's probably also problem caused by dependencies, as it returns:
$ sudo apt-get install linuxcnc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or
I have two motor drivers (for axis 4 and 5) which have alarm signal telling me
that motor is off position, and would like to connect that in linuxcnc, so when
it is active it would trigger following error for certain axis. Which hal pin
can I use for that input signals to connect on to?
Motors are step/dir controlled hybrid steppers that have encoder, and encoder
feedback goes only to drivers so linuxcnc doesn't see actual position, and the
only thing I could use is alarm signal from driver that would trigger linuxcnc
to stop.
If it helps, this is driver used in system:
Motors are step/dir controlled hybrid steppers that have encoder, and encoder
feedback goes only to drivers so linuxcnc doesn't see actual position, and the
only thing I could use is alarm signal from driver that would trigger linuxcnc
to stop.
If it helps, this is driver used in system:
Now i'm running my machine with 2.6pre (master) and would like to test also
joint_axes3. Is there a way to simply update existing one to ja3?
--
October Webinars: Code for
Ok, before I do this I should ask if after switching to ja3, do I need to do
any modifications in my ini/hal file and also kinematics (I'm using 5axiskins)?
In case that you get sources from git and don't have any source code
changes:
$ git branch --track joints_axes3 origin/joints_axes3
$
Can you please provide direct link to joints_axes3 branch where I can find
those configs etc...?
Thank you.
in joints_axes3 branch take a look at axis/sim_mm config.
changes are:
required [KINS]JOINTS setting
separate [AXIS_X] [AXIS_Y] sections and [JOINT_n] sections
in hal file all
$ git branch -track joints_axes3 origin/joints_axes3
returns me
fatal: Not a git repository (or any of the parent directories): .git
?
In case that you get sources from git and don't have any source code
changes:
$ git branch --track joints_axes3 origin/joints_axes3
$ git checkout
I'm using
deb http://buildbot.linuxcnc.org/ lucid master-rt
deb-src http://buildbot.linuxcnc.org/ lucid master-rt
$ git branch -track joints_axes3 origin/joints_axes3
returns me
fatal: Not a git repository (or any of the parent directories): .git
It should be --track, but that isn't
Ok, I added those line here:
https://www.dropbox.com/s/09hpcp1mdt6545o/sources.jpg
but in update manager have nothing to update, also tried with
$ sudo apt-get update
$ sudo apt-get upgrade
what did I missed?
Thanks for testing joints_axes3! That's very helpful.
joints_axes3 is currently an
Got it!
Now, regarding INI file, there is added MAX_JERK and can't find what's it's
function, to set it correctly?
The 'apt-get upgrade' won't move from master to ja3, you need to do that
by hand.
First run apt-cache policy linuxcnc, that'll list all versions of the
linuxcnc package that
The joints_axes branch needs some config changes, I've tried to write
down what you need to change here:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?JointAxesBranch
Regarding hal file modification, I hope my understanding is right ...
AXIS_n changes to JOINT_n
axis.n. changes to joint.n.
for
I was referring to this sample:
http://github.com/araisrobo/linuxcnc/blob/feature/usb-rigid-tap/configs/sim/axis/axis_mm.ini#L149
If there is no need for it, I'll config without it
Now, regarding INI file, there is added MAX_JERK and can't find what's it's
function, to set it
Next thing is why where is no effect of velocity settings for jog speeds, it
always jogs with maximum velocity defined for that axis for example in
continuous jog. Moving Jog Speed slider also has no effect...
There is no difference if I press only arrow on keyboard, or Shift +arrow key,
it always jogs with MAX_VELOCITY, which is in my case 85 in both sections
[AXIS_n] and [JOINT_n]
Here is how my [TRAJ] section looks like:
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME =
That's right, if I try to jog in joint mode, everything works as it should,
as soon as I switch to world mode, there is only max velocity for jog.
Yes I'm using slightly modified 5axiskins.
Hm, the change that Michał suggests changes teleop mode (aka world mode)
jogging speed.
Maybe
http://pastebin.com/JEZtsTvH
Pastebin your complete .ini file.
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Trying to compile but $ make returns me:
~/linuxcnc-fda6359/src$ make
Makefile:55: Makefile.inc: No such file or directory
Makefile:66: *** Makefile.inc must specify RTPREFIX and other variables. Stop.
- get current source code of joints_axes3 here:
$ ./configure --enable-run-in-place
ends with:
configure: error: libmodbus3 not found!
install with sudo apt-get install libmodbus-dev or disable with
I'm trying to install libmodbus 3.1.0 but also doesn't pass without failure...
~/libmodbus-3.1.0$ ./autogen.sh
Can't exec libtoolize: No such
This one worked out.
I tested Jog, and there is no difference, so in world mode Jog is still at
max_velocity
Here you can check if I did correct modification in control.c
http://pastebin.com/HLLq5VFu
try without modbus
./configure --enable-run-in-place --without-libmodbus
Any modification needed to make it work properly?
I tested Jog, and there is no difference, so in world mode Jog is still at
max_velocity
World jog works properly on my delta robot (but I have not updated ja3 for
a few month there).
By the way, joints_axes4 is just released! I hope to
I recently updated on ja4 and issue with jog in world mode is still present.
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application
This one has a bit more specs about accuracy... if I could trust them :I
http://bjwn.en.alibaba.com/product/215200677-200438444/Motorized_Rotation_Stage.html
On this rotary stage sizes is usually nema 17 frame size, so with 1:180 ratio I
could expect minimum 40Nm of torque?Isn't usually there a
This could be solution to gain gearing ratio in combination with timing belt...
Where would you place tensioner(s) to get rid of backlash ... ?
http://picpaste.com/pics/Gearing_01-X1NbZKYn.1383331283.jpg
But, with a nice multi-pole resolver directly coupled to the table,
none of those would matter.
can you suggest any?
--
Android is increasing in popularity, but the open development
There are lots of resolvers on eBay. But I am not keen to look up the
specs of every one to figure out if they are multi-pole.
are there any major advantages over encoders in this case of installation?
are there any major advantages over encoders in this case of installation?
If you can sample for long enough your resolution is infinite. (or, at
least, better than your ADC)
So, 16 bits of position information is easy and you can have a lot more.
Plus all the other resolver advantages
I am setting XHC HB04 wireless pendant up. I am almost satisfied how
everything works except for bouncy buttons.
Did you maybe found any good workaround to prevent unwanted switching from
world to joint mode after executing MDI command programmed for certain button?
Very nice to hear someone is working on that, I can provide you some complex 3
and 5-axis code generated from NX (siemens unigraphics), and I can also test it
on my machine to check for improvements...
If you want, I can send you a this code I used for this test mill of
Hi everyone,
I would need a little help understanding why I am getting following error on
axis 8 on my 5 axis machine running 5 axis kinematics. I run ie G43 H1 and tool
length from tool table is taken and placed for W axis, then I would need to
make move G0 W0 and there following error shows
I have added just two simple buttons (pyVCP), one for go to home and other
go to machine home but after executing one or another, when machine reaches
its position, it switches Manual control[F3] to Joint mode, so it is not
possible straight away to jog with arrow keys on keyboard... I would
I mistyped, actually I am using G53 to move on machines home position.
From: viesturs.la...@gmail.com
Date: Thu, 7 Feb 2013 14:32:49 +0200
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] MDI command
2013/2/7 Tomaz T. tomaz_...@hotmail.com:
I have added just two simple
I'm trying to make working my spindle rpm display (pyvcp), but don't know which
signal to connect or take from my .hal file.
Here is what is in my hal file for spindle:
net spindle-enable = motion.spindle-on = stepgen.2.enable
net spindle-cmd motion.spindle-speed-out = scale.0.in
net
I took configuration from here:
http://www.linuxcnc.org/docs/2.4/html/hal_pyvcp_examples.html
I don't have encoder on spindle, and configuration for spindle in hal was taken
here:
http://cnc4pc.com/Files/EMC2.txt
I'm controlling spindle VFD with C6 board (with reference voltage 0-10V) from
cnc4pc:
http://www.cnc4pc.com/Store/osc/product_info.php?cPath=25products_id=58
and here is complete setup for running this, and it runs perfectly for me:
setp stepgen.2.position-scale 1
setp stepgen.2.maxvel 18000
Thanks Andy, but that will probably need sent through a scale module to
calibrate, and lacking the feedback path, will at best be a SWAG that will
not show slowing vs loading. Adequate for surface speed calcs though.
That's correct, I calibrated RPM's with right gain value for scale (helped
Now there is one more thing I would need to add to my spindle section in hal,
and that is Spindle at speed future (machine waits for spindle to reach
rpm's).
I found this guide for implementing this:
http://linuxcnc.org/docs/html/examples/spindle.html (section 5 6.2)
As I have a bit different
I'm using Meter for visual presentation and it now well calibrated (with tacho)
so it is showing accurate rpm-s.
What is happening is that when there comes ie. M3 S15000 gauge shoots instantly
to that value, so it doesn't follow acceleration that I programmed. So probably
spindle-cmd is not a
So something like this could work?:
# load a near component and attach it to a thread
loadrt near
addf near.0 servo-thread
# connect one input to the commanded spindle speed
net spindle-cmd = near.0.in1
# connect one input to the encoder-measured spindle speed
net stepgen.2.velocity-fb =
there is one thing I noticed with probing velocity-fb from stepgen... When it
starts counting, it counts up as long as spindle runs, so it doesn't reach
certain number and stops counting up... and it also cunts up again after
spindle pause or stop.
Maybe I should try with spindle-ramp.maxv
Ok, it actually works with spindle-ramp!
So in my case I don't have any feedback from spindle or vfd (VFD has its own
accel/decel future), so I adjusted spindle-ramp.maxv parameter the way it is
delayed for 1-2sec just to be sure vfd has reached target rpms.
Also practical, to have visual
I made some buttons in pyvcp which are calling simple subroutine and those are
executed without problem, but when it ends it switches to Joint mode under
Manual Control, then I need to press ie. F5 for MDI and then F3 to get back in
Axis mode and to be able to jog with keyboard. Is there a
Version 2.5.2
Kinematics is slightly modified 5axiskins.
Yes, display switches to 1,2,3... and can't do jogs with keyboard, as it
doesn't use kinematics for that, and in my case doing that is very dangesous,
as I have gantry style machine. And yes if I switch between MDI and back to
Manual,
And did you manage to solve it?
I had this same sudden switch to joint mode also on the plasma machine
after executing some commands by pressing gladevcp buttons. It is LinuxCNC
2.5.2 with my custom kinematics module.
--
This also causes problems in my probe subroutine, called by pyvcp button, with
which I do automatic tool length measuring. Between faster and slower approach
to probe, it stops and shows Probe tripped during non-probe MDI command
error.
Does anyone have any experiences using this this system with linuxcnc?
http://www.fastech.co.kr/bbs/eng/product.php?mode=view1uid=1#
As far as I understand, there would be only one feedback signal from driver to
linuxcnc, telling that stepper is in position or not...
In my case might be
The whole point is that I don't have any feedback from steppers at this stage,
and as I said, the cheapest solution would be to simply change the existing
one with the one with closed loop future (and also drivers). So the basic
idea might be to use In-Position signal (output) from stepper
What do you think about this guys, and their approach to high speed machining:
http://youtu.be/w7B8C9Rv-eo?t=23s
Their machines are sure capable of really high accelerations, but there is
probably done something also on controllers side (approximations of path)?
That's nice presentation, and exactly what I'm looking for to improve my two
rotary axes with steppers...
Search for Leadshine closed loop stepper on YouTube. Looks like some very
smooth and quiet operation from steppers.
Here is also my test of running heavy 5axis code on linuxcnc.
Code was generated by NX.
At 1 min it shows up embedded screen of linuxcnc ruining it.
I tried also final passes, but executing it was way to slow... anyway, this
issue is already discussed in other topic.
rotary head is produced by this guy, I only reinforced it for my needs...
http://www.doughtydrive.com/
Postprocessor is slightly modified one of the native 5axis post in NX.
Topic about execution speed is named Poor CV
Great! But the rotary spindle is not seen well, I'd like to look at
rotary head is produced by this guy, I only reinforced it for my needs...
http://www.doughtydrive.com/
Oh, I've seen those heads on the net. Just wonder what's inside - some
belts or kind of harmonic reducer?
Combination of belt and spur gear stage reduction, and it gives you 30:1
Is that the NX Cam from Siemens?
Yep
http://youtu.be/opxo2KxRLDw?t=40s
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data.
Here is a link to g-code of full 5axis milling a section of impeller blade. I'm
publishing it for testing purposes in simulation mode of linuxcnc, if someone
is or will work on speed of linuxcnc execution of that kind of heavy code...
I'm frequently using G43 Hn (n-tool number) and this applies tool length offset
from tool table (W), and this also applies offset distance to W axis. What
bothers me is that after this G43 Hn, I always have to follow it with G0 W0
which moves Z axis upwards (negative Z) for a distance in W axis
How to properly setup machine, that soft limits wouldn't be ignored when jog in
teleop (world mode)?
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
What could be the reason that stepper is losing steps at very low speeds? On
my machine I have servos for XYZ axes (Pico control), and two (leadshine)
hybrid steppers for rotary axes, which I found out that they are loosing steps
at very low speeds. I think it might not be related to driver
Microstep is set to 4000, gearing is 21:1 and it has very very small backlash
and its well above my accuracy needs. The thing is that at very low speeds (ie
50deg/min on motor side) it loses so many steps that the error is more then few
degrees after reaching final position...
Make sure you
What could be the reason that stepper is losing steps at very low speeds?
It could be that the drives are of a type that switches to a standby current
when idle. (Though if that always caused problems they clearly wouldn't do it)
A recent similar problem on the forum went away when he
I don't have encoder feedback from spindle and in 99% times I'm using same rpm
speed, so I know how long it takes spindle to reach programmed rpms...
Is there a way to delay motion.spindle-at-speed for few seconds, before it
proceeds with g-code?
Yes I'm using 5axiskins (slightly modified) and till now I didn't noticed this
kind of issues.
>
> Is this a non-trivial kinematics machine?
>
> I'm working on a machine that does something like this when switching
> between forward and inverse kinematics (or maybe the other way around). In
>
I'm a bit confused what could cause unexpected move after pressing stop or
pause->stop.
Here is print screen what happened: https://cdn.pbrd.co/images/1X2RCHL7.jpg
Recently I implemented manualtoolchange but the only thing I was modifying were
subroutines ... not sure if there could be source
I also tried to prevent this move to happen with lowering Max Velocity slider
to zero (before pressing Stop), then warning show up: can't do that
(EMC_TRAJ_SET_TELEOP_ENABLE) in auto mode with interpreter idle.
>
> I seem to recall that 5axiskins links to the tool-length offset, so a
> change
1 - 100 of 145 matches
Mail list logo