beautypg.com

Retain last state workaround, Retain last state, Workaround – Rockwell Automation Migrating PanelView Enhanced Terminal Applications User Manual

Page 83: Ge 83

background image

Publication 2711P-QS001A-EN-P - October 2007

83

Review Unsupported Features and Implement Workarounds for Migration Issues Chapter 6

Retain Last State
Workaround

PanelBuilder 1400e software has a Retain the Last State feature for the
cursor list object. If this feature is enabled, when the operator returns
to a display with the cursor list, the last selected state is retained and
reselected. To achieve the same functionality in your FactoryTalk View
ME application, you need to implement this workaround.

Set up a Display Shutdown macro to write the currently selected
value to a memory tag.

Set up a Display Startup macro to read the value of the memory
tag and write the value to the Value connection of the piloted
control list selector.

Follows these steps to implement the workaround.

1. Open your new application

migrated into FactoryTalk
View ME software.

2. In the Explorer window,

expand HMI Tags and
double-click Tags to open
the tag database.

3. Create a new tag.

a. Name the tag

RetainLastState.

b. Set the Tag Type to

Analog.

c. Set the Tag Type to Analog.

d. Set the Minimum and

Maximum values to the
number of items the
piloted control list
selector will scroll
through.

e. Select Memory as the

Data Source Type.

f. Set the Initial Value to 0.

g. Verify the Retentive check

box is checked.

4. Click Accept to save the

changes.

Create a similar tag for each
piloted control list selector that
requires the Retain the Last State
feature.

TIP

The retentive feature retains the last value written to the tag. If
you cycle power to the terminal, the last known value written to
the tag is loaded instead of the Initial value.