?? menu_str.c
字號:
#include <reg51.h>
#define uchar unsigned char
#define uint unsigned int
extern uchar idata buf[30];
/* Chain-table structure defination*/
uchar code menu_str[97][30]={
{"Entry:"}, /*0*/
{"normal display:"}, /*1*/
{"display:"}, /*2*/ //第二層開始
{"programming:"}, /*3*/
{"fault ack.:"}, /*4*/
{"operating stats/measure:"}, /*5*/ //第三層開始
{"history events:"}, /*6*/
{"date/time setting:"}, /*7*/
{"language:"}, /*8*/
{"scale:"}, /*9*/
{"motor specifications:"}, /*10*/
{"freqency setting:"}, /*11*/
{"groups in operation:"}, /*12*/
{"control mode:"}, /*13*/
{"fwd/rev & jog:"}, /*14*/
{"DC applying:"}, /*15*/
{"limit parameters:"}, /*16*/
{"calibration:"}, /*17*/
{"power unit:"}, /*18*/ //第四層開始
{"general measurement:"}, /*19*/
{"general states:"}, /*20*/
{"motor voltage: V"}, /*21*/
{"motor current: A"}, /*22*/
{"motor power: KVA"},/*23*/
{"motor frequency: HZ"},/*24*/
{"motor speed: rd/s"},/*25*/
{"freq. reference:"}, /*26*/
{"ref freq.: HZ"}, /*27*/
{"minimum freq.: HZ"}, /*28*/
{"maximum freq.: HZ"},/*29*/
{"bypass freq.: HZ"}, /*30*/
{"group 1:"}, /*31*/
{"group 2:"}, /*32*/
{"group 3:"}, /*33*/
{"group 4:"}, /*34*/
{"group 5:"}, /*35*/
{"group 6:"}, /*36*/
{"basic v/f control:"}, /*37*/
{"advanced v/f control:"}, /*38*/
{"vector control:"}, /*39*/
{"fwd/rev:"}, /*40*/
{"jog freq. in Hz: HZ"},/*41*/
{"jog time in sec.: SEC"},/*42*/
{"DC mag. Time : SEC"},/*43*/
{"DC mag. current: %"},/*44*/
{"DC braking time: SEC"},/*45*/
{"DC braking current: %"},/*46*/
{"DC unblance limit: %"},/*47*/
{"output overvoltage limit: %"},/*48*/
{"output over current limit: %"},/*49*/
{"trans overtemp. limit: %"},/*50*/
{"cabinet overtemp. limit: %"},/*51*/
{"motor overtemp. limit: %"},/*52*/
{"scale of Vab: V"}, /*53*/
{"scale of Vbc: V"}, /*54*/
{"offset of Vab: V"}, /*55*/
{"offset of Vbc: V"}, /*56*/
{"scale of current A: A"}, /*57*/
{"scale of current C: A"}, /*58*/
{"offset of current A: A"}, /*59*/
{"offset of current C: A"}, /*60*/
{"phase A"}, /*61*/ //第五層開始
{"phase B"}, /*62*/
{"phase C"}, /*63*/
{"Vab: V"},/*64*/
{"Vbc: V"},/*65*/
{"Vneutral: V"},/*66*/
{"output power: KVA"},/*67*/
{"output frequency: HZ"},/*68*/
{"output speed: rd/s"},/*69*/
{"sum hours of operation: h"},/*70*/
{"sum kWh: kWh"},/*71*/
{"main switch state:"}, /*72*/
{"main transformer state:"}, /*73*/
{"pulse state:"}, /*74*/
{"P.U. cabinet state:"}, /*75*/
{"motor state:"}, /*76*/
{"UPS state:"}, /*77*/
{"peripherial state:"}, /*78*/
{"current date:"}, /*79*/
{"current time:"}, /*80*/
{"v/f relation:"}, /*81*/
{"ramp-up time,in sec.: SEC"},/*82*/
{"ramp-down time,in sec.: SEC"},/*83*/
{"ramp type:"}, /*84*/
{"boost starting voltage: %"},/*85*/
{"unit 1: state/Vdc:"}, /*86*/ //第六層開始
{"unit 2: state/Vdc:"}, /*87*/
{"unit 3: state/Vdc:"}, /*88*/
{"unit 4: state/Vdc:"}, /*89*/
{"unit 5: state/Vdc:"}, /*90*/
{"unit 6: state/Vdc:"}, /*91*/
{"linear:"}, /*92*/
{"parabolic:"}, /*93*/
{"event1:"}, /*94*/
{"event2:"}, /*95*/
{"abcd"} /*96*/
};
uchar code message_str[2][30]={
{"please input password:"},
{"password is wrong!"},
} ;
/*uchar code m[35][2]={
{100}, //request normal display
{101}, //request fault message
{102}, //ack. fault message
{103}, //request history events:
{104}, //request date/time setting:
{105}, //send modified time
{106},
};
uchar m1[12][3]={{0},
};
*/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -