180
15.4 DISPLAY TYPE AND OPERATION
15.4.1 Numeral display range for data type (Operation is not applied.)
-32,768 32,767
Decimal without sign 16bit
Decimal without sign 32bit
15.4.2 Numeral display procedure
It is executed in order as below, if display form is not a real number.
1. It saves the value read from serial communication and interpreted as designate data type
in 32 bit memory. It is saved in 32 bit inner memory even if device designated in a basic tap
is 16 bit.
2. It executes the operation with designated factor1, factor2 and offset in operation tap.
3. It is displayed with designated type.
※Notice
(1) In level 1, if controller(PLC) device is 32bit with sign/without sign, the value saved in device is
copied to 32bit GP memory.
If controller(PLC) device is 16bit with sign/without sign and positive number, the value saved in
device is copied to lower word of 32bit GP memory.
If it is a 16bit of negative number with sign, it requires to notice, for example, it is assumed saved
value in 16bit memory of controller is interpreted as a positive number, it is same with negative
number -1, the value saved in a controller is 2
16
-1=65535, complement of 2 for -1. When it is
saved 32bit GP memory, complement of 2 for -1, 2
32
-1=4,294,967,295 is saved for 32bit.
(2) The value can be different in accordance with a decimal with sign or without sign for display type.
The result value operated is regarded as 32bit positive number with sign if it is a decimal with
sign and 32bit positive number without sign, if it is a decimal without sign.
The following diagram indicates saved value -1 in 16bit memory of controller is saved to 32bit GP
memory in accordance with designation of 16bit with/without sign and display form is shown in GP
screen in accordance with/without sign.