TwiceAsNice  2019-02-18
Variables
Basda::Error Namespace Reference

Variables

const int COCON_ERR_STILL_COLLISION = 1
 User defined CoCon command. More...
 
const int COCON_ERR_NO_STRIBES_DETECTED = 2
 User defined CoCon command. More...
 
const int COCON_ERR_STRIBES_BROKEN = 3
 User defined CoCon command. More...
 
const int COCON_ERR_NOT_INITIALIZED = 4
 User defined CoCon command. More...
 
const int ERR_MSG_CARD_NR = -1
 Error number. More...
 
const int ERR_MSG_COMMAND = -2
 Error number. More...
 
const int ERR_MSG_MODULE_NR = -3
 Error number. More...
 
const int ERR_MSG_PARAMETER = -4
 Error number. More...
 
const int ERR_MSG_DOUBLE_ID = -5
 Error number. More...
 
const int ERR_MSG_CMD_B_OVERRUN = -6
 Error number. More...
 
const int ERR_MSG_CAN_B_OVERRUN = -7
 Error number. More...
 
const int ERR_MSG_SER_B_OVERRUN = -8
 Error number. More...
 
const int ERR_MSG_RAM_FULL = -9
 Error number. More...
 
const int ERR_MSG_FUNCTION_ERR = -10
 Error number. More...
 
const int ERR_MSG_ETH_B_OVERRUN = -12
 Error number. More...
 
const int ERR_MSG_MAX_NR_CLIENTS = -13
 Error number. More...
 
const int ERR_MSG_TEL_PASSWORD = -14
 Error number. More...
 
const int ERR_MSG_LOGIN_NEEDED = -15
 Error number. More...
 
const int ERR_MSG_USER_DISABLE = -16
 Error number. More...
 
const int ERR_MSG_PORT_IN_USE = -17
 Error number. More...
 
const int ERR_MSG_MODULE_IN_USE = -18
 Error number. More...
 
const int ERR_MSG_NO_MODULE_RES = -19
 Error number. More...
 
const int ERR_MSG_HUGEDATA_IN_USE = -20
 Error number. More...
 
const int ERR_MSG_HD_NOT_SUPPORT = -21
 Error number. More...
 
const int ERR_MSG_FRAG_SIZE_SMALL = -22
 Error number. More...
 
const int ERR_MSG_FATAL_ERROR = -30
 Error number. More...
 
const int ERR__COM_WITH_MC = 0
 MoCon error number. More...
 
const int ERR__CMD_FOR_2500 = 1
 MoCon error number. More...
 
const int ERR__CMD_FOR_2800 = 2
 MoCon error number. More...
 
const int ERR__REV_NOT_DEF = 3
 MoCon error number. More...
 
const int ERR__MOT_IN_MOTION = 4
 MoCon error number. More...
 
const int ERR__INIT_BASIS_SET = 5
 MoCon error number. More...
 
const int ERR__INIT_AAD = 6
 MoCon error number. More...
 
const int ERR__AMP_NA = 7
 MoCon error number. More...
 
const int ERR__AMP_MC_NC = 8
 MoCon error number. More...
 
const int ERR__MICROSTEP_NA = 9
 MoCon error number. More...
 
const int ERR__MOTOR_NOT_INIT = 10
 MoCon error number. More...
 
const int ERR__MOTOR_IN_POS_L = 11
 MoCon error number. More...
 
const int ERR__MOTOR_IN_NEG_L = 12
 MoCon error number. More...
 
const int ERR__FIND_HOME_NA = 13
 MoCon error number. More...
 
const int ERR__NO_ACCESS_MS = 14
 MoCon error number. More...
 
const int ERR__IENC_NOT_INIT = 15
 MoCon error number. More...
 
const int ERR__INIT_TRACE_SET = 16
 MoCon error number. More...
 
const int ERR__TRACE_TO_SMALL = 17
 MoCon error number. More...
 
const int ERR__EXTERN_RAM = 18
 MoCon error number. More...
 
const int ERR__TRACE_BUFFER_OR = 19
 MoCon error number. More...
 
const int ERR__TRACE_BUF_NDEF = 20
 MoCon error number. More...
 
const int ERR__EP_SIZE_SET = 21
 MoCon error number. More...
 
const int ERR__EP_SIZE_NOT_SET = 22
 MoCon error number. More...
 
const int ERR__INIT_LIMIT_ERR = 23
 MoCon error number. More...
 
