
110
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
The decimal notation and hexadecimal notation correspond as indicated below.
POINT
•
Numerical value setting method
1) Decimal number
2) Hexadecimal number
•
16 bits
•
32 bits
Decimal Notation
Hexadecimal
Notation
Decimal Notation
Hexadecimal
Notation
32767
H7FFF
2147483647
H7FFFFFFF
:
:
:
:
5
H0005
5
H00000005
4
H0004
4
H00000004
3
H0003
3
H00000003
2
H0002
2
H00000002
1
H0001
1
H00000001
0
H0000
0
H00000000
-1
HFFFF
-1
HFFFFFFFF
-2
HFFFE
-2
HFFFFFFFE
-3
HFFFD
-3
HFFFFFFFD
-4
HFFFC
-4
HFFFFFFFC
-5
HFFFB
-5
HFFFFFFFB
:
:
:
:
-32768
H8000
-2147483648
H80000000
10 is stored into D10 in BIN.
-10 is stored into D10 in BIN.
10 is stored into D10 in
hexadecimal.
Содержание FR - F700
Страница 1: ...INVERTER FR F700 FR F 700 INVERTER PLC FUNCTION PROGRAMMING MANUAL ...
Страница 7: ...VI MEMO ...
Страница 131: ...124 Sequence instructions Program Examples LD LDI AND ANI OR ORI ORB ANB Coding Coding Coding ...
Страница 207: ...200 MEMO ...
Страница 208: ...201 Chapter 1 Chapter 2 Chapter 3 Chapter 4 4 ERROR CODE LIST 4 1 How to read the error code 202 ...
Страница 211: ...204 MEMO ...
Страница 212: ...205 APPENDIX Appendix 1 Instruction processing time 206 ...
Страница 216: ...FR F 700 INVERTER ...