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

Page 246

Advertising
background image

DMS 5.2 EN 03/2011 TD17

L

246

L-force | PLC Designer - SoftMotion

The SM_Error.lib library

The enumeration SMC_Error

131

MC_ReadParameter,

MC_ReadBoolParameter

SMC_RP_REQUESTING_ERR

OR

Error during transmission to the drives.

See error number in the

ReadDriveParameter POU instance

(SM_DriveBasic.lib)

140

MC_WriteParameter,

MC_WriteBoolParameter

SMC_WP_PARAM_INVALID

Parameter number unknown or writing

not allowed

141

MC_WriteParameter,

MC_WriteBoolParameter

SMC_WP_SENDING_ERROR

Error in the transmission to the drives.

Check if the call in the Motion Task is

programmed. See error numbers of the

function block WriteDriveParameter

(SM_DriveBasic.lib)

170

MC_Home

SMC_H_AXIS_WASNT_STAN

DSTILL

Axis was not in the "standstill" state

171

MC_Home

SMC_H_AXIS_DIDNT_START

_HOMING

Error starting the homing action

172

MC_Home

SMC_H_AXIS_DIDNT_ANSW

ER

Communication error

173

MC_Home

SMC_H_ERROR_WHEN_STO

PPING

Error stopping after homing.

Deceleration set?

180

MC_Stop

SMC_MS_UNKNOWN_STOP

PING_ERROR

Unknown stopping error

181

MC_Stop

SMC_MS_INVALID_ACCDEC

_VALUES

Impermissible velocity or acceleration

values

182

MC_Stop

SMC_MS_DIRECTION_NOT_

APPLICABLE

Direction = shortest/fastest not

applicable

183

MC_Stop

SMC_MS_AXIS_IN_ERRORST

OP

Drive is in "errorstop" state. Stop cannot

be executed

184

MC_Stop

SMC_BLOCKING_MC_STOP_

WASNT_CALLED

An instance of MC_Stop which is

blocking the axis (Execute=TRUE) was

not called. Please call

MC_Stop(Execute=FALSE) first.

201

MC_MoveAbsolute

SMC_MA_INVALID_VELACC_

VALUES

Impermissible velocity or acceleration

values

202

MC_MoveAbsolute

SMC_MA_INVALID_DIRECTI

ON

Direction error

226

MC_MoveRelative

SMC_MR_INVALID_VELACC_

VALUES

Impermissible velocity or acceleration

values

227

MC_MoveRelative

SMC_MR_INVALID_DIRECTI

ON

Direction error

251

MC_MoveAdditive

SMC_MAD_INVALID_VELAC

C_VALUES

Impermissible velocity or acceleration

values

252

MC_MoveAdditive

SMC_MAD_INVALID_DIRECT

ION

Direction error

276

MC_MoveSuperImposed

SMC_MSI_INVALID_VELACC

_VALUES

Impermissible velocity or acceleration

values

277

MC_MoveSuperImposed

SMC_MSI_INVALID_DIRECTI

ON

Direction error

301

MC_MoveVelocity

SMC_MV_INVALID_ACCDEC

_VALUES

Impermissible velocity or acceleration

values

302

MC_MoveVelocity

SMC_MV_DIRECTION_NOT_

APPLICABLE

Direction = shortest/fastest not

applicable

325

MC_PositionProfile

SMC_PP_ARRAYSIZE

Incorrect array size

326

MC_PositionProfile

SMC_PP_STEP0MS

Step time = t#0s

350

MC_VelocityProfile

SMC_VP_ARRAYSIZE

Incorrect array size

Error

POU

Enum value

Description

Advertising