EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
70
Instruction Functions Section 2-2
FLOATING SYM-
BOL COMPARI-
SON (CS1-H,
CJ1-H, CJ1M, or
CS1D only)
LD, AND. or OR
+
=F (329),
<>F (330),
<F (331),
<=F (332),
>F (333),
or >=F (334)
Compares the specified single-precision data (32 bits) or constants
and creates an ON execution condition if the comparison result is true.
Three kinds of symbols can be used with the floating-point symbol
comparison instructions: LD (Load), AND, and OR.
LD:
Not required
AND or OR:
Required
636
FLOATING-
POINT TO ASCII
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
FSTR
@FSTR
448
Converts the specified single-precision floating-point data (32-bit deci-
mal-point or exponential format) to text string data (ASCII) and outputs
the result to the destination word.
Output
required
640
ASCII TO FLOAT-
ING-POINT (CS1-
H, CJ1-H, CJ1M,
or CS1D only)
FVAL
@FVAL
449
Converts the specified text string (ASCII) representation of single-pre-
cision floating-point data (decimal-point or exponential format) to 32-bit
single-precision floating-point data and outputs the result to the desti-
nation words.
Output
required
645
MOVE FLOAT-
ING-POINT
(SINGLE)
(CJ1-H-R only)
MOVF
@MOVF
469
Transfers the specified 32-bit floating-point number to the destination
words.
Output
required
649
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
S1
S2
S1
S2
S1
S2
S1: Comparison data 1
S2: Com
p
arison data 2
Symbol, option
Using LD:
Symbol, option
Using AND:
Symbol, option
Using OR:
FSTR(448)
S
C
D
S: 1st source
word
C: Control word
D: Destination
word
FVAL(449)
S
D
S: Source word
D: 1st destination
word
MOVF(469)
S
D
S: First source
word
D:
First destination
word
D+1 D
S
S+1

Table of Contents

Related product manuals