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 Velocity Plan are shown in Figure 4-9 and described in Table 4-9.
Signal Type | Structure Member Name | Data Type | Description | Value Range | Units |
---|---|---|---|---|---|
Control | ENB | bool | Enable bit | false: disabled; true: enabled | |
RES | bool | Reset bit | false: not reset; true: reset | ||
Outputs | VelEnd | _iq24 | Current velocity setpoint | [-VelMax , VelMax] | pu / s |
AccLim | _iq24 | Current acceleration limit | [0.002 , AccMax] | pu / s2 | |
JrkLim | _iq20 | Current jerk limit | [0.001, JrkMax] | pu / s3 | |
Info | Timer_tick | int32_t | Time remaining in the current state | ||
STATUS | ST_PlanStatus_e | Status information | {ST_PLAN_IDLE, ST_PLAN_INIT, ST_PLAN_CONF, ST_PLAN_BUSY} | ||
CurState | uint16_t | Current state index | [0, StateNum) | ||
CurTran | uint16_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 } | ||
DON | bool | Plan done indicator | false: not done; true: done | ||
ERR_ID | uint16_t | Plan function that caused the error | See Table 14-4 | ||
CfgError.ERR_idx | uint16_t | Component index where the error occurred | |||
CfgError.ERR_code | uint16_t | Condition that caused error | See Table 14-4 |