Double Integer To Real; Real To Double Integer; Double Integer To Integer - Siemens SIMATIC S7-200 System Manual

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

Advertisement

Inputs/Outputs
IN
VW, IW, QW, MW, SW, SMW, LW, T, C, AIW, AC, Constant,
*VD, *LD, *AC
OUT
VW, IW, QW, MW, SW, SMW, LW, T, C, AC, *VD, *AC, *LD

Double Integer to Real

L
A
DI_TO_R
D
EN
F
IN
B
D
221
222
Inputs/Outputs
IN
VD, ID, QD, MD,SD, SMD, LD, HC, AC, Constant,*VD,*LD,
*AC
OUT
VD, ID, QD, MD, SD, SMD, LD, AC, *VD, *LD, *AC

Real To Double Integer

L
A
R_TO_DI
D
EN
F
IN
B
D
221
222
Inputs/Outputs
IN
VD, ID, QD, MD, SD, SMD, LD, AC, Constant,*VD,*LD, *AC
OUT
VD, ID, QD, MD, SD, SMD, LD, AC, *VD, *LD, *AC

Double Integer To Integer

L
A
DI_TO_I
D
EN
F
IN
B
D
221
222
S7-200 Programmable Controller System Manual
A5E00066097-02
Operands
The Double Integer to Real function converts a 32-bit,
signed integer (IN) into a 32-bit real number loads the
ENO
result into the variable specified by OUT.
OUT
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address)
224
226
Operands
The Real To Double Integer function converts a real
value (N) to a double Integer value and loads the result
ENO
into the variable specified by OUT.
OUT
Error conditions that set ENO = 0: SM1.1 (overflow),
SM4.3 (run-time), 0006 (indirect address)
224
226
Operands
The Double Integer to Integer function converts the
double integer (IN) to an integer value and loads the
ENO
result into the variable specified by OUT.
OUT
Error conditions that set ENO = 0: SM1.1 (overflow),
SM4.3 (run-time), 0006 (indirect address)
This function affects the following Special Memory bits:
224
226
SM1.1 (overflow)
IEC 1131-3 Instructions
Data Types
WORD
WORD
Data Types
DINT
REAL
Data Types
REAL
DINT
10-31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents