Mitsubishi Electronics 700 Series Manual De Usuario

Descargar
Página de 183
101
Handling of Numerical Value
3
3.21 Handling of Numerical Value
The built-in PLC function has instructions that handle numerical values indicated in 16
bits.
The most significant bit of the 16 bits is used to judge whether the value is positive or
negative. Therefore, the numerical values that can be handled as 16 bits are as
follows.
16 bits: -32768 to 32767
The decimal notation and hexadecimal notation correspond as indicated below.
POINT
•Numerical value setting method
1) Decimal number
2) Hexadecimal number
Decimal Notation
Hexadecimal Notation
32767
H7FFF
to
to
5
H0005
4
H0004
3
H0003
2
H0002
1
H0001
0
H0000
-1
HFFFF
-2
HFFFE
-3
HFFFD
-4
HFFFC
-5
HFFFB
to
to
-32768
H8000
10 is stored into D10 in BIN.
-10 is stored into D10 in BIN.
10 is stored into D10 in 
hexadecimal.