Delta D25886 Uživatelský manuál Strana 136

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 339
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 135
4. Motion Control Instructions
DVP-MC operating manual 4-95
4.6.11. DIV_DI
API Controller
138
DIV_DI
Division of 32-bit integer
10MC11T
Explanation of the instruction:
DIV_DI is used for division operation of 32-bit integer. As EN is on, divide S1 by S2 and their result value is
saved in D register.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “DIV_DI” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Dividend DINT Constant, D
S2 Divisor (0 is forbidden) DINT Constant, D
D Quotient DINT D
4.6.12. DIV_R
API
Controller
139
DIV_R
Division of floating number
10MC11T
Explanation of the instruction:
DIV_R is used for division operation of 32-bit floating number. As EN is on, divide S1 by S2 and their result
value is saved in D register.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “DIV_R” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Dividend REAL Constant, D
S2 Divisor (0 is forbidden) REAL Constant, D
D Quotient REAL
Zobrazit stránku 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 338 339

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

Žádné komentáře