Siemens S7-200PLC Especificações Página 251

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 250
SIMATIC Instructions
9-75
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
Multiply Double Integer and Divide Double Integer
The Multiply Double Integer instruction multiplies two
32-bit integers and produces a 32-bit product.
The Divide Double Integer instruction divides two 32-bit
integers and produces a 32-bit quotient. No remainder is
kept.
In LAD and FBD: IN1<IN2 = OUT
IN1 / IN2 = OUT
In STL: IN1<OUT = OUT
OUT / IN1 = OUT
Error conditions that set ENO = 0: SM1.1 (overflow),
SM1.3 (divide-by-zero), SM4.3 (run-time), 0006 (indirect
address)
These instructions affect the following Special Memory
bits: SM1.0 (zero); SM1.1 (overflow); SM1.2 (negative);
SM1.3 (divide-by-zero)
If SM1.1 (overflow) is set during a multiply or divide
operation, the output is not written and all other math
status bits are set to zero.
If SM1.3 (divide by zero) is set during a divide operation, then the other math
status bits are left unchanged and the original input operands are not altered.
Otherwise, all supported math status bits contain valid status upon completion of
the math operation.
Inputs/Outputs Operands Data Types
IN1, IN2 VD, ID, QD, MD, SMD, SD, LD, HC, AC, Constant, *VD, *AC, *LD DINT
OUT VD, ID, QD, MD, SMD, SD, LD, AC, *VD, *LD, *AC DINT
L
A
D
S
T
L
OUT
MUL_DI
EN
IN1
IN2
OUT
OUT
DIV_DI
EN
IN1
IN2
OUT
*D IN1, OUT
/D IN1, OUT
F
B
D
ENO
ENO
222 224
33
3
221
Vista de página 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 503 504

Comentários a estes Manuais

Sem comentários