CNC Machine Help-Home

Applications & Programming
RS232 communications
Macro programming
Macro variable list
Programming safety code
Coolant mix water problems
Finish, chatter problems
Tapping problems
Common Parameter changes
Drill tap chart
Tool presetter calibration
Create a new NC program
Fixture design considerations
Tool breakage detection
Unit conversion software
End mill training education
Touch or tool probe systems
G10 parameter change
G codes, M codes List (General)
Okuma G & M codes list
Haas G code, M code list

Rotary Indexer selection
High pressure coolant
Coolant oil skimmers
Tool breakage detection
Machine tool Options

 

**CNC help Forums**
Newest recent content
CNC Books Store
CNC Specialty STORE (New!!)

Classifieds (buy/sell-Free)
Search

Newsletter sign up

Free trade magazines



RS232 cables



Using a G10 statement to change parameters in NC program

On Fanuc controls a G10 L50 statement can often be used for changing parameters. Sometimes a parameter may be changed while the program is running to inhibit an area by changing the overtravels, or maybe change a parameter that in one part of the program needs to be one way and in another section may need to be the other. A G10 parameter change statement is also sometimes used in probing routines or more commonly to load values into work coordinates or tool offsets.

There are to types of parameters that require two different formats for using G10. One is used when there is 8 separate bits within the one parameter number. The other is when it is a parameter with X,Y,Z .... axis with their own separate values. Below are some examples using both.

Caution !! remember that you must change the parameter number back at some point within the program and if the program is stopped within the middle of this change there remains the possibility to cause severe damage to machine or injury.

Example G10 statements for changing parameters with axis designations within it X,Y,Z etc.

O1000
NC Program number
G10L50; (Parameter input mode ON)
N1320 P1 R50; (1320 is parameter number, P1-is for the 1st axis within the parameter or X-axis) (R25=value to “25”).
G11; (Parameter input mode OFF)

Example G10 Program to change a parameter with 8 bits

O1000
NC Program number
G10L50; (Parameter input mode ON)
N0012R11001100 (0012 is parameter number, 11001100=bit 0 to bit8).
G11; (Parameter input mode OFF)

If you have any other examples of G10 statements please email me.

Google
 
Web www.machinetoolhelp.com

 

Share your CNC information?
...Procedures
...Macro programs
...Experience
...Stories
...Articles
...Recommendations
...Anything related

Suggestions or comments?
Please Email Me: petro@machinetoolhelp.com

Thank you for all your contributions and supporting the CNC community.





.