Handling Of Numerical Value - Mitsubishi Electric FR - F700 Programming Manual

Plc function programming manual
Table of Contents

Advertisement

Handling of Numerical Value

3.21 Handling of numerical value
The built-in PLC function has instructions that handle numerical values indicated in 16-
bit and 32-bit.
The most significant bit of the 16-bit or 32-bit are used to indicate whether the value is
positive or negative. Therefore, the numerical values that can be handled are as
follows.
16-bit: -32768 to 32767
32-bit: -2147483648 to 2147483647
POINT
• Numerical value setting method
1) Decimal number
2) Hexadecimal number
The decimal notation and hexadecimal notation correspond as indicated below.
16 bits
Decimal Notation
32767
:
5
4
3
2
1
0
-1
-2
-3
-4
-5
:
-32768
110
Hexadecimal
Notation
H7FFF
:
H0005
H0004
H0003
H0002
H0001
H0000
HFFFF
HFFFE
HFFFD
HFFFC
HFFFB
:
H8000
10 is stored into D10 in BIN.
-10 is stored into D10 in BIN.
10 is stored into D10 in
hexadecimal.
32 bits
Decimal Notation
2147483647
:
5
4
3
2
1
0
-1
-2
-3
-4
-5
:
-2147483648
Hexadecimal
Notation
H7FFFFFFF
:
H00000005
H00000004
H00000003
H00000002
H00000001
H00000000
HFFFFFFFF
HFFFFFFFE
HFFFFFFFD
HFFFFFFFC
HFFFFFFFB
:
H80000000

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr-f700

Table of Contents