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 Velocity Move and the solutions for these errors are shown in Table 14-1.
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, 1] |
10 | Invalid system maximum acceleration value | Set cfg.AccMax within [0.001, 120] |
12 | Invalid system maximum jerk value | Set cfg.JrkMax within [0.0005, 1000] |
32 | Invalid axis ID | Set cfg.Axis within {ST_AXIS0, ST_AXIS1} |
1002 | Invalid acceleration limit value | Set AccLim within [0.002, cfg.AccMax] |
1004 | Invalid jerk limit value | Set JrkLim within [0.001, cfg.JrkMax] |
1005 | Invalid curve type | Set cfg.CUR_MOD within {ST_PRO_TRAP, ST_PRO_SCRV, ST_PRO_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] |
4001 | Invalid SpinTAC license | Use the chip with valid license |
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. |