const int _TH8MOD_NO_INIT_OR_WRONG_DEVICE = 1
 TH8MOD error number. More...
 
const int _TH8MOD_CHANNEL_BUSY = 2
 TH8MOD error number. More...
 
const int _TH8MOD_I2C_TIMEOUT = 3
 TH8MOD error number. More...
 
const int _TH8MOD_I2C_TRANSMISSION_ERROR = 4
 TH8MOD error number. More...
 
const int _TH8MOD_RAM_FULL = 5
 TH8MOD error number. More...
 
const int _TH8MOD_NO_RUNNING_CMD = 6
 TH8MOD error number. More...
 
const int _TH8MOD_I2C_ERROR_OR_WRONG_DEVICE = 7
 TH8MOD error number. More...
 
const int _TH8MOD_WRONG_UNIT = 8
 TH8MOD error number. More...
 
const int _TH8MOD_WRONG_SENSOR = 9
 TH8MOD error number. More...
 
const int _TH8MOD_DISTANCE_TOO_SHORT = 10
 TH8MOD error number. More...
 
const int _TH8MOD_MAX_SMALLER_MIN = 11
 TH8MOD error number. More...
 
const int _TH8MOD_OUT_OF_BOUNDARY = 12
 TH8MOD error number. More...
 
const int _TH8MOD_NO_INIT = 13
 TH8MOD error number. More...
 

Variable Documentation

◆ _TH8MOD_CHANNEL_BUSY

const int Basda::Error::_TH8MOD_CHANNEL_BUSY = 2

TH8MOD error number.

Channel is still busy with the last command.

◆ _TH8MOD_DISTANCE_TOO_SHORT

const int Basda::Error::_TH8MOD_DISTANCE_TOO_SHORT = 10

TH8MOD error number.

Time distance between two measurements is to short.

◆ _TH8MOD_I2C_ERROR_OR_WRONG_DEVICE

const int Basda::Error::_TH8MOD_I2C_ERROR_OR_WRONG_DEVICE = 7

TH8MOD error number.

This error occurs during the initialization. An I2C error can also be a wrong connected sensor.

◆ _TH8MOD_I2C_TIMEOUT

const int Basda::Error::_TH8MOD_I2C_TIMEOUT = 3

TH8MOD error number.

I2C transmission is failed. Receiver does not response.

◆ _TH8MOD_I2C_TRANSMISSION_ERROR

const int Basda::Error::_TH8MOD_I2C_TRANSMISSION_ERROR = 4

TH8MOD error number.

I2C transmission is failed. Receiver returns a not-acknowledge.

◆ _TH8MOD_MAX_SMALLER_MIN

const int Basda::Error::_TH8MOD_MAX_SMALLER_MIN = 11

TH8MOD error number.

Max limit is less than min limit.

◆ _TH8MOD_NO_INIT

const int Basda::Error::_TH8MOD_NO_INIT = 13

TH8MOD error number.

Power source with given slave address is still not initialized.

◆ _TH8MOD_NO_INIT_OR_WRONG_DEVICE

const int Basda::Error::_TH8MOD_NO_INIT_OR_WRONG_DEVICE = 1

TH8MOD error number.

Parameter is not initialized or wrong module is connected.

◆ _TH8MOD_NO_RUNNING_CMD

const int Basda::Error::_TH8MOD_NO_RUNNING_CMD = 6

TH8MOD error number.

At the chosen channel does not run any command.

◆ _TH8MOD_OUT_OF_BOUNDARY

const int Basda::Error::_TH8MOD_OUT_OF_BOUNDARY = 12

TH8MOD error number.

Out of boundary.

◆ _TH8MOD_RAM_FULL

const int Basda::Error::_TH8MOD_RAM_FULL = 5

TH8MOD error number.

Not enough RAM.

◆ _TH8MOD_WRONG_SENSOR

const int Basda::Error::_TH8MOD_WRONG_SENSOR = 9

TH8MOD error number.

Wrong sensor.

◆ _TH8MOD_WRONG_UNIT

const int Basda::Error::_TH8MOD_WRONG_UNIT = 8

TH8MOD error number.

Wrong Unit.

◆ COCON_ERR_NO_STRIBES_DETECTED

const int Basda::Error::COCON_ERR_NO_STRIBES_DETECTED = 2

User defined CoCon command.

No collision stribes detected.

◆ COCON_ERR_NOT_INITIALIZED

const int Basda::Error::COCON_ERR_NOT_INITIALIZED = 4

User defined CoCon command.

Cocon is not initialized.

◆ COCON_ERR_STILL_COLLISION

const int Basda::Error::COCON_ERR_STILL_COLLISION = 1

User defined CoCon command.

Collision still exist.

◆ COCON_ERR_STRIBES_BROKEN

const int Basda::Error::COCON_ERR_STRIBES_BROKEN = 3

User defined CoCon command.

Collision stribes broken.

◆ ERR__AMP_MC_NC

const int Basda::Error::ERR__AMP_MC_NC = 8

MoCon error number.

Detected amplifier is not compatible with the motor chipset.

◆ ERR__AMP_NA

const int Basda::Error::ERR__AMP_NA = 7

MoCon error number.

No amplifier detected.

◆ ERR__CMD_FOR_2500

const int Basda::Error::ERR__CMD_FOR_2500 = 1

MoCon error number.

The method is only for stepper chipset.

◆ ERR__CMD_FOR_2800

const int Basda::Error::ERR__CMD_FOR_2800 = 2

MoCon error number.

The method is only for servo chipset.

◆ ERR__COM_WITH_MC

const int Basda::Error::ERR__COM_WITH_MC = 0

MoCon error number.

Communication error with the MC-chipset.

A checksum error can also be a reason for that error.

◆ ERR__EP_SIZE_NOT_SET

const int Basda::Error::ERR__EP_SIZE_NOT_SET = 22

MoCon error number.

The buffer size is not defined yet.

◆ ERR__EP_SIZE_SET

const int Basda::Error::ERR__EP_SIZE_SET = 21

MoCon error number.

The buffer size is defined. To change the buffer size free the memory first.

◆ ERR__EXTERN_RAM

const int Basda::Error::ERR__EXTERN_RAM = 18

MoCon error number.

The external RAM produce an error.

◆ ERR__FIND_HOME_NA

const int Basda::Error::ERR__FIND_HOME_NA = 13

MoCon error number.

Home search is not available.

◆ ERR__IENC_NOT_INIT

const int Basda::Error::ERR__IENC_NOT_INIT = 15

MoCon error number.

No incremental encoder initialized.

◆ ERR__INIT_AAD

const int Basda::Error::ERR__INIT_AAD = 6

MoCon error number.

A communication error with the EEPROM at the amplifier card occur.

◆ ERR__INIT_BASIS_SET

const int Basda::Error::ERR__INIT_BASIS_SET = 5

MoCon error number.

The basic settings are not complete. Some values are still missing.

◆ ERR__INIT_LIMIT_ERR

const int Basda::Error::ERR__INIT_LIMIT_ERR = 23

MoCon error number.

Both limits are active.

It can be that the cable is not connected well or the cable is broken.

◆ ERR__INIT_TRACE_SET

const int Basda::Error::ERR__INIT_TRACE_SET = 16

MoCon error number.

The trace settings is not complete. Some parameter are still missing.

◆ ERR__MICROSTEP_NA

const int Basda::Error::ERR__MICROSTEP_NA = 9

MoCon error number.

Amplifier does not support the the current microstep resolution.

◆ ERR__MOT_IN_MOTION

const int Basda::Error::ERR__MOT_IN_MOTION = 4

MoCon error number.

Motor is still in motion.

◆ ERR__MOTOR_IN_NEG_L

const int Basda::Error::ERR__MOTOR_IN_NEG_L = 12

MoCon error number.

Motor is in negative limit.

◆ ERR__MOTOR_IN_POS_L

const int Basda::Error::ERR__MOTOR_IN_POS_L = 11

MoCon error number.

Motor is in positive limit.

◆ ERR__MOTOR_NOT_INIT

const int Basda::Error::ERR__MOTOR_NOT_INIT = 10

MoCon error number.

Motor is not initialized.

◆ ERR__NO_ACCESS_MS

const int Basda::Error::ERR__NO_ACCESS_MS = 14

MoCon error number.

No access to the motor settings EEPROM.

◆ ERR__REV_NOT_DEF

const int Basda::Error::ERR__REV_NOT_DEF = 3

MoCon error number.

The steps/count per revolution have to be defined first.

◆ ERR__TRACE_BUF_NDEF

const int Basda::Error::ERR__TRACE_BUF_NDEF = 20

MoCon error number.

Trace buffer is not allocated.

◆ ERR__TRACE_BUFFER_OR

const int Basda::Error::ERR__TRACE_BUFFER_OR = 19

