Bit format, 16 bit signed integer – Rockwell Automation 2707-NP DTAM Programming Software User Manual

Page 172

Advertising
background image

Appendix D

Data Formats

D–2

Bit Format

Bit Data

16 Individual Bits

(One 16 Bit address)

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

The controller stores a binary (0 or 1) status at each bit address. The DTAM
Plus reads a PLC bit address and determines whether the operational status of
the bit is ON (1) or OFF (0).

You can specify associated text to be displayed for either state of a specified
bit. This description can be up to twenty characters.

For example, the OFF(0) state of a bit might display “Pump is OFF”, and the
ON(1) state “Pump is ON”. DTAM Plus Programming Software allocates
enough screen characters for the longest of the two text strings. In this
example, 11 characters would be allocated to display “Pump is OFF”.

Note: The fewer the characters used, the less memory is required. In the
example above, displaying “OFF” (given the appropriate context) conveys
the same information in 3 characters as “Pump is OFF” does with 11
characters.

16 Bit Signed Integer

16 Bit Signed Integer

Range = -32768 to +32767

Bit 16

(Sign Bit)

Bit 1

16 Bit Data Field

This data format displays a 16 bit register as a signed Integer (two’s
complement) value. The 16th bit of the register is the sign bit and is set (1)
for a negative and cleared (0) for a positive number.

Note: The 16 bit signed integer values have a range of -32768 to +32767.
This data format may also be scaled to different engineering units.

Advertising