cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

1-Newbie

## Understanding CSYS / OSYS commands output to the CL file

I don't understand how the information in the CSYS/OSYS line can be used to calculate an angle.

I have extensive knowledge of our Post Processor and can output a specific set of Coordinates as a G10 output to the controller if I could "Calculate" the position and orientation of the CSYS/OSYS command.

I understand that the following is for NO ROTATIONS and position at X0 Y0 Z0 (A0) (C0)

\$\$-> CSYS / 1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, \$

0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, \$

0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000

But I don't know how to translate something like this

\$\$-> CSYS / -1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, \$

0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, \$

0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000

Mathematically into directions

This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2
4-Participant
(To:kelseytheikoop)
Hi Kelsey,

CSYS is the matrix transformation of the Sequence CSYS with respect to
the Machine CSYS (Program Zero).

You read them column by column, which means 1,5,9 then 2,6,10 and so on.

The first 3 columns are the X, Y and Z vectors of the seq CSYS in
Machine CSYS frame (basically the 3x3 rotation matrix). The last column
is the translation vector.

CSYS is most useful when you want to make use of local coordinate
transformation on machines (such as G68) without forcing NC programmers
to do difficult manual CL entry. There are many other cases where you
want to know this relationship. It is very useful.

OSYS happens only when outputting multiple operations in a single set
output. It is only useful in very rare cases, such as inventive ways to
support U-axis turning heads on milling machines. I don't remember ever
using it for anything else.

Also, you have to make sure you can process SS-> CSYS . By default,

Hope this helps,

Charles

Charles

Thank you very much.

I have been using Pro/NC for years and have been manually inputting the
correct B axis rotations into my posted G Code because I could not get the
G10 portion of my posted code to calculate the correct B offset.

Recently we have purchased a 5 Axis Hurco machine and we are now wanting to
output the offsets (G54 etc) straight from the post as we output multiple
positional offsets to machine 3 different Workholdings in 1 program.

Hence the OSYS command need.

That was exactly the info I am looking for.

So what kind of Sine/CSine/Tan math can I use on these vectors to generate
an A and C rotation angle?

Kelsey Heikoop
Pro CNC Inc
Lions Gate Softworks
360-746-2728
www.ProCNC.com

Top Tags