Selca CNC G Functions & Codes – S4000 & S3000 Series Programming Guide
Selca CNC 4000/3000 Series control G-Functions/ G-codes for cnc machinists who work on cnc machines with Selca cnc controls.
These Selca G Functions work on following Selca cnc controls,
- Selca S4000 Series – S4040, S4040, S4045P,S4060D
- Selca S3000 Series – S3040, S3045, S3045P, S3035D

Selca G Functions
GENERAL G-FUNCTIONS
| G Code | Description |
|---|---|
| G00 | Axis rapid positioning |
| G01 | Linear interpolation |
| G02 | Clockwise circular/helical interpolation |
| G03 | Counterclockwise circular helical interpolation |
| G04 | Timed dwell |
| G09 | Deceleration at block end |
| G10 | First point or circle that defines a straight line |
| G11 | Second point or circle that defines a straight line |
| G13 | Straight line, at a known angle, through a point or tangent to a circle |
| G14 | Cancels MASTER-SLAVE axes (G15) (Only with Master-Slave option) |
| G15 | MASTER-SLAVE axes (Only with Master-Slave option) |
| G16 | Axis exchange |
| G17 | Plane selection (XY is the machining plane, Z is the perpendicular axis) |
| G17 | Selection of planes different than XY |
| G18 | Plane selection (ZX is the machining plane, Y is the perpendicular axis) |
| G19 | Plane selection (YZ is the machining plane, X is the perpendicular axis) |
| G20 | Circle of known center and radius |
| G21 | Chamfer |
| G21 | Linking radius |
| G25 | Cancels G26 |
| G26 | Axis reversal compensation (default on) |
| G27 | First point of a SPLINE curve linking a series of at least 5 points |
| G28 | Cusp point of a SPLINE curve |
| G29 | Last point of a SPLINE curve |
| G30 | Cancels G31 and re-establishes deceleration at block end |
| G31 | Continuous motion mode with automatic feed adjustment |
| G32 | End of internal subroutine and return to the main program |
| G34 | Opens programming of the profile delimiting the zone of ruled surface to be machined |
| G35 | Ends programming of the profile delimiting the zone of ruled surface to be machined |
| G36 | Disables storing of actual machine axis path |
| G37 | Enables storing of actual machine axis path |
| G38 | Closes the file opened with a G39 |
| G39 | Opens a file to store actual machine axis path |
| G40 | Exit from profile and cutter compensation disable |
| G41 | Enables tool radius compensation, tool left of profile |
| G42 | Enables tool radius compensation, tool right of profile |
| G43 | Paraxial radius compensation: the compensation is added to the coordinate |
| G44 | Paraxial radius compensation: the compensation is subtracted from the coordinate |
| G48 | Recalls and enables tool length compensation |
| G49 | Defines cylindrical mill radius |
| G49 | Defines spherical mill radius (for G841/G736/G726) |
| G49 | Defines toroidal mill radius (for G841/G736/G726) |
| G50 | Cancels the offset / rotation function G51 |
| G51 | Offset / rotation of the coordinate system on the plane |
| G52 | Offset of the coordinate system on the plane |
| G53 | Cancels mirror machining |
| G54 | X-mirror machining (change sign to X coordinates) |
| G55 | Y-mirror machining (change sign to Y coordinates) |
| G56 | Z-mirror machining (change sign to Z coordinates) |
| G57 | XY-mirror machining (change sign to X and Y coordinates) |
| G58 | ZX-mirror machining (change sign to Z and X coordinates) |
| G59 | YZ-mirror machining (change sign to Y and Z coordinates) |
| G60 | Cancels G61 (scaling factor) |
| G61 | Scaling factor |
| G61 | Programmable zone scaling |
| G62 | Type of coordinates for the definition of circle center in G2/G3 |
| G67 | Cancels G68/G69 static TCPM |
| G68 | Static TCPM for rotary tables |
| G69 | Static TCPM for rotary heads |
| G70 | Inch system programming with CNC metric configuration |
| G71 | Metric system programming with CNC inch configuration |
| G72 | Cancels subprogram modal recall (G73) |
| G73 | Subprogram modal recall |
| G74 | Rounding off in the ±180° range for rotary axes |
| G75 | Cartesian coordinate programming (cancels G76) |
| G76 | Polar coordinate programming |
| G77 | Polygonal pocket |
| G78 | Last point of a polygonal pocket without finish pass |
| G78 | Circular pocket milling (roughing cycle) |
| G79 | Last point of a polygonal pocket with finish pass |
| G79 | Circular pocket milling (roughing & finish cycle) |
| G80 | Cancels fixed cycles |
| G81 | Drilling /spot facing fixed cycle |
| G82 | Deep mixed drilling cycle |
| G83 | Deep drilling fixed cycle with tool retraction for chip discharge |
| G84 | Tapping fixed cycle |
| G85 | Reaming fixed cycle |
| G86 | Boring fixed cycle |
| G88 | Spaced plane drilling fixed cycle |
| G89 | Differentiated drilling fixed cycle (Only for S4000 Series CNCs) |
| G90 | Absolute coordinate programming |
| G91 | Incremental coordinate programming |
| G92 | F-feed rate override |
| G93 | Feed rate defined as inverse of block execution time |
| G94 | F-feed rate in mm/min or inches/min |
| G95 | F-feed rate in mm/rev or inches/rev |
| G98 | Cancels G99 |
| G99 | Drift compensation (compensates for position offsets caused by servo drives) |
| G200 | Cancels G201 and G202 (cylindrical/polar programming) |
| G201 | Cylindrical programming |
| G202 | Polar programming |
| G666 | Storing profile elements that have not been machined using the collision control |
| G701 | Defines tool approach to profiled pockets |
| G710 | Cancels G711 (profile storing) |
| G711 | Profile storing |
| G721 | Calculates and stores equidistant points on a profile |
| G726 | Ruled surfaces between two profiles: first profile |
| G727 | Ruled surfaces between two profiles: second profile |
| G728 | Ruled surfaces between two profiles: execution |
| G730 | Cancels G731 (Only for S3000 Series CNCs) |
| G731 | High speed milling of profiles defined by points (Only for S3000 Series CNCs) |
| G732 | Cancels G733 |
| G733 | High speed milling of profiles defined by points with S speed ramp |
| G734 | Spiral milling: execution |
| G735 | Spiral milling |
| G736 | Surfaces defined by a plane profile and one or more section profiles: plane profile and parameters |
| G737 | Surfaces defined by a plane profile and one or more section profiles: section profiles |
| G738 | Surfaces defined by a plane profile and one or more section profiles: execution |
| G740 | Cancels G748 and G749 |
| G746 | Defers G748 cycle |
| G748 | 4-axis surface machining (S4045P and Export versions) or 4/5-axis (S3045P, S4060D and S4045P) with rotary tables or tilting tables (dynamic TCPM) |
| G749 | 4-axis surface machining (S4045P and Export versions) or 4/5 axis (S3045P, S4060D and S4045P) with 1/2-axis rotary heads (dynamic TCPM) |
| G750 | Cancels G751 |
| G751 | Rotation/offset in space |
| G753 | Cancels G754 |
| G754 | Profile direction reversal |
| G760 | Cancels G761 |
| G761 | Axis travel delimitation |
| G773 | Cancels management Roll-Over axes (only for S4000 Series CNCs) |
| G774 | Roll-Over rotary axes (only for S4000 Series CNCs) |
| G777 | Opens profile pocket programming and set parameters |
| G778 | Profiled pocket milling cycle without finishing pass |
| G779 | Profiled pocket milling cycle with finishing pass |
| G780 | Grid/circumference pattern machining repeat: execution |
| G781 | Grid pattern drilling/spot facing supercycle |
| G782 | Grid pattern deep mixed drilling supercycle |
| G783 | Grid pattern deep drilling with tool retraction for chip discharge supercycle |
| G784 | Grid pattern tapping supercycle |
| G785 | Grid pattern reaming supercycle |
| G786 | Grid pattern boring supercycle |
| G787 | Grid pattern machining repeat supercycle |
| G789 | Grid pattern differentiated drilling supercycle (Only for S4000 Series CNCs) |
| G791 | Circumference pattern drilling/spot facing supercycle |
| G792 | Circumference pattern deep mixed drilling supercycle |
| G793 | Circumference pattern deep drilling with tool retraction for chip discharge supercycle |
| G794 | Circumference pattern tapping supercycle |
| G795 | Circumference pattern reaming supercycle |
| G796 | Circumference pattern boring supercycle |
| G797 | Circumference pattern machining repeat |
| G799 | Circumference pattern differentiated drilling supercycle (Only for S4000 Series CNCs) |
| G817 | Tool length offset on an axis non-orthogonal to the machining plane |
| G840 | Cancels G841 |
| G841 | Tool radius compensation in space |
| G845 | Cancels G846 |
| G846 | Manual axis control by handwheels during machining |
| G850 | Cancels G851 |
| G851 | Part origin offset by handwheels |
| G872 | ON/OFF touch probe measuring cycle in space |
| G873 | Touch/copying probe measuring cycle in space |
| G900 | Cancels G901 |
| G901 | Edit and graphic execution disabling during machining |
| G910 | Cancels G911 |
| G911 | Disables travel limit control |
| G997 | Cancels G998 (Only for S3000 Series CNCs) |
| G998 | Block sequence number check (Only for S3000 Series CNCs) |
| G1000 | Cancels G1001 |
| G1001 | Graphic execution of a program sequence |
| G4724 | Cancels G4725 (only for S4000 Series CNCs) |
| G4725 | Planetary milling (only for S4000 Series CNCs) |
| G9999 | Synchronization of program execution with tool path display |
COPYING G-FUNCTIONS
| G Code | Description |
|---|---|
| G877 | Limits, mode and copying plane |
| G879 | Closing of limit definition |
| G880 | Profile end in copying mode 11 |
| G881 | Copying cycle start |
| G882 | Digitizing cycle end |
| G883 | Digitizing cycle |
| G884 | Copying parameters for unidirectional passes (3, 4, 9 and 10 copying modes) |
| G884 | Radial copying parameters (8, 9, 10 copying modes) |
| G888 | Profile learning parameters |
| G889 | Copying probe data |
| G890 | Zeroing deflections with inclined probes |
| G891 | Angles of rotation with inclined probes |
CNC Machine
- Master CNC Batch Machining: Optimize Your Programming Workflow
- Discover the Advantages of 5‑Axis CNC Machining
- CNC Machining: Comparing 3‑Axis, 4‑Axis, and 5‑Axis Systems for Optimal Precision
- 5-Axis CNC Machining Explained: Precision and Efficiency for Complex Parts
- Understanding 5‑Axis CNC Machining: Capabilities, Benefits, and Industry Impact
- Step-by-Step CNC Machining Center Programming Guide for Beginners
- Vertical Machining Center CNC Programming Guide for Beginners
- SELCA CNC Programming Sample – Step‑by‑Step Code Overview
- M Code Mastery: CNC Programming Quiz
- Master G Codes: Take the CNC Programming Quiz