图片:
引用
引用第8楼yiwei125于2023-10-24 12:40发表的 :
这玩意 不是有手就会写的吗
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写入到 D252中?