SPRUHJ1I January 2013 – October 2021 TMS320F2802-Q1 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027-Q1 , TMS320F28027F , TMS320F28027F-Q1 , TMS320F28052-Q1 , TMS320F28052F , TMS320F28052F-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28054-Q1 , TMS320F28054F , TMS320F28054F-Q1 , TMS320F28054M , TMS320F28054M-Q1 , TMS320F2806-Q1 , TMS320F28062-Q1 , TMS320F28062F , TMS320F28062F-Q1 , TMS320F28068F , TMS320F28068M , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1
ERR_ID provides an error code for users. A list of errors defined in SpinTAC Position Move and the solutions for these errors are shown in Table 14-2.
ERR_ID | Problem | Solution |
---|---|---|
1 | Invalid sample time value | Set cfg.T_sec within (0, 0.01) |
2 | Invalid system maximum velocity value | Set cfg.VelMax within [0.002, 1] |
10 | Invalid system maximum acceleration value | Set cfg.AccMax within [0.002, 120] |
11 | Invalid system maximum deceleration value | Set cfg.DecMax within [0.002, 120] and cfg.DecMax / cfg.AccMax within [1, 10] |
12 | Invalid system maximum jerk value | Set cfg.JrkMax within [0.001, 2000] |
13 | Invalid position rollover bound value | Set cfg.ROMax_mrev within [2, 100] |
14 | Invalid mechanical revolution [MRev] to [pu] ratio value | Set cfg.mrev_TO_pu within [0.008, 1] |
32 | Invalid axis ID | Set cfg.Axis within {ST_AXIS0, ST_AXIS1} |
1001 | Invalid velocity limit value | Set VelLim within (0, cfg.VelMax] |
1002 | Invalid acceleration limit value | Set AccLim within [0.001, cfg.AccMax] |
1003 | Invalid deceleration limit value | Set DecLim within [0.001, cfg.DecMax], and DecLim / AccLim within [1, 10] |
1004 | Invalid jerk limit value | Set JrkLim within [0.0005, cfg.JrkMax] |
1005 | Invalid curve type | Set cfg.CurveType within {ST_MOVE_CUR_TRAP, ST_MOVE_CUR_SCRV, ST_MOVE_CUR_STCRV} |
1006 | Invalid velocity start value | Set cfg.VelStart within [-cfg.VelMax, cfg.VelMax] |
1007 | Invalid velocity end value | Set VelEnd within [-cfg.VelMax, cfg.VelMax] |
1008 | Invalid position start value | Set cfg.PosStart_mrev within [-cfg.ROMax, cfg.ROMax] |
1009 | Invalid position step value | Set PosStepInt_mrev within [-2147483647, 2147483647] and PosStepFrac_mrev within (-1, 1) |
1101 | Calculation overflow, VelLim out of the range | This error occurs when the fixed-point calculation overflows. Typical cases are: VelLim or PosStep is too small. The action is to increase the values. |
1102 | Calculation overflow, AccLim out of the range | |
1103 | Calculation overflow, DecLim out of the range | |
1104 | Calculation overflow, JrkLim out of the range | |
1105 | Invalid profile mode value | Set cfg.ProfileType within {ST_POS_MOVE_VEL_TYPE, ST_POS_MOVE_POS_TYPE} |
2001 | Invalid mode switching from ST_POS_MOVE_VEL_TYPE to ST_POS_MOVE_POS_TYPE | Set the profile to reach zero speed, and then switch to position-controlled profile by setting cfg.ProfileType = ST_POS_MOVE_POS_TYPE |
4001 | Invalid SpinTAC license | Use the chip with valid license for SpinTAC |
4003 | Invalid ROM Version | Use a chip with a valid ROM version or use the SpinTAC library that is compatible with the current ROM version. |