ProcessCellIDUnits

The
ProcessCellIDUnits
item returns information about all units in a process cell, including how they are linked.
This table shows the input and output formats for this item.
Input Format
Request only:
ProcessCellIDUnits
While Advise will return information, it would not normally be used as the data does not change during processing.
ProcessCellID
is
ASCII – Integer, the unique Equipment ID corresponding to the process cell
Output Format
The ProcessCellIDUnits item returns in this format:
<PCellIDUnits>
is
<NullList>
|
<UnitList>
<NullList>
is
CString.Empty() \crlf
<UnitList>
is
<UnitData>
\crlf |
<UnitData>
\crlf
<UnitList>
<UnitData>
is
<UnitID>
\t
<UnitName>
\t
<UnitClass>
\t
<MaxOwners>
\t
<XCord>
\t
<YCord>
\t
<BitMapIndex>
\t
<Connections>
where <UnitData> is:
Field Name
Format
Description
<UnitID>
ASCII - Integer
Resource ID configured in
FactoryTalk Batch Equipment Editor
.
<UnitName>
ASCII - String
Unit Name.
<UnitClass>
ASCII - String
Unit Class Name.
<MaxOwners>
ASCII - Integer
Max # of Owners as configured in
FactoryTalk Batch Equipment Editor
.
<XCord>
ASCII - Integer
X Coordinate for Equipment View.
<YCord>
ASCII - Integer
Y Coordinate for Equipment View.
<BitMapIndex>
ASCII - Integer
Location of bitmap in the list of Unit Bitmaps item.
<Connections>
Variable
Information about the units to which this unit is connected.
where <Connections> is:
<Connections>
is
$CONN \t
<ConnData>
\t $END
<ConnData>
is
<NullConnList>
|
<ConnList>
<NullConnList>
is
\t \t
<ConnList>
is
<UnitName>
\t
<UnitID>
where <ConnList> is:
Field Name
Format
Description
<UnitName>
ASCII - String
Unit Name.
<UnitID>
ASCII - Integer
Resource ID configured in
FactoryTalk Batch Equipment Editor
.
This table shows an example of the return on this request.
Example:
A request on
object
.
GetItem(54Units)
could return:
55 \t NP_MIXER1 \t MBR_MIXER_CLS \t 1 \t 194 \t 54 \t 8 \t $CONN \t NP_FREEZER1 \t 67 \t $END \crlf
84 \t NP_MIXER2 \t MBR_MIXER_CLS \t 1 \t 392 \t 54 \t 9 \t $CONN \t NP_FREEZER2 \t 85 \t $END \crlf
85 \t NP_FREEZER2 \t MBR_FREEZER_CLS \t 1 \t 392 \t 242 \t 11 \t $CONN \t \t $END \crlf
67 \t NP_FREEZER1 \t MBR_FREEZER_CLS \t 1 \t 194 \t 246 \t 10 \t $CONN \t \t $END \crlf
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal