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

  • 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 116
Appendix D Use of Application Instructions|DOP-EXIO Series
D-36
Revision March, 2008, Doc. Name: 2007PDD23000014
Program Example 1:
When X0 = On, D0 will be divided by D10 and the quotient will be stored in D20 and remainder in D21.
On/Off of the highest bit indicates the positive/negative status of the result value.
X0
DIV D0 D10 D20
D0 D10 K4Y0
DIV
Program Example 2:
When X0 = On, (D1, D0) will be divided by (D11, D10) and the quotient will be stored in (D21, D20) and
remainder in (D23, D22). On/Off of the highest bit indicates the positive/negative status of the result
value.
X0
DDIV D0 D10 D20
D0 D10 K8Y0
DDIV
Zobrazit stránku 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 156 157

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

Žádné komentáře