liaozheny 发表于 2015-5-21 17:17:22

发现EBproV501.04_20150424版本宏BUG


macro_command main()
char Type
short Pe,Ue,Ie,f,n,nMax
short ID

GetData(Type, "MT8101iE", RW, 31, 16)
GetData(Pe, "MT8101iE", RW, 39, 1)
GetData(Ue, "MT8101iE", RW, 40, 1)
GetData(Ie, "MT8101iE", RW, 41, 1)
GetData(f, "MT8101iE", RW, 42, 1)
GetData(n, "MT8101iE", RW, 43, 1)
GetData(nMax, "MT8101iE", RW, 44, 1)
GetData(ID, "MT8101iE", RECIPE, "Moto.Selection")

RecipeSetData(Type, "Moto.Type", ID)
RecipeSetData(Pe, "Moto.Pe_kW", ID)
RecipeSetData(Ue, "Moto.Ue_V", ID)
RecipeSetData(Ie, "Moto.Ie_A", ID)
RecipeSetData(f, "Moto.f_Hz", ID)
RecipeSetData(n, "Moto.n_rpm", ID)
RecipeSetData(nMax, "Moto.nMax_rpm", ID)

end macro_command


上面宏在EBproV501.02_20150129上执行正常,在EBproV501.04_20150424就有问题
具体为下面这一行代码
RecipeSetData(Type, "Moto.Type", ID)
Type为16个ascii字符的开始地址,"Moto.Type"为配方内8word长度,EBproV501.04_20150424此行只能写一字,也就是16bit
EBproV501.02_20150129能正常将Type开始的16个ascii字符写到"Moto.Type"
希望修复此BUG

weinview 发表于 2015-5-22 10:38:09

谢谢你的反馈!我们将会改善。
页: [1]
查看完整版本: 发现EBproV501.04_20150424版本宏BUG