
Page 82
Milltronics SF 500 - INSTRUCTION MANUAL
7ML19985CN01
mmmmm
Communi
cat
ions
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
9
8
7
6
5
4
3
2
1
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
re
se
rve
d
most signif
ic
ant
fir
st
re
ad
fix
ed
fo
rm
at
deci
mal
o
ffset o
f +2
no
e
rr
or
c
ode
Содержание Milltronics SF 500
Страница 1: ...Instruction Manual September 2003 SF 500 milltronics ...
Страница 6: ...iv mmmmm Table of Contents ...