Research Article

Multiprotocol Communication Interface PMSM Control on Account of Industrial Configuration Software

Algorithm 1

IF MD.PV> = 30 THEN
FLAG_I = 1;/*Set intermediate variables, alarm flags*/
ELSE
FLAG_I = 0;/*When the current is less than 30 A, the alarm flag is reset*/
EDIF
IF FLAG_I = 1 THEN
 MSGBOX (“bus current over current alarm”);
/*Computer display a dialog box, “bus current over current alarm”*/
 BEEF (1);/*overvoltage, the computer sends the alarm sounds* Type I/
 FLAG_I = 0;/*alarm flag bit is reset*/
EDIF