MoCon error number.

Trace buffer overrun.

◆ ERR__TRACE_TO_SMALL

const int Basda::Error::ERR__TRACE_TO_SMALL = 17

MoCon error number.

Not enough memory for the given number of samples.

◆ ERR_MSG_CAN_B_OVERRUN

const int Basda::Error::ERR_MSG_CAN_B_OVERRUN = -7

Error number.

CAN buffer overflow

◆ ERR_MSG_CARD_NR

const int Basda::Error::ERR_MSG_CARD_NR = -1

Error number.

Requested card ID does not exist.

◆ ERR_MSG_CMD_B_OVERRUN

const int Basda::Error::ERR_MSG_CMD_B_OVERRUN = -6

Error number.

Command buffer overflow.

◆ ERR_MSG_COMMAND

const int Basda::Error::ERR_MSG_COMMAND = -2

Error number.

Requested command number does not exist.

◆ ERR_MSG_DOUBLE_ID

const int Basda::Error::ERR_MSG_DOUBLE_ID = -5

Error number.

Two slave cards with the same ID have registered.

◆ ERR_MSG_ETH_B_OVERRUN

const int Basda::Error::ERR_MSG_ETH_B_OVERRUN = -12

Error number.

Ethernet buffer overrun.

◆ ERR_MSG_FATAL_ERROR

const int Basda::Error::ERR_MSG_FATAL_ERROR = -30

Error number.

A fatal error occur.

All command number are blocked, except the basic command numbers (<100).

See also
MPIA_GET_ERROR_CODE, MPIA_RST_ERROR

◆ ERR_MSG_FRAG_SIZE_SMALL

const int Basda::Error::ERR_MSG_FRAG_SIZE_SMALL = -22

Error number.

Nothing can be sended because the fragment size is to small.

◆ ERR_MSG_FUNCTION_ERR

const int Basda::Error::ERR_MSG_FUNCTION_ERR = -10

Error number.

An error occur in the command method.

The function error number is a special error code. The MoCon returns a second number, which specify the the kind of the function error. Different MoCon modules can have the same function error number (the second number) that have to be handled by the specific MoCon module.

See also
the function error codes of the MoCon modules

◆ ERR_MSG_HD_NOT_SUPPORT

const int Basda::Error::ERR_MSG_HD_NOT_SUPPORT = -21

Error number.

The requested command number does not support huge data transport.

◆ ERR_MSG_HUGEDATA_IN_USE

const int Basda::Error::ERR_MSG_HUGEDATA_IN_USE = -20

Error number.

Huge data is in use.

◆ ERR_MSG_LOGIN_NEEDED

const int Basda::Error::ERR_MSG_LOGIN_NEEDED = -15

Error number.

Client is still not logged in.

◆ ERR_MSG_MAX_NR_CLIENTS

const int Basda::Error::ERR_MSG_MAX_NR_CLIENTS = -13

Error number.

Maximal amount of clients are connected.

◆ ERR_MSG_MODULE_IN_USE

const int Basda::Error::ERR_MSG_MODULE_IN_USE = -18

Error number.

Module is already reserved for another user.

◆ ERR_MSG_MODULE_NR

const int Basda::Error::ERR_MSG_MODULE_NR = -3

Error number.

Requested module number does not exist.

◆ ERR_MSG_NO_MODULE_RES

const int Basda::Error::ERR_MSG_NO_MODULE_RES = -19

Error number.

Module is still not reserved

◆ ERR_MSG_PARAMETER

const int Basda::Error::ERR_MSG_PARAMETER = -4

Error number.

Given parameter is wrong.

◆ ERR_MSG_PORT_IN_USE

const int Basda::Error::ERR_MSG_PORT_IN_USE = -17

Error number.

Requested port is in use.

◆ ERR_MSG_RAM_FULL

const int Basda::Error::ERR_MSG_RAM_FULL = -9

Error number.

Dynamic memory is full

◆ ERR_MSG_SER_B_OVERRUN

const int Basda::Error::ERR_MSG_SER_B_OVERRUN = -8

Error number.

Serial buffer overflow.

◆ ERR_MSG_TEL_PASSWORD

const int Basda::Error::ERR_MSG_TEL_PASSWORD = -14

Error number.

Wrong password.

◆ ERR_MSG_USER_DISABLE

const int Basda::Error::ERR_MSG_USER_DISABLE = -16

Error number.

Admin disabled the user.