Data Access Tool (DAT). Allen-Bradley micrologix 1500

Add to my manuals
174 Pages

advertisement

Data Access Tool (DAT). Allen-Bradley micrologix 1500 | Manualzz

5-2 Using Trim Pots and the Data Access Tool (DAT)

Trim Pot Information Function File

The composition of the Trim Pot Information (TPI) Function File is described in the MicroLogix 1200 and MicroLogix 1500 Instruction Set

Reference Manual, publication 1762-RM001.

Error Conditions

If the controller detects a problem/error with either trim pot, the last values read remain in the data location, and an error code is put in the error code byte of the TPI file for whichever trim pot had the problem. Once the problem/error is corrected, the error code is cleared. The error codes are described in the MicroLogix 1200 and

MicroLogix 1500 Instruction Set Reference Manual, publication

1762-RM001.

Data Access Tool (DAT)

The DAT is a convenient and simple tool that provides an interface for editing and monitoring data. The DAT has five primary features:

• provides direct access to 48 bit elements

• provides direct access to 48 integer elements

• provides two function keys

• displays controller faults

• allows removal/insertion under power

DAT Keypad and Indicator Light Functions

The DAT has a digital display, 6 keys, an up/down key, and 7

indicator lights. Their functions are described in the table on page 5-3.

PROTECTED

F1

BIT

F2

INT

ESC

ENTER

Publication 1764-UM001B-EN-P - April 2002

Using Trim Pots and the Data Access Tool (DAT) 5-3

Feature

Digital Display

Up/Down Key

F1 Key and Indicator Light

F2 Key and Indicator Light

ESC Key

BIT Key and Indicator Light

INT Key and Indicator Light

ENTER Key

PROTECTED Indicator Light

Function

Displays address elements, data values, faults and errors.

Selects element numbers and change data values. The up/down key scrolls when held.

Controls the F1 status bit. When the F1 key is pressed or latched, the F1 indicator LED is lit.

Controls the F2 status bit. When the F2 key is pressed or latched, the F2 indicator LED is lit.

Cancels a current operation.

Pressing the BIT key puts the DAT in bit mode. The bit indicator light is on when the DAT is in bit mode.

Pressing the INT key puts the DAT in integer mode. The integer indicator light is on when the DAT is in integer mode.

Press to select the flashing element number or enter data value.

Indicates element data cannot be changed using the DAT (element is read-only).

TIP

The F1, F2, ESC, BIT, INT, and ENTER keys do not repeat when held. Holding down any one of these keys results in only one key press. The Up/Down arrow key is the only key that repeats when held.

Power-Up Operation

The DAT receives power when it is plugged into the controller. Upon power-up, the DAT performs a self-test.

If the test fails, the DAT displays an error code, all indicator lights are deactivated, and the DAT does not respond to any key presses. See

DAT Error Codes on page 5-10.

PROTECTED

F1

BIT

F2

INT

ESC

ENTER

After a successful self-test, the DAT reads the DAT function file to determine its configuration.

Publication 1764-UM001B-EN-P - April 2002

5-4 Using Trim Pots and the Data Access Tool (DAT)

DAT Function File

DAT configuration is stored in the processor in a specialized configuration file called the DAT Function File. The DAT Function

File, which is part of the user’s control program, is described in the

MicroLogix 1200 and MicroLogix 1500 Instruction Set Reference

Manual, publication 1762-RM001.

Following a successful power-up sequence, the DAT enters the bit monitoring mode.

0 0

F1

BIT

PROTECTED

o f f

-

0

F2 ESC

INT ENTER

Power Save Timeout (PST) Parameter

The power save timeout turns off the DAT display after keypad activity has stopped for a user-defined period of time. The power-save

(DAT:0.PST) value is set in the DAT Function File. The valid range is 0 to 255 minutes. The power-save feature can be disabled by setting the

PST value to 0, which keeps the display on continuously. The default value is 0.

