
48 Publication RA-UM003B-EN-P - February 2010
Chapter 2 Navigate the Function Block Editor Interface
Data ranges
The valid data ranges for the compute instructions are as follows.
Move/Logical Category
The Move/Logical category includes fundamental bit type logic
operations, including the instructions types:
•Boolean
– AND (BAND)
– Not AND (BNAND)
– OR (BOR)
– Not OR (BNOR)
– Exclusive OR (BXOR)
– Exclusive Not OR (BXNOR)
– NOT (BNOT)
•Latch
– Set Latch (SETD)
– Reset Latch (RESD)
Parameters Data Range
SourceA -2147483648 ~ 2147483647 (DINT)
-3.402823466e+38F ~ 3.402823466e+38F (REAL)
Source B -2147483648 ~ 2147483647 (DINT)
-3.402823466e+38F ~ 3.402823466e+38F (REAL)
FaultOption 0, 1, 2, 3
FaultStateValue -2147483648 ~ 2147483647 (DINT)
-3.402823466e+38F ~ 3.402823466e+38F (REAL)
IMPORTANT
When data values are large, switching between REAL and DINT
data types may cause a minimal loss of accuracy. For example,
a value of 99999999 DINT will be rounded up to 100000000
REAL when you switch to a REAL data type and then back to a
DINT data type.
Comentarios a estos manuales