Lenze DDS v2.3 Uživatelský manuál Strana 277

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 340
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 276
Drive PLC Developer Studio
IEC 61131-3 Operators
12-7
l DDS EN 2.3
12.3.4 ROR
Rotating the bits of an operand to the right
Example IL:
LD 2#1001_0011
ROR 3
S
T
V
a
r
1
A:= ROR (IN, N)
S
T
V
a
r
1
(* Var1 = #0111_0010 *)
IN is rotated by one bit position to the right N times, with the bit being on the extreme right being
reinserted from the left.
Tip!
The number of bits for the arithmetic operation is specified by the data type of input variable IN.A
constant is considered as the lowest-order data type. The data type of the output variable has no
effect on the arithmetic operation.
Show/Hide Bookmarks
Zobrazit stránku 276
1 2 ... 272 273 274 275 276 277 278 279 280 281 282 ... 339 340

Komentáře k této Příručce

Žádné komentáře