beautypg.com

Bit-wise values, Decimal placement for numeric values, Bit-wise values 59 – Watlow Series D8 User Manual

Page 77: Decimal placement for numeric values 59

background image

Series D8 User’s Guide

Chapter 3: Communicating by DeviceNet

Doc. 0600-3120-2000

Watlow Anafaze

59

phrase and in some cases a number, see the parameter infor-

mation in Chapter 6, Menu and Parameter Reference. The in-

teger value appears in parentheses following each option. Use

that integer value when you set or interpret the value of the pa-

rameter via DeviceNet.

Bit-Wise Values

Some settings, such as those that enable alarms, are stored as

bits within words. To examine the value of just one bit, you

can “and” the value with a mask word to extract the particular

bit in which you are interested. To set or clear the bit, add or

subtract the appropriate value to change the value of the word.
For example, to extract the fourth bit from a value in a bit-wise

parameter, you would “and” it with a word that is all zeros ex-

cept the fourth bit (0000000000001000, or 8 in decimal). To

set the bit, add 8 to the value. To clear the bit, subtract 8 from

the value.

NOTE!

Throughout this manual, we refer to the least
significant bit as the rightmost bit.

Decimal Placement for Numeric Values

Numeric values that are in the loop’s engineering units are

stored as integers. The number of decimal places that are as-

sumed when a parameter value is stored in the controller de-

pends upon the Input type and Disp format parameter values

for the loop. See Table 3.4.

Table 3.4

Number of Decimal Places for
Numeric Values via Logic

Input Type

Display Format

Decimal

Places

Any thermocouple

-999 to 3000

1

RTD

-999.9 to 3000.0

1

Process

-999 to 3000

1

-9999 to 30000

0

-999.9 to 3000.0

1

-99.99 to 300.00

2

-9.999 to 30.000

3

-0.9999 to 3.0000

4