EasyManua.ls Logo

Fagor 8055 M - Page 410

Fagor 8055 M
482 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
·410·
Programming manual
CNC 8055
CNC 8055i
14.
PROGRAM CONTROL INSTRUCTIONS
·M· & ·EN· MODELS
SOFT: V02.2X
Program instructions
Example of the creation of a program which contains several points of a cardioid:
Subroutine number 2 is used, its parameters having the following meaning:
A or P0 Value of angle Q.
B or P1 Value of B.
C or P2 Angular increment for calculation.
D or P3 The maximum feedrate of the axes.
A way to use this example could be:
Program generating subroutine.
G00 X0 Y0
G93
(PCALL 2, A0, B30, C5, D500)
M30
N100
(SUB 2)
(OPEN P12345)
(WRITE FP3)
(P10=P1*(ABS(COS(P0/2))))
(WRITE G01 G05 RP10 QP0)
(P0=P0+P2)
(IF (P0 LT 365) GOTO N100)
(WRITE M30)
(RET)
; Starts editing of program P12345
; Selects machining feedrate
; Calculates R
; Movement block
; New angle
; If angle smaller than 365º, calculates new
point
; End of program block
; End of subroutine
| R = B cos (Q/2) |

Table of Contents

Related product manuals