ST_Train

 

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 taken over when the train is active in the respective station.

NOTE: The variable alrStationOffset does not work for synchronous station.

NOTE: Only Controller OnBoard I/O touch probes and drive touch probes are supported by the functionalities of this library. TM5 module touch probes are not supported.