Omron CP1E CPU UNIT SOFTWARE User Manual page 383

Cp1e cpu unit software
Table of Contents

Advertisement

Instruction
Mnemonic
FLOATING
LD, AND, or OR
SYMBOL
+
COMPARISON
=F, <>F, <F,
<=F, >F, or >=F
FLOATING-
FSTR
POINT TO
ASCII
ASCII TO
FVAL
FLOATING-
POINT
CP1E CPU Unit Software User's Manual(W480)
Variations
Symbol/Operand
---
Using LD:
Symbol, option
S1
S2
Using AND:
Symbol, option
S1
S2
Using OR:
Symbol, option
S1
S2
S1: Comparison data 1
S2: Comparison data 2
@
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
Function
Compares the specified single-precision data (32 bits) or con-
stants and creates an ON execution condition if the comparison
result is true.
LD connection
ON execution condition when
comparison result is true.
<F
S1
S2
AND connection
<F
S1
S2
OR connection
<F
S1
ON execution condition when
S2
comparison result is true.
Converts the specified single-precision floating-point data (32-bit
decimal-point or exponential format) to text string data (ASCII) and
outputs the result to the destination word.
C: First Control Word
0 hex: Decimal format
1 hex: Scientific notation
Total characters
Data format
2 to 18 hex (2 to 24 characters, see note)
Fractional digits
0 to 7 hex (see note)
Note There are limits on the total number of characters and the
number of fractional digits.
Converts the specified text string (ASCII) representation of sin-
gle-precision floating-point data (decimal-point or exponential for-
mat) to 32-bit single-precision floating-point data and outputs the
result to the destination words.
Appendices
ON execution condition when
comparison result is true.
A-29

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CP1E CPU UNIT SOFTWARE and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF