beautypg.com

How to change the sign of a value, Backspace function during data file value entry – Rockwell Automation 1747-DTAM-E,D17476.1 Data Table Access Module (DTAM) User Manual

Page 48

background image

5-14

Monitoring and Modifying Data

Publication 1747-6.1

How to Change the Sign of a Value

The [

] key may be used to change the sign of signed integers

contained in the Counter or Integer data files.

• For example, to change the sign of the signed integer value 56

stored at word N20:7:

Press

>@ > @ >@ >(17(5@

The module displays:

Backspace Function During Data File Value Entry

If you make an error while entering a data file value (and have not
pressed [

(17(5

] yet), you can use the Backspace Function to delete

characters and re-type the value. In the example below, integer value
56 has just been entered.

The cursor is positioned to the right of the 6.

If you press and release the [

6+,)7

] key, then press and release the

[

(6&

] key, the display appears as:

Backspacing over the first character abandons the integer entry. The
module then returns to monitoring the data file address and the
original data value.

N20:7

56

N20:7

-56

Important:

To enter a negative number into an address, you must
enter at least one numeric value before pressing the [

] key.

N20:7

56

789

N20:7

5

789