spinner
{{ menu }}

CNC Macro Simulator II

Probably the best CNC code editor + simulator ever created

everything you need in one place

buy once (works offline, no time limit, no subscription, no account, no devices limit)

What is CNC Macro Simulator II?

CNC Macro Simulator II is a lightweight CNC code editor and simulator designed to streamline the creation of macro programs for controls like Fanuc, Haas, Mazak (ISO), Centroid, and even Sinumerik, Heidenhain, or Okuma with built-in converters. It supports both 3-axis mills and lathes with C/Y axis and live tooling. The software operates offline on Windows, Linux, macOS, Android, and iOS, and is available for desktops, tablets, and mobile phones. While the simulator currently represents only 3 axes, the software can execute macro programs for up to 6 axes, offering debugging and conversion to plain G-code.

Trusted by specialists from:

Trusted by specialists from: United States Navy, Tesla, General Motors
FANUC
HEIDENHAIN
HAAS
OKUMA
SINUMERIK
MAZAK ISO
CENTROID

Gallery

Advantages

Macro analyzing tool
debugging fanuc macro B program
See step by step what variables are used, evaluation of mathematical operations with tool path simulation
View the variables used and their values, mathematical and logical operations, alarms and subroutine nesting
Program export
file-export
Convert macro programs to plain ISO, Heidenhain, Sinumerik, or Okuma formats for compatibility with different CNC machines
Conversational
easy-to-use
Utilize conversational programming to quickly generate CNC programs without any coding
Compatibility
compatibility
Compatible with a wide range of popular CNC controls, including Fanuc, Haas, Centroid, Mazak ISO, and Siemens 802D
Multiplatform
multi-platform
Works on desktops, tablets and mobile phones and is fully compatible with Windows, MacOS, Linux, Android and IOS
Lightweight
lightweight
Hard disk space low? CNC Macro Simulator II does not need much. It takes less than 5MB (tested on MacOS)

Features

  • CNC simulator, backplotter, cnc viewer, macro interpreter, conversational programming, code converters - all in one
  • easy, fast and powerful mill & lathe conversational programming, import & export programs *
  • 3 axis for milling machines, C + Y axis + live tooling for lathes
  • conversational mode offers automatic calculation of speed and feed and plunge feed based on the selected material being machined and the tools used
  • 3 built-in converters from ISO to Okuma, Sinumerik 840D, Heidenhain i530 *
  • buy once (no time limit, no subscription, no account, no devices limit)
  • build your own custom cycles using Fanuc Macro B/Centroid read more
  • use on your desktop, tablet or even mobile phone
  • Fanuc Custom Macro B / Haas / Centroid support read more
  • support for many system variables used by Fanuc Macro B read more
  • used and tested by professionals around the world
  • CNC viewer supports many milling and turning cycles, absolute, incremental and polar programming, repeat canned cycle using L and K and local subroutines
  • line-by-line evaluation of arithmetic and logical operations
  • conversion of a program written using macros to pure g-code and the ability to compress it by up to 40 percent **
  • create, export or import tool libraries
  • keeps data in code editor even if you lost electricity
  • many examples of CNC programs
  • built-in advanced calculator (use variables, functions, math and logic operators)
  • lightweight - takes up less than 5 MB of hard disk space
  • runs on Windows, MacOS, Linux, Android and IOS
  • launch offline - no internet connection needed!
  • quick support in case of problems (response within 24 hours, except on weekends)

Viewport (simulator/graphics)

  • 3D tool path (mill)
  • simulation (play, play fast, stop, next, previous, rewind, reset)
  • mill - 5 view modes (3D, XY, XY removal, XZ, YZ)
  • lathe - 2 view modes (radial and axial removal view)
  • full screen support
  • adjustable simulation speed
  • measuring an object/coordinates
  • dynamic zoom, pan, and rotation features are accessible through the cursor, dedicated buttons, or keyboard shortcuts
  • show/hide rapid movement
  • 3 themes (dark, bright, black & white)
  • machining time estimator
  • cutting length information
  • min/max for X, Y, Z axes

Debugger tool

  • assigned and created local, common and system variables
  • highlighting lines in the code editor while debugging
  • debugging options: play, play fast, stop, next, previous, rewind, reset
  • called subroutine and nesting level
  • math and logical calculations in line
  • for IF and WHILE statement shows the actual value (true or false)
  • adjustable debugging speed
  • seamless manual control over modifying local, common, and system variable values during active debugging

