Data from the Material Server
Most of the data within
FactoryTalk Batch
Material Manager
’s material database is made available to the phase logic programmer for reading, some for writing, through the PXRQ instruction provided in Logix Designer
. Access to the data requires two things: the controller ID for the database entity and the index of the data on that entity.
IMPORTANT:
The information in this guide only applies to programming phase logic for
PhaseManager
phases assigned a Logix5000
CIP data server.The three classifications of data in the material database are materials, lots, and containers.
A lot is a description of an instance of a material. This description inherits the properties of the material it belongs to and assigns actual values to any properties having configured ranges.
A lot holds all of the static information about the lot, such as lot identifier, material type, lot state, engineering units, and controller ID value. A lot has a parent relationship to sublots, which contain the actual distributed quantity of the lot in a container.
There are two types of data for each classification:
- Standard Attributes:Standard attributes are materials, lots and containers.
- Custom Attributes:Custom attributes are the properties of the materials, containers, and lots defined in the material database. The priority used to select containers for use can also be accessed. Container priorities are runtime data dependent on the area model data uploaded into the database by theFactoryTalk BatchServer. They help theFactoryTalk BatchServer select a container to use given the material required, its feed type (addition or distribution), the unit and finally the container. This data is accessed with separate PCD interfaces from those used for standard attributes and custom attributes.
All of the data is accessible by an attribute ID which specifies a field.
When
PhaseManager
material phases are created with a Logix5000
CIP data server, use the PXRQ instruction provided in Logix Designer
as a means for the phase logic to request data from the Material Server.Provide Feedback