EasyManua.ls Logo

Siemens Milltronics SF 500 - Page 88

Siemens Milltronics SF 500
134 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
Loading...
Page 82 Milltronics SF 500 - INSTRUCTION MANUAL 7ML19985CN01
mmmmm
Communications
Format Register:
The bits listed above are in order from least to most significant:
*For example, to format the level reading so that it is shown in percent with two decimal
places shifted left the format bits would look like this:
The value sent to the SF 500 is 0001001000000000 binary or 4608 decimal. The value 4608
is sent as an integer to register 40,093 to format the output words 40,094 and 40,095
accordingly.
If the numeric data type is set for integer and the value contains decimal places, they are
ignored. In this situation use the decimal offset to ensure that you have an integer value
and then write your code to recognize and handle the decimal offset. Bits 9 to 11 indicate
the number of place by which the decimal is to be shifted. Bit 12 indicates the direction by
which the decimal point is shifted, left or right. For example, if the decimal offset (value of
bits 9 to 11) is ‘2’ and the shift (value of bit 12 is ‘0’), then the decimal point is shifted two
places to the right.
Bits Values Description
1 - 8 0 - 2 Error Code
9 - 11 0 - 7 decimal offset*
12 0/1 decimal shift*, Right (0) or Left (1)
13 0/1 Numeric format: Fixed (0) or FLoat (1)
14 0/1 Read or Write of data, Read (0), Write (1)
15 0/1
Word order: Most Significant word first (0), Least Significant Word
first (1)
16 Reserved
16
15 14 13 12 11 10 987654321
16
15 14 13 12 11 10 987654321
0
001001000000000
reserved
most significant first
read
fixed format
decimal offset of +2
no error code

Table of Contents

Related product manuals