Delta-electronics Extension Digital I/O Module DOP-EXIO14RAE Uživatelský manuál Strana 150

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 157
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 149
Appendix D Use of Application Instructions|DOP-EXIO Series
Revision March, 2008, Doc. Name: 2007PDD23000014 D-69
Mnemonic Operands Function
ABS D
D
Absolute Value
Bit Devices Word Devices
X Y M S K H KnX KnY KnM KnS T C D E F
D
16-bit instruction (3 Steps)
ABS
Continuous
execution
32-bit instruction (5 Steps)
DABS
Continuous
execution
y Flags: None
Operands:
D
: Device of the absolute value
Explanations:
This instruction obtains the absolute value of the content in the designated in D.
Program Example:
When X0 = OffOn, obtain the absolute value of the content in D0.
X0
ABS D0
Zobrazit stránku 149

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

Žádné komentáře