Set the AC source output to 220 V at 50/60Hz, turn on the AC power supply.
Right click on the project name, and click Rebuild Project. The project builds successfully. Click Run → Debug, which launches a debugging session.
Run the project by clicking on button , or click Run → Resume in the Debug tab.
Set the variable
systemVars.flagEnableSynCtrl equal to true to enable
control the system with changing the PFC stetting voltage and the motors
setting speed.
Set the variable systemVars.flagEnableRun equal
to "true". The system will start the PFC, motor_2(fan), and
motor_1(compressor) in sequence.
Set the variables
systemVars.pfcVdcbusTarget_V,
systemVars.speedFan_Hz, and
systemVars.speedComp_Hz to a different value and watch
how the motors speed and dc bus voltage will follow.
To change the
acceleration, enter a different acceleration value for the variables
systemVars.accelerationFan_Hzps
andsystemVars.accelerationComp_Hzps.
Set the variable systemVars.flagEnableRun equal to false. The system will stop the PFC, motor_2 (fan), and motor_1 (compressor) in sequence.