NXpost
NXpost
(OP)
hi!
we bought a new machine, and now we need a post for nx.
its 5ax XYZ,B-head C-Table.
The table-as you see in the picture (upper-right corner)- can move only underneath the head (spindle axis in vertical position) 80mm-s past with its center.
http:// kepfeltolt es.hu/view /070510/ma chine_www. kepfeltolt es.hu_.jpg
(click on the picture to get it in full size)
in the post builder, i can specify the 'linear axis travel limits'- as the size of the workspace, and the axis limits at rotary axes. Is it possible to define the 80mm somehow?
A simple 2-2,5D planar profile operation, if the workpiece big enough, needs to rotate the table, because of the machine :(
So we badly need it..
thx in advance.
kukely k
we bought a new machine, and now we need a post for nx.
its 5ax XYZ,B-head C-Table.
The table-as you see in the picture (upper-right corner)- can move only underneath the head (spindle axis in vertical position) 80mm-s past with its center.
http://
(click on the picture to get it in full size)
in the post builder, i can specify the 'linear axis travel limits'- as the size of the workspace, and the axis limits at rotary axes. Is it possible to define the 80mm somehow?
A simple 2-2,5D planar profile operation, if the workpiece big enough, needs to rotate the table, because of the machine :(
So we badly need it..
thx in advance.
kukely k
----
kukelyk





RE: NXpost
Perhaps building an is&v pp would be an option then you can visualize before things turn bad.
Jelmer
RE: NXpost
but how can the pp find the alternative motion? it has to change the coordinates ie X-100. to C180. X100. at B0.
i need some take-off, could anyone help?
the bigger problem is when the heads position is not vertical. When the head tilts to -B(backwards), the pp writes out even a correct coordinate (bigger then x-80. ie x-70) the tool lenght's correction shifts the needed phisical excursion (the table should be go through the -80 limit).
----
kukelyk
RE: NXpost
For this reason, I usually mounted parts on a tombstone and machined them horizontally, or made sure that the part was mounted on the near side of the C axis center of rotation to avoid overtravels.
Dave
RE: NXpost
----
kukelyk
RE: NXpost
RE: NXpost
----
kukelyk
RE: NXpost
The pp I have build so far have my own orientation calculation module and also I have code to push the machine over to a preferred position. You will first of all need the alternative solution before it is overwritten i.e. place a fetching module in PB_CMD_before_motion. With two solutions available you then put in a check in the linear motion procedure.
For multi-axis face milling you need to alter the mom_msys or mom_csys procedures depends upon how much customisation has been made.
You will need to think about how the machine is going to transfer to the alternative solution in simultaneous mode. If you do a retract you will need to plan the re-engage move. If you decide to keep the tool on the part you will need to choose an axis orientation that does not harm the part surface.
RE: NXpost
If the spindle axis is vertical, then i only have to rotate the c axis by 180 degrees, negate the x,y coordinates, and write out an arc with the negated x and y coordinates as its endpoint, and with the axis of the table as its center. (Still i dont know if the machine could make this movement simultaneously)
If the spindle axis not vertical, I have to retract the tool along its axis, rotate table with 180 degrees, negate x,y,b coordinates, and re-engage along its new axis-direction.
but still i dont know how can i make it in the tcl-code..
our vendor holds back the pui file, so i have to work without that..
still i dont know its algorithm..and did not find any documentation about it..do you have any?
----
kukelyk
RE: NXpost
What algorithm are you referring to?
Jelmer
rouwe-analysis
RE: NXpost
this variables go through an algorithm, which calculates the machine's coordinates about the kinematics. It is very simple at a 3 axis mill, not too complex, at 5ax, if the head has the rotary movings, but if there are one or two rotary tables, it gos more and more complicated. Still i dont know how the postprocessor makes this calculations. looking at the TCL code I hardly read it, there are lots of different coordinate variables, and lots of procedures, which calls other subprocedures etc.
I need to modify the output with my code, from the input mom_pos coordinates. i think so.
----
kukelyk
RE: NXpost
If you know what to change then altering the mom_pos variable in the MOM_linear_move, MOM_circular_move and MOM_rapid_move is what you could do. As mentioned before you can save your self some of the headache by using mom_alt_pos but you will need to fetch it before nx overwrite it.
Jelmer
RE: NXpost
It is a simple post, but later i will likely make the is&v too. What are the differences?
the pb's mom variable browser says:
mom_pos:
Data type: numeric array(5)
Category: Motion
"The machine tool coordinates of the goto point. For Lathes, this is the X and Z positions of the tool tip. For four and five milling machines, mom_pos(3) and mom_pos(4) represent the fourth and fifth axis rotary positions. The rotary positions are between 0 and 360. For three axis mill turns the output is X, Z and C. For WEDM machines, mom_pos(3) and mom_pos(4) are used for 4axis output."
to sum up what i think (pls correct it, if you know better.)
There are in the nx parameters of the tool path:X,Y,Z,I,J,K,F,S.
The post can read this values line-by-line.
There is in the post the machine's kinematics in a procedure. The post calculates about this parameters.
So i have to modify the kinematics algorithm, adding some more code, defining the limits or/and insert some more movings:retract and re-engage, or some linking move when the table and the head get on its new position.
----
kukelyk
RE: NXpost
Difference between is&v and conventional is the availability of machine model. The kinematics are derived from the kinematics model.
RE: NXpost
the 3d-model, as it defined in the machine tool bulider?
really?
i thought that the is&v model uses an inverse post, the vnc post: the is&v works so that first uses the post, and after that the converted nc-code translated back by the inverse post.
----
kukelyk
RE: NXpost
proc PB_CMD_reload_iks_parameters { } {
#=============================================================
# This command overloads new IKS params from a machine model.(NX4)
# It will be executed automatically at the start of each path
# or when CSYS has changed.
#
global mom_csys_matrix
global mom_kin_iks_usage
#----------------------------------------------------------
# Set a classification to fetch kinematic parameters from
# a particular set of K-components of a machine.
# - Default is NONE.
#----------------------------------------------------------
set custom_classification NONE
if { [info exists mom_kin_iks_usage] && $mom_kin_iks_usage == 1 } {
if [info exists mom_csys_matrix] {
if [llength [info commands MOM_validate_machine_model] ] {
if { [MOM_validate_machine_model] == "TRUE" } {
MOM_reload_iks_parameters "$custom_classification"
MOM_reload_kinematics
}
}
}
}
}
RE: NXpost
----
kukelyk
RE: NXpost
When you are prepared to skip the slide length in vertical mode then it is an easy ride apart from a chance of having the rotation direction wrong.