This OPC UA MaterialRejectionTrapType ObjectType describes a device that is capable of rejecting product away from the product flow. Some devices are triggered by defect sensors, other devices may be triggered by the user to sample the mass flow when it is not reachable by the user. The latter are called sampling traps and are modelled by the MaterialRejectionTrapType.
Figure 18 shows an overview for the MateriaRejectionTrapType with related Objects. It is formally defined in Table 35.
Figure 18 – MaterialRejectionTrapType overview
The MaterialRejectionTrapType is formally defined in Table 35.
Table 35 – MaterialRejectionTrapType Definition
Attribute |
Value |
||||
BrowseName |
MaterialRejectionTrapType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
Subtype of DeviceType defined in OPC 10000-100 |
|||||
HasProperty |
Variable |
Description |
LocalizedText |
PropertyType |
Mandatory |
HasProperty |
Variable |
DisplayName |
LocalizedText |
PropertyType |
Mandatory |
HasComponent |
Variable |
MaterialRejectedRatio |
Double |
BaseDataVariableType |
Mandatory |
HasComponent |
Variable |
MaterialQuantityRejectedTotal |
Double |
MaterialLotType |
Mandatory |
HasComponent |
Variable |
MaterialQuantityRejectedMasterTotal |
Double |
MaterialLotType |
Mandatory |
HasComponent |
Variable |
RejectionCountTotal |
Double |
BaseDataVariableType |
Mandatory |
HasComponent |
Variable |
RejectionCountMasterTotal |
Double |
BaseDataVariableType |
Mandatory |
HasProperty |
Variable |
RejectionMode |
Boolean |
PropertyType |
Mandatory |
HasComponent |
Variable |
RejectionsRatio |
Double |
BaseDataVariableType |
Mandatory |
HasComponent |
Obejct |
UIInfo |
|
UIInformationType |
Mandatory |
HasComponent |
Method |
ResetRejectionTotals |
|
|
Mandatory |
HasComponent |
Method |
SetRejectionMode |
|
|
Mandatory |
GeneratesEvent |
ObjectType |
MaterialRejectedLogType |
|
|
|
GeneratesEvent |
ObjectType |
MaterialRejectionTrapDisabledLogType |
|
|
|
The MaterialRejectionTrapType ObjectType is a concrete type and can be used directly.
The following properties are already included in the DeviceType.
The Manufacturer property provides the name of the manufacturer that supplied the part (e.g. "Siemens”).
The Model property provides the name of the part as identified by the manufacturer (e.g. "S7- CPU 1515-2 PN").
The RevisionCounter property provides the revision level of the part as identified by the manufacturer (e.g. "").
The Serial property provides the serial number of the part as identified uniquely by the manufacturer.
The following Objects are defined to extend the DeviceType.
The Property Description describes the rejection trap device.
The Property DisplayName is the identification of the rejection trap device used on displaying systems, e.g. HMI and SCADA.
The Variable MaterialRejectedRatio is the ratio of the total material rejected (MaterialRejectedTotal) over the total good product and is computed by the underlying system.
Remark. The unit of measure of the rejected material is the same as in the MaterialOutput (see MaterialOutputType 6.12) of the same machine module.
The Variable MaterialRejectedTotal totalises the material rejected since the last time the total was reset to zero using the Method ResetRejectionTotals, see below.
The Type MaterialLotType is defined in Table 75.
The Value of the Variable MaterialQuantityRejectedTotal shall be persisted both in the OPC UA Server and in the underlying system so that, if one fails and/or is replaced, the other will allow restoring the Value when the OPC UA Server and underlying system are on separate hardware infrastructure.
The Variable MaterialQuantityRejectedMasterTotal totalises the material rejected and is never reset.
The Type MaterialLotType is defined in Table 75.
The Value of the Variable MaterialQuantityRejectedMasterTotal shall be persisted both in the OPC UA Server and in the underlying system so that, if one fails and/or is replaced, the other will allow restoring the Value when the OPC UA Server and underlying system are on separate hardware infrastructure.
The Variable RejectionCountTotal totalises the number of times a rejection device was triggered to reject since the last time the total was reset to zero using the Method ResetRejectionTotals, see below.
The Value of the Variable RejectionCountTotal shall be persisted both in the OPC UA Server and in the underlying system so that, if one fails and/or is replaced, the other will allow restoring the Value when the OPC UA Server and underlying system are on separate hardware infrastructure.
The Variable RejectionCountMasterTotal totalises the number of times a rejection device was triggered to reject and is never reset.
The Value of the Variable RejectionCountTotal shall be persisted both in the OPC UA Server and in the underlying system so that, if one fails and/or is replaced, the other will allow restoring the Value when the OPC UA Server and underlying system are on separate hardware infrastructure.
The Property RejectionMode is True when the MaterialRejectionTrap is operational and discharges material when triggered.
The Variable RejectionRatio is the ratio between the good product output total and the rejected quantity total.
The Object UIInfo contains information about the User Interface (UI) of the rejection trap. When an Object does not have own UIInfo, then the Object does not require visualisation.
The Method ResetRejectionTotals resets the MaterialQuantityRejectedTotal and RejectionCountTotal to zero.
Signature
ResetRejectionTotals (
[out] MethodExecutionFeedbackTypeExecutionFeedback
);
Argument |
Description |
ExecutionFeedback |
The extended feedback returning a detailed message in case of execution failure. |
Method Result Codes
ResultCode |
Description |
|||||||||||||
BadNodeIdUnknown |
See table 173 in OPC 10000-4 for the description of these result codes. |
|||||||||||||
BadTypeMismatch |
||||||||||||||
BadOutOfRange |
||||||||||||||
BadNotWritable |
||||||||||||||
BadNotFound |
Argument |
Description |
RejectionMode |
When true, the rejection trap rejects. When false, the rejection trap does not reject. |
ExecutionFeedback |
The extended feedback returning a detailed message in case of execution failure. |
Method Result Codes
ResultCode |
Description |
BadNodeIdUnknown |
See table 173 in OPC 10000-4 for the description of these result codes. |
BadTypeMismatch |
|
BadOutOfRange |
|
BadNotWritable |
|
BadNotFound |