EasyManua.ls Logo

NUM 1020 - Page 43

Default Icon
146 pages
Print Icon
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...
Storing Data in Variables L900 to L951
en-938872/2 3 - 3
3
The programming tools described in this chapter are necessary for creating subroutines
called by G functions (see Chapter 5).
3.1 General
Certain arguments or functions may have different meanings in the machining cycles
programmed. Status symbols [
IBE0(i)] and [
IBE1(i)] are used to detect their
presence in blocks including a G function calling a subroutine.
It is up to the subroutine to correctly address these arguments or functions according
to their meanings and to store their values in variables L900 to L951.
The bits of [
IBE0(i)] and [
IBE1(i)] (each equal to 0 or 1) are accessible for read by
parametric programming.
3.2 Storing F, S, T, H and N in Variables L900 to L925
Storing F, S and T
Status symbol [
IBE0(i)] consisting of a list of bits is used to detect programming of
F, S or T in blocks including a function Gxxx.
Index (i): from 1 to 26 for addresses A to Z.
Addressing the status symbol:
- bit [
IBE0(6)] is set if F is programmed,
- bit [
IBE0(19)] is set if S is programmed,
- bit [
IBE0(20)] is set if T is programmed.
The values of F, S and T are stored in the following variables (L900 to L925):
- F in L905,
- S in L918,
- T in L919.
Storing H and N
H and N can only be stored when not preceded by functions G75, G76, G77 or G79
related to them for ISO programming.
A second N (following the first N and defining the last call sequence of a subroutine
N.. to N..) is stored in variable L914 (this N can in no case be the block number
programmed at the start of the sequence).
Addressing the status symbol:
- bit [
IBE0(8)] is set if H is programmed,
- bit [
IBE0(14)] is set if the first N is programmed,
- bit [
IBE0(15)] is set if the second N is programmed.

Table of Contents

Related product manuals