Predator Virtual CNC™ for Okuma CNCs

Okuma CNC Program Simulation and Verification

Okuma CNC support with Predator Virtual CNC Software

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

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

Supported Okuma G-codes

G-code Description
G0 Rapid motion
G1 Linear motion
G2 Circular CW motion
G3 Circular CCW motion
G4 Dwell
G9 Exact Stop
G10 Cancel Local Coordinate System
G11 Local Coordinate System
G15 Set Work Offset
G17 XY Plane
G18 ZX Plane
G19 YZ Plane
G20 Inch units - Mill or Return to Reference Point - Lathe
G21 Millimeter units - Mill or Return to Reference Point - Lathe
G30 Return to Reference Point - Mill
G31 Threading cycle - Lathe
G32 Threading cycle - Lathe
G33 Threading cycle - Lathe
G40 Cancel Cutter Compensation
G41 Cutter Compensation Left
G42 Cutter Compensation Right
G50 Cancel Scaling
G51 Scaling
G52 Enable Rotary Compensation
G53 Cancel Length Compensation - Mill
G54 Length Compensation - X Axis - Mill
G55 Length Compensation - Y Axis - Mill
G56 Length Compensation - Z Axis - Mill
G57 Length Compensation - 4th Axis - Mill
G58 Length Compensation - 5th Axis - Mill
G61 Exact Stop
G62 Mirroring
G71 Turn Cycle - Lathe
G72 Turn Cycle - Lathe
G73 Hole Cycle - Mill or Groove Cycle - Lathe
G74 Hole Cycle - Mill or Groove Cycle - Lathe
G75 Chamfer - Lathe
G76 Hole Cycle - Mill or Rounding - Lathe
G77 Turn Cycle - Lathe
G78 Turn Cycle - Lathe
G80 Cancel Canned Cycle
G81 Hole Cycle - Mill
G82 Hole Cycle - Mill
G83 Hole Cycle - Mill
G84 Hole Cycle - Mill
G85 Hole Cycle - Mill
G86 Hole Cycle - Mill
G87 Hole Cycle - Mill
G88 Thread Cycle - Lathe
G89 Hole Cycle - Mill
G90 Absolute mode
G91 Incremental mode
G92 Absolute Zero
G94 Feed per Minute
G95 Feed per Revolution
G96 Constant Surface Speed - Lathe
G97 Cancel Constant Surface Speed - Lathe
G98 Retract to Initial Plane
G99 Retract to Rapid Plane
G110 Constant Surface Speed - Lathe
G111 Constant Surface Speed - Lathe
G116 Select and Load Tool
G178 Turn Cycle - Lathe
G179 Turn Cycle - Lathe
G181 Hole Cycle - Lathe
G182 Hole Cycle - Lathe
G183 Hole Cycle - Lathe
G184 Hole Cycle - Lathe
G185 Thread Cycle - Lathe
G186 Thread Cycle - Lathe
G187 Thread Cycle - Lathe
G188 Thread Cycle - Lathe
G189 Hole Cycle - Lathe
G190 Turn Cycle - Lathe

NOTE: Additional Okuma G-codes are specific to the machine and can be added as needed.

Supported Okuma 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
M12 Airblast
M15 Set 4th axis rotary CW direction - Mill or C axis rotary CW direction - Lathe
M16 Set 4th axis rotary CCW direction - Mill or C axis rotary CCW direction - Lathe
M30 Program End
M40 Spindle Speed
M52 Return to Initial Point
M53 Return to Initial Point
M54 Return to Reference Point
M59 Airblast
M60 Change Pallet
M88 Airblast
M115 Set 5th axis rotary CW direction - Mill
M116 Set 5th axis rotary CCW direction - Mill
M120 Coolant On
M288 Airblast
M289 Airblast
M321 Load Tool
M339 Coolant On
M403 Set 4th axis rotary shortest direction - Mill
M404 Set 5th axis rotary shortest direction - Mill

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

Supported Okuma Functions and System Variables

Function Description
CALL Sub Program Call
MT= Select Tool
PX Current X Axis value
PY Current Y Axis value
PZ Current Z Axis value
RTS Sub Program Return
SB= Spindle Speed
TG= Select and Load Tool
TL= Tool Settings
VACOD Current Work Coordinate
VATOL Current Tool
VINS Current Units
VTLCN Current Tool
VTOFD[#] Current Cutter Compensation value
VZSHX Current Work Coordinate X axis
VZSHY Current Work Coordinate Y axis
VZSHZ Current Work Coordinate Z axis

NOTE: Additional Okuma functions are specific to the machine and can be added as needed.

Okuma User Task Function Support

User Task Functions Description
V# Variables
VC# Variables
+ Addition
- Subtraction
* Multiplication
/ Division
MOD Modulus
SQRT Square Root
OR Or boolean
NOT Not 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
ATAN2 Arctangent function
ABS Absolute function
DFIX Integer Fix function
DFUP Integer Fup function
DROUND Integer Round function
FIX Fix function
FUP Fup function
ROUND Round function
IF If function
GOTO Goto jump function

NOTE: The Okuma User Task option may have to be purchased from Okuma.