EasyManuals Logo

Panasonic FP7 Series Command Reference Manual

Panasonic FP7 Series
1222 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 #100 background imageLoading...
Page #100 background image
Representation of decimals in the PLC
Decimals are processed as either 16-bit or 32-bit binary data.
Signed data is processed as follows:
1. If the highest-order bit is a sign bit and a positive number, the value is "0", or if it is
negative, the value is "1".
2. For positive numbers, the digits aside from the highest-order digit describe the size of the
data in bits.
<Example> Representation of the decimal "1868"
1,024
2,048
4,096
8,192
16,384
0 0 0 0 0 1 1 1 0 1 0 0 1 1 0 0
1
2
4
8
16
32
64
128
256
512
The other bits indicate the data size.
1,024 + 512 + 256 + 64 + 8 + 4 = 1868
The highest digit bit is '0', representing a positive figure.
3. For negative numbers, 2's complement is used. 2's complement is binary data in which 0
and 1 are inverted in the binary data for the positive number, and then 1 is added to the
binary data.
<Example> Representation of the decimal "-4"
0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0
Decimal
BIN represetation
of a decimal '4'
1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1
Invert 0 and 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0
Add 1
Decimal
BIN represetation
of a decimal '-4'
The highest digit bit becomes '1'.
2.9 Range of data that can be handled in the PLC
2-48 WUME-FP7CPUPGR-12

Table of Contents

Other manuals for Panasonic FP7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP7 Series and is the answer not in the manual?

Panasonic FP7 Series Specifications

General IconGeneral
BrandPanasonic
ModelFP7 Series
CategoryController
LanguageEnglish

Related product manuals