Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 116

Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
(Application Functions)
b) In the case of exponent format
String
3) With regard to string data, six digits excluding the sign, decimal point and exponent part are valid, and the
7th and later digits are discarded during conversion.
a) In the case of decimal format
- 1 . 3 5 0 3 4 1 2 0 2 3
b) In the case of exponent format
- 1 . 3 5 0 3 4 1 2 E - 1 0
4) String data in the decimal format is handled as positive value during conversion when the sign is set to
"2BH (+)" or when the sign is omitted. It is handled as negative value during conversion when the sign is
set to "2DH (-)".
5) String data in the exponent format is handled as positive value during conversion when the sign of the
exponent part is set to "2BH (+)" or when the sign is omitted. It is handled as negative value during
conversion when the sign is set to "2DH (-)".
6) When "20H (space)" or "30H (0)" exists between the sign and the first number except "0" in string data,
"20H (space)" or "30H (0)" is ignored during conversion.
a) In the case of decimal format
-
0
Ignored
b) In the case of exponent format
-
0 1 . 3 5 0 3 4 E - 1 0
Ignored
7)
When "30H (0)" exists between "E" and a number in character string data (in the exponent format), "30H
(0)" is ignored during conversion.
- 1 . 3 5 0 3 4 E - 0 2
8) When "20H (space)" is contained in character string, "20H (space)" is ignored during conversion.
9) Up to 24 characters can be input as string data.
Each of "20H (space)" and "30H (0)" contained in string is counted as 1 character respectively.
Cautions
1) Use the function having "_E" in its name to connect a bus.
2) When handling string data and 32-bit data in structured programs, you cannot specify 16-bit devices
directly, different from simple projects. Use labels when handling string data and 32-bit data.
You can specify 32-bit counters directly, however, because they are 32-bit devices.
Use global labels when specifying labels.
114
High-order byte
1st word
31H (1)
2nd word
33H (3)
3rd word
30H (0)
4th word
34H (4)
5th word
2DH (-)
6th word
30H (0)
7th word
- 1 . 3 5 0 3 4 E - 1 0
Discarded
Discarded
1 . 3
5 0 3 4
Ignored
Low-order byte
2DH (-)
2EH (3)
35H (5)
33H (3)
45H (E)
31H (1)
0000H
-1.35034
Float (single precision) data
-1.35034E-10
Float (single precision) data
-1.35034
Float (single precision) data
-1.35034E-10
Float (single precision) data
-1.35034E-2
Float (single precision) data
5 Applied Functions
5.1 Type Conversion Functions
-1.35034E-10
Float (single precision)
data

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx-kp-ok-e09r927

Table of Contents