100BBasic instructions
7.6 Move
S7-1200 Programmable controller
194
System Manual, 11/2011, A5E02486680-05
ENO
Instruction
Condition
Result (OUT)
IN is +/- INF (infinity) or +/- NaN
+/- INF or +/- NaN
IN is 0.0, negative, -INF, or -NaN
-NaN
LN
IN is +INF or +NaN
+INF or +NaN
Result exceeds valid Real/LReal range
+INF
EXP
IN is +/- NaN
+/- NaN
SIN, COS, TAN
IN is +/- INF or +/- NaN
+/- INF or +/- NaN
IN is outside valid range of -1.0 to +1.0
+NaN
ASIN, ACOS
IN is +/- NaN
+/- NaN
ATAN
IN is +/- NaN
+/- NaN
FRAC
IN is +/- INF or +/- NaN
+NaN
IN1 is +INF and IN2 is not -INF
+INF
IN1 is negative or -INF
+NaN if IN2 is Real/LReal,
-INF otherwise
IN1 or IN2 is +/- NaN
+NaN
EXPT
IN1 is 0.0 and IN2 is Real/LReal (only)
+NaN
7.6
Move
7.6.1
Move and block move instructions
Use the Move instructions to copy data elements to a new memory address and convert
from one data type to another. The source data is not changed by the move process.
●
The MOVE instruction copies a single data element from the source address specified by
the IN parameter to the destination addresses specified by the OUT parameter.
●
The MOVE_BLK and UMOVE_BLK instructions have an additional COUNT parameter.
The COUNT specifies how many data elements are copied. The number of bytes per
element copied depends on the data type assigned to the IN and OUT parameter tag
names in the PLC tag table.