Instruction Manual

3.5 PCS FLOATING POINT-TO-INTEGER CONVERSION
In the PCS, floating point numbers are converted to 16 bit unsigned integers before being written
to the PLC. When converted from a floating point number to a 16 bit unsigned integer by the PCS,
the following rounding procedure applies:
PCS Range Conversion to PLC Integer Value
−∞ to <1 0
1 to <32,769 Rounded down to nearest integer
32,769 to <65,536 Rounded down to nearest even integer
65,536 to + All values are stored as 65,535
Data read from the PLC (with the exception of OPTO 22) is considered to be 16 bit unsigned inte-
gers and is converted to floating point numbers by the PCS as follows:
PLC Integer PCS Floating Point Conversion
0 to 32,768 Unchanged
32,769 to 65,535 Rounded down to nearest even integer
It should be noted that a process measurement range (e.g., temperature) with negative numbers
is possible using an algorithm in the PLC that converts the range to all positive numbers; an F-TRAN
routine can be written to perform the same task in the PCS.
Section 3. Product Description
DESCRP
3-3