Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.
Use your display name or email address to sign in:
In inch system it is posible to specify how
the F (F = 1) value will be interpeted as
1 deg./min or as 25.4 deg./min.Change bit 7
of *NC OPTIONAL PARAMETER*(bit)No. 15 to 1
F10(10 deg./min) realy is *254 deg./min*
It WILL NOT change inch/min.
You need to add output this might fix it.
# --------------------------------------------------------------------------
# Rotary Axis Settings
# --------------------------------------------------------------------------
scaxadrs A #Address for the rotary axis
scaxminus -A #Address for the rotary axis (signed motion)
You still might need to track more down
But I think That should fix it.
add
Table rotation direction
# Table rotation direction, index
sindx_cw A #Rotate CW code
sindx_ccw -A #Rotate CCW code
sindx_mc #Target for string
fstrsel sindx_cw indx_mc sindx_mc
and force output
[ 09-11-2003, 01:20 PM: Message edited by: md ]
When I made my Okuma-4th work I used my Okuma pst
and took the rotation fromulas from Fadal post put it in Okuma pst added some formulas and outputs made M15 M16 modal and it worked. That old Fadal pst works real good on 4-th direction changes.
Not shure what output you want?
scaxadrs A #Address for the rotary axisscaxminus A- #Address for the rotary axis (signed motion)
From master
# Table rotation direction
# Table rotation direction, index
sindx_cw M22 #Rotate CW code
sindx_ccw M21 #Rotate CCW code
sindx_mc #Target for string
fstrsel sindx_cw indx_mc sindx_mc
Change
# Table rotation direction
# Table rotation direction, index
sindx_cw A #Rotate CW code
sindx_ccw -A #Rotate CCW code
sindx_mc #Target for string
fstrsel sindx_cw indx_mc sindx_mc
I did the same thing on my okuma4th
I made M16 Modal M15 Modal for output
only when dir. change
Was
pindex #Index output
if index & rot_on_x,
[
pbld, n, `sindx_mc, indx_out, e
!cabs, !cinc
]
To
pindex #Index output
if index & rot_on_x,
[
sav_mcode = indx_mc
sav_mcode = zero
pbld, n, `sindx_mc, indx_out, e
!cabs, !cinc
]
I restart with line # or number serch.
Number serch is faster but you are taking a chance with a big crash If you dont know what your doing.
$BLOCK-HAND %
(PROGRAM NAME - BLOCK HAND )
(DATE=MM-DD-YY - 02-06-03 TIME=HH:MM - 16:09 )
N100 G20 M355
N101 G90 G40 G0
N102 G30 P=VC33
N103 IF[VATOL EQ 3 ]N105
N104 T3 M6
N105 G15 H01
( 3" FACE MILL TOOL - 3 DIA. OFF. - 3 LEN. - 3 DIA. - 3. )
N106 G0 G90 X-2.25 Y-1.25
N107 S5600 M3 T1
N108 G56 H3 Z.25
N109 Z.1
N110 G1 Z0. F105.
N111 X5.25
N112 G0 Z.25
N113 M5
N114 G00 Z5.
N115 G30 P=VC32
N116 T1 M6
N117 M1
( 1/2 FLAT ENDMILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - .5 )
N118 G0 G90 X3.19 Y-.075
N119 S9875 M3 T5
N120 G56 H1 Z.25 M8
N121 Z.1
N122 G1 Z-.3417 F75.
N123 G41 D1 X3.17
N124 G3 X3.15 Y-.095 J-.02
From POST
"$",progname,"%", e
"(PROGRAM NAME - ", progname, ")", e
"(DATE=MM-DD-YY - ", date, " TIME=HH:MM - ", time, ")", e
pbld, n, *smetric, "M355", e
pbld, n, *sgabsinc, "G40", *sgcode, e
sav_absinc = absinc
#parametric callout to skip toolchange - MUST LINE NUMBER BY ONES STARTING AT 100
pbld, n, "G30", "P=VC33", e
if stagetool = one, pbld, n, "IF[VATOL EQ"," ",*tcomment,"]N105", e
if stagetool = one, n, *t, "M6", e
absinc = one
pbld, n, "G15", "H=VC100", e
absinc = sav_absinc
Mick might give some good options to.He helped me in the past.
quote:
--------------------------------------------------------------------------------
People you work with that don't mind seeing you screw something up to make themselves look better.
--------------------------------------------------------------------------------
That would be the kid with 2 or 3 years behind them they can do it all with YOUR HELP.They know every thing you do because they are looking over your sholder 24-7 with a knive in both hands.
They kiss xxxx that is why the are perfict.
eMastercam - your online source for all things Mastercam.
Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.