PLCopen Motion Control fZeroCompensation: LREAL := 0.0; nEnc_OverrunMask: DWORD := 0; nEnc_PositionMask: DWORD := 0; nEnc_ZeroSwap: DINT := 0; nDigInReversed: DINT := 0; nCycleDivider: INT := 1; nDrive_Type: E_TcMcDriveType:=iTcMc_Drive_Customized; nEnc_HomingType: E_TcMcHomingType:=iTcMc_HomingOnBlock; nEnc_Type: E_TcMcEncoderType:=iTcMc_EncoderSim; nJerkEnabled: WORD := 16#0101; nProfileType: E_TcMcProfileType:=iTcMc_ProfileCtrlBased; bAsymetricalTargeting: BOOL := FALSE; bDrive_AbsoluteOutput: BOOL := FALSE; bDrive_DefaultPowerOk: BOOL := FALSE; bDrive_Reversed: BOOL := FALSE; bEnableAutoBrakeDistance: BOOL := FALSE; bEnableControlLoopOnFault: BOOL := FALSE; bEnc_RefIndexPositive:
BOOL := FALSE; bEnc_RefSyncPositive: BOOL := FALSE; bEnc_Reversed: BOOL := FALSE; bMaxLagEna: BOOL := FALSE; bPEH_Enable: BOOL := FALSE; bPosCtrlAccEna: BOOL := FALSE; bSoftEndMaxEna: BOOL := FALSE; bSoftEndMinEna: BOOL := FALSE; bTimeBased: BOOL := FALSE; bLinTabAvailable: BOOL := FALSE; (*-----------------------------------------------------------------*) END_STRUCT END_TYPE bAsymetricalTargeting : From V3.0.8: If this parameter is TRUE, direction-dependent parameters take effect during target approach and overlap compensation. bDrive_AbsoluteOutput : If this parameter is TRUE, control values outputs are always positive, irrespective of the direction. bDrive_DefaultPowerOk :
If this parameter is set, the PowerOk feedback in the ST_TcPlcDeviceInput [ } 104] structure of the axis is ignored. bDrive_Reversed : If this parameter is set, the control value output is negated. bEnableAutoBrakeDistance : In preparation: If this parameter is TRUE, fCreepDistanceM and fCreepDistanceP are calculated automatically from fCreepSpeedM or fCreepSpeedP and fLagAmp. bEnableControlLoopOnFault : In preparation: If this parameter is TRUE, the standstill position controller of the axis also becomes active in the event of an error. Requirement : Its parameter are suitable for this, and the axis is in a suitable state. bEnc_RefIndexPositive :
If this parameter is set, while searching for the reference index (cam) during homing a positive control value is output, otherwise a negative value. bEnc_RefSyncPositive : If this parameter is set, while searching for the reference pulse (sync pulse, zero pulse) during homing a positive control value is output, otherwise a negative value. bEnc_Reversed : If this parameter is set, the actual position value is evaluated in negated form. bLinTabAvailable : TRUE here means that each pointer was associated with a linearization table during initialization, which contains a successfully determined characteristic curve. bMaxLagEna : This parameter activates lag monitoring. bPEH_Enable :
This parameter is used to active PEH monitoring. bPosCtrlAccEna : obsolete, will be removed in the near future. bSoftEndMaxEna : This parameter activates the upper software limit switch. bSoftEndMinEna : This parameter activates the lower software limit switch. PLC Library Hydraulics 95 Version: 1.4