4th axis angular need help from newbie!!!
01 Feb 2015 04:39 #55528
by libas77
4th axis angular need help from newbie!!! was created by libas77
Hi,
I built my 4 axis linear hot wire cutter (X,A axis horizontal, Y,Z vertical movement; X,Y right and A,Z left side). I am going to cut wings on it. I use motor driver board TB6560 ( is not the best, got to late) . I used for controlling the machine mach3. I didn't want to pay mach3 license for cutting wings for max. two aircraft per year. Therefore I decided to switch to linuxcnc (version 2.5 Ubuntu 10.4).
I configured in stepconfig 4 axis X,Y,Z A limit and home switches. I am able to home all axis but:(current Issues)
First Question
There is something wrong in my configuration one of the axis runs angular the remaining axis run linear. By homing the axis one motor sounded strange. All axis should run linear. What I have to change? ( ?change stepconfig INI file? How?)
Second Question
I had a issue in mach3 with motion mode. I had to switch from exact stop to constant velocity. Is there any configuration in linuxCNC for motion mode - constant velocity?
Thank you in advance for your help
Libor
I built my 4 axis linear hot wire cutter (X,A axis horizontal, Y,Z vertical movement; X,Y right and A,Z left side). I am going to cut wings on it. I use motor driver board TB6560 ( is not the best, got to late) . I used for controlling the machine mach3. I didn't want to pay mach3 license for cutting wings for max. two aircraft per year. Therefore I decided to switch to linuxcnc (version 2.5 Ubuntu 10.4).
I configured in stepconfig 4 axis X,Y,Z A limit and home switches. I am able to home all axis but:(current Issues)
First Question
There is something wrong in my configuration one of the axis runs angular the remaining axis run linear. By homing the axis one motor sounded strange. All axis should run linear. What I have to change? ( ?change stepconfig INI file? How?)
Second Question
I had a issue in mach3 with motion mode. I had to switch from exact stop to constant velocity. Is there any configuration in linuxCNC for motion mode - constant velocity?
Thank you in advance for your help
Libor
Please Log in or Create an account to join the conversation.
01 Feb 2015 15:35 #55542
by ArcEye
Replied by ArcEye on topic 4th axis angular need help from newbie!!!
Hi
1. The axis type must be set in the ini file. A defaults to rotary
www.linuxcnc.org/docs/html/config/ini_co...tml#sub:AXIS-section
2. I don't know what 'constant velocity mode' is in this context. That is Mach terminology presumably.
Suspect that as you refer to 'exact stop' in the same sentence, what you require is G61 or G64
www.linuxcnc.org/docs/html/gcode/gcode.html#sec:G61-G61_1
regards
1. The axis type must be set in the ini file. A defaults to rotary
www.linuxcnc.org/docs/html/config/ini_co...tml#sub:AXIS-section
2. I don't know what 'constant velocity mode' is in this context. That is Mach terminology presumably.
Suspect that as you refer to 'exact stop' in the same sentence, what you require is G61 or G64
www.linuxcnc.org/docs/html/gcode/gcode.html#sec:G61-G61_1
regards
The following user(s) said Thank You: libas77
Please Log in or Create an account to join the conversation.
02 Feb 2015 02:32 #55562
by andypugh
These machines are normally set up as XY / UV machines.
Try looking at the sample config sim/axis/axis-foam config to see a sample setup and how Axis can accurately display the foam-cutting process.
Replied by andypugh on topic 4th axis angular need help from newbie!!!
I built my 4 axis linear hot wire cutter (X,A axis horizontal, Y,Z vertical movement; X,Y right and A,Z left side). I am going to cut wings on it. I use motor driver board TB6560 ( is not the best, got to late) . I used for controlling the machine mach3. I didn't want to pay mach3 license for cutting wings for max. two aircraft per year. Therefore I decided to switch to linuxcnc (version 2.5 Ubuntu 10.4).
These machines are normally set up as XY / UV machines.
Try looking at the sample config sim/axis/axis-foam config to see a sample setup and how Axis can accurately display the foam-cutting process.
The following user(s) said Thank You: libas77
Please Log in or Create an account to join the conversation.
21 Feb 2015 18:50 #56183
by libas77
Replied by libas77 on topic 4th axis angular need help from newbie!!!
Hi,
I have just normally set up as XY / UV. I found a tutorial here : code.google.com/p/emc2hotwinch/ Due to some issues I can not start linuxCNC now. See below.
Attached you will find the horkydraht.hal and horkydraht.ini and a file with an error message.
Could you anybody from you check the .hal and .ini file there must be a bug.
Thank you very much
best regards
Libor
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
horkydrat.hal:7: Ini variable '[EMCMOT]SHMEM_KEY' not found.
1849
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
I have just normally set up as XY / UV. I found a tutorial here : code.google.com/p/emc2hotwinch/ Due to some issues I can not start linuxCNC now. See below.
Attached you will find the horkydraht.hal and horkydraht.ini and a file with an error message.
Could you anybody from you check the .hal and .ini file there must be a bug.
Thank you very much
best regards
Libor
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
horkydrat.hal:7: Ini variable '[EMCMOT]SHMEM_KEY' not found.
1849
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Please Log in or Create an account to join the conversation.
21 Feb 2015 20:11 #56185
by alan_3301
Replied by alan_3301 on topic 4th axis angular need help from newbie!!!
horkydrat.hal:7: Ini variable '[EMCMOT]SHMEM_KEY' not found.
that is the problem.
In your horkydrat.ini file under the [EMCMOT] section, add the line
SHMEM_KEY = 111
unfortunately, motmod (the module defined under [EMCMOT] doesnt have any info on the manual page about the key parameter.
So I'm not sure exactly what the number should be, but 111 seems to be a popular number.
If that doesn't work, you can try removing the "key=[EMCMOT]SHMEM_KEY " from the second line of your .hal file.
that is the problem.
In your horkydrat.ini file under the [EMCMOT] section, add the line
SHMEM_KEY = 111
unfortunately, motmod (the module defined under [EMCMOT] doesnt have any info on the manual page about the key parameter.
So I'm not sure exactly what the number should be, but 111 seems to be a popular number.
If that doesn't work, you can try removing the "key=[EMCMOT]SHMEM_KEY " from the second line of your .hal file.
The following user(s) said Thank You: libas77
Please Log in or Create an account to join the conversation.
21 Feb 2015 21:48 #56188
by libas77
Replied by libas77 on topic 4th axis angular need help from newbie!!!
Hi,
I fix the problem with horkydrat.hal:7: Ini variable '[EMCMOT]SHMEM_KEY' not found.
Now I have another problem. See below:
Could anybody help to fix the problem. Thank you very much. Attached you will fine .hal .ini and debug file
Debug file:
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/hal_parport.ko': -1 Resource temporarily unavailable
horkydrat.hal:13: exit value: 1
horkydrat.hal:13: insmod failed, returned -1
See the output of 'dmesg' for more information.
5196
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
I fix the problem with horkydrat.hal:7: Ini variable '[EMCMOT]SHMEM_KEY' not found.
Now I have another problem. See below:
Could anybody help to fix the problem. Thank you very much. Attached you will fine .hal .ini and debug file
Debug file:
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/hal_parport.ko': -1 Resource temporarily unavailable
horkydrat.hal:13: exit value: 1
horkydrat.hal:13: insmod failed, returned -1
See the output of 'dmesg' for more information.
5196
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Please Log in or Create an account to join the conversation.
21 Feb 2015 21:57 #56189
by ArcEye
What is in dmesg?
Please post it
regards
Replied by ArcEye on topic 4th axis angular need help from newbie!!!
See the output of 'dmesg' for more information.
What is in dmesg?
Please post it
regards
Please Log in or Create an account to join the conversation.
21 Feb 2015 23:09 #56190
by libas77
Replied by libas77 on topic 4th axis angular need help from newbie!!!
Atteched you will find dmesg.
Please Log in or Create an account to join the conversation.
21 Feb 2015 23:12 #56191
by andypugh
The "motion" module hasn't needed the "key" parameter since LinuxCNC 2.4. Just delete the reference from the HAL file
Replied by andypugh on topic 4th axis angular need help from newbie!!!
horkydrat.hal:7: Ini variable '[EMCMOT]SHMEM_KEY' not found.
The "motion" module hasn't needed the "key" parameter since LinuxCNC 2.4. Just delete the reference from the HAL file
Please Log in or Create an account to join the conversation.
21 Feb 2015 23:25 #56192
by ArcEye
Nothing attached
Start linuxcnc, get the error and then run dmesg > dmesg.txt and attach the resultant dmesg.txt file
which will attach OK
regards
Replied by ArcEye on topic 4th axis angular need help from newbie!!!
Atteched you will find dmesg.
Nothing attached
Start linuxcnc, get the error and then run dmesg > dmesg.txt and attach the resultant dmesg.txt file
which will attach OK
regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds