Rockwell-automation AutoMax Enhanced Ladder Language Reference Manual Uživatelský manuál Strana 176

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 352
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 175
9Ć2
Use this instruction: To:
Circular Rotate Bits Right (ROR) Rotate a specified number of the least significant
bits into the most significant bit positions while
the instruction is enabled.
Circular Rotate Bits Right on Transition
(RR)
Rotate a specified number of the least significant
bits into the most significant bit positions for
each falseĆtrue transition of the enable bit.
This instruction performs the same operation as
ROR, but it is edgeĆtriggered.
The supported parameters are:
D Boolean arrays
D simple integer and double integer
D elementĆindexed integer and double integer arrays
Rotating Bits Within Boolean Arrays
In a Boolean array, you cannot rotate more bits than the array contains. For example, if
a Boolean array has 5 elements, you cannot rotate 6 elements. The maximum number
of bits that can be rotated in one instruction is 8 bits.
Zobrazit stránku 175
1 2 ... 171 172 173 174 175 176 177 178 179 180 181 ... 351 352

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

Žádné komentáře