2 the enumeration smc_error, The enumeration smc_error, L-force | plc designer - softmotion – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 245: The sm_error.lib library the enumeration smc_error

L-force | PLC Designer - SoftMotion
The SM_Error.lib library
The enumeration SMC_Error
245
L
DMS 5.2 EN 03/2011 TD17
10.2
The enumeration SMC_Error
The SMC_Error enumeration contains all error numbers generated by SoftMotion FBs:
Error
POU
Enum value
Description
0
All
SMC_NO_ERROR
No error
1
Drive Interface
SMC_DI_GENERAL_COMMU
NICATION_ERROR
Communication error
2
Drive Interface
SMC_DI_AXIS_ERROR
Axis error
10
Drive Interface
SMC_DI_SWLIMITS_EXCEED
ED
Position outside of permissible range
(SWLimit)
11
Drive Interface
SMC_DI_HWLIMITS_EXCEED
ED
Hardware limit switch active
12
Drive Interface
SMC_DI_LINEAR_AXIS_OUT
OFRANGE
The position limits of the axis have been
exceeded
13
Drive Interface
SMC_DI_HALT_OR_QUICKST
OP_NOT_SUPPORTED
The "Halt" or "Quick stop" drive status is
not supported
20
All program organisation
units that generate motion
SMC_REGULATOR_OR_STAR
T_NOT_SET
Controller enable not set or brake applied
30
Drive Interface
SMC_FB_WASNT_CALLED_D
URING_MOTION
Program organisation unit that
generates motion was not called again
before the end of the motion
31
All program organisation
units
SMC_AXIS_IS_NO_AXIS_REF Entered AXIS_REF variable is not of type
AXIS_REF
32
All program organisation
units that generate motion
SMC_AXIS_REF_CHANGED_
DURING_OPERATION
Entered AXIS_REF variable has been
exchanged whilst the program
organisation unit was active
50
SMC_Homing
SMC_3SH_INVALID_VELACC
_VALUES
Invalid velocity or acceleration values
51
SMC_Homing
SMC_3SH_MODE_NEEDS_H
WLIMIT
Mode requires limit switches to be used
(for safety reasons)
70
SMC_SetControllerMode
SMC_SCM_NOT_SUPPORTE
D
Mode not supported
75
SMC_SetTorque
SMC_ST_WRONG_CONTROL
LER_MODE
Axis not in correct controller mode
80
SMC_ResetAxisGroup
SMC_RAG_ERROR_DURING_
STARTUP
Error during axis group start-up
90
SMC_ChangeGearingRatio
SMC_CGR_ZERO_VALUES
Impermissible values
91
SMC_ChangeGearingRatio
SMC_CGR_DRIVE_POWERED Gearing parameters may not be changed
while the drive is being controlled
110
MC_Power
SMC_P_FTASKCYCLE_EMPTY The axis does not contain any
information relating to the cycle time
(fTaskCycle = 0)
120
MC_Reset
SMC_R_NO_ERROR_TO_RES
ET
No errors on axis
121
MC_Reset
SMC_R_DRIVE_DOESNT_AN
SWER
Axis does not perform an error reset
122
MC_Reset
SMC_R_ERROR_NOT_RESETT
ABLE
Error could not be reset
123
MC_Reset
SMC_R_DRIVE_DOESNT_AN
SWER_IN_TIME
Communication with the axis failed
130
MC_ReadParameter,
MC_ReadBoolParameter
SMC_RP_PARAM_UNKNOW
N
Parameter number unknown