Delta D25886 Uživatelský manuál Strana 131

  • 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 130
4. Motion Control Instruction
4-90 DVP-MC operating manual
4.6. Logical Instruction
4.6.1. ADD
API Controller
128
ADD
Addition of 16-bit integer
10MC11T
Explanation of the instruction:
ADD is used for addition operation of 16-bit integers. 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” instruction is executed as “EN” is on. BOOL M,I,Q, constant
S1 Augend INT Constant, D
S2 Addend INT Constant, D
D Sum INT D
4.6.2. ADD_DI
API Controller
129
ADD_DI
Addition of 32-bit integer
10MC11T
Explanation of the instruction:
ADD_DI is used for addition operation of 32-bit integers. 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_DI” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Augend DINT Constant,D
S2 Addend DINT Constant, D
D Sum DINT D
Zobrazit stránku 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 338 339

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

Žádné komentáře