威纶通官方论坛

发现EBproV501.04_20150424版本宏BUG

[复制链接]
发表于 2015-5-21 17:17:22 | 显示全部楼层 |阅读模式

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

GetData(Type[0], "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[0], "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[0], "Moto.Type", ID)
Type[0]为16个ascii字符的开始地址,"Moto.Type"为配方内8word长度,EBproV501.04_20150424此行只能写一字,也就是16bit
EBproV501.02_20150129能正常将Type[0]开始的16个ascii字符写到"Moto.Type"
希望修复此BUG
发表于 2015-5-22 10:38:09 | 显示全部楼层
谢谢你的反馈!我们将会改善。
您需要登录后才可以发帖 登录 | 注册

本版积分规则

回复帖子

Archiver|小黑屋|威纶通官网 ( 粤ICP备06054553号 )

GMT+8, 2024-5-15 17:17

Powered by Discuz! X3.4

© 2001-2023 Comsenz Inc.

快速回复 返回顶部 返回列表