Template:— independent_property_w_tolerances (indpt_prp_tol) |
Date: 2009/06/08 08:44:14 Revision: 1.14
|
This section specifies the template independent_property_w_tolerances.
NOTE
An explanation of a template and the associated instantiation path is
provided in the
Template overview
section.
This template describes how to represent a numerical value with tolerances for an independent property.
The EXPRESS-G diagram in
Figure
1
shows the templates and EXPRESS entities that are required
to represent the template
"independent_property_w_tolerances".
The text highlighted in blue shows the template parameters.
Figure 1 — An EXPRESS-G representation of the Information model for independent_property_w_tolerances
The graphic for the template to be used in other EXPRESS-G diagrams
is shown in Figure
2
below.
Figure 2 — The graphical representation of the independent_property_w_tolerances template
The following input parameters are defined for this template:
The value of the property. The datatype is always 'any_number_value'
and should not be registered together with the value, i.e. enter the
value as a number, without datatype.
The upper tolerance limit of the property value given as an offset from the base value.
The lower tolerance limit of the property value given as an offset from the base value, e.g. -4.0.
The name of the unit in which the value is expressed, referenced through an
External_class.
The following classes and their sub-classes can be used:
The identifier of the
External_class_library
storing the definition of the unit name referenced by the parameter @unit.
Value should be set to true if the unit is a SI base unit defined by ISO, i.e.
kilogram (kg) for Mass,
second (s) for Time,
metre (m) for Displacement,
ampere (A) for Electrical current,
kelvin (K) for Temperature,
mole (mol) for Amount of substance, and
candela (cd) for Luminous intensity. If this is not the case it should be set to false.
Note that the representation of true and false depends on exchange format. In Part 11 (a STEP file) true is
represented by the string ".T.", and false by ".F.", while in Part 28 (XML) they are represented by text strings
"true"
and "false".
context (Default=Numerical_representation_context,Type='CLASS')
The following classes and their sub-classes can be used:
The identifier of the
External_class_library
storing the definition of the class referenced by the parameter @context.
The following reference parameters are defined for this template:
%^target = $independent_property_w_tolerances.prop_repr%
%^target = $independent_property_w_tolerances.representation%
The instantiation path shown below specifies the entities that are to be
instantiated by the template.
A description of templates and the syntax for the instantiation path is
provided in the
Templates Help/Information section.
-- Instantiate Independent_property_representation entity Independent_property_representation-- Bind the Independent_property_representation entity to reference parameter ^prop_repr %^prop_repr =
Independent_property_representation%
-- Set the Independent_property_representation attributes role and description to be ignored Independent_property_representation.role = '/IGNORE'
Independent_property_representation.description = '/IGNORE'
-- Instantiate template representing_value_w_tolerances /
representing_value_w_tolerances(
value=@value,
upper_limit=@upper_limit,
lower_limit=@lower_limit,
unit=@unit,
unit_ecl_id=@unit_ecl_id,
si_unit=@si_unit,
context=@context,
context_ecl_id=@context_ecl_id)/
-- Bind the Independent_property_representation.rep to the Property_value_representation -- entity instantiated in the template representing_value_w_tolerances via its reference parameter -- ^representation %^representation = $representing_value_w_tolerances.representation%
^prop_repr.rep ->
^representation
-- Assign the value with tolerances to property
^prop_repr.property ->
@property
The following entities are instantiated with attributes as specified:
The instance diagram in Figure
3
shows an example of the EXPRESS entities and templates that are instantiated by the template:
/independent_property_w_tolerances(value='any_number_value(200)', upper_limit='25', lower_limit='-25', unit='Hour', unit_ecl_id='urn:plcs:rdl:std', si_unit='false', context='Bike Ltd ILS Database', context_ecl_id='urn:plcs:rdl:sample', property='#1')/
(an illustration of the consolidated independent_property_w_tolerances template is shown in
Figure
4 below.)
Figure 3 — Entities instantiated by independent_property_w_tolerances template
The instance diagram in
Figure
4
shows the graphic symbol for the template that is to be
used in other instance diagrams. The example template is:
/independent_property_w_tolerances(value='any_number_value(200)', upper_limit='25', lower_limit='-25', unit='Hour', unit_ecl_id='urn:plcs:rdl:std', si_unit='false', context='Bike Ltd ILS Database', context_ecl_id='urn:plcs:rdl:sample', property='#1')/
Figure 4 — Instantiation of independent_property_w_tolerances template
The following section details how the
independent_property_w_tolerances
template can be optionally characterized by assigning
other constructs to it. These are characterizations commonly
applied to the template. The ISO 10303-239 EXPRESS model may enable
other assignments to the entities instantiated by the template.
The following characterizations may apply:
Characterization Effectivity
NOTE this characterization is optional.