圖片:
引用
引用第8樓yiwei125于2023-10-24 12:40發(fā)表的 :
這玩意 不是有手就會(huì)寫(xiě)的嗎
macro_command main()
char result[8],a[1]=":"
.......
macro_command main()
char resuIt [8],a[1]=":"
short d310[3]
GetData(d310[0],"XINJE MTX XD/XL Series",d,3003,3)
DEC2ASCII(d310[0],resuIt[0],2)
DEC2ASCII(d310[1],resuIt[3],2)
DEC2ASCII(d310[2],resuIt[6],2)
resuIt[2]=a[0]
resuIt[5]=a[0]
SetData(resuIt[0],"Local HMI",lw,0,8)
end macro_command
上面的宏指令是不是可以把D3003.,D3004, D3005寫(xiě)入到 D252中?