ST_Main

 

ST_Main - General Information

Overview

Type:

Data structure

Available as of:

V1.0.2.0

Inherits from:

-

Versions:

Current version

Description

The structure contains cross-operating mode parameters and return values of the FB_AxisModule.

Structure Elements

Variable

Data type

Description

i_ifDrive

SystemConfigurationItf.IF_Drive

The axis to be activated by the axis module.

i_ifMaster

SystemConfigurationItf.IF_Master

The master for the axis module.

i_timMasterStop

TIME

The maximum period within which the i_ifMaster master must have stopped in the case of an error reaction SynchronStopEh or SynchronStopEl.

i_xHwLimitPos

BOOL

Here, the signal of a hardware limit switch for the positive direction of motion can be transferred. The parameter must be written cyclically.

i_xHwLimitNeg

BOOL

Here, the signal of a hardware limit switch for the negative direction of motion can be transferred. The parameter must be written cyclically.

i_xStart

BOOL

Start signal for all operating modes. Can be used instead of the command Start.

i_lrMotionActiveVelLimit

LREAL

Velocity as of which a motion is reported to q_xMotionActive.

i_etMotionAciveVelType

ET_MotionActiveVelType

Velocity mode for determining the motion for q_xMotionActive.

stReducedVelocity

PDL.ST_ReducedVelocity

Parameter for the functionality "Reduced velocity". The Operating modes NoOp, Homing, Manual, Multicam, Endless, EndlessIls, Positioning, BrakeRelease and Additional support the feature "Reduced velocity".

iq_lencEncoder

SystemConfiguration.L_ENC

The logical encoder assigned to the axis module.

q_xDriveActive

BOOL

TRUE: The position control of the axis is activated.

q_etOpMode

ET_AxisModuleOpModes

The active operating mode of the axis module.

q_etState

ET_AxisModuleState

The active state of the axis module.

q_xHomeOk

BOOL

TRUE: Homing has been performed successfully.

q_xSynchron

BOOL

TRUE: The axis synchronously follows the master.

q_lrPosition

LREAL

The axis position.

q_lrPositionX

LREAL

The master position.

q_sDriveName

STRING[40]

The name of the slave axis.

q_xMotionActive

BOOL

TRUE: The axis is in motion according to the definition of i_lrMotionActiveVelLimit and i_etModtionActiveVelType.