SMC_ERROR Página 1 de 5
SMC_ERROR
This global variable is part of library SM3_Basic. It contains all error numbers, which might be returned by SoftMotion
function blocks.
See also: Function block SMC_ErrorString for generating an error string output.
ENUM SMC_ERROR
Error Module Enum value Description
number
0 All SMC_NO_ERROR No error
Communication error (e.g. Sercos
1 DriveInterface SMC_DI_GENERAL_COMMUNICATION_ERROR
break)
2 DriveInterface SMC_DI_AXIS_ERROR Axis error
Position outside of permissible rang
10 DriveInterface SMC_DI_SWLIMITS_EXCEEDED
(SWLimit)
11 DriveInterface SMC_DI_HWLIMITS_EXCEEDED Hardware end switch is active
DriveInterface The position limits of the axis have
12 SMC_DI_LINEAR_AXIS_OUTOFRANGE
exceeded
Drive status Halt or Quickstop is no
13 DriveInterface SMC_DI_HALT_OR_QUICKSTOP_NOT_SUPPORTED
supported
14 DriveInterface SMC_DI_VOLTAGE_DISABLED Drive has no power
Actual position given from the drive
15 DriveInterface SMC_DI_IRREGULAR_ACTPOSITION
to be irregular. Check the commun
Position lag error. Difference betwe
16 DriveInterface SMC_DI_POSITIONLAGERROR
and actual position exceeds the giv
20 all motion generating modules SMC_REGULATOR_OR_START_NOT_SET Controller enable not done or brake
21 axis in wrong controller mode SMC_WRONG_CONTROLLER_MODE Axis is not in a correct controller m
Motion creating module has not be
30 DriveInterface SMC_FB_WASNT_CALLED_DURING_MOTION
again before end of the motion.
Given AXIS_REF variable is not of
31 All modules SMC_AXIS_IS_NO_AXIS_REF
AXIS_REF
The fed in AXIS_REF
32 axis in wrong controller mode SMC_AXIS_REF_CHANGED_DURING_OPERATION
exchanged while the module was a
Axis was disabled
33 DriveInterface SMC_FB_ACTIVE_AXIS_DIABLED (MC_Power.bRegulatorOn) while b
moved
Axis cannot execute a motion comm
34 all motion generating modules SMC_AXIS_NOT_READY_FOR_MOTION
its current state
40 VirtualDrive SMC_VD_MAX_VELOCITY_EXCEEDED Maximum velocity (fMaxVelocity) e
Maximum acceleration (fMaxAccele
41 VirtualDrive SMC_VD_MAX_ACCELERATION_EXCEEDED
exceeded
Maximum deceleration (fMaxDecel
42 VirtualDrive SMC_VD_MAX_DECELERATION_EXCEEDED
exceeded
50 SMC_Homing SMC_3SH_INVALID_VELACC_VALUES Invalid velocity or acceleration valu
Mode requests (for safety reasons)
51 SMC_Homing SMC_3SH_MODE_NEEDS_HWLIMIT
of the end switches
70 SMC_SetControllerMode SMC_SCM_NOT_SUPPORTED Mode not supported
In the current mode the controller m
71 SMC_SetControllerMode SMC_SCM_AXIS_IN_WRONG_STATE
cannot be changed
75 SMC_SetTorque SMC_ST_WRONG_CONTROLLER_MODE Axis is not in correct controller mod
ms-its:C:\Arquivos%20de%20programas\Lenze\PlcDesigner\3.3.2.285\PlcDesigner\On... 12/4/2013
SMC_ERROR Página 2 de 5
80 SMC_ResetAxisGroup SMC_RAG_ERROR_DURING_STARTUP Error at startup of the axisgroup
90 SMC_ChangeGearingRatio SMC_CGR_ZERO_VALUES invalid values
Gearing parameters may not be ch
91 SMC_ChangeGearingRatio SMC_CGR_DRIVE_POWERED
long as the drive is under control
92 SMC_ChangeGearingRatio SMC_CGR_INVALID_POSPERIOD Invalid position period (<=0)
The axis does not contain any infor
110 MC_Power SMC_P_FTASKCYCLE_EMPTY
on the cycle time (fTaskCycle = 0)
120 MC_Reset SMC_R_NO_ERROR_TO_RESET Axis without error
121 MC_Reset SMC_R_DRIVE_DOESNT_ANSWER Axis does not perform error
122 MC_Reset SMC_R_ERROR_NOT_RESETTABLE Error could not be reset
123 MC_Reset SMC_R_DRIVE_DOESNT_ANSWER_IN_TIME Communication with the axis did no
MC_ReadParameter,
130 SMC_RP_PARAM_UNKNOWN Parameter number unknown t
MC_ReadBoolParameter
Error during transmission to the dri
MC_ReadParameter,
131 SMC_RP_REQUESTING_ERROR error number in function block insta
MC_ReadBoolParameter
ReadDriveParameter (SM_DriveBa
MC_WriteParameter, Parameter number unknown or wri
140 SMC_WP_PARAM_INVALID
MC_WriteBoolParameter allowed
MC_WriteParameter, See error number in module instan
141 SMC_WP_SENDING_ERROR
MC_WriteBoolParameter WriteDriveParameter (Drive_Basic
170 MC_Home SMC_H_AXIS_WASNT_STANDSTILL Axis has not been in standstill state
171 MC_Home SMC_H_AXIS_DIDNT_START_HOMING Error at start of homing action
172 MC_Home SMC_H_AXIS_DIDNT_ANSWER Communication error
Error at stop after homing. See whe
173 MC_Home SMC_H_ERROR_WHEN_STOPPING
deceleration is set.
180 MC_Stop SMC_MS_UNKNOWN_STOPPING_ERROR Unknown error at stop
181 MC_Stop SMC_MS_INVALID_ACCDEC_VALUES Invalid velocity or acceleration valu
182 MC_Stop SMC_MS_DIRECTION_NOT_APPLICABLE Direction=shortest not applicable
Drive is in error stop status. Stop c
183 MC_Stop SMC_MS_AXIS_IN_ERRORSTOP
executed.
An instance of MC_Stop, blocking
184 MC_Stop SMC_BLOCKING_MC_STOP_WASNT_CALLED (Execute=TRUE), has not been cal
Please call MC_Stop(Execute=FAL
201 MC_MoveAbsolute SMC_MA_INVALID_VELACC_VALUES Invalid velocity or acceleration valu
202 MC_MoveAbsolute SMC_MA_INVALID_DIRECTION Direction error
226 MC_MoveRelative SMC_MR_INVALID_VELACC_VALUES Invalid velocity or acceleration valu
227 MC_MoveRelative SMC_MR_INVALID_DIRECTION Direction error
251 MC_MoveAdditive SMC_MAD_INVALID_VELACC_VALUES Invalid velocity or acceleration valu
Direction error
252 MC_MoveAdditive SMC_MAD_INVALID_DIRECTION
276 MC_MoveSuperImposed SMC_MSI_INVALID_VELACC_VALUES Invalid velocity or acceleration valu
Direction error
277 MC_MoveSuperImposed SMC_MSI_INVALID_DIRECTION
301 MC_MoveVelocity SMC_MV_INVALID_ACCDEC_VALUES Invalid velocity or acceleration valu
302 MC_MoveVelocity SMC_MV_DIRECTION_NOT_APPLICABLE Direction=shortest/fastest not appli
ms-its:C:\Arquivos%20de%20programas\Lenze\PlcDesigner\3.3.2.285\PlcDesigner\On... 12/4/2013
SMC_ERROR Página 3 de 5
325 MC_PositionProfile SMC_PP_ARRAYSIZE Erroneous array size
326 MC_PositionProfile SMC_PP_STEP0MS Step time = t#0s
350 MC_VelocityProfile SMC_VP_ARRAYSIZE erroneous array size
351 MC_VelocityProfile SMC_VP_STEP0MS Step time = t#0s
375 MC_AccelerationProfile SMC_AP_ARRAYSIZE erroneous array size
376 MC_AccelerationProfile SMC_AP_STEP0MS Step time = t#0s
400 MC_TouchProbe SMC_TP_TRIGGEROCCUPIED Trigger already active
DriveInterface does not support the
401 MC_TouchProbe SMC_TP_COULDNT_SET_WINDOW
function
402 MC_TouchProbe SMC_TP_COMM_ERROR Communication error
410 MC_AbortTrigger SMC_AT_TRIGGERNOTOCCUPIED Trigger already de-allocated
426 SMC_MoveContinuousRelative SMC_MCR_INVALID_VELACC_VALUES Invalid velocity or acceleration valu
427 SMC_MoveContinuousRelative SMC_MCR_INVALID_DIRECTION Invalid direction
451 SMC_MoveContinuousAbsolute SMC_MCA_INVALID_VELACC_VALUES Invalid velocity or acceleration valu
452 SMC_MoveContinuousAbsolute SMC_MCA_INVALID_DIRECTION Invalid direction
453 SMC_MoveContinuousAbsolute SMC_MCA_DIRECTION_NOT_APPLICABLE Direction= fastest not applicable
600 SMC_CamRegister SMC_CR_NO_TAPPETS_IN_CAM CAM does not contain any tappets
Tappet-GroupID exceeds
601 SMC_CamRegister SMC_CR_TOO_MANY_TAPPETS
MAX_NUM_TAPPETS
602 SMC_CamRegister SMC_CR_MORE_THAN_32_ACCESSES more than 32 accesses on one CA
625 MC_CamIN SMC_CI_NO_CAM_SELECTED no CAM selected
626 MC_CamIN SMC_CI_MASTER_OUT_OF_SCALE Master axis out of valid range
MC_CamIN for the ramp_in function velocity an
627 SMC_CI_RAMPIN_NEEDS_VELACC_VALUES
acceleration values must be specif
MC_CamIN Scaling variables
628 SMC_CI_SCALING_INCORRECT
fEditor/TableMasterMin/Max are no
SMC_CAMBounds, Function block for the given CAM f
640 SMC_CB_NOT_IMPLEMENTED
SMC_CamBounds_Pos not implemented
675 MC_GearIn SMC_GI_RATIO_DENOM RatioDenominator = 0
676 MC_GearIn SMC_GI_INVALID_ACC Acceleration invalid
677 MC_GearIn SMC_GI_INVALID_DEC Deceleration invalid
Velocity, Deceleration
725 MC_Phase SMC_PH_INVALID_VELACCDEC
values invalid
726 MC_Phase SMC_PH_ROTARYAXIS_PERIOD0 Rotation axis with fPositionPeriod =
All modules using
750 SMC_NO_CAM_REF_TYPE Given CAM is not of type MC_CAM
MC_CAM_REF as input
During the coupling of the slave ax
775 MC_GearInPos SMC_GIP_MASTER_DIRECTION_CHANGE
master axis changes the direction o
The Gear blacklash (fBacklash) is t
800 SMC_BacklashCompensation SMC_BC_BL_TOO_BIG
(>position periode/2)
CNC function blocks which are
1000 SMC_NO_LICENSE Target is not licensed for CNC.
supervising the licensing
Path cannot be processed because
1001 SMC_Interpolator SMC_INT_VEL_ZERO
velocity = 0.
ms-its:C:\Arquivos%20de%20programas\Lenze\PlcDesigner\3.3.2.285\PlcDesigner\On... 12/4/2013
SMC_ERROR Página 4 de 5
1002 SMC_Interpolator SMC_INT_NO_STOP_AT_END Last path object has Vel_End > 0.
Warning: GEOINFO-List processed
DataIn, but end of list not set. Reas
1003 SMC_Interpolator SMC_INT_DATA_UNDERRUN Forgotten to set EndOfList of the q
DataIn or SMC_Interpolator is faste
the path generating modules.
1004 SMC_Interpolator SMC_INT_VEL_NONZERO_AT_STOP Velocity at Stop > 0.
To much SMC_Interpolator recursi
1005 SMC_Interpolator SMC_INT_TOO_MANY_RECURSIONS
SoftMotion-Error.
Input-OutQueue DataIn has not as
1006 SMC_Interpolator SMC_INT_NO_CHECKVELOCITIES
processed module SMC_CHeckVe
1007 SMC_Interpolator SMC_INT_PATH_EXCEEDED Internal / numeric error
Velocity, acceleration or deceleratio
1008 SMC_Interpolator SMC_INT_VEL_ACC_DEC_ZERO
or to low.
1009 SMC_Interpolator SMC_INT_DWIPOTIME_ZERO FB called with dwIpoTime = 0
1050 SMC_Interpolator2Dir SMC_INT2DIR_BUFFER_TOO_SMALL Data buffer too small
1051 SMC_Interpolator2Dir SMC_INT2DIR_PATH_FITS_NOT_IN_QUEUE Path does not go completely in que
Velocity, Deceleration
1100 SMC_CheckVelocities SMC_CV_ACC_DEC_VEL_NONPOSITIVE
values are non-positive.
values of fGapVelocity / fGapAccel
1120 SMC_Controlaxisbypos SMC_CA_INVALID_ACCDEC_VALUES
fGapDeceleration are non
1200 SMC_NCDecoder SMC_DEC_ACC_TOO_LITTLE Acceleration value impermissible.
1201 SMC_NCDecoder SMC_DEC_RET_TOO_LITTLE Acceleration value impermissible.
Data underrun. Queue has been re
1202 SMC_NCDecoder SMC_DEC_OUTQUEUE_RAN_EMPTY
empty.
Jump to line cannot be executed be
1203 SMC_NCDecoder SMC_DEC_JUMP_TO_UNKNOWN_LINE
line number is unknown
1204 SMC_NCDecoder SMC_DEC_INVALID_SYNTAX The syntax is invalid
1205 SMC_NCDecoder SMC_DEC_3DMODE_OBJECT_NOT_SUPPORTED These objects are not supported in
1300 SMC_GCodeViewer SMC_GCV_BUFFER_TOO_SMALL Buffer to small
1301 SMC_GCodeViewer SMC_GCV_BUFFER_WRONG_TYPE Buffer elements have wrong type
Actual line of the Interpolator could
1302 SMC_GCodeViewer SMC_GCV_UNKNOWN_IPO_LINE
found
All function blocks using The given CNC program is not of ty
1500 SMC_NO_CNC_REF_TYPE
SMC_CNC_REF SMC_CNC_REF
All function blocks using The given OutQueue is not of type
1501 SMC_NO_OUTQUEUE_TYPE
SMC_OUTQUEUE SMC_OUTQUEUE
These function block works only wi
1600 CNC function blocks SMC_3D_MODE_NOT_SUPPORTED
paths
2000 SMC_ReadNCFile SMC_RNCF_FILE_DOESNT_EXIST File does not exist
2001 SMC_ReadNCFile SMC_RNCF_NO_BUFFER No buffer allocated
2002 SMC_ReadNCFile SMC_RNCF_BUFFER_TOO_SMALL Buffer too small
Data underrun. Buffer has been rea
2003 SMC_ReadNCFile SMC_RNCF_DATA_UNDERRUN
empty.
2004 SMC_ReadNCFile SMC_RNCF_VAR_COULDNT_BE_REPLACED placeholder variable could not be r
Input pvl does not point to a SMC_
2005 SMC_ReadNCFile SMC_RNCF_NOT_VARLIST
object
ms-its:C:\Arquivos%20de%20programas\Lenze\PlcDesigner\3.3.2.285\PlcDesigner\On... 12/4/2013
SMC_ERROR Página 5 de 5
2050 SMC_ReadNCQueue SMC_RNCQ_FILE_DOESNT_EXIST File could not be opened.
2051 SMC_ReadNCQueue SMC_RNCQ_NO_BUFFER no buffer defined.
2052 SMC_ReadNCQueue SMC_RNCQ_BUFFER_TOO_SMALL Buffer too small.
2053 SMC_ReadNCQueue SMC_RNCQ_UNEXPECTED_EOF unexpected end of file.
2100 SMC_AxisDiagnosticLog SMC_ADL_FILE_CANNOT_BE_OPENED File could not be opened
Buffer-overrun; WriteToFile must b
2101 SMC_AxisDiagnosticLog SMC_ADL_BUFFER_OVERRUN
more frequently
2200 SMC_ReadCAM SMC_RCAM_FILE_DOESNT_EXIST File could not be opened.
2201 SMC_ReadCAM SMC_RCAM_TOO_MUCH_DATA saved CAM to big.
2202 SMC_ReadCAM SMC_RCAM_WRONG_COMPILE_TYPE wrong compilation mode
2203 SMC_ReadCAM SMC_RCAM_WRONG_VERSION File has wrong version
2204 SMC_ReadCAM SMC_RCAM_UNEXPECTED_EOF unexpected end of file
3001 SMC_WriteDriveParamsToFile SMC_WDPF_CHANNEL_OCCUPIED SMC_WDPF_TIMEOUT_PREPAR
3002 SMC_WriteDriveParamsToFile SMC_WDPF_CANNOT_CREATE_FILE File could not be created
3003 SMC_WriteDriveParamsToFile SMC_WDPF_ERROR_WHEN_READING_PARAMS Error at reading of the parameters
3004 SMC_WriteDriveParamsToFile SMC_WDPF_TIMEOUT_PREPARING_LIST Timeout during preparing the param
Nominator of the conversion factor
5000 SMC_Encoder SMC_ENC_DENOM_ZERO (dwRatioTechUnitsDenom) of the E
reference is 0.
Other module trying to process mo
5001 SMC_Encoder SMC_ENC_AXISUSEDBYOTHERFB
the Encoder axis.
5002 DriveInterface SMC_ENC_FILTER_DEPTH_INVALID Filter depth is invalid
ms-its:C:\Arquivos%20de%20programas\Lenze\PlcDesigner\3.3.2.285\PlcDesigner\On... 12/4/2013