EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

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
Loading...
3. Instructions
512
CS/CJ/NSJ Series Instructions Reference Manual (W474)
z Storage of ASCII Text
The following diagrams show how the ASCII text number is converted to floating-point data. Different
conversion methods are used for numbers stored with decimal notation and scientific notation.
00
S
ASCII Character Storage
Up to 00 hex
(25 characters max.)
FVAL(449) converts the ASCII characters
starting with the leftmost byte of S and
continuing until a byte containing 00 hex is
reached. There must be a byte containing
00 hex within the first 25 bytes.
15 078
00
SP SP
(20)
(20)
00
Decimal notation
Digit
25 characters max.
The 7th and higher digits are ignored. (The sign, decimal point,
and exponent characters are not counted as digits.)
Any spaces (20 hex) or zeroes (30 hex)
before the first digit are ignored.
Positive number: Space (20 hex) or Plus sign (2B hex)
Negative number: Minus sign (2D hex)
Integer part
Sign
Fractional part
Decimal
point
Sign
15 078
(20)
00
SP
E
(20)
. (2E)
E (45)
00
Scientific notation
25 characters max.
The 7th and higher digits are ignored.
(The sign, decimal point, and exponent
characters are not counted as digits.)
Any spaces (20 hex) or zeroes (30 hex)
before the first digit are ignored.
Positive number: Space (20 hex) or Plus sign (2B hex)
Negative number: Minus sign (2D hex)
Positive: + (2B hex)
Negative: - (2D hex)
Exponential part
Sign
Fractional part
Decimal
point
Integer part
Sign
E (45)
Sign
Digit
Digit
Digit
Sign
Digit Digit

Table of Contents

Related product manuals