Mitsubishi FX3U Series Programming Manual page 608

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
5)
stores 32-bit binary data converted from a character string with the decimal point ignored.
D
2
In the character string located after
number except "0" is ignored in conversion into 32-bit binary data.
-
6 5
Ignored
0
0 0 0
Sign
Related instructions
Instruction
ESTR(FNC116)
EVAL(FNC117)
STR(FNC200)
Errors
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is
stored in D8067.
• When the number of characters of a character string to be converted (
following range (error code: K6706)
16-bit operation
32-bit operation
• When the number of characters of the decimal part of a character string to be converted (
is outside the following range (error code: K6706)
16-bit operation
32-bit operation
• When the relationship between the number of all characters of a character string to be converted (
and later) and the number of characters of the decimal part does not satisfy the following (error code:
K6706)
Number of all characters -3 ≥ Number of characters of decimal part
• When the sign is set to any ASCII code other than "space" (20H) and "-" (2DH) (error code: K6706)
• When a digit of a number is set to any ASCII code other than "0" (30H) to "9" (39H) and decimal point "."
(2EH) (error code: K6706)
• When the decimal point "." (2EH) is set twice or more in a character string to be converted (
later) (error code: K6706)
• When the binary data acquired by conversion is outside the following range (error code: K6706)
16-bit operation
32-bit operation
• When "00H" is not present in the location from
606
Number of all digits
Number of digits of
4
3
2 1
decimal part
32-bit binary data
Number of all digits
Number of digits of
5
4
3
2 1
decimal part
32-bit binary data
Ignored
Converts binary floating point data into a character string (ASCII codes) with a specified number
of digits.
Converts a character string (ASCII codes) into binary floating point data.
Converts binary data into a character string (ASCII codes).
Setting range
2 to 8
2 to 13
Setting range
0 to 5
0 to 10
Setting range
−32768 to 32767
−2,147,483,648 to 2,147,483,647
26 Character String Control – FNC200 to FNC209
26.2 FNC201 – VAL / Character String to BIN Conversion
, "space" (20H) or "0" (30H) put between the sign and the first
S
12
2
-654321
11
8
54321
Description
to the final device number (error code: K6706)
S
and later) is outside the
S
and later)
S
S
S
and

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents