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
The interfaces and functions of SpinTAC Position Plan are shown in Figure 4-19.
Figure 3-19 SpinTAC™ Position Plan InterfacesTable 4-20 lists the interface parameters for SpinTAC Position Plan.
| Signal Type | Structure Member Name | Data Type | Description | Value Range | Unit |
|---|---|---|---|---|---|
| Control | ENB | bool | Enable bit | false: disabled; true: enabled | |
| RES | bool | Reset bit | false: not reset; true: reset | ||
| Outputs | PosStepInt_mrev | uint32_t | Current Position Step command integer part | [-2147483647, 2147483647] | MRev |
| PosStepFrac_mrev | _iq24 | Current Position Step command fraction part | (-1, 1) | MRev | |
| VelLim | _iq24 | Current velocity limit | (0 , VelMax] | pu / s | |
| AccLim | _iq24 | Current acceleration limit | [0.001 , AccMax] | pu / s2 | |
| DecLim | _iq24 | Current deceleration limit | [0.001 , DecMax] | pu / s2 | |
| JrkLim | _iq20 | Current jerk limit | [0.0005, JrkMax] | pu / s3 | |
| Timer_tick | uint32_t | Time remaining in the current state | Sample Counts | ||
| Info | STATUS | ST_PlanStatus_e | Status information | {ST_PLAN_IDLE, ST_PLAN_INIT, ST_PLAN_BUSY, ST_PLAN_HALT, ST_PLAN_WAIT} | |
| CurState | unit16_t | Current state index | [0, StateNum) | ||
| CurTran | unit16_t | Current transition index | [0, TranNum) | ||
| FsmState | ST_PlanFsmState_e | Status to indicate if it is in a transition, or in a state, or waiting for a transition | {ST_FSM _STATE_STAY, ST_FSM _STATE_COND, ST_FSM_STATE_TRAN } | ||
| Timer_tick | uint32_t | Time remaining in the current state | Sample Counts | ||
| ERR_ID | uint16_t | Error code | See Table 14-6 | ||
| DON | bool | Plan done indicator | false: not done; true: done | ||
| CfgError.ERR_idx | uint16_t | Index where the error occurred | |||
| CfgError.ERR_code | uint16_t | Condition that caused the error | See Table 14-6 |