In power-save mode, a dash flashes in the left-most segment of the display. Press any key (except F1 or F2) to return the DAT to its previous mode. If F1 or F2 is pressed, the DAT will change the value of the F1 or F2 status bits, but the display remains in power-save mode.

Publication 1764-UM001B-EN-P - April 2002

Using Trim Pots and the Data Access Tool (DAT) 5-5

Understanding the DAT Display

When the DAT enters either the bit or integer mode, the element number and its data are displayed, as shown below. The element number is either the integer or bit location.

Bit Mode Display

0 0

F1

BIT

PROTECTED

o f f

-

0

F2 ESC

INT ENTER

Integer Mode Display

PROTECTED

1 2

-

3 2 7 6

8

F1 F2 ESC

BIT INT ENTER

bit element number

• 0 to 47 bit data

• OFF - 0

• ON - 1

• – – – (undefined) integer element number

• 0 to 47 integer data

• -32,768 to 32,767

• – – – (undefined)

If the displayed element is defined in the controller’s data file, and is not protected, the element number flashes, indicating that it can be modified. If the displayed element is protected, the PROTECTED indicator light illuminates, and the element number does not flash, indicating that the element cannot be modified.

If the element is undefined, the data field displays three dashes. The element number does not flash because the element does not exist.

0 5

F1

BIT INT

F2

PROTECTED

- -

ESC

ENTER

Publication 1764-UM001B-EN-P - April 2002

5-6 Using Trim Pots and the Data Access Tool (DAT)

Entering Bit Mode

Bit mode allows you to view and modify up to 48 contiguous bit locations in the controller. The DAT enters the bit mode automatically following a successful power-up. The bit mode can also be selected by pressing the BIT key. If the bit mode was previously active, the

DAT displays the last bit element monitored. If the integer mode was active, the DAT displays the first bit element in the data file. However, there may be a brief delay while the DAT requests information from the controller. During the delay, the working screen will display. See

Working Screen Operation on page 5-7.

Entering Integer Mode

Integer mode allows you to view and modify up to 48 contiguous

16-bit integer data locations in the controller. To initiate integer mode, press the INT key. If the integer mode was previously active, the DAT displays the last integer element monitored. If the bit mode was active, the DAT displays the first integer element in the data file.

However, there may be a brief delay while the DAT requests information from the controller. If there is a delay, the working screen

is displayed. See Working Screen Operation on page 5-7.

Monitoring and Editing

1. Press the INT or BIT key to enter the desired mode. The element number flashes (if not protected).

2. Use the up/down key to scroll and select an element (to scroll rapidly, hold the up/down key).

3. Press ENTER to edit the element. The element number becomes steady and the data flashes if it is not protected.

4. Use the up/down key to change the data. Bit values toggle between “ON” and “OFF”. Integer values increment or decrement. Holding down the up/down key causes the integer value to increment or decrement quickly.

TIP

If the data is protected or undefined, pressing the up/down key scrolls to the next element in the list.

Publication 1764-UM001B-EN-P - April 2002

Using Trim Pots and the Data Access Tool (DAT) 5-7

5. Press ENTER to load the new data. Press ESC or INT/BIT to discard the new data.

F1 and F2 Functions

The function keys, F1 and F2, correspond to bits and can be used throughout the control program as desired. They have no effect on bit or integer monitoring.

Each key has two corresponding bits in the DAT function file. The bits within the DAT function file are shown in the table below.

Key Bits Address

F1 Key Pressed DAT:0/F1P

Latched DAT:0/F1L

F2 Key Pressed DAT:0/F2P

Latched DAT:0/F2L

Data Format

Binary

Type User Program

Access

Status Read/Write

Binary

Binary

Binary

Status

Status

Status

Read/Write

Read/Write

Read/Write

F1 or F2 Key Pressed

The pressed bits (DAT:0/F1P and DAT:0/F2P) function as push-buttons and provide the current state of either the F1 or F2 key on the keypad. When the F1 or F2 key is pressed, the DAT sets (1) the corresponding pressed key bit. When the F1 or F2 key is not pressed, the DAT clears (0) the corresponding pressed key bit.

