- Posts: 1
- Thank you received: 0
Angle deviation
8 years 11 months ago #102544
by kronikary
Angle deviation was created by kronikary
Hi! I'm new here.
Is there any plugin to linuxcnc that finds the angle deviation? It's exactly shown in the video below (time 1:04):
Eventually can you tell me how to write that plugin?
Greetings
Is there any plugin to linuxcnc that finds the angle deviation? It's exactly shown in the video below (time 1:04):
Eventually can you tell me how to write that plugin?
Greetings
Please Log in to join the conversation.
8 years 10 months ago #102575
by MaHa
Replied by MaHa on topic Angle deviation
Try this, just for angle deviation. Measure 2 points on one side of your workpiece.
Your probe must be positioned at startposition xyz. Feed is fixed 100%, otherwise remove M50P0.
Metric G21. CS 1 (G54) is used by this routine. Use another cs for machining.
Global param #<_ANG> contains measuring result.
use o<check_r_cor> in preamble recommended, to find R rotation left behind in any cs, to avoid bad experience.
1 [Traveldistance (+ -) to measuring point]
2 [Distance (+ -) between measuring points]
3 [Travel axis 1 or 2]
o<adev> call [-6] [-65] [2]
G10 L2 P2 R#<_ANG>
o<check_r_cor> call
Your probe must be positioned at startposition xyz. Feed is fixed 100%, otherwise remove M50P0.
Metric G21. CS 1 (G54) is used by this routine. Use another cs for machining.
Global param #<_ANG> contains measuring result.
use o<check_r_cor> in preamble recommended, to find R rotation left behind in any cs, to avoid bad experience.
1 [Traveldistance (+ -) to measuring point]
2 [Distance (+ -) between measuring points]
3 [Travel axis 1 or 2]
o<adev> call [-6] [-65] [2]
G10 L2 P2 R#<_ANG>
o<check_r_cor> call
Please Log in to join the conversation.
8 years 10 months ago #102726
by andypugh
Replied by andypugh on topic Angle deviation
This discussion might be interesting:
forum.linuxcnc.org/40-subroutines-and-ng...a-plasma-table#29170
There is also the probe screen, and angular alignment is one of the options there:
forum.linuxcnc.org/49-basic-configuratio...h-probe?limitstart=0
Also note that LinuxCNC can rotate the coordinate system around Z to compensate for out-of-square workpieces:
linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g10-l2
forum.linuxcnc.org/40-subroutines-and-ng...a-plasma-table#29170
There is also the probe screen, and angular alignment is one of the options there:
forum.linuxcnc.org/49-basic-configuratio...h-probe?limitstart=0
Also note that LinuxCNC can rotate the coordinate system around Z to compensate for out-of-square workpieces:
linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g10-l2
Please Log in to join the conversation.
Time to create page: 0.140 seconds
