EasyManua.ls Logo

HEIDENHAIN iTNC 530 HSCI - Bit Set (Bs); Initial State: Double Word D8; Double Word D12; Function

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...
1808 HEIDENHAIN Technical Manual iTNC 530 HSCI
9.8.56 BIT SET (BS)
Syntax: BS (BIT SET)
Operands: B, W, D, K, X
Action:
With the BIT SET command you can set each bit in the accumulator to 1. The
corresponding bits are selected (addressed) by the content of the specified
operand or by a constant. As to the bit numbering, bit 0 = LSB and bit 31 =
MSB. For operand contents greater than 32, the iTNC uses the operand value
modulo 32, i.e. the integral remainder of the result of the operand value
divided by 32.
Example:
Load double word D8 into the accumulator, set bit 0 of the accumulator to 1,
and save the result in double word D12.
Initial state:
Double word D8 = 3E 80 (hex)
Double word D12 = ?
Function STL Accumulator
content
Operand content
Load the double word D8
into the word accumulator
L D8 3E80 3E80
Set the bit specified in the
operand to 1.
BS K+0 3E81
Assign the result to
double word D12.
= D12 3E81 3E81

Table of Contents

Other manuals for HEIDENHAIN iTNC 530 HSCI

Related product manuals