TwiceAsNice
2019-02-18
|
Macros | |
#define | MOCON 0x001 |
address range 1-16 (switchable by hardware switch) More... | |
#define | UNIMOD 0x011 |
address range 17-32 (switchable by hardware switch) More... | |
#define | ROCON 0x021 |
address range 33-48 (switchable by hardware switch) More... | |
#define | MCCLBLEV 0x031 |
address range 49-64 (switchable by hardware switch) More... | |
#define | COCON 0x041 |
address range 65-80 (switchable by hardware switch) More... | |
#define | CARD_TYPE_MASK 0x3F0 |
the 4 LSB's are masked; that's a way to obtain the board type More... | |
#define | INFO_MSG 4 |
informal message return (Test mode) More... | |
#define | EVENT_MSG 3 |
status return , e.g. motion Motion Complete More... | |
#define | DATA_MSG 2 |
user load data More... | |
#define | COMMAND_OK_MSG 1 |
command is being executed More... | |
#define | REGISTRATION 0 |
card registration More... | |
#define | ERR_MSG_CARD_NR -1 |
board addres does not exist More... | |
#define | ERR_MSG_COMMAND -2 |
command number does not exist More... | |
#define | ERR_MSG_MODULE_NR -3 |
wrong module number More... | |
#define | ERR_MSG_PARAMETER -4 |
parameter error (e.g. wrong format or out of range) More... | |
#define | ERR_MSG_DOUBLE_ID -5 |
two slave boards with the same ID have been registered. More... | |
#define | ERR_MSG_CMD_B_OVERRUN -6 |
overrun of command buffer More... | |
#define | ERR_MSG_CAN_B_OVERRUN -7 |
CAN buffer overrun. More... | |
#define | ERR_MSG_SER_B_OVERRUN -8 |
serial buffer overrun More... | |
#define | ERR_MSG_RAM_FULL -9 |
dynamic memor RAM full (malloc) More... | |
#define | ERR_MSG_FUNCTION_ERR -10 |
error while executing the function (see firmware manual) More... | |
#define | ERR_MSG_ETH_B_OVERRUN -12 |
Ethernet Buffer overrun. More... | |
#define | ERR_MSG_MAX_NR_CLIENTS -13 |
reached maximum number of clients connected. More... | |
#define | ERR_MSG_TEL_PASSWORD -14 |
wrong password More... | |
#define | ERR_MSG_LOGIN_NEEDED -15 |
not yet logged in More... | |
#define | ERR_MSG_USER_DISABLE -16 |
user has been disabled by the administrator (n.a.) More... | |
#define | ERR_MSG_PORT_IN_USE -17 |
port already in use More... | |
#define | ERR_MSG_MODULE_IN_USE -18 |
module already reserved for another client More... | |
#define | ERR_MSG_NO_MODULE_RES -19 |
module not reserved More... | |
#define | ERR_MSG_HUGEDATA_IN_USE -20 |
Hugh Data are already in use. More... | |
#define | ERR_MSG_HD_NOT_SUPPORT -21 |
the command numer is not supported at HugeData Transport More... | |
#define | ERR_MSG_FRAG_SIZE_SMALL -22 |
cannot be send because the fragment size is too small More... | |
#define | ERR_MSG_FATAL_ERROR -30 |
a fatal error occurred. See for MPIA_GET_ERROR_CODE and MPIA_RST_ERROR. All command will be blocked (but <100) More... | |
#define | MPIA_VERSION 1 |
#define | MPIA_GET_REGISTRATION 7 |
#define | MPIA_SW_RESET 8 |
#define | MPIA_GET_ERROR_CODE 9 |
#define | MPIA_RST_ERROR 10 |
#define | MPIA_XON_XOFF 11 |
#define | MPIA_GET_XON_XOFF 12 |
#define | MPIA_SET_SERIEL_RATE 13 |
#define | MPIA_GET_SERIEL_RATE 14 |
#define | MPIA_SET_CAN_RATE 15 |
#define | MPIA_GET_CAN_RATE 16 |
#define | MPIA_SET_EVENT_MSG_FLAG 17 |
#define | MPIA_GET_EVENT_MSG_FLAG 18 |
#define | MPIA_SET_INFO_MSG_FLAG 19 |
#define | MPIA_GET_INFO_MSG_FLAG 20 |
#define | MPIA_TELNET_LOGIN 21 |
command to enter the user name More... | |
#define | MPIA_TELNET_PWD 22 |
command to enter the password More... | |
#define | MPIA_RESERVE_MOD 23 |
registers modules More... | |
#define | MPIA_FREE_MOD 24 |
releases modules More... | |
#define | MPIA_PLOT_RES_MOD 25 |
sends the modules already reserved to the client. More... | |
#define | MPIA_HUGE_DATA_RES 26 |
reserves memory for large data sets More... | |
#define | MPIA_HUGE_DATA_FREE 27 |
releases the memory and the associated data More... | |
#define | MPIA_EXIT_TELNET 29 |
#define | MPIA_SET_IP_ADDRESS 30 |
#define | MPIA_GET_IP_ADDRESS 31 |
#define | MPIA_SET_GATE_ADDRESS 32 |
#define | MPIA_GET_GATE_ADDRESS 33 |
#define | MPIA_SET_MASK_ADDRESS 34 |
#define | MPIA_GET_MASK_ADDRESS 35 |
#define | MPIA_SET_LINK_TIMEOUT 36 |
added in version 2.19 More... | |
#define | MPIA_GET_LINK_TIMEOUT 37 |
added in version 2.19 More... | |
#define | MACRO_ADD_MACRO 51 |
#define | MACRO_DELETE_MACRO 52 |
#define | MACRO_DELETE_ALL_MACROS 53 |
#define | MACRO_PRINT_MACRO 54 |
#define | MACRO_PRINT_ALL_MACROS 55 |
#define | MACRO_ADD_OBJECT 56 |
#define | MACRO_INSERT_OBJECT 57 |
#define | MACRO_DELETE_OBJECT 58 |
#define | MACRO_COMPILE_MACRO 59 |
#define | MACRO_COMPILE_ALL_MACROS 60 |
#define | MACRO_START 61 |
#define | MACRO_CONTROL 62 |
#define | MACRO_ECHO 63 |
#define | MACRO_SHOW_STATUS 64 |
#define | MACRO_SEND_SIGNAL 65 |
#define | MACRO_CHANGE_DELAY_OBJECT 66 |
#define | MACRO_SHOW_MEMORY_STATUS 67 |
#define | MACRO_PRINT_MESSAGE_BUFFER 68 |
#define | MACRO_SHOW_ELAPSED_TIME 69 |
#define | MACRO_SAVE_MACRO 70 |
#define | ERR__RAM_FULL 0 |
memory full More... | |
#define | ERR__MACRO_EMPTY 1 |
macro without elements More... | |
#define | ERR__INDEX_ERROR 2 |
index exists already or not at all More... | |
#define | ERR__NO_TIMER 3 |
function fShowElapsedTime called outside a delay or WAIT object More... | |
#define | ERR__MACRO_STOPPED 4 |
no macro running More... | |
#define | ERR__MAX_OBJECT_COUNT 5 |
maximum number of objects in memory reached. More... | |
#define | ERR__EVENT_LIST_EMPTY 6 |
message buffer is empty More... | |
#define | ERR__INVALID_MACRO_ID 7 |
macro exists already More... | |
#define | ERR__NO_MACROS 8 |
no macros present. More... | |
#define | ERR__COMPILER_ERROR 9 |
macro cannot be run (compiled with errors) More... | |
#define | ERR__ID_ALREADY_EXISTS 10 |
the ID of the element (loop, label) is not unqiue and exists already More... | |
#define | ERR__MACRO_RUNNING 11 |
macro is running More... | |
#define | ERR__WAIT_FOR_TIMEOUT 12 |
timeout of a wait elements More... | |
#define | ERR__NEXT_MACRO_ELEMENT 13 |
the element TYP_NEXT_MACRO was not the previous or the macri called does not exist More... | |
#define | ERR__COMMAND_ERROR 14 |
command object is errneous More... | |
#define | ERR__SEKTOR_ERASE_FAILED 15 |
the sector (as specified) cannot be erased More... | |
#define | ERR__SEKTOR_NOT_RESERVED 16 |
the sector (as specified) was not reserved -> Options for Target -> L166 Misc -> Reserve More... | |
#define | ERR__UNKNOWN_ERR 17 |
that error is not supposed to occur More... | |
#define | ERR__CORRESPONDING_ELEMENT_NOT_FOUND 0 |
did not find associated label for GOTO, associated IF for the ELSE etc More... | |
#define | ERR__NEXT_MACRO_NOT_LAST_ELEMENT 1 |
#define | ERR__NEXT_MACRO_NOT_FOUND 2 |
#define | ERR__NEXT_MACRO_NOT_COMPILED 3 |
#define | ERR__NO_COMMAND_BEFORE_WHILE 4 |
missing query before the While that ought to deliver the data messages More... | |
#define | EVENT__MACRO_END 1 |
macro terminated More... | |
#define | EVENT__SEND_MESSAGE 2 |
an event message send with the Objekt TYP_MESSAGE More... | |
#define | EVENT__ECHO 3 |
#define | MOCON_SET_BASIC_SETTINGS 110 |
#define | MOCON_SET_MOTOR_SETTINGS 111 |
#define | MOCON_SET_STEPPER_SETTINGS 112 |
#define | MOCON_SET_SERVO_LOOP_SETTINGS 113 |
#define | MOCON_SET_ENCODER_SETTINGS 114 |
#define | MOCON_SET_FIRMWARE_SETTINGS 115 |
#define | MOCON_SET_AMPLIFIER_SETTINGS 116 |
#define | MOCON_SET_MULTIUPDATE_SETTINGS 119 |
#define | MOCON_MOTOR_INITIALIZE 120 |
#define | MOCON_ABRUPT_STOP 121 |
#define | MOCON_SMOOTH_STOP 122 |
#define | MOCON_MOVE_N_STEPS_COUNTS 123 |
#define | MOCON_MOVE_N_ABS_STEPS_COUNTS 124 |
#define | MOCON_MOVE_FIND_HOME 125 |
#define | MOCON_MOVE_ADAPTION_POS_TO_ENC 126 |
#define | MOCON_MOVE_MULTIUPDATE 127 |
#define | MOCON_GET_BASIC_SETTINGS 150 |
#define | MOCON_GET_MOTOR_SETTINGS 151 |
#define | MOCON_GET_STEPPER_SETTINGS 152 |
#define | MOCON_GET_SERVO_LOOP_SETTINGS 153 |
#define | MOCON_GET_ENCODER_SETTINGS 154 |
#define | MOCON_GET_FIRMWARE_SETTINGS 155 |
#define | MOCON_GET_MC_VERSION 159 |
#define | MOCON_GET_AMP_CARD_INFO 160 |
#define | MOCON_GET_AMPLIFIER_INFO 161 |
#define | MOCON_GET_IN_MOTION_FLAG 162 |
#define | MOCON_GET_LIMIT_SWITCH_FLAG 163 |
#define | MOCON_GET_ACTIVITY_STATUS 164 |
#define | MOCON_GET_SIGNAL_STATUS 165 |
#define | MOCON_GET_CURRENT_POSITION 166 |
#define | MOCON_GET_IENC_ACTUAL_POSITION 167 |
#define | MOCON_GET_CURRENT_VELOCITY 168 |
#define | MOCON_GET_IENC_ACTUAL_VELOCITY 169 |
#define | MOCON_GET_START_HOME_DISTANCE 170 |
#define | MOCON_GET_AENC_ACTUAL_POSITION 171 |
#define | MOCON_GET_MC_ERROR 172 |
#define | MOCON_GET_MC_TIME 173 |
#define | MOCON_GET_ERROR_POSITION 174 |
#define | MOCON_SAVE_MOTOR_SETTINGS 180 |
#define | MOCON_LOAD_MOTOR_SETTINGS 181 |
#define | MOCON_SET_DIGITAL_OUT_BIT 190 |
#define | MOCON_SET_DIGITAL_OUT_BYTE 191 |
#define | MOCON_SET_DIGITAL_OUT_WORD 192 |
#define | MOCON_SET_DIGITAL_OUT_LONG 193 |
#define | MOCON_GET_DIGITAL_IN_BIT 194 |
#define | MOCON_GET_DIGITAL_IN_BYTE 195 |
#define | MOCON_GET_DIGITAL_IN_WORD 196 |
#define | MOCON_GET_DIGITAL_IN_LONG 197 |
#define | MOCON_SET_TRACE_VAR 200 |
#define | MOCON_SET_TRACE_SAMPLE 201 |
#define | MOCON_SET_TRACE_SAMPLE_NR 202 |
#define | MOCON_SET_TRACE_MODE 203 |
#define | MOCON_GET_TRACE_DATA 204 |
#define | MOCON_TRACE_START 205 |
#define | MOCON_TRACE_STOP 206 |
#define | MOCON_CLEAR_TRACE_BUFFER 207 |
#define | MOCON_GET_TRACE_INFO 208 |
#define | MOCON_SET_EVENT_TRACE_VAR 210 |
#define | MOCON_SET_EVENT_TRACE_SAMPLE 211 |
#define | MOCON_EVENT_TRACE_START 212 |
#define | MOCON_EVENT_TRACE_STOP 213 |
#define | MOCON_SET_EXPROFILE_BUF_LEN 220 |
#define | MOCON_SET_EXPROFILE_DATA 221 |
#define | MOCON_EXPROFILE_START 222 |
#define | MOCON_EXPRIFILE_TIME_START 223 |
#define | MOCON_EXPROFILE_STOP 224 |
#define | MOCON_EXPROFILE_INFO 225 |
#define | MOCON_EXPROFILE_BUF_CLEAR 226 |
#define | MOCON_SET_PROFILE_POSITION 230 |
#define | MOCON_MOVE_BY_TRIGGER 231 |
#define | MOCON_GET_FULLSTEP_SIGNAL 232 |
added on 201-10-18 with Version 1.23 More... | |
#define | MOCON_SET_ACTIVEDRIVE_POWER 251 |
#define | ERR__COM_WITH_MC 0 |
error communication with the MC chip set More... | |
#define | ERR__CMD_FOR_2500 1 |
function only valid for stepper motor chip set More... | |
#define | ERR__CMD_FOR_2800 2 |
function only valid for servo moter chip set More... | |
#define | ERR__REV_NOT_DEF 3 |
resolution not yet knwon (must be provided beforehand) More... | |
#define | ERR__MOT_IN_MOTION 4 |
motor still in motion More... | |
#define | ERR__INIT_BASIS_SET 5 |
not all elements p the basis set have been specified More... | |
#define | ERR__INIT_AAD 6 |
Auto Amplifier Detection Error (e.g. .I2C Bus not existing) More... | |
#define | ERR__AMP_NA 7 |
Amplifier Channel not existing. More... | |
#define | ERR__AMP_MC_NC 8 |
Amplifier and MC incompatible. More... | |
#define | ERR__MICROSTEP_NA 9 |
MicroStep not available. More... | |
#define | ERR__MOTOR_NOT_INIT 10 |
Motor not initialised. More... | |
#define | ERR__MOTOR_IN_POS_L 11 |
Motor at the positive limit. More... | |
#define | ERR__MOTOR_IN_NEG_L 12 |
Motor at the negative Limit. More... | |
#define | ERR__FIND_HOME_NA 13 |
home search not applicable More... | |
#define | ERR__NO_ACCESS_MS 14 |
no access to the MotorSetinngs memory More... | |
#define | ERR__IENC_NOT_INIT 15 |
the incremental encoder was not initialised More... | |
#define | ERR__INIT_TRACE_SET 16 |
not all parameters of the TraceSettings have been set More... | |
#define | ERR__TRACE_TO_SMALL 17 |
the Trace Buffer is too small with that number of samples. More... | |
#define | ERR__EXTERN_RAM 18 |
error associated with the external ram (e.g. buffer full) More... | |
#define | ERR__TRACE_BUFFER_OR 19 |
Trace Buffer OverRun. More... | |
#define | ERR__TRACE_BUF_NDEF 20 |
there is no Tracebuffer (perhaps it's already been deleted) More... | |
#define | ERR__EP_SIZE_SET 21 |
buffer length has already been set; erase the first buffer for a new installatino More... | |
#define | ERR__EP_SIZE_NOT_SET 22 |
buffer length was not yet set; must happen beforehand More... | |
#define | ERR__INIT_LIMIT_ERR 23 |
both limits are active. Causes: cables not connected or short cut. More... | |
#define | EVENT__MSG_MOTION_COMPLETE 1 |
Motion Complete. More... | |
#define | EVENT__MSG_IN_POS_LIMIT 2 |
at the positive limit More... | |
#define | EVENT__MSG_IN_NEG_LIMIT 3 |
at the negative limit More... | |
#define | EVENT__MSG_MOTION_ERROR 4 |
Motion Error. More... | |
#define | EVENT__MSG_EVENT_TRACE 5 |
Event Trace. More... | |
#define | EVENT__MSG_INSTRUCTION_ERROR 6 |
Instruction Error <- added on 2012-06-01 with Version 1.26. More... | |
#define | UNIMOD_SHOW_MODULES 400 |
#define | UNIMOD_CHECK_RUN 402 |
#define | UNIMOD_RESOLV_SETRESABSENC 300 |
#define | UNIMOD_RESOLV_SETRESINCENC 301 |
#define | UNIMOD_RESOLV_GETANGLE 302 |
#define | UNIMOD_RESOLV_STARTINCENC 303 |
#define | UNIMOD_RESOLV_STOPINCENC 304 |
#define | UNIMOD_RESOLV_GETRESABSENC 305 |
#define | UNIMOD_RESOLV_GETRESINCENC 306 |
#define | UNIMOD_RESOLV2_SETRESABSENC 310 |
#define | UNIMOD_RESOLV2_SETRESINCENC 311 |
#define | UNIMOD_RESOLV2_GETANGLE 312 |
#define | UNIMOD_RESOLV2_STARTINCENC 313 |
#define | UNIMOD_RESOLV2_STOPINCENC 314 |
#define | UNIMOD_RESOLV2_GETRESABSENC 315 |
#define | UNIMOD_RESOLV2_GETRESINCENC 316 |
#define | UNIMOD_RESOLV2_POWERREDUCE 317 |
#define | UNIMOD_DIGIO_IN 320 |
#define | UNIMOD_DIGIO_OUT 321 |
#define | UNIMOD_DIGIO_OUTPUT_STATUS 322 |
#define | UNIMOD_DACMOD_SET_POLARITY 330 |
#define | UNIMOD_DACMOD_LOAD_AND_START_DAC 331 |
#define | UNIMOD_DACMOD_GET_ACTUAL_VALUE 332 |
#define | UNIMOD_4WMOD_SET_DAC 340 |
#define | UNIMOD_4WMOD_INIT_MODUL 341 |
#define | UNIMOD_4WMOD_READ_ADC_AVE 350 |
#define | UNIMOD_4WMOD_READ_ADC_SAVE 351 |
#define | UNIMOD_4WMOD_READ_ADC_READ 352 |
#define | UNIMOD_4WMOD_READ_ADC_WATCH 353 |
#define | UNIMOD_4WMOD_READ_ADC_COUNT 354 |
#define | UNIMOD_4WMOD_get_POLLING_RESULT 355 |
#define | UNIMOD_4WMOD_GET_STATUS 360 |
#define | UNIMOD_4WMOD_BREAK 361 |
#define | UNIMOD_4WMOD_SET_AVERAGING_FLAG 362 |
#define | UNIMOD_4WMOD_DO_CALIBRATION 363 |
#define | UNIMOD_4WMOD_SET_CAL_FACTOR 364 |
#define | MESSDATA 2 |
measurement data that are send on the chips initiative More... | |
#define | COMPLETE 1 |
measurement completed More... | |
#define | _4WMOD_RAM_FULL 1 |
not enought RAM More... | |
#define | _4WMOD_CHANNEL_BUSY 2 |
a function is already executed on that channel More... | |
#define | _4WMOD_NO_DATA 3 |
there are no data for the read Funktion More... | |
#define | _4WMOD_NO_CHANNEL_INIT 4 |
the module in question is not yet initalized More... | |
#define | _4WMOD_READ_ADC_TIMEOUT 5 |
the module selected triggers a timeout while reading More... | |
#define | _4WMOD_WRONG_PARAMETER 6 |
parameter sets are incompatible More... | |
#define | _4WMOD_NO_RUNNING_CMD 7 |
there is no function on the channel selected More... | |
#define | _4WMOD_WRONG_SENSOR_TYP 8 |
that sensor type cannot be calibrated More... | |
#define | UNIMOD_TH8MOD_SENSOR_INIT 370 |
#define | UNIMOD_TH8MOD_READ_TEMP_SINGLE 371 |
#define | UNIMOD_TH8MOD_READ_TEMP_MULTIPLE 372 |
#define | UNIMOD_TH8MOD_READ_HUM_SINGLE 373 |
#define | UNIMOD_TH8MOD_READ_HUM_MULTIPLE 374 |
#define | UNIMOD_TH8MOD_READ_TEMP_SAVE 375 |
#define | UNIMOD_TH8MOD_READ_HUM_SAVE 376 |
#define | UNIMOD_TH8MOD_WATCH_TEMP 377 |
#define | UNIMOD_TH8MOD_WATCH_HUM 378 |
#define | UNIMOD_TH8MOD_GET_LAST_RESULT 379 |
#define | UNIMOD_TH8MOD_END_COMMAND 380 |
#define | UNIMOD_TH8MOD_CURRENT_SOURCE_INIT 381 |
#define | UNIMOD_TH8MOD_SET_CURRENT 382 |
#define | UNIMOD_TH8MOD_SET_CURRENT_PERCENT 383 |
#define | _TH8MOD_EVENT_COMPLETE 1 |
end of series of measurements More... | |
#define | _TH8MOD_EVENT_DATA 2 |
result of the measurement More... | |
#define | _TH8MOD_EVENT_ERROR_I2C_TIMEOUT 3 |
#define | _TH8MOD_EVENT_ERROR_I2C_TRANSMISSION_ERROR 4 |
#define | _TH8MOD_EVENT_ERROR_INCORRECT_RESULT 5 |
#define | _TH8MOD_NO_INIT_OR_WRONG_DEVICE 1 |
parameter not initialzied of wrong chip (e.g. current source instead of sensor) More... | |
#define | _TH8MOD_CHANNEL_BUSY 2 |
channel yet occupied by previous command More... | |
#define | _TH8MOD_I2C_TIMEOUT 3 |
I2C transmission failedÜ(receiver does not answer) More... | |
#define | _TH8MOD_I2C_TRANSMISSION_ERROR 4 |
I2CÜtransmission failed (receiver answers with not-acknowledge) More... | |
#define | _TH8MOD_RAM_FULL 5 |
not enough RAM More... | |
#define | _TH8MOD_NO_RUNNING_CMD 6 |
no function on the selected channel More... | |
#define | _TH8MOD_I2C_ERROR_OR_WRONG_DEVICE 7 |
error while initialising the I2C. May also indicate selection of a wrong sensor More... | |
#define | _TH8MOD_WRONG_UNIT 8 |
sensor cannot give data with these units More... | |
#define | _TH8MOD_WRONG_SENSOR 9 |
sensor canot do that sort of measurement More... | |
#define | _TH8MOD_DISTANCE_TOO_SHORT 10 |
time interval between two measurements too short More... | |
#define | _TH8MOD_MAX_SMALLER_MIN 11 |
the maximum is smaller than the minimum (associated with a watch function) More... | |
#define | _TH8MOD_OUT_OF_BOUNDARY 12 |
watch function (min, max): violates the limits of the associated unti More... | |
#define | _TH8MOD_NO_INIT 13 |
current sorce iwth that slave address not yet initialized More... | |
#define | COCON_INIT_COCON 200 |
#define | COCON_GET_COLLISION 201 |
#define | COCON_RST_COLLISION 202 |
#define | COCON_SIMULATE_COLLISION 203 |
#define | COCON_ERR_STILL_COLLISION 1 |
#define | COCON_ERR_NO_STRIBES_DETECTED 2 |
#define | COCON_ERR_STRIBES_BROKEN 3 |
#define | COCON_ERR_NOT_INIT 4 |
Definition of cpp macros for the MPIA electronics.
#define _4WMOD_CHANNEL_BUSY 2 |
a function is already executed on that channel
#define _4WMOD_NO_CHANNEL_INIT 4 |
the module in question is not yet initalized
#define _4WMOD_NO_DATA 3 |
there are no data for the read Funktion
#define _4WMOD_NO_RUNNING_CMD 7 |
there is no function on the channel selected
#define _4WMOD_RAM_FULL 1 |
not enought RAM
#define _4WMOD_READ_ADC_TIMEOUT 5 |
the module selected triggers a timeout while reading
#define _4WMOD_WRONG_PARAMETER 6 |
parameter sets are incompatible
#define _4WMOD_WRONG_SENSOR_TYP 8 |
that sensor type cannot be calibrated
#define _TH8MOD_CHANNEL_BUSY 2 |
channel yet occupied by previous command
#define _TH8MOD_DISTANCE_TOO_SHORT 10 |
time interval between two measurements too short
#define _TH8MOD_EVENT_COMPLETE 1 |
end of series of measurements
#define _TH8MOD_EVENT_DATA 2 |
result of the measurement
#define _TH8MOD_EVENT_ERROR_I2C_TIMEOUT 3 |
#define _TH8MOD_EVENT_ERROR_I2C_TRANSMISSION_ERROR 4 |
#define _TH8MOD_EVENT_ERROR_INCORRECT_RESULT 5 |
#define _TH8MOD_I2C_ERROR_OR_WRONG_DEVICE 7 |
error while initialising the I2C. May also indicate selection of a wrong sensor
#define _TH8MOD_I2C_TIMEOUT 3 |
I2C transmission failedÜ(receiver does not answer)
#define _TH8MOD_I2C_TRANSMISSION_ERROR 4 |
I2CÜtransmission failed (receiver answers with not-acknowledge)
#define _TH8MOD_MAX_SMALLER_MIN 11 |
the maximum is smaller than the minimum (associated with a watch function)
#define _TH8MOD_NO_INIT 13 |
current sorce iwth that slave address not yet initialized
#define _TH8MOD_NO_INIT_OR_WRONG_DEVICE 1 |
parameter not initialzied of wrong chip (e.g. current source instead of sensor)
#define _TH8MOD_NO_RUNNING_CMD 6 |
no function on the selected channel
#define _TH8MOD_OUT_OF_BOUNDARY 12 |
watch function (min, max): violates the limits of the associated unti
#define _TH8MOD_RAM_FULL 5 |
not enough RAM
#define _TH8MOD_WRONG_SENSOR 9 |
sensor canot do that sort of measurement
#define _TH8MOD_WRONG_UNIT 8 |
sensor cannot give data with these units
#define CARD_TYPE_MASK 0x3F0 |
the 4 LSB's are masked; that's a way to obtain the board type
#define COCON 0x041 |
address range 65-80 (switchable by hardware switch)
#define COCON_ERR_NO_STRIBES_DETECTED 2 |
#define COCON_ERR_NOT_INIT 4 |
#define COCON_ERR_STILL_COLLISION 1 |
#define COCON_ERR_STRIBES_BROKEN 3 |
#define COCON_GET_COLLISION 201 |
#define COCON_INIT_COCON 200 |
#define COCON_RST_COLLISION 202 |
#define COCON_SIMULATE_COLLISION 203 |
#define COMMAND_OK_MSG 1 |
command is being executed
#define COMPLETE 1 |
measurement completed
#define DATA_MSG 2 |
user load data
#define ERR__AMP_MC_NC 8 |
Amplifier and MC incompatible.
#define ERR__AMP_NA 7 |
Amplifier Channel not existing.
#define ERR__CMD_FOR_2500 1 |
function only valid for stepper motor chip set
#define ERR__CMD_FOR_2800 2 |
function only valid for servo moter chip set
#define ERR__COM_WITH_MC 0 |
error communication with the MC chip set
#define ERR__COMMAND_ERROR 14 |
command object is errneous
#define ERR__COMPILER_ERROR 9 |
macro cannot be run (compiled with errors)
#define ERR__CORRESPONDING_ELEMENT_NOT_FOUND 0 |
did not find associated label for GOTO, associated IF for the ELSE etc
#define ERR__EP_SIZE_NOT_SET 22 |
buffer length was not yet set; must happen beforehand
#define ERR__EP_SIZE_SET 21 |
buffer length has already been set; erase the first buffer for a new installatino
#define ERR__EVENT_LIST_EMPTY 6 |
message buffer is empty
#define ERR__EXTERN_RAM 18 |
error associated with the external ram (e.g. buffer full)
#define ERR__FIND_HOME_NA 13 |
home search not applicable
#define ERR__ID_ALREADY_EXISTS 10 |
the ID of the element (loop, label) is not unqiue and exists already
#define ERR__IENC_NOT_INIT 15 |
the incremental encoder was not initialised
#define ERR__INDEX_ERROR 2 |
index exists already or not at all
#define ERR__INIT_AAD 6 |
Auto Amplifier Detection Error (e.g. .I2C Bus not existing)
#define ERR__INIT_BASIS_SET 5 |
not all elements p the basis set have been specified
#define ERR__INIT_LIMIT_ERR 23 |
both limits are active. Causes: cables not connected or short cut.
#define ERR__INIT_TRACE_SET 16 |
not all parameters of the TraceSettings have been set
#define ERR__INVALID_MACRO_ID 7 |
macro exists already
#define ERR__MACRO_EMPTY 1 |
macro without elements
#define ERR__MACRO_RUNNING 11 |
macro is running
#define ERR__MACRO_STOPPED 4 |
no macro running
#define ERR__MAX_OBJECT_COUNT 5 |
maximum number of objects in memory reached.
#define ERR__MICROSTEP_NA 9 |
MicroStep not available.
#define ERR__MOT_IN_MOTION 4 |
motor still in motion
#define ERR__MOTOR_IN_NEG_L 12 |
Motor at the negative Limit.
#define ERR__MOTOR_IN_POS_L 11 |
Motor at the positive limit.
#define ERR__MOTOR_NOT_INIT 10 |
Motor not initialised.
#define ERR__NEXT_MACRO_ELEMENT 13 |
the element TYP_NEXT_MACRO was not the previous or the macri called does not exist
#define ERR__NEXT_MACRO_NOT_COMPILED 3 |
#define ERR__NEXT_MACRO_NOT_FOUND 2 |
#define ERR__NEXT_MACRO_NOT_LAST_ELEMENT 1 |
#define ERR__NO_ACCESS_MS 14 |
no access to the MotorSetinngs memory
#define ERR__NO_COMMAND_BEFORE_WHILE 4 |
missing query before the While that ought to deliver the data messages
#define ERR__NO_MACROS 8 |
no macros present.
#define ERR__NO_TIMER 3 |
function fShowElapsedTime called outside a delay or WAIT object
#define ERR__RAM_FULL 0 |
memory full
#define ERR__REV_NOT_DEF 3 |
resolution not yet knwon (must be provided beforehand)
#define ERR__SEKTOR_ERASE_FAILED 15 |
the sector (as specified) cannot be erased
#define ERR__SEKTOR_NOT_RESERVED 16 |
the sector (as specified) was not reserved -> Options for Target -> L166 Misc -> Reserve
#define ERR__TRACE_BUF_NDEF 20 |
there is no Tracebuffer (perhaps it's already been deleted)
#define ERR__TRACE_BUFFER_OR 19 |
Trace Buffer OverRun.
#define ERR__TRACE_TO_SMALL 17 |
the Trace Buffer is too small with that number of samples.
#define ERR__UNKNOWN_ERR 17 |
that error is not supposed to occur
#define ERR__WAIT_FOR_TIMEOUT 12 |
timeout of a wait elements
#define ERR_MSG_CAN_B_OVERRUN -7 |
CAN buffer overrun.
#define ERR_MSG_CARD_NR -1 |
board addres does not exist
#define ERR_MSG_CMD_B_OVERRUN -6 |
overrun of command buffer
#define ERR_MSG_COMMAND -2 |
command number does not exist
#define ERR_MSG_DOUBLE_ID -5 |
two slave boards with the same ID have been registered.
#define ERR_MSG_ETH_B_OVERRUN -12 |
Ethernet Buffer overrun.
#define ERR_MSG_FATAL_ERROR -30 |
a fatal error occurred. See for MPIA_GET_ERROR_CODE and MPIA_RST_ERROR. All command will be blocked (but <100)
#define ERR_MSG_FRAG_SIZE_SMALL -22 |
cannot be send because the fragment size is too small
#define ERR_MSG_FUNCTION_ERR -10 |
error while executing the function (see firmware manual)
#define ERR_MSG_HD_NOT_SUPPORT -21 |
the command numer is not supported at HugeData Transport
#define ERR_MSG_HUGEDATA_IN_USE -20 |
Hugh Data are already in use.
#define ERR_MSG_LOGIN_NEEDED -15 |
not yet logged in
#define ERR_MSG_MAX_NR_CLIENTS -13 |
reached maximum number of clients connected.
#define ERR_MSG_MODULE_IN_USE -18 |
module already reserved for another client
#define ERR_MSG_MODULE_NR -3 |
wrong module number
#define ERR_MSG_NO_MODULE_RES -19 |
module not reserved
#define ERR_MSG_PARAMETER -4 |
parameter error (e.g. wrong format or out of range)
#define ERR_MSG_PORT_IN_USE -17 |
port already in use
#define ERR_MSG_RAM_FULL -9 |
dynamic memor RAM full (malloc)
#define ERR_MSG_SER_B_OVERRUN -8 |
serial buffer overrun
#define ERR_MSG_TEL_PASSWORD -14 |
wrong password
#define ERR_MSG_USER_DISABLE -16 |
user has been disabled by the administrator (n.a.)
#define EVENT__ECHO 3 |
#define EVENT__MACRO_END 1 |
macro terminated
#define EVENT__MSG_EVENT_TRACE 5 |
Event Trace.
#define EVENT__MSG_IN_NEG_LIMIT 3 |
at the negative limit
#define EVENT__MSG_IN_POS_LIMIT 2 |
at the positive limit
#define EVENT__MSG_INSTRUCTION_ERROR 6 |
Instruction Error <- added on 2012-06-01 with Version 1.26.
#define EVENT__MSG_MOTION_COMPLETE 1 |
Motion Complete.
#define EVENT__MSG_MOTION_ERROR 4 |
Motion Error.
#define EVENT__SEND_MESSAGE 2 |
an event message send with the Objekt TYP_MESSAGE
#define EVENT_MSG 3 |
status return , e.g. motion Motion Complete
#define INFO_MSG 4 |
informal message return (Test mode)
#define MACRO_ADD_MACRO 51 |
#define MACRO_ADD_OBJECT 56 |
#define MACRO_CHANGE_DELAY_OBJECT 66 |
#define MACRO_COMPILE_ALL_MACROS 60 |
#define MACRO_COMPILE_MACRO 59 |
#define MACRO_CONTROL 62 |
#define MACRO_DELETE_ALL_MACROS 53 |
#define MACRO_DELETE_MACRO 52 |
#define MACRO_DELETE_OBJECT 58 |
#define MACRO_ECHO 63 |
#define MACRO_INSERT_OBJECT 57 |
#define MACRO_PRINT_ALL_MACROS 55 |
#define MACRO_PRINT_MACRO 54 |
#define MACRO_PRINT_MESSAGE_BUFFER 68 |
#define MACRO_SAVE_MACRO 70 |
#define MACRO_SEND_SIGNAL 65 |
#define MACRO_SHOW_ELAPSED_TIME 69 |
#define MACRO_SHOW_MEMORY_STATUS 67 |
#define MACRO_SHOW_STATUS 64 |
#define MACRO_START 61 |
#define MCCLBLEV 0x031 |
address range 49-64 (switchable by hardware switch)
#define MESSDATA 2 |
measurement data that are send on the chips initiative
#define MOCON 0x001 |
address range 1-16 (switchable by hardware switch)
benutzter Compiler : µVersion2
Beschreibung: Schnittstelle zwischen der Softwareabteilung und der Elektronikabteilung. Headerdatei enthält alle Befehlsfunktionsnummer die zur Verfügung stehen
#define MOCON_ABRUPT_STOP 121 |
#define MOCON_CLEAR_TRACE_BUFFER 207 |
#define MOCON_EVENT_TRACE_START 212 |
#define MOCON_EVENT_TRACE_STOP 213 |
#define MOCON_EXPRIFILE_TIME_START 223 |
#define MOCON_EXPROFILE_BUF_CLEAR 226 |
#define MOCON_EXPROFILE_INFO 225 |
#define MOCON_EXPROFILE_START 222 |
#define MOCON_EXPROFILE_STOP 224 |
#define MOCON_GET_ACTIVITY_STATUS 164 |
#define MOCON_GET_AENC_ACTUAL_POSITION 171 |
#define MOCON_GET_AMP_CARD_INFO 160 |
#define MOCON_GET_AMPLIFIER_INFO 161 |
#define MOCON_GET_BASIC_SETTINGS 150 |
#define MOCON_GET_CURRENT_POSITION 166 |
#define MOCON_GET_CURRENT_VELOCITY 168 |
#define MOCON_GET_DIGITAL_IN_BIT 194 |
#define MOCON_GET_DIGITAL_IN_BYTE 195 |
#define MOCON_GET_DIGITAL_IN_LONG 197 |
#define MOCON_GET_DIGITAL_IN_WORD 196 |
#define MOCON_GET_ENCODER_SETTINGS 154 |
#define MOCON_GET_ERROR_POSITION 174 |
#define MOCON_GET_FIRMWARE_SETTINGS 155 |
#define MOCON_GET_FULLSTEP_SIGNAL 232 |
added on 201-10-18 with Version 1.23
#define MOCON_GET_IENC_ACTUAL_POSITION 167 |
#define MOCON_GET_IENC_ACTUAL_VELOCITY 169 |
#define MOCON_GET_IN_MOTION_FLAG 162 |
#define MOCON_GET_LIMIT_SWITCH_FLAG 163 |
#define MOCON_GET_MC_ERROR 172 |
#define MOCON_GET_MC_TIME 173 |
#define MOCON_GET_MC_VERSION 159 |
#define MOCON_GET_MOTOR_SETTINGS 151 |
#define MOCON_GET_SERVO_LOOP_SETTINGS 153 |
#define MOCON_GET_SIGNAL_STATUS 165 |
#define MOCON_GET_START_HOME_DISTANCE 170 |
#define MOCON_GET_STEPPER_SETTINGS 152 |
#define MOCON_GET_TRACE_DATA 204 |
#define MOCON_GET_TRACE_INFO 208 |
#define MOCON_LOAD_MOTOR_SETTINGS 181 |
#define MOCON_MOTOR_INITIALIZE 120 |
#define MOCON_MOVE_ADAPTION_POS_TO_ENC 126 |
#define MOCON_MOVE_BY_TRIGGER 231 |
#define MOCON_MOVE_FIND_HOME 125 |
#define MOCON_MOVE_MULTIUPDATE 127 |
#define MOCON_MOVE_N_ABS_STEPS_COUNTS 124 |
#define MOCON_MOVE_N_STEPS_COUNTS 123 |
#define MOCON_SAVE_MOTOR_SETTINGS 180 |
#define MOCON_SET_ACTIVEDRIVE_POWER 251 |
#define MOCON_SET_AMPLIFIER_SETTINGS 116 |
#define MOCON_SET_BASIC_SETTINGS 110 |
#define MOCON_SET_DIGITAL_OUT_BIT 190 |
#define MOCON_SET_DIGITAL_OUT_BYTE 191 |
#define MOCON_SET_DIGITAL_OUT_LONG 193 |
#define MOCON_SET_DIGITAL_OUT_WORD 192 |
#define MOCON_SET_ENCODER_SETTINGS 114 |
#define MOCON_SET_EVENT_TRACE_SAMPLE 211 |
#define MOCON_SET_EVENT_TRACE_VAR 210 |
#define MOCON_SET_EXPROFILE_BUF_LEN 220 |
#define MOCON_SET_EXPROFILE_DATA 221 |
#define MOCON_SET_FIRMWARE_SETTINGS 115 |
#define MOCON_SET_MOTOR_SETTINGS 111 |
#define MOCON_SET_MULTIUPDATE_SETTINGS 119 |
#define MOCON_SET_PROFILE_POSITION 230 |
#define MOCON_SET_SERVO_LOOP_SETTINGS 113 |
#define MOCON_SET_STEPPER_SETTINGS 112 |
#define MOCON_SET_TRACE_MODE 203 |
#define MOCON_SET_TRACE_SAMPLE 201 |
#define MOCON_SET_TRACE_SAMPLE_NR 202 |
#define MOCON_SET_TRACE_VAR 200 |
#define MOCON_SMOOTH_STOP 122 |
#define MOCON_TRACE_START 205 |
#define MOCON_TRACE_STOP 206 |
#define MPIA_EXIT_TELNET 29 |
#define MPIA_FREE_MOD 24 |
releases modules
#define MPIA_GET_CAN_RATE 16 |
#define MPIA_GET_ERROR_CODE 9 |
#define MPIA_GET_EVENT_MSG_FLAG 18 |
#define MPIA_GET_GATE_ADDRESS 33 |
#define MPIA_GET_INFO_MSG_FLAG 20 |
#define MPIA_GET_IP_ADDRESS 31 |
#define MPIA_GET_LINK_TIMEOUT 37 |
added in version 2.19
#define MPIA_GET_MASK_ADDRESS 35 |
#define MPIA_GET_REGISTRATION 7 |
#define MPIA_GET_SERIEL_RATE 14 |
#define MPIA_GET_XON_XOFF 12 |
#define MPIA_HUGE_DATA_FREE 27 |
releases the memory and the associated data
#define MPIA_HUGE_DATA_RES 26 |
reserves memory for large data sets
#define MPIA_PLOT_RES_MOD 25 |
sends the modules already reserved to the client.
#define MPIA_RESERVE_MOD 23 |
registers modules
#define MPIA_RST_ERROR 10 |
#define MPIA_SET_CAN_RATE 15 |
#define MPIA_SET_EVENT_MSG_FLAG 17 |
#define MPIA_SET_GATE_ADDRESS 32 |
#define MPIA_SET_INFO_MSG_FLAG 19 |
#define MPIA_SET_IP_ADDRESS 30 |
#define MPIA_SET_LINK_TIMEOUT 36 |
added in version 2.19
#define MPIA_SET_MASK_ADDRESS 34 |
#define MPIA_SET_SERIEL_RATE 13 |
#define MPIA_SW_RESET 8 |
#define MPIA_TELNET_LOGIN 21 |
command to enter the user name
#define MPIA_TELNET_PWD 22 |
command to enter the password
#define MPIA_VERSION 1 |
#define MPIA_XON_XOFF 11 |
#define REGISTRATION 0 |
card registration
#define ROCON 0x021 |
address range 33-48 (switchable by hardware switch)
#define UNIMOD 0x011 |
address range 17-32 (switchable by hardware switch)
#define UNIMOD_4WMOD_BREAK 361 |
#define UNIMOD_4WMOD_DO_CALIBRATION 363 |
#define UNIMOD_4WMOD_get_POLLING_RESULT 355 |
#define UNIMOD_4WMOD_GET_STATUS 360 |
#define UNIMOD_4WMOD_INIT_MODUL 341 |
#define UNIMOD_4WMOD_READ_ADC_AVE 350 |
#define UNIMOD_4WMOD_READ_ADC_COUNT 354 |
#define UNIMOD_4WMOD_READ_ADC_READ 352 |
#define UNIMOD_4WMOD_READ_ADC_SAVE 351 |
#define UNIMOD_4WMOD_READ_ADC_WATCH 353 |
#define UNIMOD_4WMOD_SET_AVERAGING_FLAG 362 |
#define UNIMOD_4WMOD_SET_CAL_FACTOR 364 |
#define UNIMOD_4WMOD_SET_DAC 340 |
#define UNIMOD_CHECK_RUN 402 |
#define UNIMOD_DACMOD_GET_ACTUAL_VALUE 332 |
#define UNIMOD_DACMOD_LOAD_AND_START_DAC 331 |
#define UNIMOD_DACMOD_SET_POLARITY 330 |
#define UNIMOD_DIGIO_IN 320 |
#define UNIMOD_DIGIO_OUT 321 |
#define UNIMOD_DIGIO_OUTPUT_STATUS 322 |
#define UNIMOD_RESOLV2_GETANGLE 312 |
#define UNIMOD_RESOLV2_GETRESABSENC 315 |
#define UNIMOD_RESOLV2_GETRESINCENC 316 |
#define UNIMOD_RESOLV2_POWERREDUCE 317 |
#define UNIMOD_RESOLV2_SETRESABSENC 310 |
#define UNIMOD_RESOLV2_SETRESINCENC 311 |
#define UNIMOD_RESOLV2_STARTINCENC 313 |
#define UNIMOD_RESOLV2_STOPINCENC 314 |
#define UNIMOD_RESOLV_GETANGLE 302 |
#define UNIMOD_RESOLV_GETRESABSENC 305 |
#define UNIMOD_RESOLV_GETRESINCENC 306 |
#define UNIMOD_RESOLV_SETRESABSENC 300 |
#define UNIMOD_RESOLV_SETRESINCENC 301 |
#define UNIMOD_RESOLV_STARTINCENC 303 |
#define UNIMOD_RESOLV_STOPINCENC 304 |
#define UNIMOD_SHOW_MODULES 400 |
#define UNIMOD_TH8MOD_CURRENT_SOURCE_INIT 381 |
#define UNIMOD_TH8MOD_END_COMMAND 380 |
#define UNIMOD_TH8MOD_GET_LAST_RESULT 379 |
#define UNIMOD_TH8MOD_READ_HUM_MULTIPLE 374 |
#define UNIMOD_TH8MOD_READ_HUM_SAVE 376 |
#define UNIMOD_TH8MOD_READ_HUM_SINGLE 373 |
#define UNIMOD_TH8MOD_READ_TEMP_MULTIPLE 372 |
#define UNIMOD_TH8MOD_READ_TEMP_SAVE 375 |
#define UNIMOD_TH8MOD_READ_TEMP_SINGLE 371 |
#define UNIMOD_TH8MOD_SENSOR_INIT 370 |
#define UNIMOD_TH8MOD_SET_CURRENT 382 |
#define UNIMOD_TH8MOD_SET_CURRENT_PERCENT 383 |
#define UNIMOD_TH8MOD_WATCH_HUM 378 |
#define UNIMOD_TH8MOD_WATCH_TEMP 377 |