
08-25-2010, 09:24 AM
|
 | | | Join Date: Dec 2008 Location: Krypton Age: 51
Posts: 1,556
| |
Yes, they are controlled in the post
look for # --------------------------------------------------------------------------
# Format statements - n=nonmodal, l=leading, t=trailing, i=inc, d=delta
# --------------------------------------------------------------------------
#Default english/metric position format statements
fs2 1 0.7 0.6 #Decimal, absolute, 7 place, default for initialize (
fs2 2 0.4 0.3 #Decimal, absolute, 4/3 place
fs2 3 0.4 0.3d #Decimal, delta, 4/3 place
#Common format statements
fs2 4 1 0 1 0 #Integer, not leading
fs2 5 2 0 2 0l #Integer, force two leading
fs2 6 3 0 3 0l #Integer, force three leading
fs2 7 4 0 4 0l #Integer, force four leading
fs2 8 5 0 5 0l #Integer, force five leading
fs2 9 0.1 0.1 #Decimal, absolute, 1 place
fs2 10 0.2 0.2 #Decimal, absolute, 2 place
fs2 11 0.3 0.3 #Decimal, absolute, 3 place
fs2 12 0.4 0.4 #Decimal, absolute, 4 place
fs2 13 0.5 0.5 #Decimal, absolute, 5 place
fs2 14 0.3 0.3d #Decimal, delta, 3 place
fs2 15 0.2 0.1 #Decimal, absolute, 2/1 place (feedrate)
fs2 16 1 0 1 0n #Integer, forced output
fs2 17 1.4 1.3lt #Decimal, absolute, 4/3 trailing |
BUT
How many decimal places does your machine read in metric ? usually 3 ( 4 for inch ) and 4 for degrees
Posts are usually set-up OK , but you have to be careful in what you change as one format statement can control many different addresses. Some machines error if too many decimal places are given, especially on arcs. fmt N 4 n$ #Sequence number
fmt X 2 xabs #X position output
fmt Y 2 yabs #Y position output
fmt Z 2 zabs #Z position output
fmt X 3 xinc #X position output
fmt Y 3 yinc #Y position output
fmt Z 3 zinc #Z position output
fmt A 11 cabs #C axis position
fmt A 14 cinc #C axis position
fmt A 14 cout_i #C axis position
fmt A 4 indx_out #Index position |
in the above example, C axis position is using format statement A (address), with #11 format. Go to the fs2 11 line what says 0.3 0.3 , which is no leading zero and up to 3 places after the decimal, change the fmt A 11 to fmt A 12 would give you 4 decimal places on the A axis output |