Common Variables & Assignment
Store a number in a VC common variable and use it in another expression.
On the OSP a common variable is a numbered box: VC1 = 10 means “put 10 in common variable 1”. There are 200 of them, VC1 through VC200. Watch the punctuation — on Okuma the round brackets ( … ) are comments, so all of this track's grouping is done with square brackets instead.
Your turn
The machine hands you the bolt-circle radius in VC2. Set VC1 to the hole count (4), then set VC3 to the circle's diameter by doubling the radius — compute it from VC2 so it follows whatever radius the machine gives, don't just type a number.
The machine gives you
VC2 = 40VC2 = 25Your program is run once for each set of conditions. It has to work for all of them.
This is a learning simulation — always prove out a program on the actual control before you cut metal.