Welcome Claude,
In short the answer is NO. IJK relate directly to XYZ. I is to X as J is to Y as K is to Z. Workplane determines the "perspective" for 2D features and dimension, but IJK refers to the 3D axis and does not change with workplane. HTH (Hope This Helps)
P.S. You might want to take a look in the help files. (F1 key), they have some pretty good info on IJK and workplanes.
sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery
I would have attached the document (with pretty pictures) I have but form some reason I am unable to attach or link anything. This document helped me understand a whole lot more about vectors a couple of years ago. Feel free to PM me with your email address if you want the actual document.
Direction Vectors – Programmable CMMs Push the Envelope
By Richard Clark
There is no more exciting measurement system gaining momentum today than CNC CMMs. More and more facilities are realizing how much time is saved by the ability to measure a part while recording a PPG (part program) and then measuring the next 50-100 parts with the click of a mouse. The true phenomenon involved with these machines is not how fast they measure, but rather how precise they can perform as compared to their predecessor, the manual CMM. This precision can be explained in 2 words – Direction Vectors.
Many of today’s versions of CNC CMM software have the capability to use a
Teaching mode where circles, planes, and cylinders can be measured in an auto-measure mode. This teaching mode actually writes the program from information given about the feature (Diameter, Depth. Location, etc.). Because of variables such as (but not limited to) the configuration of the part or part fixture device preventing a complete 360° measurement, some features cannot be programmed in this manner. The operator must manually type in different types of movements to program the feature for the first time. This is where an understanding how vectors work is extremely important.
Direction vectors are calculated using a very basic Trigonometry concept called the unit circle diagram. Imagine a ring gage placed on a CMM for a reference measurement. The top surface of the ring can be used as the XY baseplane, Z-axis origin. The center of the ring gage is the X, Y origin.
Vectors can be calculated in I-J-K or L-M-N formats. Once you’ve learned how they work, L-M-N can be self-taught in 2 minutes.
How many points you wish to probe determines the next step. To make it simple we’ll use 18 points. This breaks down to a point taken every 20° of the circle. Think of our circle in the Polar Coordinate System of Radius, Angle, and Height with the X positive line serving as 0°.
In our 18-point circle, a point will be taken every 20° in a counter-clockwise rotation. This is where the unit circle diagram takes over.
The diagram works by using the 20° angle and creating a right triangle within the circle as shown below. Since the right angle is 90° and we created a 20° angle, the last angle will be 70°. This diagram and a $10 calculator are all you need to calculate vectors.
I-J-K vectors are the cosine values of the X, Y, and Z angles. The angle from the X axis is 20° which has a cosine of 0.93969, the angle from the Y axis is 70°, which has a cosine of 0.34202, the Z axis is 0° (or some purists view this as 90°), both of which have a cosine of 0. We now have our vector direction for the point:
I - 0.93969
J - 0.34202
K - 0
In the Spatial format, 3 the angles themselves describe the direction vector
L - 20°
M - 70°
N - 90°
The direction of the probe follows this path:
Our next point will be taken after a 40° CCW rotation within the circle. When we form this right triangle within the circle it consists of a 40° angle from the X-axis and a 50° angle from the Y-axis.
When we calculate the cosines, it looks like this:
I - 0.76604
J - 0.64279
K - 0
The spatial version would become:
L – 40°
M – 50°
N – 90°
The direction of the probe follows this path:
And that’s how direction vectors work. It is a textbook example of how the most technical examples of Metrology are nothing more than the same basic deck of Mathematical “playing cards” shuffled a little differently. If you learn to deal this game you’ll certainly have your Programmable CMM moving in the right direction… pun intended.
Richard Clark works as a Metrology Consultant and CMM operator in Portland Indiana, to receive a freeware version of his “Vector Direction Calculator” e-mail feedback to [email protected]
Vectors – The True Direction of Programmable CMMs
By Richard Clark
This story is scheduled for publication in an upcoming issue of CMM Monthly magazine. To subscribe to CMM Monthly (free of charge) and/or download past issues in Adobe format, visit them on the World Wide Web at www.cmmmonthly.com
If you ask any extremely dedicated and highly motivated DCC (Direct Computer Controlled) CMM programmer what is the foundation of a programmable CMM's capability and precision and they will answer with 2 words – Direction Vectors.
The 1st step to getting direction vectors "figured out" is to understand their origin is a very basic Trigonometry concept called the unit circle diagram. We can probably all remember the phrase - Sine, Cosine, and Tangent; Oscar had a heap of apples. If you have the time you can brush up on the 3 main trig functions but all you really need to calculate vectors is a $3 calculator with a cosine function.
Direction vectors are normally expressed in an I-J-K format.
I - The cosine of the angle shift or rotation from the X-axis
J - The cosine of the angle shift or rotation from the Y-axis
K - The cosine of the angle shift or rotation from the Z-axis
A correct vector will command a probe movement direction that is perpendicular to the surface being measured.
The best example to learn the calculation with is a circle measurement. Imagine a ring gage with the X, Y origin established at the center of the ring gage inside diameter.
If we wanted to create a 10-point circle measurement program, a point would be taken every 36° "around" the circle.
This is where the Unit Circle Diagram works by plotting the 1st point at 36° and creating a right triangle within our ring gage.
The angle rotation from the X-axis is 36° which has a cosine value of 0.80902, the angle rotation from the Y-axis is 54°, which has a cosine value of 0.58779, the Z axis angle is 0°, which has a cosine of 0. We now have our vector direction for the point:
I = 0.80902
J = 0.58779
K= 0
The probe follows the path of the vector direction:
To further illustrate how simple this can be we will break the process down into 3 steps and use some fundamental Geometry principles that you’ve probably been familiar with for years.
In the last example we started with a 36° angle that was a feature within a right triangle projected to the XY plane.
Step #1 – Identify 1 known angle and determine which axis the angle rotates from. Our known angle is 36° and it rotates from the X-axis.
Step #2 – Calculate the unknown angle using the “90 minus rule” and determine the rotation from which axis. Since we are dealing with a right triangle and we already have a 36° angle, the unknown angle (90-36) = 54° and it rotates from the Y-axis.
Step #3 – Calculate the I-J-K vectors using the Cosine of the angles.
I = 0.80902 (The Cosine of our 36° X angle)
J = 0.58779 (The Cosine of our 54° Y angle)
K= 0 (Our probe is not moving along the Z axis)
Calculating the correct vector for probing points located on a line feature may seem to be more in-depth but they are just as simple.
In our next example we wish to calculate the direction vector to probe a point located on a feature that is neither parallel nor perpendicular to the X or Y-axes. We can determine from our print specifications that a 210° angle would be perpendicular to the surface of being measured.
This is clearly illustrated when the Part Coordinate System is viewed using Polar coordinates.
Step #1 – We have a known angle of 210° that rotates from the X-axis.
Step #2 – Using the “90 minus rule” we can determine the unknown angle to be -120° and since we are in the XY plane the angle rotation is from the Y-axis.
Step #3 – Calculate the I-J-K vectors using the Cosine of the angles.
I = -0.86603 (The Cosine of our 210° X angle)
J = -0.50000 (The Cosine of our -120° Y angle)
K= 0 (Our probe is not moving along the Z axis)
What a concept! The mystery and magic of direction vectors can be revealed using only 1 angle and 1 trigonometry function. This is nothing more than a simple proof that some of the most seemingly difficult measurement systems can be deciphered using the one and only true universal language: Mathematics.
Richard Clark works as a Metrology Consultant and CMM operator in Portland Indiana, to receive a freeware version of his “Vector Direction Calculator 4.02” e-mail feedback to [email protected]
sigpic
Xcel 15-20-10 - PFXcel 7-6-5 - Merlin 11-11-7 - Romer Absolute 7525SI
PCDMIS 2012
Windows Office XP
Correct part rotation can allow for "Perfect" Vectors
By Richard Clark
"Think of the drive of the axis. If the probe is moving with the drive (positive direction), the vector is one and if the probe is moving opposite the drive (minus direction) the vector is minus one"
In the previous 2 documents concerning Direction Vectors, techniques were discussed to calculate vectors for circular measurements and/or features neither parallel nor perpendicular to an axis. Understanding these concepts is vital to creating stable measurements from the programs used with your CMM, however, a more elementary approach may be the preferred one.
In our first example we can review by using the "90 minus rule" to calculate the direction vector when probing a point located on a feature that is neither parallel nor perpendicular to the X or Y-axes. We can determine from our print specifications that a 210° approach angle would be perpendicular to the surface being measured.
This is clearly illustrated when the Part Coordinate System is viewed using Polar coordinates.
Step #1 – We have a known angle of 210° that rotates from the X-axis.
Step #2 – Using the “90 minus rule” we can determine the unknown angle to be -120° and since we are in the XY plane the angle rotation is from the Y-axis.
Step #3 – Calculate the I-J-K vectors using the Cosine of the angles.
I = -0.86603 (The Cosine of our 210° X angle)
J = -0.50000 (The Cosine of our -120° Y angle)
K= 0 (Our probe is not moving along the Z axis)
In my short history of writing CMM part programs I have found that vector points are usually needed to construct a plane or line feature on a part. Most DCC CMM software has auto-measure plane and auto-measure line macros built within the software, which various geometric data about the feature can be entered and the software and CMM take off and measure the feature. If your software has this you should do 2 things: First, get very comfortable using it, because it will be very beneficial. Second, get comfortable not using it because if you haven't ran across an application, part, or fixture where this won't work, you are very lucky. The only sure thing I know about luck is that it always runs out.
To illustrate how easy this process can become we will use the earlier example part, rotate about an axis and create the "perfect" vectors needed to probe points for a line measurement. The first step is to rotate the part coordinate system in such a way that our line feature is "true" with an axis line. Since the part angle rotation from the X-axis is -60° and the Y-axis is 30°, we can rotate about the Z-axis (-60°), which "clocks" our part and aligns the feature with the X-axis.
Now our part is "true" to the X axis. Here is where it gets really cool. This is where the angle rotation from the axis, and 90 minus rule, need not be used. A direction vector that is needed to probe a feature aligned with an axis will always be calculated by the cosine of 90°, which equals 1.
Mr. Jerry Guffy, CMM software trainer from Mitutoyo, told me a rule of thumb that I'll always use and never forget. "Think of the drive of the axis. If the probe is moving with the drive (positive direction), the vector is 1 and if the probe is moving opposite the drive (minus direction) the vector is minus 1."
For our probe to contact our line at a correct vector we use:
I = 0.0000
J = -1.0000
K = 0.0000
We do not want the probe to move along the X or Z-axes but we do want it to move in a Y minus direction. J is the Y vector, so it equals -1.
So here's how it works (at combat speed). We program a movement or series of movements to place our probe on the Y positive side of our line at the desired clearance from the part and the desired Z-axis elevation. We used the comp point, go meas, meas direction feature, which basically tells the probe to move until contact.
After the point is taken we can use a CMM goto movement (relative) to move the probe a certain distance only along the X-axis.
GOTO/INCR,CART,3.00000,0.00000,0.00000
Now we can copy and paste the 3 lines and change the designation of the point label (red text) to probe the desired number of points along the line. We'll use 3 for simplicity only.
And that’s all there is to it. Read the print carefully and rotate your part correctly. All of your vectors will be as easy as counting to one.
Richard Clark works as a Metrology Consultant and CMM operator in Portland Indiana, to receive a freeware version of his “Vector Direction Calculator 4.02” e-mail feedback to [email protected]
Techniques described is this document are derived from the book "DCC CMM Programming - Part Alignment and Vector Points" by Scott C. Beavers. To obtain a copy of this book, contact CMM Resources (513) 535-0870.
sigpic
Xcel 15-20-10 - PFXcel 7-6-5 - Merlin 11-11-7 - Romer Absolute 7525SI
PCDMIS 2012
Windows Office XP
Hey Guys
Thanks a lot for the information I can see were I will have some learning to do to understand this and I do understand the basic movment of vectors it is on the angles and on the corners of parts were I am having some trouble.
Thanks a Lot
Claude
Hey Guys
Thanks a lot for the information I can see were I will have some learning to do to understand this and I do understand the basic movment of vectors it is on the angles and on the corners of parts were I am having some trouble.
Thanks a Lot
Claude
Start with:
0,0,1 / 0,0,-1 (POS (1) and NEG (-1) Z)
0,1,0 / 0,-1,0 (POS (1) and NEG (-1) Y)
1,0,0 / -1,0,0 (POS (1) and NEG (-1) X)
If you Understand SIN and COSINE then that is all the Vectors are.
Bill Jarrells
A lie can travel half way around the world while the truth is putting on its shoes. - Mark Twain
I know I'm late to this topic and all, but according to the manual, pcd only performs probe comp normal to the coordinate system. (polar comp excluded)
If that is true, then it makes no difference what the vector is that you probe your points as long as pcd can figure out the correct direction to comp in (1,0,0; 0,1,0; 0,0,1).
Icould not download image. But I made + X and +Y axis with origin and rotation about +X axis. I measured 90* angle of center of piece with control base...
Hey there, it's your favorite newbe with a question that is hopefully easy to respond to. Is there a basic definition of I,J,K and its use? I know they...
I am currently making a program for a crank pin. I am building the program with the pin up on edge. The crank pin has oil ports machined into it, three...
Comment