EasyManua.ls Logo

SEW-Eurodrive IPOS plus - Page 308

SEW-Eurodrive IPOS plus
384 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...
308
Manual – IPOSplus®
23
Bit commands
Assembler – Commands
BMOVN/BIT
MOVE NEGATE
The BMOVN command copies a bit from one variable to a bit in another variable, negat-
ing it in the process. The bit places of a variable have the numbers 0 ... 31. The least
significant bit has the number 0.
Command structure
Mxxx BMOVN HX1.X2 =
HX3.X4
Mxxx: Label (optional)
X1: Target variable
X2: Bit position in a target variable
X3: Source variable
X4: Bit position in a source variable
BMOVN HXX.YY = HZZ.AA In variable HXX, the bit YY is set to the negated value of bit AA of the vari-
able HZZ.
Example 1 BMOVN H2.4 = H7.5
The command copies the negated bit 5 of variable H7 into bit 4 of variable
H2.
Example 1 SET H200 = 0BMOV H200.0 = H473.20JMP H200 == 1 M01
The program jumps to the label M01 when reference travel has not yet
been performed for the drive (H473 STAT. WORD).
P
i
f
kVA
Hz
n
P
i
f
kVA
Hz
n

Table of Contents