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

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

Advertisement

Double-precision Floating-point Instructions (CS1-H, CJ1-H, CJ1M, or CS1D Only)
Description
Flags
Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
FIXLD(842) converts the integer portion of the double-precision (64-bit) float-
ing-point number in words S to S+3 (IEEE754-format) to 32-bit signed binary
data and places the result in D+1 and D.
S+3CH
S+2CH
D+1CH
Only the integer portion of the floating-point data is converted, and the fraction
portion is truncated. (The integer portion of the floating-point data must be
within the range of –2,147,483,648 to 2,147,483,647.)
Example conversions:
A floating-point value of 2,147,483,640.5 is converted to 2,147,483,640.
A floating-point value of –2,147,483,640.5 is converted to –2,147,483,640.
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
S
H000 to H508
A000 to A956
T0000 to T4092
C0000 to C4092
D00000 to D32764
E00000 to E32764
En_00000 to En_32766
(n = 0 to C)
@ 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)
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
S+1CH
SCH
Floating-point data (64 bits)
DCH
Signed binary data (32 bits)
Operation
ON if the data in words S to S+3 is not a number (NaN).
ON if the integer portion of words S to S+3 is not within
the range of –2,147,483,648 to 2,147,483,647.
OFF in all other cases.
ON if the result is 0000 0000.
OFF in all other cases.
ON if bit 15 of D+1 is ON after execution.
OFF in all other cases.
Section 3-16
D
H000 to H510
A448 to A958
T0000 to T4094
C0000 to C4094
D00000 to D32766
E00000 to E32766
En_00000 to En_32766
(n = 0 to C)
659

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents