Skip to main content

REXS Specification

Structure of relations

Relations are used to connect components to assemblies. A relation consists of a "relation" tag, which contains multiple "ref" tags.

Notice

Change from REXS version 1.3

Clarification: relations may not include multiple "ref" tags with the same role. For example, it is not allowed to use multiple "part" elements in the same assembly relation. A separate relation must be created for each "part."

Table 5. The "relation" tag has the following characteristics:

Feature

Description

Details

Part of the REXS file

id

Unique identifier of the relation in the concrete instance of the model

Data type: integer

type

Type of relation; e.g., "assembly“

Follows the naming convention

Data type: string

Types of relations

order

Some relations between two components (e.g., "ordered_assembly_relation") also include an order, which is determined by the "order" tag. For example, this makes it possible to uniquely assign the bearing rows of a rolling bearing. Data type: integer

The "order" always begins = 1 and increases in increments of 1.



Table 6. Characteristics of a "ref" object:

Feature

Description

Details

Part of the REXS file

id

ID of a component in the relation

role

Role of the component in the relation (e.g., stage)

Types of relations

Optional in REXS file

hint

Note to make the relation easier to read; e.g., type of the referenced component, max. 40 characters



Types of relations

Type of relation

Components/roles

assembly

Connects a primary component K1 with sub-component K2

Component

Role

Comp. type

K1

assembly

all

K2

part

all

Example XML syntax

<relation id="33" type="assembly">
	<ref id="5" role="assembly" hint="shaft"/>
	<ref id="32" role="part" hint="external_load"/>
</relation>

ordered_assembly

Connects a primary component K1 with sub-component K2, specifying the order of the sub-components. The order can be specified by entering an integer with the "order" tag.

The "order" always begins = 1 and increases in increments of 1.

Component

Role

Comp. type

K1

assembly

all

K2

part

all

Example XML syntax

<relation id="15" type="ordered_assembly" order="1">
	<ref id="8" role="assembly" hint="bearing"/>
	<ref id="16" role="part" hint="bearing_row"/>
</relation>
<relation id="16" type="ordered_assembly" order="2">
	<ref id="8" role="assembly" hint="bearing"/>
	<ref id="17" role="part" hint="bearing_row"/>
</relation>

stage

Connects a stage component S with two gears, R1 and R2

Component

Role

Comp. type

S

stage

All stages

R1

gear_1

All gears

R2

gear_2

All gears

Example XML syntax

<relation id="23" type="stage">
	<ref id="3" role="stage" hint="cylindrical_stage"/>
	<ref id="7" role="gear_1" hint="cylindrical_gear"/>
	<ref id="9" role="gear_2" hint="cylindrical_gear"/>
</relation>

stage_gear_data

This relation is used to represent stage-related gear data. It connects a stage component S with a gear R and a "stage_gear_data" component.

Component

Role

Comp. type

S

stage

All stages

R

gear

All gears

D

stage_gear_data

Stage gear data (stage_gear_data )

Example XML syntax

<relation id="23" type="stage_gear_data">
	<ref id="3" role="stage" hint="cylindrical_stage"/>
	<ref id="7" role="gear" hint="cylindrical_gear"/>
	<ref id="9" role="stage_data" hint="stage_gear_data"/>
</relation>

side

For example, connects a bearing M with two components: a component IP on the inner side of the bearing, and a component OP on the outer side of the bearing.

Component

Role

Comp. type

M

assembly

concept_bearing, rolling_bearing_with_catalog_geometry, rolling_bearing_with_detailed_geometry, switchable_coupling, coupling, cylindrical_interference_fit, tapered_interference_fit, feather_key_connection, involute_spline_connection

IP

inner_part

gear_casing, shaft, side_plate,

*_gear (for shaft-hub connections)

OP

outer_part

gear_casing, shaft, side_plate,

*_gear (for shaft-hub connections)

Example XML syntax

<relation id="22" type="side">
	<ref id="11" role="assembly" hint="concept_bearing"/>
	<ref id="17" role="inner_part" hint="shaft"/>
	<ref id="2" role="outer_part" hint="gear_casing"/>
</relation>

flank

Used to assign a left (C1) and right (C2) tooth flank to a gear R. The right (or left) flank is the flank seen on the right (or left) side in the viewing direction of an upward-pointing tooth. The viewing direction must be specified separately for each type of gear.

Component

Role

Comp. type

R

gear

all gears

C1

left

corresponding flank component type

C2

right

corresponding flank component type

Example XML syntax

<relation id="67" type="flank">
	<ref id="8" role="gear" hint="bevel_gear"/>
	<ref id="13" role="left" hint="bevel_gear_flank"/>
	<ref id="14" role="right" hint="bevel_gear_flank"/>
</relation>

reference

Used to assign components such as materials or lubricants to a component.

Component

Role

Comp. type

R

origin

all

P

referenced

all

Example XML syntax

<relation id="40" type="reference">
	<ref id="10" role="origin" hint="cylindrical_gear"/>
	<ref id="15" role="referenced" hint="material"/>
</relation>

manufacturing_step

Used to assign a manufacturing step with tool T to a gear flank F, taking the manufacturing settings M into consideration. The "order" specifies the processing sequence. An integer is used to specify the "order." The "order" always begins = 1 and increases in increments of 1.

The manufacturing_step relation type was introduced in REXS 1.3. It replaces the ordered_reference relation, which was used to connect a gear and a tool through REXS 1.2.

Component

Role

Comp. type

F

workpiece

all gear flanks

T

tool

associated tool types

M

manufacturing_settings

associated manufacturing settings

Example XML syntax

<relation id="41" type="manufacturing_step" order="1">
	<ref id="10" role="workpiece" hint="cylindrical_gear_flank"/>
	<ref id="15" role="tool" hint="rack_shaped_tool"/>
	<ref id="16" role="manufacturing_settings" hint="cylindrical_gear_manufacturing_settings"/>
</relation>

planet_shaft

Identification of planetary shaft C2 in planetary stage C1.

Component

Role

Comp. type

C1

planetary_stage

planetary_stage

C2

shaft

shaft

Example XML syntax

<relation id="42" type="planet_shaft">
	<ref id="3" role="planetary_stage" hint="planetary_stage"/>
	<ref id="8" role="shaft" hint="shaft"/>
</relation>

central_shaft

Identification of central shaft C2 in planetary stage C1.

Component

Role

Comp. type

C1

planetary_stage

planetary_stage

C2

shaft

shaft

Example XML syntax

<relation id="43" type="central_shaft">
	<ref id="3" role="planetary_stage" hint="planetary_stage"/>
	<ref id="9" role="shaft" hint="shaft"/>
</relation>

planet_carrier_shaft

Identification of carrier shaft C2 in planetary stage C1.

Component

Role

Comp. type

C1

planetary_stage

planetary_stage

C2

shaft

shaft

Example XML syntax

<relation id="44" type="planet_carrier_shaft">
	<ref id="3" role="planetary_stage" hint="planetary_stage"/>
	<ref id="10" role="shaft" hint="shaft"/>
</relation>

planet_pin

Identification of pin C2 in planetary stage C1.

Component

Role

Comp. type

C1

planetary_stage

planetary_stage

C2

shaft

shaft

Example XML syntax

<relation id="45" type="planet_pin">
	<ref id="3" role="planetary_stage" hint="planetary_stage"/>
	<ref id="11" role="shaft" hint="shaft"/>
</relation>