Floating To 32-Bit: Fixl(451) - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Floating-point Math Instructions
Flags
Precautions

3-15-2 FLOATING TO 32-BIT: FIXL(451)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
The content of S+1 and S must be floating-point data and the integer portion
must be in the range of –32,768 to 32,767.
Converts a 32-bit floating-point value to 32-bit signed binary data and places
the result in the specified result words.
FIXL(451)
S: First source word
S
R: First result word
R
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
Area
CIO Area
Work 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
Operation
ON if the data in S+1 and S is not a number (NaN).
ON if the integer portion of S+1 and S is not within the
range of –32,768 to 32,767.
OFF in all other cases.
ON if the result is 0000.
OFF in all other cases.
ON if bit 15 of the result is ON.
OFF in all other cases.
Step program areas
Subroutines
OK
S
CIO 0000 to CIO 6142
W000 to W510
H000 to H510
A000 to A958
T0000 to T4094
C0000 to C4094
D00000 to D32766
E00000 to E32766
En_00000 to En_32766
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Section 3-15
FIXL(451)
@FIXL(451)
Not supported.
Interrupt tasks
OK
R
A448 to A958
597

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents