Predator Virtual CNC™ for Fanuc CNCs

Predator DNC with Fanuc CNC

Fanuc CNC support with Predator Virtual CNC Software

Predator Virtual CNC provides comprehensive G-code based 3D CNC verification and machine simulation support for all Fanuc CNC models. Within Predator Virtual CNC, maximize the performance and capabilities of each Fanuc CNC model and ensure that the proper part gets machined each time.

Predator Virtual CNC includes support for all major Fanuc G-codes and M-codes standard. Not all Fanuc G-codes are available for all Fanuc models and M-codes will vary with each machine builder. Support for specific Fanuc G-codes and M-codes can be adjusted within every Predator Reverse Post Processor.

Supported Fanuc G-codes

G-code Description
G0 Rapid motion
G1 Linear motion
G2 Circular CW motion
G3 Circular CCW motion
G4 Dwell
G10 Load offsets
G15 Cancel Polar Coordinates
G16 Polar Coordinates
G17 XY Plane
G18 ZX Plane
G19 YZ Plane
G20 Inch units or Turn Cycle - Lathe
G21 Millimeter units or Thread Cycle - Lathe
G24 Turn Cycle - Lathe
G28 Return to Reference Point
G29 Return from Reference Point
G32 Threading - Lathe
G40 Cancel Cutter Compensation
G41 Cutter Compensation Left
G42 Cutter Compensation Right
G43 Length Compensation Plus
G43.1 Axis Length Compensation
G44 Length Compensation Minus
G49 Cancel Length Compensation
G50 Cancel Scaling - Mill or Set Absolute Zero - Lathe
G50.1 Cancel Mirroring - Mill
G51 Scaling
G51.1 Mirroring
G52 Local Coordinate System
G53 Machine Coordinates
G53.1 Feature Tool Axis Direction
G54 Work Offset 1
G54.1 Extended Work Offsets
G55 Work Offset 2
G56 Work Offset 3
G57 Work Offset 4
G58 Work Offset 5
G59 Work Offset 6
G65 Macro Call
G66 Modal Macro Call
G67 Cancel Modal Macro Call
G68 Rotation
G68.2 Feature Coordinate System
G68.3 Feature Coordinate System
G68.4 Feature Coordinate System
G69 Cancel Rotation
G70 Turn Cycle - Lathe
G71 Turn Cycle - Lathe
G72 Turn Cycle - Lathe
G73 Hole Cycle - Mill or Turn Cycle - Lathe
G74 Hole Cycle - Mill or Groove Cycle - Lathe
G75 Groove Cycle
G76 Hole Cycle
G77 Hole Cycle or Turn Cycle - Lathe
G78 Thread Cycle - Lathe
G79 Turn Cycle - Lathe
G80 Cancel Canned Cycle
G81 Hole Cycle
G82 Hole Cycle
G83 Hole Cycle
G84 Hole Cycle
G85 Hole Cycle
G86 Hole Cycle
G87 Hole Cycle or Groove Cycle - Lathe
G88 Hole Cycle or Groove Cycle - Lathe
G89 Hole Cycle or Groove Cycle - Lathe
G90 Absolute mode or Turn Cycle - Lathe
G91 Incremental mode
G92 Absolute Zero or Thread Cycle - Lathe
G93 Inverse Time Feed
G94 Feed per Minute or Turn Cycle - Lathe
G95 Feed per Revolution
G96 Constant Surface Speed
G97 Cancel Constant Surface Speed
G98 Retract to Initial Plane or Feed per Minute - Lathe
G99 Retract to R Plane or Feed per Revolution - Lathe

Supported Fanuc M-codes

M-code Description
M0 Operation Stop
M1 Program Stop
M2 Program End
M3 Spindle CW
M4 Spindle CCW
M5 Spindle Stop
M6 Load Tool
M8 Coolant On
M9 Coolant Off
M30 Program End
M98 Sub Program Call
M99 Sub Program Return

NOTE: Additional Fanuc M-codes are specific to the machine builder and can be added as needed.

Fanuc Custom Macro A & B Support

Macro Description
#1 - #26 Local Variables
#100 - #999 Global Variables
#1000 - #99999 System Variables
+ Addition
- Subtraction
* Multiplication
/ Division
^ Exponent
SQRT Square Root
MOD Modulus
OR Or boolean
XOR Xor boolean
AND And boolean
EQ Equal condition
NE Not Equal condition
GT Greater Than condition
LT Less Than condition
GE Greater than or Equal condition
LE Less than or Equal condition
SIN Sine function
COS Cosine function
TAN Tangent function
ATAN Arctangent function
ABS Absolute function
ROUND Round function
LN Log function
EXP Exponent function
IF IF funtion
WH or WHILE While function
DO Do loop function
END End loop function
GOTO Goto jump function
POPEN Opens the RS232 port
DPRNT Data print out the RS232 port
PCLOS Closes the RS232 port

NOTE: The Fanuc Custom Macro A & B option may have to be purchased from Fanuc.