Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 690

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Floating-point Math Instructions
Description
Flags
Precautions
Operation Example
W00000
650
Area
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
MOVF(469) outputs the single-precision floating-point number (32-bit source
data in IEEE754 format) from source words S+1 and S to destination words
D+1 and D.
S+1
S
D+1
D
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
When MOVF(469) is executed, the Error Flag is turned OFF.
If the source data in S+1 and S is 0, the Equals Flag is turned ON. If the
source data is non-zero, the Equals Flag is turned OFF.
If the source data in S+1 and S is negative, the Negative Flag is turned ON.
When input condition W00000 is ON, the content of D00000 and D00001 (+3.0)
MOVF
is stored in floating-point format (IEEE754 format).
+3.0
D00000
D00001
#4040
S
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
#00000000 to #FFFFFFFF
(binary)
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Source words
Destination words
Operation
OFF
ON if the source data is 0.
OFF in all other cases.
ON if the source data is negative.
OFF in all other cases.
D00000
#0000
Equivalent to +3.0 in floating-point format
Section 3-15
R
---

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents

Save PDF