In the MC workbench, I get compilation error when enabling open loop mode in FOC for a PMSM with encoder. the OpenLoop_handle OpenLoop_ParamsM1 constants are not defined
T
OpenLoop_Handle_t OpenLoop_ParamsM1 =
{
.hDefaultVoltage = OPEN_LOOP_VOLTAGE_d,
.VFMode = OPEN_LOOP_VF,
.hVFOffset = OPEN_LOOP_OFF,
.hVFSlope = OPEN_LOOP_K
};
Constant are undeclared. Any ideas what should be those value? I also don't understand how to set the offset angle between encoder Z channel and motor phase reference
In addition I can't find where to define the open voltage or current in Motor Pilot GUIs.
Many thanks
David
