A custom Autodesk Autodesk Fusion post processor for the Mazak Integrex 100-IV ST dual turret mill-turn machine with Matrix (Nexus) control.
This post processor is specifically designed for:
- Machine: Mazak Integrex 100-IV ST (Model IN1004ST)
- Serial Number: 195369
- Control: Mazak Matrix (Matrix Nexus)
- Owner: Grace Engineering Corp
- Configuration: Dual turret, Y-axes on both turrets, B-axis on upper turret, sub-spindle
- β Dual turret support with G109 L1/L2 turret selection
- β Matrix control M-codes (M901/M902, M200/M300, M950, M562/M563)
- β Y-axis on both upper and lower turrets (Β±105mm travel)
- β B-axis on upper turret (0-90Β°, programmable) - output pending
- β Sub-spindle support
- β Diameter mode for turning operations
- β Complete motion control (G0, G1, G2, G3)
- β Drilling cycles (G81-G89)
- β Tapping cycles (G74/G84)
- β Boring cycles (G85-G89)
- β Threading cycles (G76/G92) - NEW in v0.5.0!
- β Milling and turning operations
- β Work offset management (G54-G59)
- β Spindle speed limiting per spindle type
| Axis | Travel | Notes |
|---|---|---|
| X-axis | -50mm min (radius) | No maximum limit check |
| Y-axis | Β±105mm | Both turrets |
| Z-axis | Software limits | Β±100,000mm for calculations |
| B-axis | 0Β° to 90Β° | Upper turret only, programmable |
| C-axis | 0Β° to 360Β° | Both spindles, cyclic |
| Spindle | Max RPM | Notes |
|---|---|---|
| Main | 5,060 | Kitagawa 6" 3-jaw chuck limitation |
| Sub | 6,000 | Standard chuck |
| Live Tooling | 12,000 | Both turrets |
| Turret | Y-Axis | B-Axis | C-Axis | Live Tools |
|---|---|---|---|---|
| Upper (TR1/HD1) | β Β±105mm | β 0-90Β° | β | β 12k RPM |
| Lower (TR2/HD2) | β Β±105mm | β | β | β 12k RPM |
- Autodesk Fusion
- Access to CAM workspace
- Basic understanding of mill-turn programming
-
Download the Post Processor:
git clone https://github.com/your-username/grace-integrex-post.git cd grace-integrex-post -
Copy to Autodesk Fusion Post Library:
Windows:
Copy grace_integrex_100iv_dual_turret.cps to: %LOCALAPPDATA%\Autodesk\webdeploy\production\<version>\Fusion\Server\CAM\cache\posts\macOS:
Copy grace_integrex_100iv_dual_turret.cps to: ~/Library/Application Support/Autodesk/webdeploy/production/<version>/Fusion360.app/Contents/Libraries/Applications/CAM/cache/posts/ -
Select in Autodesk Fusion:
- Open CAM workspace
- Right-click on Setup β Post Process
- Click "Select" next to "Post Configuration"
- Choose "grace_integrex_100iv_dual_turret" from library
- Click "Post"
-
Setup Your Part in Autodesk Fusion
- Create manufacturing setup for mill-turn
- Assign operations to correct turret (1=Upper, 2=Lower)
- Set spindle (Primary=Main, Secondary=Sub)
- Define work coordinate system (G54-G59)
-
Tool Assignment
- Turret 1 (Upper): Tools with Y-axis and B-axis capability
- Turret 2 (Lower): Tools with Y-axis, no B-axis
- Enter Tool ID Code in Product ID field if required
-
Post Process
- Select this post processor
- Configure properties (see below)
- Generate G-code
- Review output for correctness
| Property | Default | Options | Description |
|---|---|---|---|
| Controller Type | Matrix | Matrix, Smooth | Control type |
| Max Spindle Speed (Main) | 5060 | 0-10000 | Main spindle RPM limit |
| Max Spindle Speed (Sub) | 6000 | 0-10000 | Sub-spindle RPM limit |
| Max Spindle Speed (Live) | 12000 | 0-20000 | Live tooling RPM limit |
| Use Sequence Numbers | Tool Change | Yes, No, Tool Change | N-code output |
| Use Radius Arcs | true | true, false | R vs IJK for arcs |
| Use Canned Cycles | true | true, false | Drilling cycles |
| Optional Stop | true | true, false | M01 output |
%
(PROGRAM: SAMPLE-PART)
(Grace Engineering - Integrex 100-IV ST)
(Serial: 195369)
G21 G18 G90 G94 G49 G54
(======================================)
(UPPER TURRET - MILLING WITH DRILLING)
(======================================)
G109 L1
M901
M200
M203 S5000
T0101
G54
M8
(Contour milling)
G17
G0 X25.0 Y0.0 Z5.0
G1 Z-5.0 F500
G3 X25.0 Y0.0 I-25.0 J0.0 F800
(Drilling pattern - NEW!)
G0 X30.0 Y10.0
G98 G90 G83 X30.0 Y10.0 Z-20.0 R5.0 Q5.0 F100
X40.0 Y10.0
X50.0 Y10.0
G80
G0 Z50.0
M205
M202
M9
M950
M30
(======================================)
(LOWER TURRET - TURNING)
(======================================)
G109 L2
M901
M202
T0201
M3 S1200
G0 X52.0 Z5.0
G1 Z-25.0 F0.25
X50.0
G0 X100.0 Z50.0
M9 M5
M950
M30
M30
%Current Version: 0.5.0
Status: Development - Cycles Complete (Drilling, Tapping, Threading)
-
Phase 1: Foundation Setup
- Machine configuration
- Program structure
- Header/footer generation
-
Phase 2: Matrix Control M-Codes
- G109 turret selection
- M901/M902 spindle selection
- M200/M300 milling mode
- M950 synchronization
- Tool management
-
Phase 3: Motion Implementation
- G0 rapid positioning
- G1 linear interpolation
- G2/G3 circular interpolation
- Feed rate management
- Y-axis per turret
-
Phase 4: Advanced Operations (40% Complete - IN PROGRESS)
- β G81-G89 Drilling/tapping/boring cycles
- β G76/G92 Threading cycles
- β³ B-axis control (upper turret)
- β³ C-axis positioning
- β³ Sub-spindle operations
-
Phase 5: Compound Machining
- Balanced cutting (M562/M563)
- Parallel operations
- Cross-machining (G110/G111)
-
Phase 6-8: Tool Management, Advanced WCS, Testing
See DEVELOPMENT_STATUS.md for detailed progress.
- β No B-axis output (upper turret B not implemented yet)
- β No C-axis indexing for live tools
- β No balanced cutting (M562/M563)
- β No sub-spindle part transfer
- β Not tested on actual machine yet
- β G76 Compound Threading - Multi-pass automatic threading with depth control
- β G92 Simple Threading - Single-pass threading
- β Thread parameters - Pitch, depth, taper, infeed angle, spring passes
- β All features from v0.4.5 (drilling, tapping, boring)
This post processor is under active development. Before using on the actual machine:
- β Validate all G-code in Mazak simulator
- β Perform dry run with no part/tools
- β Verify all work offsets and tool offsets
- β Check spindle speed limits
- β Verify turret clearances
- β Test with single-block execution first
The developers assume no liability for machine damage, tool breakage, or scrap parts.
This is a standalone, definitive post processor:
- All machine definitions contained in single file
- No external machine definition files required
- Single source of truth for this specific machine
- Based on Mazak Integrex i-100S reference post
- Diameter Mode: X-axis uses
scale:2to output diameter values - G109 Structure: Each turret section ends with M30
- M950 Synchronization: Automatic insertion between turret changes
- Modal Output: Efficient G-code with modal suppression
grace_integrex_100iv_dual_turret.cps
βββ Header (Machine info, version, changelog)
βββ Properties (User-configurable settings)
βββ Format Definitions (Number formatting)
βββ Global Variables (Machine state, flags)
βββ M-Code Definitions (getCode function)
βββ Machine Configuration (defineMachine)
βββ Turret Activation (activateMachine)
βββ Utility Functions (Helpers)
βββ Main Callbacks (onOpen, onSection, onLinear, etc.)
- CHANGELOG.md - Version history and changes
- DEVELOPMENT_STATUS.md - Current development progress
- TECHNICAL_NOTES.md - Implementation details
- CONTRIBUTING.md - How to contribute
- xformat_fix_documentation.md - Critical diameter mode fix
This is a custom post processor for a specific machine. Contributions are welcome but should maintain compatibility with the Grace Engineering Integrex 100-IV ST configuration.
- Fork the repository
- Create a feature branch (
git checkout -b feature/improvement) - Make your changes
- Test thoroughly (simulator + dry run)
- Commit with clear messages (
git commit -m 'Add feature: ...') - Push to branch (
git push origin feature/improvement) - Create Pull Request
- Heavy commenting for clarity
- Maintain existing code structure
- Test all changes in simulator
- Update documentation
- Follow Autodesk post processor best practices
Proprietary - Grace Engineering Corp
This post processor is custom-developed for Grace Engineering's specific machine configuration. Use on other machines may require modifications.
Developed By:
- Grace Engineering Corp
- Claude AI (Anthropic)
Based On:
- Autodesk Fusion
mazak_integrex_i-100s.cpsreference post - Mazak Matrix programming manual specifications
- Grace Engineering machine parameters (Serial 195369)
Special Thanks:
- Mazak for programming documentation
- Autodesk for Fusion CAM platform
- Mill-turn programming community
For Issues:
- Open an issue on GitHub
- Include Autodesk Fusion version
- Attach generated G-code sample
- Describe expected vs actual behavior
For Machine-Specific Questions:
- Contact Grace Engineering directly
- Refer to Mazak programming manual
- Consult Mazak technical support
- Mazak Programming Manual
- Autodesk Post Processor Training
- Autodesk Fusion CAM Documentation
- Matrix Control Documentation
- β Phase 1-3 completion
- β Phase 4 started: Drilling cycles
- π Phase 4 continuation: B-axis, threading
- π Simulator testing
- Phase 5: Compound machining
- First machine dry run
- Documentation completion
- Phase 6-8: Final features
- Production validation
- v1.0 release
Last Updated: January 2026
Current Version: 0.4.5
Status: Active Development