Zappettini Consulting
Home
About
Services
Our ProcessWikiLearn
Offerings
SchoolsCNC MerchCritLink
Schedule a Call
Learn→Okuma

Okuma OSP Variables

Program the Okuma OSP the way it actually reads: common variables that outlive the program, named locals that say what they mean, and IF/GOTO flow over sequence labels. Eight lessons, each graded against the same engine the Macro Playground runs.

Start the track
  1. 1Common Variables & AssignmentStore a number in a VC common variable and use it in another expression.
  2. 2Arithmetic & BracketsControl the order of operations with square brackets on the OSP.
  3. 3Retained vs Cleared: VC and VSKnow which common variables survive program end and which are wiped.
  4. 4Named VariablesGive values readable names so the next programmer can follow the maths.
  5. 5Branching with IF/GOTOTake different actions from a measurement using IF[…]GOTO and sequence labels.
  6. 6Loops with IF/GOTORepeat work with a GOTO loop back to a sequence label instead of copying blocks.
  7. 7Arguments & EMPTYRead a value passed into a subprogram and default it when the caller left it out.
  8. 8End to End: A Step PatternPut named starts, arithmetic and a loop together into one real parametric routine.

Progress is kept in this browser only — no account, nothing to sign up for.

Zappettini Consulting

Company

HomeOur ProcessContactAbout

Services

CNC Turnkey - Concept to CuttingCAM - parts, fixtures, assembliesTraining - CAD/CAM/Machine

Resources

WikiLearn CNC MacrosMacro PlaygroundStandard OfferingsSchools & EducationITAR ComplianceCNC Merch

Help and Support

contact@zappettiniconsulting.com+1 (480) 334-0806

Follow Us

InstagramLinkedIn

Copyright © 2026 Zappettini Consulting - All Rights Reserved.

ITAR Registered