ST_TrackConfig

Overview

Type:

Structure

Available as of:

V1.0.0.0

Inherits from:

-

Description

The structure ST_TrackConfig contains parameters to define a track in EcoStruxure Machine Expert Twin.

Structure Elements

Name

Data type

Description

sCategory

STRING[80]

The predefined string which identifies the 3-D model to use in EcoStruxure Machine Expert Twin.

Example:

'LXMMC12'

sName

STRING[80]

A unique string which identifies the name of the track. This name is used to generate the emulation object.

Example:

'MC_Track_1'

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 Multicarrier Configuration 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 Multicarrier Configuration 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:

1

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:

  • S: long stator motor segment straight of 300 mm

  • C: long stator motor segment arc 45° of 200 mm

The geometry of the track is built in clockwise direction.

Example:

'CCCCSCCCCS'

(1) G_stDefaultVector3D: SE_MATH.ST_Vector3D := (lrX := 0, lrY:= 0, lrZ:= 0);

Examples for the Working Direction and the Logical Start

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.