F1 or F2 Key Latched

The latched bits (DAT:0/F1L and DAT:0/F2L) function as latched push-buttons and provide latched/toggle key functionality. When the

F1 or F2 key is pressed, the DAT sets (1) the corresponding latched key bit within the DAT Function File. When the F1 or F2 key is pressed a second time, the DAT clears (0) the corresponding latched key bit.

Working Screen Operation

Because the DAT is a communications device, its performance is affected by the scan time of the controller. Depending on the user program, if a long scan time is encountered and the DAT waits for information from the controller, a working screen is displayed. The

Publication 1764-UM001B-EN-P - April 2002

5-8 Using Trim Pots and the Data Access Tool (DAT) working screen consists of three dashes that move across the display from left to right. While the working screen is displayed, key presses are not recognized. Once the DAT receives data from the controller, it returns to its normal mode of operation.

If you encounter excessive working screen conditions, you can minimize the effect by adding an SVC instruction to the control program. Refer to the MicroLogix 1200 and MicroLogix 1500

Programmable Controllers Instruction Set Reference Manual, publication 1762-RM001, for information on the SVC instruction.

Non-Existent Elements

When the DAT determines that an element number does not exist in the controller, the element value displays as three dashes.

If the protection bit for an element is undefined, the DAT will assume that the element is unprotected.

Controller Faults

The DAT checks for controller faults every 10 seconds. When the DAT detects a controller fault, the display shows “FL” in the element number field and the value of the controller’s major fault word (S2:6) is displayed in the value field, as shown below.

TIP

PROTECTED

f l

0 0 0

F1 F2 ESC

BIT INT ENTER

If an element value is being modified when the fault is detected, the fault is stored until the modification is accepted or discarded. Then, the fault will be displayed.

Publication 1764-UM001B-EN-P - April 2002

Using Trim Pots and the Data Access Tool (DAT) 5-9

Pressing ESC while the fault is being displayed returns the DAT to its previous mode. The fault is not removed from the controller, just from the DAT display screen. The fault that was on screen will not display again and cannot be “recalled”. If a new fault is detected, it will be displayed. If the initial fault is cleared and returns at a later time, the

DAT will display the fault at that time.

Error Conditions

When the DAT detects an error in its own operation, it displays the error screen. The error screen consists of “Err” and a two-digit error code, as shown below.

PROTECTED

F1

BIT

F2

INT

ESC

ENTER

The DAT can experience two different types of errors, internal errors and communication errors.

Internal DAT Errors

Internal DAT errors are non-recoverable. When the DAT experiences an internal error, it displays the error screen, and does not respond to any key presses. Remove and re-install the DAT. If this does not clear the error, the DAT must be replaced.

Communication Errors

The DAT continually monitors the interface between the DAT and the controller to ensure a good communication path. If the DAT loses communication with the controller for more than three seconds, it generates an interface time-out error. The DAT automatically attempts to re-establish communications. The error screen displays until the

DAT regains communications with the processor. All key presses are ignored until the display clears.

Publication 1764-UM001B-EN-P - April 2002

5-10 Using Trim Pots and the Data Access Tool (DAT)

DAT Error Codes

Error Code Description

00 Interface time-out

01 to 02

03 to 07

08

09

31 to 34

Caused by

Communication traffic

Recommended Action

Add SVC instructions to ladder program

Power-up test failure internal error processor owned access denied

(1)

Internal failure

Internal failure

Remove and re-insert the DAT. If failure persists, replace the unit.

Remove and re-insert the DAT. If failure persists, replace the unit.

Another device has ownership of the controller Release ownership by the other device

Release file ownership by the other device internal error

Cannot access that file because another device has ownership

Internal failure Remove and re-insert the DAT. If failure persists, replace the unit.

(1) This error can occur after a download in which communications configurations are changed. This error can be cleared by removing and re-installing the DAT, or by cycling power to the controller.

Publication 1764-UM001B-EN-P - April 2002

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents