EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 462

Mitsubishi Electric MELSEC FX Series
838 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...
7 Applied Instructions
7.12 Floating Point
460
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Related instructions
Error
In the following cases, it is an operation error, and error flag (M8067) is turned ON, and error code is stored in
D8067.
When is not within the following range. (Error code: K6706)
0, ±2
-126
< ±2
128
When the type specification specified by is other than 0, 1. (Error code: K6706)
When the all digits specification specified by +1 is out of the following range. (Error code: K6706)
In the case of decimal point type
When the number of digits below decimal point is "0" . . . . . . . . . . . All digits 2
When the number of digits below decimal point is other than "0" . . All digits (decimal digits + 3)
In the case of exponential type
When the number of digits below decimal point is "0" . . . . . . . . . . . All digits 6
When the number of digits below decimal point is other than "0" . . All digits (decimal digits + 7)
When the decimal digits specification specified by +2 is out of the following range. (Error code: K6706)
In the case of decimal point type: Decimal digits (all digits - 3)
In the case of index type: Decimal digits (all digits - 7)
When the device range for storing the character string specified by is over the range of the
corresponding device.
(Error code: K6706)
When the result of conversion exceeds the specified all digits. (Error code: K6706)
Instruction Content
EVAL This instruction converts the character string (ASCII code) data into binary floating decimal point data.
STR This instruction converts BIN data into character string (ASCII code).
VAL This instruction converts the character string (ASCII code) data into BIN data.

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals