The structure ST_TrackConfig contains parameters to define a track in EcoStruxure Machine Expert Twin.
Name |
Data type |
Description |
---|---|---|
sCategory |
STRING[80] |
The predefined string which identifies the 3-D model to use in EcoStruxure Machine Expert Twin. Example:
|
sName |
STRING[80] |
A unique string which identifies the name of the track. This name is used to generate the emulation object. Example:
|
udiColor |
UDINT |
The color of the track selected with ET_EmulationColors. Example: ET_EmulationColors.Gray |
stPosition |
SE_MATH.ST_Vector3D |
The 3-D vector that provides the position of the origin of the first segment (first element of the string sGeometry) in space (in a cartesian coordinate system).
NOTE: In EcoStruxure Machine Expert, the position values are based on a right-hand coordinate system. EcoStruxure Machine Expert Twin internally converts the data to a left-hand coordinate system.
The position is not taken into account in the Emulation tab of the editor . Example: G_stDefaultVector3D(1) |
stOrientation |
SE_MATH.ST_Vector3D |
The 3-D vector that provides the rotation of each axis of the first segment (first element of the string sGeometry) in space (in a cartesian coordinate system).
NOTE: In EcoStruxure Machine Expert, the orientation values use the orientation convention ZYX, based on a right-hand coordinate system. EcoStruxure Machine Expert Twin internally converts the data to a left-hand coordinate system.
The orientation is not taken into account in the Emulation tab of the editor . Example: G_stDefaultVector3D(1) |
udiTrackId |
UDINT |
The unique track ID. The carriers and the stations use this track ID to identify the track on which they are located. Example:
|
xDirection |
BOOL |
If xDirection is set to TRUE, the working direction in the track is clockwise for closed tracks and from left to right for open tracks, starting with the first segment (first element of the string sGeometry). If xDirection is set to FALSE, the working direction in the track is counterclockwise or from right to left. In the emulation, this is indicated by the direction of the green arrow. Also refer to Examples for the Working Direction and the Logical Start. |
lrLogicalStartOffset |
LREAL |
Reserved |
sGeometry |
STRING (MCR.GPL. Gc_udiMaxNumberOfSegments) |
The geometry of the track. This string consists of the following characters:
The geometry of the track is built in clockwise direction. Example:
|
(1) G_stDefaultVector3D: SE_MATH.ST_Vector3D := (lrX := 0, lrY:= 0, lrZ:= 0); |
The working direction within a track in the emulation is defined with the parameter xDirection. For general information on the working direction in a multi carrier transport system, refer to the Multicarrier Library Guide.
The following general settings apply for both examples:
The red carrier (1) is at lrPositionX = 0.0.
The 45° arc segment (2) is the first segment of each track 'CCCCSCCCCS'
.
Example 1: xDirection = TRUE
The working direction in the track is clockwise for closed tracks and from left to right for open tracks.
Example 2: xDirection = FALSE
The working direction in the track is counterclockwise for closed tracks and from right to left for open tracks. In the emulation, this is indicated by the direction of the green arrow pointing to the left.