Add Double Integer And Subtract Double Integer - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

SIMATIC Instructions

Add Double Integer and Subtract Double Integer

L
ADD_DI
A
EN
D
F
IN1
B
D
IN2
SUB_DI
EN
IN1
IN2
S
+D
T
L
-D
221
222 224
Inputs/Outputs
IN1, IN2
VD, ID, QD, MD, SMD, SD, LD, AC, HC, Constant, *VD, *AC, *LD
OUT
VD, ID, QD, MD, SMD, SD, LD, AC, *VD, *AC, *LD
9-74
The Add Double Integer and Subtract Double Integer
instructions add or subtract two 32-bit integers, and
produce a 32-bit result (OUT).
ENO
In LAD and FBD:
OUT
OUT
In STL:
ENO
Error conditions that set ENO = 0: SM1.1 (overflow),
OUT
OUT
SM4.3 (run-time), 0006 (indirect address)
These instructions affect the following Special Memory
bits: SM1.0 (zero); SM1.1 (overflow); SM1.2 (negative)
IN1, OUT
IN1, OUT
226
Operands
IN1 + IN2 = OUT
IN1 - IN2 = OUT
IN1 + OUT = OUT
OUT - IN1 = OUT
S7-200 Programmable Controller System Manual
Data Types
DINT
DINT
A5E00066097-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents