Part Number: TMDSHVMTRINSPIN
I have one of the Marathon 5K33GN2A motors on hand, and was trying to build the Universal Motor Control lab to use this for some experimentation/learning.
I thought I was in luck, as this is one of the motors pre-defined in user_mtr1.h.
When I try to build, I get a lot of error messages for undefined macros.
Is this just missing info for the 5K33GN2A , or do these macrosnot apply? Either way, this should be corrected for future releases of the Universal Control Lab. If it is a supported motor, make sure the project builds. If not, remove the motor.
Do you have the data to fill in the missing macros? The error messages:
#20 identifier "USER_MOTOR1_ACCEL_MAX_Hzps" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 366 C/C++ Problem
#20 identifier "USER_MOTOR1_ACCEL_START_Hzps" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 367 C/C++ Problem
#20 identifier "USER_MOTOR1_ALIGN_CURRENT_A" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 374 C/C++ Problem
#20 identifier "USER_MOTOR1_FLUX_CURRENT_A" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 373 C/C++ Problem
#20 identifier "USER_MOTOR1_FREQ_NEARZEROLIMIT_Hz" is undefined user_mtr1.c /universal_motorcontrol_lab_test/src_board line 277 C/C++ Problem
#20 identifier "USER_MOTOR1_INERTIA_Kgm2" is undefined user_mtr1.c /universal_motorcontrol_lab_test/src_board line 129 C/C++ Problem
#20 identifier "USER_MOTOR1_OVER_CURRENT_A" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 301 C/C++ Problem
#20 identifier "USER_MOTOR1_RATED_VOLTAGE_V" is undefined user_mtr1.c /universal_motorcontrol_lab_test/src_board line 117 C/C++ Problem
#20 identifier "USER_MOTOR1_RSONLINE_WAIT_TIME" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 857 C/C++ Problem
#20 identifier "USER_MOTOR1_RSONLINE_WORK_TIME" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 858 C/C++ Problem
#20 identifier "USER_MOTOR1_SPEED_FORCE_Hz" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 363 C/C++ Problem
#20 identifier "USER_MOTOR1_SPEED_FS_Hz" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 364 C/C++ Problem
#20 identifier "USER_MOTOR1_SPEED_START_Hz" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 362 C/C++ Problem
#20 identifier "USER_MOTOR1_STARTUP_CURRENT_A" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 375 C/C++ Problem
#20 identifier "USER_MOTOR1_TORQUE_CURRENT_A" is undefined motor1_drive.c /universal_motorcontrol_lab_test/src_control line 377 C/C++ Problem
Thanks!