Code editor

  • stores data even if there is a power outage
  • code highlighting/indentation
  • formatting code
  • intelligent adding/removing line numbers (automatically updates or preserves line numbers associated with GOTO, P and Q addresses in turning cycles, Q address in a subroutine call)
  • advanced code transformation tools: move, rotate, mirror, scale, abs to rel (and vice versa), mm to inch (and vice versa)
  • comment removing
  • skip block add/remove
  • undo/redo
  • adding/removing EOB
  • decimal point adding

Advanced calculator

  • use of variables (including system ones)
  • reads the values of both common and system variables used during debugging
  • use of logical and arithmetic operators (as in Fanuc Macro B or Centroid)
  • using functions (same as Fanuc Macro B)
  • supports Fanuc Macro B and Centroid syntax

Macro (Fanuc Custom Macro B/Haas/Centroid) support

  • keywords: IF, THEN (or TH), GOTO, WHILE (or WH), DO, END, ELSE (CENTROID), DPRNT, FOPEN, FCLOS
  • keyword shortcuts: TH => THEN, WH => WHILE
  • comparison operators (FANUC/HAAS): EQ, LT, LE, GT, GE, NE
  • comparison operators (CENTROID): ==, <, <=,>, >=, !=
  • G65/G66/G66.1 macro subprogram call
  • math functions: sin, cos, tan, asin, acos, atan, sqrt, abs, round, fix, fup, ln, exp, pow
  • local, common and the most popular system variables
  • SETVN (Set Variable Name)

Common ISO support

  • G28, G30 and G53 (home position)
  • absolute, incremental and polar mode
  • G98 retract to initial Z value (mill)
  • G99 retract to R value (mill)
  • M98 subprogram (multiple formats)
  • repeat canned cycle (L and K)
  • circular interpolation supported by using (I, J, K or R)

Lathe cycles support

  • G32/G33 thread cutting (straight and tapered)
  • G70 finishing cycle
  • G71 rough machining cycle
  • G72 facing cycle
  • G73 pattern repetition cycle
  • G74 face grooving cycle
  • G75 grooving cycle
  • G76/G78 threading cycle
  • G90 turning cycle
  • G92 threading cycle
  • G94 facing cycle

Transformation cycles

  • G16 polar coordinate
  • G51 scaling
  • G52 local work shift
  • G68 coordinate system rotation

Haas cycles support

  • G70 Bolt Hole Circle
  • G71 Bolt Hole Arc
  • G72 Bolt Holes Along an Angle

Milling conversational programming

  • CIRCULAR FACE MILLING
  • RECTANGULAR FACE MILLING
  • CIRCULAR POCKET
  • RECTANGULAR POCKET
  • CIRCULAR SHOULDER
  • RECTANGULAR SHOULDER
  • CIRCULAR GROOVING
  • RECTANGULAR GROOVING
  • HELICAL BORING
  • SPOT DRILLING
  • DWELL DRILLING
  • PECK DRILLING
  • THREAD MILLING
  • TAPPING
  • CODE SNIPPET (add your own code)

Turning conversational programming

  • FACING
  • TURNING
  • CONTOURING
  • AXIAL CONTOUR OD/ID
  • AXIAL CICULAR KEYWAY SLOT
  • DRILLING
  • AXIAL and RADIAL DRILLING
  • FACE GROOVING
  • GROOVING
  • AXIAL and RADIAL KEYWAY
  • THREADING
  • TAPPING
  • AXIAL and RADIAL TAPPING
  • REAMING
  • AXIAL and RADIAL REAMING
  • BORING
  • PARTING
  • CODE SNIPPET (add your own code)

Code converters

  • milling mode: ISO/MACRO to plain ISO, Heidenhain iTNC 530, Sinumerik 840D/840Di/810D, Okuma (mill)
  • turning mode: ISO/MACRO to plain ISO, Okuma OSP-P300
  • Do you need a special converter? Contact us

Postprocessors

  • turning mode: ISO (FANUC/HAAS, 2-line or 1-line cycles depending on the selected control), Okuma OSP-P300
  • Do you need a special post-processor? Contact us

Files

  • new project
  • open file (open multiple files at once)
  • append (add a subroutine under the main program)
  • import/export conversational program
  • cnc programs examples
  • save, save as
  • export to plain ISO, Heidenhain iTNC 530, Sinumerik 840D or Okuma code
  • file extension supported: nc, cn, ncc, cnc, eia, txt, min, mpf

Languages

  • English
{{ purchase-component }}