New Range Of Oem Subroutines; Rpt Instruction With Program Number Definition - Fagor 8040 TC CNC Manual

Table of Contents

Advertisement

Variables related to the WGDRAW application

12 New range of OEM subroutines.

13 RPT instruction with program number definition

N
F
EW
EATURES
(S
T: 8.
)
OFT
XX
New range of OEM
subroutines.
Page 8 of 46
SASINS
"A" signal of the CNC sinusoidal feedback for the second spindle. Is
read-only from the CNC, DNC and PLC.
SBSINS
"B" signal of the CNC sinusoidal feedback for the second spindle. Is
read-only from the CNC, DNC and PLC.
PANEDI
Number of the screen created by the user or by the OEM using the
WGDRAW application for diagnosis, consultation, work cycle, etc,
that is being consulted. Is read-only from the CNC, DNC and PLC.
DATEDI
Number of the screen element created using the WGDRAW
application that is being consulted. Is read-only from the CNC, DNC
and PLC.
A new range of OEM subroutines has now been defined.
General subroutines
OEM subroutines
Although OEM subroutines are treated like the general ones, the
have the following restrictions:
They can only be defined in OEM programs, having the [O]
attribute. Otherwise, it shows error 63 "Program subroutine
number between 1 and 9999.".
If the subroutine to be executed using CALL, PCALL or MCALL
is an OEM subroutine and it is located in a program that does not
the [O] attribute, it will issue Error 1255 "Subroutine restricted to
OEM program".
From this version on, the RPT instruction can execute a portion of
the same program or of the indicated program.
(RPT N(expression), N(expression), P(expression))
The new parameter "P" indicates the number of the program located
in RAM memory containing the two blocks defined by the N labels.
If parameter "P" is not defined, the CNC interprets that the portion
to be repeated is located in the same program.
If the defined program number does not exist, it issues Error 69
"Program does not exist".
Available subroutine ranges:
SUB 0001 - SUB 9999
SUB 10000 - SUB 20000

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents