EasyManuals Logo

Mitsubishi FX3G Series Programming Manual

Mitsubishi FX3G Series
944 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 #614 background imageLoading...
Page #614 background image
612
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
26 Character String Control – FNC200 to FNC209
26.2 FNC201 – VAL / Character String to BIN Conversion
For example, when a character string "-123.45" is specified in and later, the conversion result is stored in
and as shown below.
2) Character string to be converted
a) Number of characters of character string and the numeric range when the decimal point is ignored
b) Character types used in characters to be converted
3) stores the number of all digits. The number of all digits indicates the number of all characters (including
the number, sign and decimal point).
4) +1 stores the number of digits of the decimal part. The number of digits of the decimal part indicates the
number of all characters after the decimal point "." (2EH).
5) stores 16-bit data (bin) converted from a character string with the decimalpoint ignored.
In the character string located in and later, "space" (20H) and "0" (30H) characters between the sign and
the first number other than "0" are ignored in the conversion to 16-bit binary data.
Description
Number of all characters (digits) 2 to 8
Number of characters (digits) of decimal part 0 to 5 and smaller than "number of all digits -3"
Numeric range when decimal point is ignored
32768 to +32767
Example: 123.45 12345
Character type
Sign
Positive numeric value "Space" (20H)
Negative numeric value "–" (2DH)
Decimal point "." (2EH)
Number "0" (30H) to "9" (39H)
S
D
1
D
2
+0
7
2
- 1 2 3 4 5
D
1
+0
+1
b15
+2
+3
b8 b7 b0
It indicates the end of the character string.
S
D
2
-12345
+1
31H(1)
33H(3)
34H(4)
00H
2DH(-)
32H(2)
2EH( )
35H(5)
D
1
D
1
D
2
S
12
Number of all
digits
Ignored
Number of digits
of decimal part
16-bit binary
data
8
2
-12345
345- 00
Ignored
7
4
12
012
Sign
Number of all
digits
Number of digits
of decimal part
16-bit binary
data

Table of Contents

Other manuals for Mitsubishi FX3G Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX3G Series and is the answer not in the manual?

Mitsubishi FX3G Series Specifications

General IconGeneral
ModelFX3G Series
Power SupplyAC 100-240V or DC 24V
Program Capacity32, 000 steps
Execution Speed0.21 µs/basic instruction
Communication OptionsRS-422, USB, Ethernet
Expansion ModulesAnalog, digital, communication
Programming LanguageLadder Logic, Instruction List
Built-in FunctionsHigh-speed counters, pulse output
Analog I/OAvailable via expansion modules

Related product manuals