Yaskawa Ladder Works Programming Manual Bedienungsanleitung Seite 117

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 220
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 116
6.11 BIT SHIFT LEFT Instruction (SHFTL)
6-20
6.11 BIT SHIFT LEFT Instruction (SHFTL)
[Outline]
The SHFTL instruction shifts the bit sequence designated by the leading bit address (Head Bit
Address) and bit width (Bit Width) to the left the designated number of bits (Number of Shifts).
[Format]
Symbol : SHFTL
Full Name : Bit Shift Left
Category : MOVE
Icon :
[Parameter]
Parameter Name Setting
Head Bit Address · Any bit type register (except for # and C registers)
· Any bit type register with subscript (except for # and C registers)
Number of Shifts · Any integer type register
· Any integer type register with subscript
· Constant
Bit Width · Any integer type register
· Any integer type register with subscript
· Constant
[Program Example]
A ten-bit wide section of data with MB0000A (bit A of MW00000) as the head is shifted five bits to
the left.
A
Note: The upper five bits are thrown away.
1 1 0 0 0
1 0 0 0
・・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・
1
A
1 0 0 0 0
・・・・・・・・・・・・・・・・・・・・・
0
0 1 0 1
・・・・・・・・・・・・・・・・・・・・・・・・・・
3
3
0 is entered.
MW00001
MW00000
MW00001
MW00000
Seitenansicht 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 219 220

Kommentare zu diesen Handbüchern

Keine Kommentare