EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Page 1820

HEIDENHAIN iTNC 530 HSCI
1966 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...
1820 HEIDENHAIN Technical Manual iTNC 530 HSCI
Commands for
operating the index
register
The following commands are available for exchanging data between the word
accumulator and index register, or between the stack and index register:
LX (Load index to accumulator)Index register – word accumulator
=X (Store accumulator to index) Word accumulator – index register
PSX (Push index register) Index register – stack
PLX (Pull index register) Stack – index register
INCX (Increment index register)
DECX (Decrement index register)
Error and dialog
files
Starting with software version 05, indexed access to error and dialog files is
possible via the operands B/W/D.
In the example, a copy of S1 ("TEST" is loaded into S2, and S3 then contains
the string "TEST", but only starting from the 3rd character ("ST"). Also, indexed
access to error and dialog files is shown:
#define Ofs D100
#define Start D104
#define offset_dialog D108
#define offset_error D112
L S#"TEST"
=S1
LK1
= Ofs
LK2
= Start
=X
L S0[Ofs]
= S2
L S2^Start
=S3
LK5
= offset_dialog
L S#D10[offset_dialog]
= S0[offset_dialog]
LK6
= offset_error
L S#E10[offset_error]
= S0[offset_error]
EM

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals