BLCreateID_x

BLCreateID_x returns the CreateID for the
x
th
batch in the batch list.
This table shows the input and output formats for this item.
Input Format
Request:
BLCreateID_
<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 BLCreateID_x item requires the
Batchsvr.ini
file to contain this setting in the [CLIENT MGR DDE] section:
MaxBatchTableLength = n
where
n
is the maximum number of batches accessible to this Item (the maximum number of entries in the array). If the number of batches in the batch list is larger than
n
, then this item will only access the first
n
batches in a non-sorted batch list. When a batch with an index of less than
n
is removed from the batch list, all subsequent batches will have their index decreased by one. The default value of
MaxBatchTableLength
is
0
(zero).
Output Format
The BLCreateID_x item returns in this format:
<CreateID>
Field Name
Format
Description
<Create ID>
ASCII – Integer
Unique identifier assigned by the
FactoryTalk Batch
Server to the batch appearing on the
x
th
row of the batch list.
This table is an example of a typical batch list containing three batches with batch IDs BATCH_98, BATCH_99, and BATCH_100:
Create ID
Batch ID
Recipe
Desc
Start Time
State
Mode
15
BATCH_98
Vanilla
Ice Cream 1
8/24/2017 1:22:02 pm
RUNNING
O_Auto
16
BATCH_99
Chocolate
Ice Cream 2
8/24/2017 1:24:12 pm
RUNNING
S_Auto
17
BATCH_100
Premium French Vanilla
Ice Cream 3
8/24/2017 1:32:30 pm
RUNNING
O_Auto
This table shows an example of the return on this request.
TIP:
A request on
object.GetItem(BLCreateID_3)
would return the CreateID of the batch in the batch list’s third row:
17
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal