EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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
Page #543 background imageLoading...
Page #543 background image
505
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Floating-point Math Instructions
3
FSTR
FSTR
Applicable Program Areas
Operands
C: FIrst Control Word
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
FLOATING-POINT TO ASCII FSTR @FSTR 448
Expresses a 32-bit floating-point value (IEEE754-
format) in standard decimal notation or scientific
notation and converts that value to ASCII text.
Symbol
FSTR
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
S First source word REAL 2
C First control word UINT 3
D First destination word UINT Variable
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
S
OK OK OK OK OK OK OK OK OK OK
OK
--- --- OK --- --- --- ---C
---
D
Name Label Operation
Error Flag P_ER • ON if the data in S+1 and S is not a valid floating-point number (NaN).
• ON if the data in S+1 and S is +o or -o.
• ON if the Data Format setting in C is not 0000 or 0001.
• ON if the Total Characters setting in C+1 is not within the allowed range. (See 1. Limits on the Total
Number of ASCII Characters above for details.)
• ON if the Fractional Digits setting in C+2 is not within the allowed range. (See 3. Limits on the Number
of Digits in the Fractional Part above for details.)
• OFF in all other cases.
Equals Flag P_EQ • ON if the conversion result is 0.
• OFF in all other cases.
D: First destination word
FSTR(448)
S
C
D
C: First control word
S: First source word
0 hex: Decimal format
1 hex: Scientific notation
2 to 18 hex (2 to 24 characters, see note)
0 to 7 hex (see note)
Note There are limits on the total number of characters
and the number of fractional digits.
Data format
Total characters
Fractional digits

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals