我买了两个带485通讯的数码管显示屏,如果要显示1234,则传送字符*001,1234#到表即可,001为屏地址,但是我用了传送指令XMT,屏也没有显示,请大神们指导,万分感谢!
//主程序,网络1
LD SM0.0
MOVB 16#49, SMB30
MOVB 16#C0, SMB87
MOVB 16#02, SMB88
MOVB 16, SMB94
ATCH 数码管显示:INT0, 9
ENI
XMT VB300, 0
//中断程序,网络1
LD SM0.0
MOVB 11, VB300
MOVB 16#24, VB301
MOVB 16#30, VB302
MOVB 16#30, VB303
MOVB 16#31, VB304
MOVB 16#2C, VB305
MOVB 16#31, VB306
MOVB 16#32, VB307
MOVB 16#33, VB308
MOVB 16#34, VB309
MOVB 16#23, VB310
|