Reading the Programme Status Access Symbols
en-938872/2 2 - 3
2
The programming tools described in this chapter are required for creating subroutines
called by G functions (see Chapter 5).
2.1 General
The programme status access symbols give visibility into the functions programmed
in a block used to call a machining cycle by a G function. They also give information
on the part programme context when the call is made.
These symbols are used to read the modal data in the current block.
These read-only symbols are accessible by parametric programming.
These symbols can be:
- symbols to access the data in the current block,
- symbols to access the data in the previous block.
Each symbol addresses a data item or list of data items with the form of a one-
dimensional array or table.
2.2 Symbols for Accessing the Data of the Current Block
The symbols can be:
- symbols addressing Boolean values,
- symbols addressing numerical values.
General Syntax
Variable = [
•
symbol(i)]
Variable L programme variable, symbolic variable [symb], E
parameter.
[
•
symbol(i)] Symbol between square brackets, preceded by a
decimal point, possibly followed by an index (i).
2.2.1 Symbols Addressing Boolean Values
The symbols addressing Boolean values associated with programmed functions are
used to determine whether the functions are active or not.
The Boolean values are defined by 0 or 1.