Delta D25886 Uživatelský manuál Strana 132

  • 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 131
4. Motion Control Instructions
DVP-MC operating manual 4-91
4.6.3. ADD_R
API Controller
130
ADD_R
Addition of floating number
10MC11T
Explanation of the instruction:
ADD_R is used for addition operation of 32-bit floating numbers. As EN is on, add S1 to S2 and their sum
value is saved in D register.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “Add_R” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Augend REAL Constant, D
S2 Addend REAL Constant, D
D Sum REAL D
4.6.4. SUB
API Controller
131
SUB
Subtraction of 16-bit integer
10MC11T
Explanation of the instruction:
SUB is used for subtraction operation of 16-bit integers. As EN is on, subtract S2 from S1 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 “SUB” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Minuend INT Constant, D
S2 Subtrahend INT Constant, D
D Remainder INT D
Zobrazit stránku 131
1 2 ... 127 128 129 130 131 132 133 134 135 136 137 ... 338 339

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

Žádné komentáře