2 - 3 - 9 Decimal Display of Integer-type Values This is equivalent to the function specified by “Unit & Scale” in the NS series. At this point, the Data Display objects are the only objects that can display values with a decimal point for the integer-type variables, with the use of this function. Because the Data Edit objects cannot be specified by arithmetic operations, if you wish to deal with decimals, you must specify the data type of the variable as the floating point type. The following example explains how to set a scale of “0.1” to Variable “SampleA”. The scale function is to be implemented for the Data Edit and Data Display objects in the version upgrade scheduled in September.
30 1. Open the [Properties] tab page of a Data Display object, and specify each parameter as shown in the figure on the right. Specify the scale in [Expression] and the display format in [DisplayFormat]. Data Display object, and specify each parameter as shown in the figure on the right. Specify the scale in [Expression] and the display format in [DisplayFormat]. 2. In Step 1 above, if you set “1234” in Variable “SampleA”, the result is as shown in the figure on the right.