ST_Train - General Information

Overview

Type:

Data structure

Available as of:

V1.0.0.0

Inherits from:

-

Versions:

Current version

Description

This structure is used to set general and mechanical parameters of a train.

Structure Elements

Variable

Data type

Description

ifDrive

IF_Drive

Drive on which the train is mounted.

ifTpHome

IF_TouchProbe

Touchprobe sensor for the homing that is triggered by this train.

lrHomeTPOffset

LREAL

Mechanical distance from the Touchprobe to the zero position.

alrStationOffset

ARRAY[1..Gc_uiMaxNumberOfStations] OF LREAL

Offsets for lrStationPos of each individual station. Can be used to compensate different chains expanding and therefore, to adjust the position of the stations. The values are adopted when the train is active in the respective station.

NOTE: The variable alrStationOffset has no affect for synchronous stations.
NOTE: Only Controller OnBoard I/O touchprobes and drive touchprobes are supported by the functionalities of this library. TM5 module touchprobes are not supported.