CNC C for iPhone Simulation Program.
this is simple sample, quite nice-effect though. Used very basic circular interpolation example. Only Clockwise Arc cutting G02. G91 is "incremental coordinate system mode ON" command , and making cutting two "eye" circles way easier to do , just copying the circle cutting lines after each rapid movement on the next position.
Why cutting every circle in two steps? (three quarters, and one quarter)
For some reason this toy-like iphone app does not support full circle interpolation ( just G02 and circle center incremental coordinates). After every single cut spindle returns home. This lines are no needed , can be deleted to make program run faster. Also repeting feed rate after every G00-G01 is not needed. Only first time when used in program and every time when you want to change it.
T1 M6
G90 G94
G54 X0 Y0
G00 X0 Y0
G00 X-25 Y20
G91 X-10
G02 X10 Y-10 I10 J0 F200 M3
G02 X-10 Y10 I0 J10;
G90 G00 M5 X0 Y0;
G00 X25 Y20
G91 X-10
G02 X10 Y-10 I10 J0 F200M3
G02 X-10 Y10 I0 J10;
G90 G00 M5 X0 Y0;
G00 X40 Y0
G02 X-40 Y0 I-40 J0 F200 M3
G90 G00 M5 X-55 Y0;
G02 X0 Y-55 I55 J0 F200 M3
G02 X-55 Y0 I0 J55
M30;
This is simulator-compatible program version, and for learning purpose only. I do not take any responsibility for damages occured when machine-executed.
Ещё видео!