UEDefault_x

The
UEDefault_x
item returns the default value for the
x
th unacknowledged prompt in the unacknowledged prompts list.
This table shows the input and output formats for this item.
Input and output formats
Format
Description
Input Format
Request:
UEDefault_
<RowNumber>
<RowNumber>
is
ASCII - Integer
An array index. When an unacknowledged prompt generates, it adds to an array. If the unacknowledged prompts list is not sorted, then
x
is the row number of the unacknowledged prompt appearing in the unacknowledged prompts list.
The UEDefault_x item requires this setting in the
FactoryTalk Administration Console
FactoryTalk Batch Services Properties
Advanced
tab:
MaxPromptTableLength = n
where
n
is the maximum number of unacknowledged prompts accessible to this item (the maximum number of entries in the array). And, where 0
£
x
£
MaxPromptTableLength
. If the number of unacknowledged prompts in the unacknowledged prompts list is larger than
n
, then this item will only access the first
n
unacknowledged prompts in a non-sorted unacknowledged prompts list. When an unacknowledged prompt with an index of less than
n
is removed from the unacknowledged prompts list, all subsequent unacknowledged prompts will have their index decreased by one. The default value of
MaxPromptTableLength
is
0
(zero).
Output Format
The UEDefault_x item returns in this format:
<DefaultValue>
where:
Field Name
Format
Description
<DefaultValue>
ASCII - String
The default value assigned to the parameter which issued the unacknowledged prompt.
This table is an example of an unacknowledged prompts list containing two unacknowledged prompts:
Unacknowledged prompts list containing two unacknowledged prompts
Time
Batch ID
Desc
Value
Area
Unit
Phase
2/24/2022 2:33:45 PM
BATCH_99
Charge_Amount
35
AREA1
UA_1
P1
2/24/2017 2:34:06 PM
BATCH_100
Hold_Time
5
AREA1
UA_2
P44
This is an example of the return on this request.
For the default value of the prompt in the first row of the unacknowledged prompts list, advise on
object
.
GetItem(UEDefault_1)
would return:
35
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal