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

SystemConfigurationItf.IF_Drive

Drive on which the train is mounted.

ifTpHome

SystemConfigurationItf.IF_TouchProbe2

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: If you use touchprobes of TM5 modules, you can capture either the rising edge or the falling edge, depending on the setting in ST_Station.xSensorEdge. The value of the ST_StationFeedback.lrLengthOfLastProduct variable remains 0 in this case.