The VehicleScaleTypedefines the structure of an Object of the VehicleScaleType. Figure 61 shows the hierarchical structure and details of the composition. It is formally defined in Table 119.
An Object of the VehicleScaleTyperepresents a vehicle scale. It defines additional methods and properties required for managing the vehicle scale.
The following use cases for a vehicle scale exist:
- Checking the weight of the vehicle (e.g. a traffic check or an overload check) (check vehicle weight)
- The weight of the vehicle is known and only one measurement is needed to determine the gross weight (one pass weighing)
- The weight of the vehicle is unkown and more than one measurement ist needed to determine the gross weight (more pass weighing) (e.g a vehicle arrives at a gravel plant full/empty and leaves it empty/full)
Table 118 shows the process of the different use cases:
Table 118 – Proccess of vehicle weighing
Checkweighing |
One pass weighing |
More pass weighing |
Call the method registerWeight to get the current value |
Call the method OnePassWeighing to trigger an outbound weighing and use the preset tare to calculate Delta Weight |
Call the method InboundWeighing if the vehicle arrives at the area and call the method OutboundWeighing if the vehicle leaves the area. The results must be saved in the scale. If OutboundWeighing and InboundWeighing are stored in the scale the DeltaWeight (as result) can be calculated |
Figure 59 – Overview VehicleScaleType
Table 119 – VehicleScaleType Definition
Attribute |
Value |
|||||
BrowseName |
VehicleScaleType |
|||||
IsAbstract |
False |
|||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
|
Subtype of the ScaleDeviceType |
||||||
0:HasComponent |
Method |
InboundWeighing |
|
|
Optional |
|
0:HasComponent |
Method |
OutboundWeighing |
|
|
Optional |
|
0:HasComponent |
Method |
OnePassWeighing |
|
|
Optional |
ProductionPreset, which is inherited from ScaleDeviceType shall have instances of VehicleProductType or a subtype in the Products folder.
The method triggers an inbound weighing process of a vehicle arriving in an (e.g. filling) area. This is done to determine the present weight of the vehicle. This method may require a vehicle ID to identify the vehicle and to return the measured value. The signature of this Method is specified below. Table 120 and Table 121 specify the Arguments and AddressSpace representation, respectively.
Signature
InboundWeighing(
[in]0:String VehicleId
);
Table 120 – InboundWeighing Method Arguments
Argument |
Description |
VehicleId |
The Id of the vehicle |
Table 121 – InboundWeighing Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
InboundWeighing |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
InputArguments |
Argument[] |
0:PropertyType |
Mandatory |
Triggers an outbound weighing process of a vehicle leaving an (e.g. filling) area. This is done to determine the total weight of the vehicle. This method may require a vehicle ID to identify the vehicle and to return the measured value. The signature of this Method is specified below. Table 122 and Table 123 specify the Arguments and AddressSpace representation, respectively.
Signature
OutboundWeighing(
[in]0:StringVehicleId
);
Table 122 – OutboundWeighing Method Arguments
Argument |
Description |
VehicleId |
The Id of the vehicle |
Table 123 – OutboundWeighing Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
OutboundWeighing |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
InputArguments |
Argument[] |
0:PropertyType |
Mandatory |
Triggers an outbound weighing and uses the preset tare to calculate the DeltaWeight (one-pass use case). The signature of this Method is specified below. Table 124 and Table 125 specify the Arguments and AddressSpace representation, respectively.
Signature
OnePassWeighing(
[in]0:StringVehicleId
);
Table 124 – OnePassWeighing Method Arguments
Argument |
Description |
VehicleId |
The Id of the vehicle |
Table 125 – OnePassWeighing Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
OnePassWeighing |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
InputArguments |
Argument[] |
0:PropertyType |
Mandatory |